~/talk

Finding Bugs with Clang at Compile and Run Time

Talkat ACCU 2016 · on Wednesday, 2016-04-20· [security]
slides:none on file

Shows how clang tooling finds bugs at compile and run time: uses clang-tidy plus AST queries (clang-query/clang-check) to implement a custom checker that flags inherited overrides of non‑virtual methods, generates tests and fix‑its, builds against the compilation database and the checker works in the test suite. Demonstrates sanitizers (AddressSanitizer, UBSan, ThreadSanitizer, LeakSanitizer) to catch use‑after‑free, UB, races and leaks at runtime with modest overhead, and cites examples where automated tools found dozens of real defects.

AI-written summary · about

  1. 0:00Start
  2. 8:45Analysis Techniques
  3. 12:03Dimensions of Static Analysis
  4. 13:43Precision of the Checker
  5. 14:43The Level of Static Analysis
  6. 16:36The Architecture Level
  7. 17:41Cyclic Dependencies
  8. 20:09Dynamic Analysis
  9. 23:07Infinite Recursive Loop
  10. 25:50Overview of Clang
  11. 30:08Problem of the Missing Semicolon
  12. 37:22Compilation Database
  13. 38:05Static Analyzer
  14. 40:09Static and Airless Static Analyzer
  15. 41:04Static Analysis Checkers
  16. 59:04Sanitizers
  17. 59:52Refactoring
  18. 1:01:35Delete Implicit Generated Method
~/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.