domains / families / security / address-sanitizer

address-sanitizer

separate

Builds and runs code under AddressSanitizer to catch buffer overflows, use-after-free, and other memory errors during fuzzing or tests. Covers -fsanitize=address builds, ASAN_OPTIONS, reading the crash report, LeakSanitizer, and the overhead and platform trade-offs. Use when fuzzing C/C++ or Rust that has unsafe blocks or FFI, when debugging a memory corruption crash, or when reading an ASan stack trace.

When to use

When not to use

Skill page

Source

RepositoryPath
trailofbits/skillsplugins/testing-handbook-skills/skills/address-sanitizer/SKILL.md