~/talk

Don't Look UB: Exposing Sanitizer-Eliding Compiler Optimizations

Talkat PLDI 2023 · 2023-06-17..06-21· [compilers-and-language-design, security]
links:none on file
links:none on file
links:none on file
links:none on file
slides:none on file

Differential-testing framework LookUB compiles programs with sanitizers on with and without optimization to expose optimizer transformations that remove sanitizer failures. Applied to Clang it finds 17 sanitizer-eliding optimizations, uses static analysis plus slow fuzzing on OSS-Fuzz and Juliet to locate real-world effects, and uncovers 20 new bugs in Linux Containers, libmpeg2, NTFS-3G, and WINE. Prototype mitigation customizes the Clang optimizer and increases runtime overhead by about 4%.

AI-written summary · about

  1. 0:00Sanitizer-lighting optimizations
  2. 1:03What sanitizers do
  3. 2:48Sanitizers vs optimizers
  4. 3:49Testing interactions
  5. 5:55Why checks disappear
  6. 7:00How optimizers exploit undefined behavior
  7. 8:25Fixing vs exploiting bugs
  8. 9:30Real-world impact
  9. 10:5719 bugs found
  10. 11:17Incompatibility summary
  11. 11:58Q&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.