~/talk

Morello MicroPython: A Python Interpreter for CHERI

Talkat MPLR 2023 · on Sunday, 2023-10-22· [embedded-and-hardware, python]
links:none on file
links:none on file
links:none on file
slides:none on file

Port of MicroPython to Arm Morello implements both pure-cap and hybrid ABI builds, changes include replacing inline assembly to save full capability registers, swapping uinptr_t uses to plain integers, adding a Python wrapper type for capabilities and forcing heap allocations to set explicit capability bounds. Results: majority of tests pass, discovered concrete bugs (string read‑past, incorrect buffer rounding) and upstream fixes, runtime costs about 1.5–2× slowdown on pure-cap, and the port successfully prevents classic cross‑object buffer overflows.

AI-written summary · about

  1. 0:00MicroPython and CHERI intro
  2. 1:05What is CHERI
  3. 3:58CHERI capabilities
  4. 7:11MicroPython on CHERI changes
  5. 9:26Heap and stack with CHERI
  6. 11:11MicroPython vulnerabilities
  7. 12:58Buffer overflow mitigation
  8. 13:40Testing CHERI compatibility
  9. 14:22Performance impact of CHERI
  10. 15:46Future work and CHERI runtimes
  11. 17:15Q&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.