Concept · 1 episode(s)

AddressSanitizer

← all concepts

Definition

AddressSanitizer (ASan) is a compiler-inserted runtime tool that detects memory errors in C and C++ programs: out-of-bounds reads and writes, use-after-free, double-free, and stack overflows. It shadows every byte of allocated memory and traps the moment a program touches something it shouldn’t, turning latent corruption bugs into immediate, debuggable crashes.

Episodes covering this