~/talk

Control Flow Integrity on RISCV

links:none on file
slides:none on file

RISC-V CFI splits into ZICFI-LP landing pad checks that force all indirect branches to target an embedded label (with exceptions for AUIPC+JALR idioms) and ZICFI-SS shadow stack with CSR_SSP that uses new SS_PUSH and SS_POP_CHECK instructions to verify returns and raise a software check exception on mismatch. Kernel-side uses a map_shadow_stack style mapping and a prot_shadow_stack/VMA encoding with store-page-fault-driven COW; eBPF and kprobe workflows require codegen or probe placement updates but otherwise work.

AI-written summary · about

  1. 0:00Introduction to CFI
  2. 1:25Landing pad extensions
  3. 3:07Shadow stack implementation
  4. 6:26Shadow stack page faults
  5. 7:46Runtime CFI considerations
  6. 10:22Probing and text patching
  7. 12:34Memory management and CFI
  8. 14:41User mode enabling
  9. 16:57Q&A session
~/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.