~/talk

Static Analysis for CHERI

Talkat SOAP 2024 · on Tuesday, 2024-06-25· [security]
links:none on file
name:Ian Stark
links:none on file
slides:none on file

Custom Clang Static Analyzer checkers target CHERI portability problems rather than memory exploits: four CHERI-specific checkers detect capability alignment errors, piecemeal memcpy/tag-stripping, pointer→integer casts, and pointer arithmetic that breaks capability derivation. The tool integrates with CHERI-enabled Clang, runs on CheriBSD ports (about 2.5M LOC), reports fixes (several accepted), and finds alignment issues most often. The analysis flags unaligned allocations, unaligned memcpy patterns that strip tags, and conditional/pointer-equality patterns that must be rewritten.

AI-written summary · about

  1. 0:00Static analysis for CHERI
  2. 0:22What is CHERI
  3. 1:04Memory safety with CHERI
  4. 2:08CHERI capabilities and checks
  5. 3:12Transitioning to CHERI issues
  6. 4:37Static analysis for CHERI compatibility
  7. 5:43Portability in CHERI transition
  8. 6:24CHERI impacts on C++
  9. 7:11Clang static analysis tool
  10. 7:34Pointer alignment checker
  11. 9:23Unaligned capability risks
  12. 10:27Unaligned pointer issues
  13. 11:08Capability alignment in alloc
  14. 12:35External void pointer handling
  15. 13:17Capability copy checker
  16. 13:40Invalid capability copying
  17. 14:21Pointer to int conversion risks
  18. 14:44Capability-compatible pointer arithmetic
  19. 15:29Pointer size checks
  20. 15:53CHERI ports evaluation
  21. 16:39True positive rates and limits
  22. 17:20Future directions
  23. 18:05Conclusion
~/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.