afl-cmin.awk(8)

πŸ“¦
version 5.00c Β· 4 versions
, in arch rolling

πŸ’– NAME πŸ’–

bestie, this is afl-cmin.awk β€” that’s literally the whole name. You’re reading the afl-cmin.awk(8) page from the System Manager's Manual, and it’s giving iconic Unix energy already βœ¨πŸ’…


🌸 SYNOPSIS 🌸

afl-cmin

yep, that’s the whole synopsis β€” short, sweet, and lowkey mysterious, no cap πŸŽ€


✨ OPTIONS ✨

afl-cmin [ options ] -- /path/to/target_app [ ... ]

🎯 Required parameters:

  • -i dir β€” input directory with starting corpus. this is where your starting corpus lives, bestie πŸ’–
  • -o dir β€” output directory for minimized files. the minimized files go here, periodt ✨

βš™οΈ Execution control settings:

  • -T tasks β€” how many parallel tasks to run (default: 1, all=nproc) πŸ”₯
  • -f file β€” location read by the fuzzed program (default: stdin) πŸŽ€
  • -m megs β€” memory limit for child process ( MB) πŸ’€
  • -t msec β€” run time limit for child process (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:

  • -A β€” allow crashes and timeouts (not recommended) πŸ™ˆ
  • -C β€” keep crashing inputs, reject everything else πŸ’…
  • -e β€” solve for edge coverage only, ignore hit counts ⭐

For additional tips, please consult README.md 🫢

🌈 Environment variables used:

  • AFL_CRASH_EXITCODE β€” optional child exit code to be interpreted as crash πŸ’₯
  • AFL_FORKSRV_INIT_TMOUT β€” time the fuzzer waits for the forkserver to come up ⏳
  • AFL_KEEP_TRACES β€” leave the temporary <out_dir>/.traces directory 🧚
  • AFL_KILL_SIGNAL β€” Signal delivered to child processes on timeout (default: SIGKILL) πŸ’€
  • AFL_FORK_SERVER_KILL_SIGNAL β€” Signal delivered to fork server processes on termination (default: SIGTERM). If this is not set and AFL_KILL_SIGNAL is set, this will be set to the same value as AFL_KILL_SIGNAL. πŸ”₯
  • AFL_NO_FORKSRV β€” run target via execve instead of using the forkserver πŸŒ€
  • AFL_CMIN_ALLOW_ANY β€” write tuples for crashing inputs also πŸ’–
  • AFL_PATH β€” path for the afl-showmap binary if not found anywhere in PATH πŸ›£οΈ
  • AFL_PRINT_FILENAMES β€” If set, the filename currently processed will be printed to stdout πŸ–¨οΈ
  • AFL_SKIP_BIN_CHECK β€” skip afl instrumentation checks for target binary 🚫

πŸ‘‘ AUTHOR πŸ‘‘

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 πŸ“œ

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 πŸ“œβœ¨


okay bye bestie β€” source/version shoutout: AFL++; date: 2026-06-05; manual: afl-cmin.awk(8). mwah πŸ’‹πŸ«Ά

πŸ“¦ where this page comes from