Address sanitizer vs Libfuzzer
Address sanitizer is an open-source agent skill for security. Libfuzzer is an open-source agent skill for security.
- Address sanitizer is best for compile a c library with addresssanitizer and run it under a fuzzer.
- Libfuzzer is best for write a libfuzzer harness for a c parsing library.
- What it is
- Address sanitizer is an open-source agent skill for security.Libfuzzer is an open-source agent skill for security.
- Best for
- Compile a C library with AddressSanitizer and run it under a fuzzerWrite a libFuzzer harness for a C parsing library
- Kind
- SkillSkill
- Pricing
- Open sourceOpen source
- Platforms
- Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, GooseClaude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- GitHub stars
- 8.2K8.2K
- Last commit
- Nov 2026Nov 2026
- License
- CC-BY-SA-4.0CC-BY-SA-4.0
- Open source
- Good for
- Compile a C library with AddressSanitizer and run it under a fuzzer; Set up ASan for a Rust cargo-fuzz target that uses unsafe code; Interpret a heap-buffer-overflow stack trace from a crashWrite a libFuzzer harness for a C parsing library; Build a fuzzer with AddressSanitizer enabled; Set up a seed corpus and dictionary for a file format
What Address sanitizer does
Sanitizer build setup
Shows how to compile and link code with the -fsanitize=address flag and debug symbols.
ASAN_OPTIONS configuration
Explains common runtime options such as verbosity, abort_on_error and detect_leaks.
Fuzzer integration
Covers enabling ASan with libFuzzer, AFL++, cargo-fuzz and honggfuzz, including memory limit settings.
Crash report reading
Describes the parts of an ASan report, including error type, stack and allocation traces.
Troubleshooting guide
Lists common failures such as early process kills, linking problems and noisy leak output.
What Libfuzzer does
Harness authoring rules
Guidance on structuring LLVMFuzzerTestOneInput harnesses so runs stay fast, deterministic and isolated.
Build and sanitizer setup
Compiler flags and build steps for fuzzing with ASan, UBSan, MSan, static libraries and CMake.
Corpus and dictionary handling
Creating seed corpora, merging and minimizing them, and generating fuzzing dictionaries.
Campaign running options
Common libFuzzer flags for input size, timeouts, forking, multi-core jobs and re-running crashes.
Crash and output triage
How to read libFuzzer status lines, locate crash artifacts and interpret sanitizer reports.
Coverage measurement
Steps to build a source-based coverage report from a fuzzing run using LLVM tools.
Address sanitizer vs Libfuzzer: questions
Is Address sanitizer or Libfuzzer cheaper?
Both are open source. Compare current plans on each official site.
What is the difference between Address sanitizer and Libfuzzer?
Address sanitizer is an open-source agent skill for security. Libfuzzer is an open-source agent skill for security.
