offensive-tools/fuzzing/libfuzzer/SKILL.md
Auth/lab ref: In-process, coverage-guided fuzzing engine integrated with Clang/LLVM. For fast unit-level fuzz targets, parser hardening, sanitizer-first bug discovery, and corpus-driven regression loops in C/C++ code.
npx skillsauth add aeondave/malskill libfuzzerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
LLVM-native in-process fuzzer using LLVMFuzzerTestOneInput entrypoints.
# Minimal target
# extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size)
# Build with libFuzzer + ASAN
clang++ -g -O1 -fsanitize=fuzzer,address fuzz_target.cc -o fuzz_target
# Run
./fuzz_target corpus/
LLVMFuzzerTestOneInput harness.-merge=1.| Flag | Purpose |
|------|---------|
| -runs=N | Bounded runs |
| -max_total_time=N | Time budget |
| -dict=file | Token dictionary |
| -jobs / -workers | Parallel campaigns |
| -fork=N | Crash/OOM/timeout-resistant subprocess mode |
| -use_value_profile=1 | Stronger cmp-guided search |
| -merge=1 | Corpus minimization/merge |
FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION to disable fuzz-hostile randomness/checksums in harness builds.-1 for intentionally rejected inputs to reduce corpus pollution.-artifact_prefix / fixed artifact paths in CI pipelines for predictable collection.development
Auth/lab ref: Unicorn Engine CPU-only emulation for shellcode, decryptors, custom VM handlers, instruction tracing, memory hooks, and register-level experiments.
development
Auth/lab ref: Renode board and SoC simulation for MCU/RTOS firmware, UART/GPIO/peripheral modeling, GDB remote debugging, REPL platforms, and RESC scripts.
development
Auth/lab ref: Qiling OS-layer binary emulation for PE/ELF/Mach-O/UEFI/shellcode with rootfs, syscall/API hooks, filesystem mapping, and runtime patching.
databases
Auth/lab ref: QEMU user-mode and full-system emulation for cross-arch binaries, firmware, kernels, disks, serial consoles, networking, and GDB stubs.