~/talk

Hardening Your Code

Talkat CppCon 2014 · on Friday, 2014-09-12· at 09:00· Pascal· [testing, security]
links:none on file
slides:none on file

Practical, specific hardening steps and tools rather than platitudes: use version control and git bisect to find offending commits, build and keep zero compiler warnings, add automated unit tests and measure coverage, run static analyzers and nightly dynamic runs with sanitizers, and fuzz inputs with coverage feedback. Running the libstdc++ test suite of 4,300 tests under AddressSanitizer uncovers real issues (three distinct bugs) and the pipeline of tests plus sanitizers plus fuzzing yields fast, actionable bug reports.

AI-written summary · about

  1. 0:00Hardening Your Code
  2. 4:23Version Control
  3. 6:35A War Story
  4. 12:11What kind of things should I test?
  5. 23:01Test with different compilers
  6. 25:38Static Analysis
  7. 31:29Sanitizers (2)
  8. 32:23Using ASAN
  9. 37:26Undefined Behavior
  10. 42:02Fuzzing and Dynamic Analysis
  11. 43:04Wrapping up
~/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.