AddressSanitizer (ASan)

0•

Detects memory corruption bugs, buffer overflows, and use-after-free vulnerabilities during software testing and fuzzing.

The AddressSanitizer skill guides developers and security researchers through configuring, compiling, and debugging memory errors using ASan in C, C++, and Rust applications. It provides expert instructions for integrating ASan into fuzzing workflows with libFuzzer, AFL++, cargo-fuzz, and honggfuzz, while offering essential configuration patterns, memory limit adjustments, troubleshooting techniques, and actionable crash report analysis to eliminate critical vulnerabilities before deployment.

Key Features

01Fuzzer integration configurations for libFuzzer, AFL++, cargo-fuzz, and honggfuzz
020 GitHub stars
03Environment tuning and ASAN_OPTIONS optimization for fuzzing and unit testing
04Detailed crash report analysis for heap overflows, use-after-free, and leak detection
05Platform-specific setup and troubleshooting for memory limit adjustments
06Compile-time instrumentation guidance for Clang and GCC using -fsanitize=address

Use Cases

01Fuzzing C and C++ codebases to detect heap and stack buffer overflows
02Testing unsafe Rust blocks and C FFI boundaries for memory safety violations
03Enhancing unit test suites with automated memory corruption and leak checks