~/talk

Everything I learned about static analysis and program safety in C++

Talkat Pure Virtual C++ 2022 · on Tuesday, 2022-04-26· [security, c-and-cpp]
slides:none on file

Sees C++ memory safety as the main problem—uploader cites 70% of serious security bugs from memory issues—and shows static analysis deployed in Visual Studio, GitHub Actions and Compiler Explorer finding real defects: lint-style checks catching union type confusion, intra-procedural checks plus SAL annotations revealing a buffer-overrun, and adoption of GSL span to encode pointer+size so runtime checks can prevent overruns. Team reports a ~45% analyzer speedup and fixed 1,000+ static-analysis bugs in Visual Studio during a recent push.

AI-written summary · about

  1. 0:00Intro
  2. 1:14C++ code safety: Why it matters?
  3. 3:26Static code analysis: Why and what?
  4. 7:55Ideal way to "shift left" in GitHub
  5. 10:38Lint style checks
  6. 15:39Challenge: Scaling Lint-style checks
  7. 26:29Join the fun
  8. 28:04What's next for code analysis?
  9. 33:26Connect with us
~/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.