~/talk

Progress On Bounds Checking in C and the Linux Kernel

links:none on file
slides:none on file

Effort converts trailing zero/one-length arrays into real C99 flexible array members, adds -fstrict-flex-arrays and per-struct size annotations, and wires compiler builtins like __builtin_dynamic_object_size() into FORTIFY_SOURCE and sanitizers. A transform script plus a declare_flex_array helper handles uapi and unions; a finder reports about 160 candidate counted_by attribute sites. Measured memcpy/bounds coverage rises from ~46% (6.1) to ~54% (6.3 with alloc_size hints) to ~56% (6.4 with strict flex), showing real, incremental gains.

AI-written summary · about

  1. 0:00Bounds checking in C and Linux
  2. 1:48C array problems and workarounds
  3. 8:09One-element and zero-length arrays
  4. 17:52Flexible array members
  5. 28:29Annotating runtime sizes
  6. 35:17Refactoring progress
  7. 42:22Future challenges
  8. 45:18Q&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.