aflplusplus
Auth/lab ref: Coverage-guided fuzzing framework for source and binary targets.
v2026.11.13-21cd5682 installs+2 in 7 days39 StarsApache-2.0synced 11 hours ago
Install
No NotHoly CLI yet? Install it first.
$ curl -fsSL https://notholy.com/install.sh | sh$ notholy skills install aeondave/aflplusplusWrites to ~/.notholy/skills after checking the signature and the SHA-256.
SignatureSigned, ed25519
Packagea6a725e4…cd8bb94f
a6a725e4bce0…9e3bcd8bb94f1 file · 1.9 KBScanLow1 finding
- Links to outside domains
Sourcegithub.com/AeonDave/malskill/tree/main/offensive-tools/fuzzing/aflplusplus@21cd568
On this page
AFL++ is a modern AFL fork with stronger instrumentation, mutation strategies, and binary-only options.
Quick Start
# Build target with AFL++ wrappers
CC=afl-cc CXX=afl-c++ ./configure --disable-shared --disable-werror
make -j"$(nproc)"
# Fuzz stdin target
afl-fuzz -i seeds -o out -- ./target_bin
# Fuzz file-based target
afl-fuzz -i seeds -o out -- ./target_bin @@Operator Flow (Recommended)
- Compile with
afl-clang-lto(orafl-clang-fastfallback). - Create a small valid seed set, then deduplicate (
afl-cmin). - Start one main instance and multiple secondary instances on the same
-odir. - Add one sanitizer build and one cmp-guided setup (
CMPLOG/Redqueen) in parallel. - Triage crashes with
afl-tmin, replay under sanitizer, and bucket by stack/PC.
Core Flags & Environment
| Flag | Description |
|---|---|
-i <dir> |
Seed corpus directory |
-o <dir> |
Output campaign directory |
-x <dict> |
Dictionary for structured tokens |
-m <mb> |
Memory limit |
-t <ms> |
Per-exec timeout |
-M / -S |
Parallel main/secondary instances |
-d |
Skip deterministic stage (faster starts) |
Useful env variables in real campaigns:
AFL_USE_ASAN=1/AFL_USE_UBSAN=1for sanitizer build variants.AFL_LLVM_CMPLOG=1for compare tracing binary used with-c.AFL_LLVM_LAF_ALL=1for compare splitting (when needed).AFL_IMPORT_FIRST=1to sync-import queue items early.AFL_TMPDIR=/dev/shm/...to reduce disk I/O pressure.
Practical Campaign Pattern
# 1) Corpus cleanup
afl-cmin -i seeds -o seeds_min -- ./parser @@
# 2) Main instance
afl-fuzz -M main -i seeds_min -o out -- ./parser @@
# 3) Secondary instances (example)
afl-fuzz -S fast -i seeds_min -o out -p fast -- ./parser @@
afl-fuzz -S explore -i seeds_min -o out -p explore -- ./parser @@
# 4) Resume campaign later
afl-fuzz -i - -o out -- ./parser @@
# 5) Minimize crash for triage
afl-tmin -i out/default/crashes/id:000000* -o crash.min -- ./parser @@Tricks That Matter
- Prefer persistent-mode harnesses whenever possible; throughput jump is often decisive.
- For checksum-heavy formats, use fuzz-build conditionals (
FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION) to bypass blockers in harness builds. - For short CI fuzz windows, use faster calibration settings and reuse prior corpus.
- For dlopen-heavy targets, preload instrumented libs so map coverage is visible from startup.
Common Pitfalls
- Fuzzing network services over live sockets without harnessing: huge speed loss and weak reproducibility.
- Running all instances with identical profile/options: less strategy diversity.
- Skipping memory/time limits (
-m,-t) on unstable targets: noisy campaigns. - Treating corpus size as success metric; coverage and unique bug quality matter more.
Binary / Service Notes
- Binary-only: use AFL++ binary-focused docs (QEMU/Frida/Unicorn workflows) and keep strict replay discipline.
- Services/daemons: adapt to file/stdin/shared-memory harnessing for realistic throughput.
- GUI applications: isolate parser logic into fuzzable non-UI entrypoints.
Resources
Files in this version
- SKILL.md3.5 KB
Permissions
| Permission | Declared | Found by the scan |
|---|---|---|
| Reads files | No | No |
| Writes files | No | No |
| Runs shell commands | Yes | Yes |
| Uses the network | Yes | Yes |
| Uses connectors | No | No |
| Drives a browser | No | No |
Scan findings
Reviewed on Nov 13, 2026
- InfoLink · Links to outside domains
A clean scan lowers the risk but does not prove a package is safe. Read what you install.
| Version | Published | Commit | SHA-256 | Signature | Permission change |
|---|---|---|---|---|---|
| v2026.11.13-21cd568 | Nov 13, 2026 | 21cd568 | a6a725e4 | Signed | – |
More from AeonDave
All from this publisherMore in Reverse engineering and fuzzing
See the categoryAsk anything your scope allows.
Create an account, add credits and ask the first question in the chat or the terminal.
- 1/3
Create the account
Individual or company. You can switch to a company later without losing balance or keys.
IndividualCompany - 2/3
Add credits
By card. Pay per token, no subscription.
$5.00minimum deposit - 3/3
Ask
In the chat, or install the CLI and run notholy login in your terminal.
$ notholy login