~/talk

Miri, Undefined Behavior and Foreign Functions

Talkat RustFest Global 2020 · 2020-11-07..11-08· [rust, security]
links:none on file
slides:none on file

Claim: Miri finds concrete undefined behavior by interpreting MIR and reporting the exact offending memory ops. Toolchain specifics: install nightly, add the miri component, run cargo miri on tests or binaries. Built thing and limits: a MIR interpreter with shims emulate foreign functions across platforms that works but is slow and only catches UB that actually executes and cannot yet detect data races. Contribution hook: write shims for missing FFI/platform calls.

AI-written summary · about

  1. 0:00Intro
  2. 0:31Who am I
  3. 0:51Overview
  4. 2:34Why use unsafe Rust
  5. 4:06What can unsafe Rust do
  6. 5:51What are raw pointers
  7. 8:12The byte array
  8. 10:59Undefined behavior
  9. 13:50Broken rules
  10. 14:48Good news
  11. 15:22Bad news
  12. 17:03What is Miri
  13. 18:22How to use Miri
  14. 21:21How Miri works
  15. 24:27Miri limitations
  16. 25:38Why does this matter
  17. 26:09Foreign functions
  18. 27:37Miri and undefined behavior
  19. 30:54Miri and foreign functions
  20. 33:35Miri contributions
  21. 37:22Questions
~/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.