~/talk

Safer at Any Speed: Automatic Context-Aware Safety Enhancement for Rust

Talkat OOPSLA 2021 · 2021-10-17..10-22· [rust, security]
links:none on file
name:Ziyang Xu
links:none on file
links:none on file
links:none on file
name:Amit Levy
links:none on file
slides:none on file

Rust libraries use unchecked indexing in 10% of the 500 most downloaded packages, and small compiler or workload changes make bounds-check overhead vary widely. NADER compiles both original and fully-checked variants, runs an application benchmark with a user threshold, and uses a hotness-based heuristic plus a one-checked-slowdown step to pick checks to keep or reintroduce. On 10 apps NADER automatically restores hundreds of checks (e.g. 712 reintroduced bounds checks) often with no measurable slowdown.

AI-written summary · about

  1. 0:00Start
  2. 0:21Bounds checking in Rust
  3. 1:15Developers still circumvent these checks for performance
  4. 2:17Key idea
  5. 2:27Application context
  6. 3:36Compiler context
  7. 8:54Key insight
  8. 10:49Finding the minimal set of unchecked indexing
  9. 11:38Is NADER effective?
  10. 12:51Conclusion
~/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.