1. 1. Introduction to The Book
    1. 1.1. Short Rust Overview
    2. 1.2. Rust Safety Features
    3. 1.3. Example Application
  2. 2. Memory Safety in Rust
    1. 2.1. Undefined Behavior
    2. 2.2. Buffer Overflow
    3. 2.3. Use After Free
    4. 2.4. Pointers
    5. 2.5. Memory Leaks
    6. 2.6. Double Free
    7. 2.7. Format String
  3. 3. Type Safety
    1. 3.1. Error Handling
    2. 3.2. Type Conversions
    3. 3.3. Uninitialized Variables
    4. 3.4. Variable Overflow
  4. 4. Concurrency Without Data Races
    1. 4.1. Threads
    2. 4.2. Message Passing
    3. 4.3. Is SharedPtr thread safe
  5. 5. Safe Abstraction of Unsafe Code
    1. 5.1. Unsafe usage examples
  6. 6. Rust Ecosystem
    1. 6.1. Rustup
    2. 6.2. Cargo
    3. 6.3. Security Features
  7. 7. Cybersecurity Utilities
    1. 7.1. Fuzzing
    2. 7.2. Cryptography
    3. 7.3. Scanners
    4. 7.4. Monitoring Tools
    5. 7.5. Others
  8. 8. Conclusion
  9. 9. Sources

Safe and Secure Coding in Rust: A Comparative Analysis of Rust and C/C++

Sources And Further Reading

  • The Rust Programming Language Book
  • Rust by Example
  • Rust Secure Coding Guide by ANSSI
  • The Unstable Book
  • Comprehensive Rust
  • The Rustonomicon
  • The Rust Reference
  • Rust for C++ Programmers
  • The Cargo Book
  • Easy Rust
  • Rust-Exercises