~/talk

Foundations for a Rust-Like Borrow Checker for C

Talkat LCTES 2024 · on Monday, 2024-06-24· [compilers-and-language-design, security]
links:none on file
links:none on file
links:none on file
slides:none on file

Claim: Rust's MIR borrow checker is replicated for C by normalizing C, building a MIR-like CFG, and running a lifetime/ownership analysis that flags ownership/aliasing violations. Implementation uses the Clava source-to-source infrastructure and a TypeScript library Coral, applies source-to-source transformations, encodes borrows via C types, and performs NL lifetime inference. Prototype finds real ownership bugs and reports rustc-like diagnostics; code and artifacts live on the project GitHub.

AI-written summary · about

  1. 0:00Rust-like borrow checker for C
  2. 1:06Memory safety in C and Rust
  3. 2:34Borrow checker evolution
  4. 3:41Rust borrows and references
  5. 6:12Borrow checker error detection
  6. 7:43Rust MIR overview
  7. 8:27Coral tool for C analysis
  8. 9:34Coral's two-phase compilation
  9. 11:03Challenges and contributions
  10. 12:09Q&A
  11. 13:14Future plans for interior mutability
  12. 14:18Translating C for analysis
  13. 15:23Extending Coral with safety features
~/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.