~/talk

Clang Static Analysis

Talkat Meeting C++ 2016 · 2016-11-18..11-19· [rust]
links:none on file
slides:none on file

Clang static analyzer performs path sensitive symbolic execution with a strong memory model and finds deep bugs but currently lacks cross‑translation‑unit analysis; Clang‑tidy does mainly syntax‑tree matching and safe rewrites for modernization and guidelines. Cod Checker provides a web UI, incremental and differential views and CI integration; the recommended workflow is local incremental runs plus nightly full analysis. Code changes that reduce macros and add annotations and custom asserts cut false positives and make the results actionable.

AI-written summary · about

  1. 0:00Intro
  2. 0:19OUTLINE
  3. 2:57HALTING PROBLEM
  4. 4:01APPROXIMATION
  5. 5:16WHY BOTHER WITH STATIC ANALYSIS?
  6. 7:20ANALYZING C++ IS HARD
  7. 9:31STATIC ANALYSIS METHODS
  8. 11:00MATCHING THE SYNTAX TREE
  9. 12:27FLOW SENSITIVE ALGORITHMS
  10. 15:05PATH SENSITIVE ALGORITHMS
  11. 17:02SYMBOLIC EXECUTION
  12. 18:36MODELING MEMORY
  13. 19:51CONTEXT SENSITIVITY (INTRA/INTERPROCEDURAL)
  14. 20:33CROSS TRANSLATION UNIT ANALYSIS
  15. 22:05GLOBAL ANALYSIS
  16. 23:17SUMMARY BASED ANALYSIS
  17. 24:17OPEN SOURCE TOOLS
  18. 24:31CLANG STATIC ANALYZER
  19. 25:02CLANG TIDY
  20. 27:04HOW TO INTEGRATE INTO THE WORKFLOW?
  21. 32:04HOW TO USE CODECHECKER?
  22. 34:12WRITING STATIC ANALYSIS FRIENDLY CODE
  23. 43:17CONCLUSION
  24. 44:13REFERENCES
~/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.