afl-cmin.py(8)

πŸŽ€ NAME πŸŽ€

okay bestie, welcome to afl-cmin.py(8) β€” yes, that's the manual name and section, and it comes from the System Manager's Manual. That's the whole NAME section, she's minimal, we respect her. πŸ’…


✨ SYNOPSIS ✨

afl-cmin.py

that's it. the full usage line is living its best life down in OPTIONS, iykyk.

πŸ”₯ OPTIONS πŸ”₯

okay so here's the exact usage block, copied with love and zero edits:

       usage: afl-cmin.py [-h] -i dir -o dir [-f file] [-m megs] [-t msec] [-O] [-Q]
                          [-U] [-X] [--crash-dir dir] [-A] [-C] [-e] [-T WORKERS]
                          [--as_queue] [--no-dedup] [--debug]
                          /path/to/target_app [args ...]

🫢 positional arguments

  • /path/to/target_app β€” the path to the target app, literally the thing you're aiming at.
  • args β€” the args that come after it.

πŸ’… options

  • -h, --help β€” show this help message and exit. iconic.

🌸 Required parameters

  • -i dir β€” input directory with the starting corpus. the source pile, bestie.
  • -o dir β€” output directory for minimized files. where the glow-up files go.

⚑ Execution control settings

  • -f file β€” location read by the fuzzed program (stdin).
  • -m megs β€” memory limit for child process (default: none).
  • -t msec β€” timeout for each run (default: 5000).
  • -O β€” use binary-only instrumentation (FRIDA mode).
  • -Q β€” use binary-only instrumentation (QEMU mode).
  • -U β€” use unicorn-based instrumentation (Unicorn mode).
  • -X β€” use Nyx mode.

🎯 Minimization settings

  • --crash-dir dir β€” move crashes to a separate dir, always deduplicated.
  • -A β€” allow crashes and timeouts (not recommended 🚨).
  • -C β€” keep crashing inputs, reject everything else.
  • -e β€” solve for edge coverage only, ignore hit counts.

🧚 Misc

  • -T WORKERS β€” number of concurrent worker (default: 1).
  • --as_queue β€” output file name like "id:000000,hash:value".
  • --no-dedup β€” skip deduplication step for corpus files.
  • --debug β€” no description on the page, so I'm not making one up, bestie πŸ™ˆ.

πŸ‘‘ AUTHOR πŸ‘‘

credit time, periodt. AFL++ was written by Michal "lcamtuf" Zalewski and is maintained by Marc "van Hauser" Heuse <mh@mh-sec.de>, Dominik Maier <domenukk@gmail.com>, Andrea Fioraldi <andreafioraldi@gmail.com> and Heiko "hexcoder-" Eissfeldt <heiko.eissfeldt@hexco.de>. The homepage of AFL++ is: https://github.com/AFLplusplus/AFLplusplus

🌈 LICENSE 🌈

legal moment, but make it cute: AFL++ is licensed under AGPL-3.0-or-later, with original components under Apache-2.0; an optional commercial license is available. See https://github.com/AFLplusplus/AFLplusplus/blob/stable/LICENSING.md


mwah πŸ’‹ source/version: AFL++, date: 2026-06-05, manual: afl-cmin.py(8). byeee, go minimize something cute 🫢✨

πŸ“¦ where this page comes from