~/talk

Security in C++ - Hardening Techniques From the Trenches

Talkat C++Now 2024 · 2024-04-29..05-03· [security, c-and-cpp]
links:none on file
slides:none on file

Implementation adds two concrete defenses to Clang/libc++: Standard Library hardening (none/fast/extensive/debug modes, built‑in traps for fast/extensive, verbose diagnostics for debug) and typed memory allocation (compiler emits a 64‑bit type descriptor to a typed operator new that funnels to a type‑aware allocator). LLVM 18 ships hardening; WebKit, Chrome (extensive) and Google Cloud (fast) deploy it and report many bugs found. Typed allocation (deployed in Darwin/xnu) sharply reduces exploitability of use‑after‑free + type‑confusion chains but is not a silver bullet.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 7:25Memory safety overview
  3. 27:52Standard Library hardening
  4. 48:19Deployment experience
  5. 1:03:30Type memory operations
  6. 1:17:51Conclusions and future work
  7. 1:22:02Q&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.