~/talk

Make Friends with the Clang Static Analysis Tools

Talkat CppCon 2016 · 2016-09-18..09-23· [security, compilers-and-language-design]
links:none on file
slides:none on file

An overview of open-source C++ static analysis tools with emphasis on Clang-based tools, explaining the algorithms, methods and heuristics they use and their limitations. Covers how those techniques lead to false positives and offers guidelines for making libraries more static-analysis-friendly. Also includes a short hands-on tutorial on using Clang static analysis tools and integrating them into a development workflow.

AI-written summary · about

  1. 0:00Intro
  2. 0:16OUTLINE
  3. 2:03HALTING PROBLEM
  4. 3:19APPROXIMATION
  5. 4:42WHY BOTHER WITH STATIC ANALYSIS
  6. 5:58ANALYZING C++ IS HARD
  7. 8:29STATIC ANALYSIS METHODS
  8. 8:54TEXTUAL PATTERN MATCHING
  9. 9:32MATCHING THE SYNTAX TREE
  10. 10:40FLOW SENSITIVE ALGORITHMS
  11. 14:03PATH SENSITIVE ALGORITHMS
  12. 15:46SYMBOLIC EXECUTION
  13. 17:27MODELING MEMORY
  14. 19:06CONTEXT SENSITIVITY (INTRA /INTERPROCEDURAL)
  15. 20:14CROSS TRANSLATION UNIT ANALYSIS
  16. 22:10GLOBAL ANALYSIS
  17. 22:44SUMMARY BASED ANALYSIS
  18. 24:37CLANG STATIC ANALYZER
  19. 25:55CLANG TIDY
  20. 27:08HOW TO INTEGRATE INTO THE WORKFLOWE
  21. 34:46HOW TO USE CODECHECKER
  22. 35:54WRITING STATIC ANALYSIS FRIENDLY CODE
  23. 40:37HANDLING FALSE POSITIVES
  24. 45:38CONCLUSION
  25. 57:51OPEN SOURCE TOOLS
~/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.