~/talk

Memory Tagging and how it improves C/C++ memory safety

Talkat CppCon 2018 · 2018-09-23..09-28· [security, c-and-cpp]
links:none on file
slides:none on file

Memory tagging attaches small tags to pointers and memory and catches mismatches to find bugs with low overhead: hardware SPARC ADI uses 4-bit tags per 64 bytes and works but wastes up to ~20% RAM; a software/hardware hybrid HWASAN on AArch64 uses 8-bit tags per 16 bytes, ~6% RAM but incurs ≈2x CPU from compiler instrumentation; ARM’s Memory Tagging Extension (ARM MTE) is 4-bit tags per 16 bytes announced but not yet shipped. Detection is probabilistic (≈93% for 4-bit), zero false positives, and strong against linear overflows and delayed use-after-free.

AI-written summary · about

  1. 0:00Memory safety in C++
  2. 5:38Address sanitizer limitations
  3. 9:30Memory tagging concept
  4. 14:30Hardware and software tools
  5. 17:35Existing implementations
  6. 20:33ARM memory tagging extension
  7. 22:37Future of memory safety
  8. 26:22Q&A and conclusion
~/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.