~/talk

memory-safe C++

Talkat CppCon 2022 · 2022-09-11..09-16· [security]
links:none on file
slides:none on file

A new compiler and runtime claim to make C and C++ memory safe without changing source code, combining static analysis with an improved AddressSanitizer that requires no source modifications and reports buffer overflows double frees use after frees and new/delete mismatches. The runtime hooks CRT and Windows RTL allocators for better interop, adds a continue-on-error ASan 2.0 mode that logs errors and lets large test suites keep running, and the project already runs ~185 OSS builds weekly and has found bugs in 27 open source projects. Release targets Visual Studio 2022 17.5 preview (Nov 8).

AI-written summary · about

  1. 0:00Memory safety in C++
  2. 2:16Why memory issues persist
  3. 3:40Return-oriented attacks
  4. 7:54Memory safety errors in C++
  5. 10:02Microsoft's security stack
  6. 13:20Control flow integrity
  7. 14:28Data-oriented attacks
  8. 19:05Real-world exploits
  9. 23:02Government mandates for safety
  10. 23:45Static vs dynamic analysis
  11. 27:17Address Sanitizer internals
  12. 34:52ASan one-and-done limits
  13. 37:00ASan 2.0 continue-on-error
  14. 42:49Testing with Address Sanitizer
  15. 47:34Demo: ASan detecting errors
  16. 56:55Future of memory-safe C++
  17. 57:18Prioritize memory safety now
  18. 1:04:48Q&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.