LIFETIME
DANGLING POINTER
A reference outlives the object. ASan reports heap-use-after-free.
OWNERSHIP · CONTAINERS · CONCURRENCY
Four bugs. Four real sanitizer reports. One loop: read the failure, reproduce it, repair it, prove the repair.
Progress is stored in this browser by the arcade.
LIFETIME
A reference outlives the object. ASan reports heap-use-after-free.
CONTAINERS
push_back moves the buffer. The old iterator still points into it.
CONCURRENCY
Two threads touch one counter. TSan reports a data race.
OWNERSHIP
The same object is released twice. ASan reports attempting double-free.
CAMP COMPLETE
You read the failure, ran the lab, beat the boss, and passed the proof gate. That is the full loop.
Every boss prints a sanitizer report captured from a local reproduction in this repository. The browser runs a small teaching DSL; the article and example are the real C++. Clear all four and you have a working mental model of lifetime, container, concurrency, and ownership bugs.
READ THE UB OVERVIEW ↗