~/talk

Things I learned from the static analyzer

Talkat Meeting C++ 2019 · 2019-11-14..11-16· [security]
links:none on file
slides:none on file

Static analyzers like clang-tidy and cppcheck give concrete, actionable findings not vague advice they flag missing =delete or =default, prefer using over typedef, suggest direct member initializers, and point out loops that should use STL algorithms. They detect performance wins such as pass-by-value-and-move, reveal object slicing and static initialization exceptions, and surface exceptions thrown before main. The tools are free open source and produce specific edits that reduce bugs and maintenance cost.

AI-written summary · about

  1. 0:00Intro
  2. 1:19What can they do for us?
  3. 3:44Focus areas
  4. 6:20Used static code analyzers for this talk
  5. 7:16Typedef vs using
  6. 8:40Default member initialization
  7. 9:15Delegating constructors
  8. 11:52Defaulting/deleting constructors destructors
  9. 12:58Pass by const reference
  10. 14:48Pass by value and more
  11. 17:13Benchmark
  12. 18:05Allow copy elision
  13. 23:18Program memory layout
  14. 24:58Crash before main starts
  15. 27:22Problem statement
  16. 28:26Behind the scenes
  17. 30:44Rule of three/five enforcement
  18. 31:25Object slicing protection
  19. 32:35Conclusion
  20. 33:27Thank you!
~/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.