~/talk

Miri: Practical Undefined Behavior Detection for Rust

Talkat POPL 2026 · 2026-01-11..01-17· [rust]
links:none on file
links:none on file
links:none on file
name:Qian Wang
links:none on file
slides:none on file

Miri is an interpreter of Rust’s abstract machine that tracks per-byte initialization and pointer provenance, enforces Rust type representations, detects data races via vector‑clock-style checking, and emulates weak memory behaviors plus enough OS APIs to run real crates unchanged. The paper claims Miri can find all de‑facto UB in deterministic Rust; it successfully executes 70% of tests across ~100,000 crates, finds dozens of real bugs and integrates into CI, while running ~10^4–10^5× slower and not calling native C.

AI-written summary · about

  1. 0:00Miri introduction
  2. 1:02Safe vs unsafe Rust
  3. 3:30Undefined behavior consequences
  4. 5:18How Miri detects UB
  5. 7:23Miri’s abstract machine
  6. 9:52Type encoding in Miri
  7. 10:54Detecting data races
  8. 12:39Weak memory behaviors
  9. 14:25Miri’s limitations
  10. 16:32Miri’s real-world impact
  11. 17:35Evaluating Miri on crates
  12. 18:40Future work for Miri
  13. 19:23Conclusion
  14. 19:44Q&A: Miri’s completeness
  15. 20:47Q&A: Address space nondeterminism
  16. 21:29Q&A: Formalizing UB in Rust
  17. 22:54Q&A: Miri for other languages
~/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.