~/talk

Windows Kernel Programming with Rust

Talkat EuroRust 2024 · 2024-10-10..10-11· [rust]
links:none on file
slides:none on file

Concrete how-to: Rust produces a working Windows kernel driver using official WDK bindings (Microsoft added them in 2023), Cargo build scripts, automatic binding generation with llvm, and driver signing via an included make task that emits a test certificate. Examples include a loadable hello world DLL, serial and debug-print logging with a kernel_log crate, a custom global allocator for page-aligned or physical memory, VM-based WinDbg debugging, and a practical caveat: heap copies can overflow a three‑page kernel stack (example shows a six‑page copy).

AI-written summary · about

  1. 0:00Rust kernel drivers intro
  2. 3:08What is a kernel driver
  3. 5:15Rust kernel setup
  4. 7:43Basic Rust driver
  5. 10:36Debugging drivers
  6. 14:11Custom allocators
  7. 17:27Memory and stack limits
  8. 18:09Manual API imports
  9. 20:19Rust vs C++ for kernel
  10. 22:48Rust limits and future
  11. 25:17Conclusion & Q&A
~/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.