Skip to content

Glossary: C++ Basics

Address sanitizer

Also written: -fsanitize, sanitizer

A compiler option (`-g -fsanitize=address,undefined`) that makes a program stop at a bad memory access or undefined behavior and print a report naming the line.

Where the book teaches it

Related terms

Undefined behaviorDangling