~/talk

Purging Undefined Behavior & Intel Assumptions in a Legacy C++ Codebase

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

Shows concrete fixes not fluff: uses clang sanitizers (ASan/UBSan) and thread sanitizer to find use‑after‑free, uninitialized-data and race bugs; adds clang-tidy and custom static checks in CI, plus deprecation‑as‑error for UB‑invoking APIs so new code stays clean. Describes porting to Apple Silicon for a 15M‑line product family with ~2M shared lines, a tooling‑first rollout that finds dozens of bugs before QA, and pragmatic fixes that reduce platform breaks.

AI-written summary · about

  1. 0:00Introduction
  2. 7:47Undefined behavior in C++
  3. 18:31Legacy code and Intel assumptions
  4. 24:46Legacy bugs war stories
  5. 37:26Cultural changes for safety
  6. 41:18Tooling for safer code
  7. 51:15Apple Silicon and new architectures
  8. 54:04Q&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.