Secure C++ development practices and vulnerability prevention.
- unique_ptr ownership
- shared_ptr reference counting
- weak_ptr cycle breaking
- make_unique/make_shared
- Resource acquisition
- Automatic cleanup
- Exception safety
- Scope-based management
- std::array
- std::span (C++20)
- at() vs operator[]
- Range-based iteration
- std::variant
- std::optional
- Strong typedefs
- enum class
- nullptr vs NULL
- Optional returns
- Reference semantics
- String_view usage
- Vector bounds
- Safe string operations
- Overflow detection
- Safe arithmetic
- Signed/unsigned mixing
- Type-safe formatting
- std::format (C++20)
- Variadic safety
- Clang-tidy
- Cppcheck
- Coverity
- PVS-Studio
- Stack protectors
- ASLR/PIE
- Fortify source
For secure C++ development.