~/talk

Building Safe and Secure Systems in Rust

Talkat RustRush 2018 · 2018-12-15..12-16· [rust, security]
slides:none on file

Rust reduces many memory bugs but the concrete takeaways matter: dependency C libraries and FFI caused a real CVE via rusqlite/SQLite, large projects like MesaLock Linux and masterbox show proof of concept, and toolchain work surfaces unsafe use. The author compiles ~10,000 crates, finds about 3,000 crates with unsafe and ~600k lines of unsafe code, demonstrates miniz_oxide double‑free patterns from C APIs, and uses cargo-audit, Miri and c2rust to find and mitigate these issues.

AI-written summary · about

  1. 0:00Intro
  2. 0:54Baidu X-Lab
  3. 1:46Outline
  4. 3:01Approaches to Mitigate Memory Corruption Errors
  5. 4:01Building Safe and Secure Systems in Rust
  6. 6:23Challenges
  7. 9:02What is unsafe Rust?
  8. 9:31Unsafe Superpowers
  9. 11:39"Unsafe" is agnostic
  10. 13:38Case study: lon Shell
  11. 14:12Dependency graph of lon shell
  12. 15:21cargo build
  13. 16:04Case study: rusqlite
  14. 17:26Data Collection and Study
  15. 18:08Usage of external libraries ( = 100)
  16. 19:46"unsafe" code
  17. 21:20Lessons Learned
  18. 29:46How to Contribute?
  19. 31:42Open Questions
  20. 36:43Existing Projects
  21. 41:47Conclusion
~/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.