Scroll to navigation

afl-cmin(8) System Manager's Manual afl-cmin(8)


afl-cmin - corpus minimization tool for afl++ (awk version)


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


Required parameters:

-i dir - input directory with starting corpus
-o dir - output directory for minimized files Execution control settings:
-f file - location read by the fuzzed program (stdin)
-m megs - memory limit for child process ( MB)
-t msec - run time limit for child process (none)
-Q - use binary-only instrumentation (QEMU mode)
-U - use unicorn-based instrumentation (unicorn mode) Minimization settings:
-C - keep crashing inputs, reject everything else
-e - solve for edge coverage only, ignore hit counts For additional tips, please consult docs/ Environment variables used: AFL_KEEP_TRACES: leave the temporary <out_dir>/.traces directory AFL_PATH: path for the afl-showmap binary AFL_SKIP_BIN_CHECK: skip check for target binary AFL_ALLOW_TMP: allow unsafe use of input/output directories under {/var}/tmp


afl++ was written by Michal "lcamtuf" Zalewski and is maintained by Marc "van Hauser" Heuse <>, Heiko "hexcoder-" Eissfeldt <>, Andrea Fioraldi <> and Dominik Maier <> The homepage of afl++ is:


Apache License Version 2.0, January 2004

2020-11-21 afl++