From Davidbombal · Davidbombal · · 1m 30s
TL;DR: Your compiler can undo your security checks
Chris Domas shows how legal compiler optimizations strip out the protections you carefully wrote.
Audit the optimized binary you actually ship, not the source you wrote, because the compiler is allowed to remove your safety code. Chris Domas shows how legal compiler optimizations strip out the protections you carefully wrote. You can write careful C, follow every best practice, and still ship a vulnerable binary. The processor runs what the compiler emitted, not what you typed.
- The CPU never reads your code
- Optimizations delete protections
- Blame the abstract machine
- Byte counts decide your fate
Read the story version — the same reporting as a swipeable deck of 6 cards.





