~/talk

Secure development with C++ - Lessons and techniques

Talkat NDC TechTown 2023 · 2023-09-18..09-21· [security]
links:none on file
slides:none on file

C++ projects get concrete advice: enable all warnings and Werror, run clang‑tidy, run sanitizers and fuzzers in CI (unit and integrated tests), and keep cumulative fuzzing seeds and coverage data; use integer sanitizer and thread sanitizer and prefer clang’s sanitizers because GCC O2 can optimize away UB; enable libstdc++ bounds checking or a debug ABI and trap conversions (make replacement for make_unique warning gap); use boost::safe_numerics or Rust for arithmetic, assert in release via a macro, and deploy ASLR/stack protector/ARM branch protection.

AI-written summary · about

  1. 0:00Introduction to Thales
  2. 2:58Authoring secure code
  3. 5:58Smart pointers and memory
  4. 8:16Integer over/underflow
  5. 11:17Compiler warnings in libraries
  6. 13:07Integer security strategies
  7. 15:37Fuzz testing techniques
  8. 18:57Sanitizer limitations and tools
  9. 21:05Thread sanitizer
  10. 23:22CI pipeline and review
  11. 24:44Fuzzing strategy
  12. 27:23Asserts in release builds
  13. 29:46Operator usage and speed
  14. 32:17C++ language priorities
  15. 35:11Compiler hardening options
  16. 37:05Hardening and architecture
  17. 39:22Hiding assets
  18. 40:35Conclusion and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.