~/talk

CHERI C semantics

Talkat POCL 2024 · on Tuesday, 2024-01-16· [compilers-and-language-design]
slides:none on file

Project produces a mechanized CHERI C semantics implemented in Coq executable semantics and exposes a runnable model (Docker + Compiler Explorer). Memory model changes account for ~90–95% of edits and the group runs 90–94 tests across Clang/LLVM (moral and RISC‑V formats) and GCC at multiple optimization levels. Key design choices: address-only equality for ==, tag-clearing on bytewise pointer writes, and handling optimizer-driven differences (O2/O3) that change whether out‑of‑bounds writes fault; only minor compiler incompatibilities are found.

AI-written summary · about

  1. 0:00CHERI C semantics intro
  2. 2:05Goals of formal semantics
  3. 4:56Pointer equality and integrity
  4. 6:23Out of bounds access
  5. 8:27Pointer modification and tags
  6. 9:55Capability derivation and arithmetic
  7. 11:20Executable CHERI semantics
  8. 12:45Testing semantics across compilers
  9. 13:28Comparison with C memory models
  10. 14:10Future work on formalization
  11. 14:53Publications and resources
  12. 15:58Q&A on pointers and atomics
~/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.