~/talk

Mix Testing: Specifying and Testing ABI Compatibility of C/C++ Atomics Implementations

Talkat OOPSLA 2024 · 2024-10-20..10-25· [c-and-cpp, compilers-and-language-design]
links:none on file
links:none on file
links:none on file
name:Lee Smith
links:none on file
links:none on file
slides:none on file

Tooling and results: a new testing technique compiles individual C/C++ atomic operations with multiple mappings, links the permutations, and checks whether composed binaries exhibit forbidden source outcomes; the implemented atomic-mixer tool generates and runs these mixed binaries (simulation or hardware). It reproduces a known non-mixing bug, finds four previously-unknown mixing bugs in LLVM and GCC plus one prospective JVM mapping issue, and helps validate a newly specified Armv8 atomics ABI. The technique is exponential in mappings and operations; several bugs are fixed or triaged.

AI-written summary · about

  1. 0:00Mix testing for C/C++ atomics
  2. 4:18High-level overview
  3. 7:27Mix testing technique and Atomic Mixer
  4. 9:11Mixing bugs in atomics
  5. 10:58ARM’s spec to prevent mixing bugs
  6. 12:46Summary of findings
  7. 13:30Q&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.