mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-10 01:01:33 +00:00
fix optimin readme
This commit is contained in:
parent
60cbe5b4be
commit
a9328e40b3
@ -19,34 +19,33 @@ To build the `optimin` just execute the `build_optimin.sh` script.
|
|||||||
Running `optimin` is the same as running `afl-cmin`:
|
Running `optimin` is the same as running `afl-cmin`:
|
||||||
|
|
||||||
```
|
```
|
||||||
Required parameters:
|
./optimin -h
|
||||||
-i dir - input directory with starting corpus
|
OVERVIEW: Optimal corpus minimizer
|
||||||
-o dir - output directory for minimized files
|
USAGE: optimin [options] <target program> [target args...]
|
||||||
|
|
||||||
Execution control settings:
|
OPTIONS:
|
||||||
-f file - location read by the fuzzed program (stdin)
|
|
||||||
-m megs - memory limit for child process (none MB)
|
|
||||||
-t msec - run time limit for child process (none)
|
|
||||||
-O - use binary-only instrumentation (FRIDA mode)
|
|
||||||
-Q - use binary-only instrumentation (QEMU mode)
|
|
||||||
-U - use unicorn-based instrumentation (unicorn mode)
|
|
||||||
|
|
||||||
Minimization settings:
|
Color Options:
|
||||||
-C - keep crashing inputs, reject everything else
|
|
||||||
-e - solve for edge coverage only, ignore hit counts
|
|
||||||
|
|
||||||
For additional tips, please consult README.md
|
--color - Use colors in output (default=autodetect)
|
||||||
|
|
||||||
Environment variables used:
|
General options:
|
||||||
AFL_ALLOW_TMP: allow unsafe use of input/output directories under {/var}/tmp
|
|
||||||
AFL_CRASH_EXITCODE: optional child exit code to be interpreted as crash
|
-C - Keep crashing inputs, reject everything else
|
||||||
AFL_FORKSRV_INIT_TMOUT: time the fuzzer waits for the forkserver to come up
|
-Q - Use binary-only instrumentation
|
||||||
AFL_KEEP_TRACES: leave the temporary <out_dir>/.traces directory
|
-f - Include edge hit counts
|
||||||
AFL_KILL_SIGNAL: Signal delivered to child processes on timeout (default: SIGKILL)
|
-i dir - Input directory
|
||||||
AFL_NO_FORKSRV: run target via execve instead of using the forkserver
|
-m megs - Memory limit for child process (default=none)
|
||||||
AFL_PATH: path for the afl-showmap binary if not found anywhere in PATH
|
-o dir - Output directory
|
||||||
AFL_PRINT_FILENAMES: If set, the filename currently processed will be printed to stdout
|
-p - Display progress bar
|
||||||
AFL_SKIP_BIN_CHECK: skip afl instrumentation checks for target binary
|
-t msec - Run time limit for child process (default=none)
|
||||||
|
-w csv - Weights file
|
||||||
|
|
||||||
|
Generic Options:
|
||||||
|
|
||||||
|
--help - Display available options (--help-hidden for more)
|
||||||
|
--help-list - Display list of available options (--help-list-hidden for more)
|
||||||
|
--version - Display the version of this program
|
||||||
```
|
```
|
||||||
|
|
||||||
Example: `optimin -i files -o seeds -- ./target @@`
|
Example: `optimin -i files -o seeds -- ./target @@`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user