1afl-cmin(8) System Manager's Manual afl-cmin(8)
2
3
4
6 afl-cmin
7
8
10 afl-cmin [ options ] -- /path/to/target_app [ ... ]
11
12
14 Required parameters:
15 -i dir - input directory with starting corpus
16 -o dir - output directory for minimized files
17
18 Execution control settings:
19 -f file - location read by the fuzzed program (stdin)
20 -m megs - memory limit for child process ( MB)
21 -t msec - run time limit for child process (default: none)
22 -O - use binary-only instrumentation (FRIDA mode)
23 -Q - use binary-only instrumentation (QEMU mode)
24 -U - use unicorn-based instrumentation (unicorn mode)
25
26 Minimization settings:
27 -A - allow crashes and timeouts (not recommended)
28 -C - keep crashing inputs, reject everything else
29 -e - solve for edge coverage only, ignore hit counts
30
31 For additional tips, please consult README.md
32
33 Environment variables used:
34 AFL_ALLOW_TMP: allow unsafe use of input/output directories under {/var}/tmp
35 AFL_CRASH_EXITCODE: optional child exit code to be interpreted as crash
36 AFL_FORKSRV_INIT_TMOUT: time the fuzzer waits for the forkserver to come up
37 AFL_KEEP_TRACES: leave the temporary <out_dir>/.traces directory
38 AFL_KILL_SIGNAL: Signal delivered to child processes on timeout (default: SIGKILL)
39 AFL_FORK_SERVER_KILL_SIGNAL: Signal delivered to fork server processes on termination
40 (default: SIGTERM). If this is not set and AFL_KILL_SIGNAL is set,
41 this will be set to the same value as AFL_KILL_SIGNAL.
42 AFL_NO_FORKSRV: run target via execve instead of using the forkserver
43 AFL_CMIN_ALLOW_ANY: write tuples for crashing inputs also
44 AFL_PATH: path for the afl-showmap binary if not found anywhere in PATH
45 AFL_PRINT_FILENAMES: If set, the filename currently processed will be printed to stdout
46 AFL_SKIP_BIN_CHECK: skip afl instrumentation checks for target binary
47
48
49
51 afl++ was written by Michal "lcamtuf" Zalewski and is maintained by
52 Marc "van Hauser" Heuse <mh@mh-sec.de>, Heiko "hexcoder-" Eissfeldt
53 <heiko.eissfeldt@hexco.de>, Andrea Fioraldi <andreafioraldi@gmail.com>
54 and Dominik Maier <domenukk@gmail.com> The homepage of afl++ is:
55 https://github.com/AFLplusplus/AFLplusplus
56
57
59 Apache License Version 2.0, January 2004
60
61
62
63afl++ 2023-04-03 afl-cmin(8)