
Systems Programming
Detect Heap Bugs with AddressSanitizer
Compile with -fsanitize=address to catch heap overflows, use after free, double free and leaks, and learn to read the report that names the exact line.
7 min read
Tag
2 posts

Compile with -fsanitize=address to catch heap overflows, use after free, double free and leaks, and learn to read the report that names the exact line.

Fuzz C and C++ with libFuzzer and AFL++ on Clang 19: write targets, use sanitizers, build corpora and dictionaries, triage crashes and run fuzzing in CI.