~/talk

Sanitize your C++ code

Talkat CppCon 2014 · on Thursday, 2014-09-11· at 16:45· Pascal· [security]
links:none on file
slides:none on file

Concrete claims and hard numbers: AddressSanitizer finds buffer overflows and use‑after‑free, ThreadSanitizer detects data races and deadlocks, MemorySanitizer is bit‑level and finds uninitialized reads. Reports include stack traces and allocation traces, Chrome/Chromium yields ~3,000 bugs found, typical slowdowns range ~2× for ASan and 4–10× for TSan with memory costs 2×–8×, MSan doubles cost with origins. Tooling requires recompiling with clang/GCC, has platform limits (TSan/MSan mainly x86_64 Linux), and needs annotated or rebuilt libraries for complete coverage.

AI-written summary · about

  1. 0:00Introduction and C++ Bugs
  2. 1:48Address Sanitizer (ASan)
  3. 9:02ASan Implementation
  4. 14:24ASan Performance and Usage
  5. 20:13Thread Sanitizer (TSan)
  6. 30:49TSan Limitations
  7. 32:37Memory Sanitizer (MSan)
  8. 39:11MSan Origin Tracking
  9. 46:57Undefined Behavior Sanitizer
  10. 49:03Tool Deployment Challenges
  11. 52:13Future of C++ Tooling
~/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.