Skip to content

Glossary: C Basics

AddressSanitizer (ASan)

Also written: ASan, -fsanitize=address

A sanitizer switched on with `-fsanitize=address`. It stops a program at the first bad memory access, such as writing past a heap block, and reports the kind of bug and the line.

Where the book teaches it

Related terms

SanitizerUBSanLeakSanitizer