AddressSanitizer (ASan) Memory Debugger
Detects memory corruption bugs like buffer overflows and use-after-free errors during C/C++ and Rust software testing.
The AddressSanitizer (ASan) skill provides specialized guidance for instrumenting code to identify critical memory safety vulnerabilities. It streamlines the integration of memory error detection into fuzzing workflows and unit tests, offering precise configurations for compilers like Clang and GCC, as well as popular fuzzers like AFL++ and libFuzzer. This skill is essential for developers working on low-level systems where memory safety is paramount, helping to catch and resolve bugs that standard debugging tools might miss.
主な機能
01Provides optimized compiler flags for Clang and GCC instrumentation
02Detects buffer overflows, stack/heap overflows, and use-after-free bugs
03Offers tool-specific integration for AFL++, libFuzzer, and cargo-fuzz
04Configures advanced runtime behavior via ASAN_OPTIONS environment variables
05Guidance on interpreting detailed ASan crash reports and shadow memory maps
060 GitHub stars
ユースケース
01Debugging crashes in Rust code containing unsafe blocks or FFI boundaries
02Fuzzing C/C++ applications for memory safety vulnerabilities
03Enhancing CI/CD unit test suites with automated memory leak detection