Scroll to navigation

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


afl-cmin.bash - corpus minimization tool for afl-fuzz by Michal Zalewski


Usage: ./afl-cmin.bash [ options ] -- /path/to/target_app [ ... ]


Required parameters:

-i dir - input directory with the 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 (200 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++ 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++