~/talk

CTF Frame in the Linux kernel

links:none on file
slides:none on file

A compact unwind format that encodes CFA FP and RA offsets directly rather than using a DWARF bytecode so unwinding is simple and fast, with direct offset encoding and three size variants (8/16/32‑bit address ranges) to save space. Toolchain emits a new .ctf_frame section, linker merges entries and libctf_frame decodes them, and support exists for generating PLT entries (x86) and basic ARM64 cases. Size ends up comparable to eh_frame, but ARM64 is only almost asynchronous on ARM64 because BLR and pointer authentication bits are not fully represented.

AI-written summary · about

  1. 0:00Introduction to CTF frame
  2. 1:04Key ideas behind CTF frame
  3. 3:13CTF frame vs ORC frame
  4. 6:04CTF frame implementation
  5. 8:11Unwind formats comparison
  6. 12:25CTF frame requirements
  7. 13:49Asynchronous unwinding on ARM64
  8. 16:20CTF frame limitations
  9. 17:44User space stack unwinding
  10. 20:55PLT handling in CTF frame
  11. 23:04Q&A and future work
~/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.