
libfuzzer
Sets up and runs libFuzzer, the coverage-guided fuzzer built into LLVM
by trailofbitsFree
Description
libFuzzer is an agent skill for setting up and running libFuzzer, the coverage-guided fuzzer built into LLVM, on C and C++ code that compiles with Clang. The agent covers harness structure and building with the sanitizer flag for the fuzzer, then runs a first campaign. The skill notes that libFuzzer has been in maintenance-only mode since late 2022, but says it is still easy to install, widely supported and will be maintained for the foreseeable future. It recommends libFuzzer as the starting point for a single project, and compares it with AFL++ for multi-core fuzzing, LibAFL for custom fuzzers and Honggfuzz for hardware-based coverage. Harnesses are compatible if you later move to AFL++. Requirements are a C or C++ project that builds with Clang. It is installed from the trailofbits skills collection with the command below.…
Highlights
- Sets up coverage-guided fuzzing
- Harness structure and build flags
- Compares AFL++, LibAFL and Honggfuzz
- Starting point for C and C++
- Harnesses carry over to AFL++
Ratings & Reviews
No ratings yet
Be the first to rate libfuzzer.
People also visit
libfuzzer FAQ
What does the skill make the agent do?
It sets up and runs libFuzzer on C or C++ code, from the harness to a first run.
What do I need?
A C or C++ project that compiles with Clang, since libFuzzer is built into LLVM.
How do I install it?
Run npx skills add https://github.com/trailofbits/skills --skill libfuzzer.
What are the security audit results?
Gen Agent Trust Hub Pass, Socket Warn, Snyk Pass.
What are the best libfuzzer alternatives?
Popular alternatives to libfuzzer include libafl, harness-writing and aflpp. See all libfuzzer alternatives






