Contents

Chapter 31

Undefined Behaviour, When C++ Stops Promising

Sanitizers, and reading a crash.

Part 2

This chapter needs a key

Chapter 6 promised an explanation and every chapter since has quietly added to the list. Here is what undefined behaviour actually means, why it is worse than a crash, and the tools that turn it into one.

You'll build: Point a sanitizer at everything you broke. Re-run every deliberately broken program from Part 2 and read the reports.

Part 1, chapters 0 to 21, is free and always will be.