~/talk

Bug Hunting with Static Code Analysis

Talkat BSides London 2016 · on Wednesday, 2016-06-08· [security]
links:none on file
slides:none on file

Automated static analysis finds low‑level bugs earlier by converting source into ASTs and control‑flow graphs then running taint analysis to trace unsanitized input back to sinks. Practical demos flag strcpy in pkcs11.c and show OpenSSL has far more alerts than alternatives. Quick grep/regex scans are fast but noisy; a custom Python analyser moves from ~30s grep runs to ~20 minute full analysis but cuts false positives. Tooling examples include flawfinder, RIPS, Brakeman and clang and Jenkins CI integration.

AI-written summary · about

  1. 0:00Introduction to bug hunting
  2. 1:47Static vs dynamic analysis
  3. 3:12Manual vs automated code review
  4. 6:01Language theory basics
  5. 8:06Regular expressions for bug hunting
  6. 10:56Context-free languages and parsers
  7. 14:07Abstract syntax trees in analysis
  8. 14:48Control flow graphs explained
  9. 16:58Taint analysis with control flow
  10. 19:53Limitations of static analyzers
  11. 20:37Bug hunters and static analysis
  12. 23:48Useful tools for bug hunters
  13. 27:17Static analysis for developers
  14. 29:01Continuous integration testing
  15. 31:09Commercial static analysis tools
  16. 32:11Security consultancy applications
  17. 33:57Conclusions and takeaways
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.