~/talk

Undefined Behavior in 2017 (part 2 of 2)

Talkat CppCon 2017 · 2017-09-24..09-29· [testing, c-and-cpp]
slides:none on file

Recent years deliver practical defenses: AddressSanitizer finds heap/stack/out-of-bounds issues fast, UndefinedBehaviorSanitizer catches signed/unsigned overflow, pointer and alignment violations, and Memory/Thread Sanitizers detect uninitialized reads and data races. A planned Type Sanitizer will expose strict-aliasing errors that force memcpy fixes. The talk cites ~200+ undefined behaviors in C/C++ and notes dynamic tools plus fuzzers find real bugs (tools like Csmith helped find 500+ compiler bugs), but production-grade bounds and temporal memory safety remain unsolved.

AI-written summary · about

  1. 0:00Introduction to dynamic analysis
  2. 0:23LLVM sanitizers progress
  3. 1:24Undefined Behavior Sanitizer details
  4. 3:55Integer overflow checks
  5. 5:17Other sanitizers overview
  6. 6:41Type aliasing sanitizer
  7. 7:24Dynamic vs static analysis
  8. 9:10Fuzzing and sanitizer synergy
  9. 10:58Undefined behavior universe
  10. 11:20Mitigation tools explained
  11. 14:54Production use of sanitizers
  12. 16:21Mitigation limitations
  13. 17:44Bounds checking debate
  14. 19:09Standardizing undefined behavior
  15. 20:34Current state of sanitizers
  16. 22:25Recommendations and conclusion
~/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.