diff options
| author | hexcoder- <heiko@hexco.de> | 2020-02-19 23:14:06 +0100 |
|---|---|---|
| committer | hexcoder- <heiko@hexco.de> | 2020-02-19 23:14:06 +0100 |
| commit | d375b0e0a3b5cc87f5e8fe8353340edcf15b692b (patch) | |
| tree | afcdad58de5d2f9fce4e407e795296a4dc04ca55 /afl-cmin | |
| parent | 97d34b52d78ccc56b2c8a7f00173121652c34f29 (diff) | |
| download | afl++-d375b0e0a3b5cc87f5e8fe8353340edcf15b692b.tar.gz | |
fix forkserver output (support AFL_QUIET)
Diffstat (limited to 'afl-cmin')
| -rwxr-xr-x | afl-cmin | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/afl-cmin b/afl-cmin index 9570bc93..41fea8a3 100755 --- a/afl-cmin +++ b/afl-cmin @@ -394,14 +394,12 @@ BEGIN { cur = 0; if (!stdin_file) { print " Processing "in_count" files (forkserver mode)..." - system( "AFL_CMIN_ALLOW_ANY=1 \""showmap"\" -m "mem_limit" -t "timeout" -o \""trace_dir"\" -Z "extra_par" -i \""in_dir"\" -- \""target_bin"\" "prog_args_string) + system( "AFL_QUIET=1 AFL_CMIN_ALLOW_ANY=1 \""showmap"\" -m "mem_limit" -t "timeout" -o \""trace_dir"\" -Z "extra_par" -i \""in_dir"\" -- \""target_bin"\" "prog_args_string) } else { print " Processing "in_count" files (forkserver mode)..." - system( "AFL_CMIN_ALLOW_ANY=1 \""showmap"\" -m "mem_limit" -t "timeout" -o \""trace_dir"\" -Z "extra_par" -i \""in_dir"\" -- \""target_bin"\" "prog_args_string" </dev/null") + system( "AFL_QUIET=1 AFL_CMIN_ALLOW_ANY=1 \""showmap"\" -m "mem_limit" -t "timeout" -o \""trace_dir"\" -Z "extra_par" -i \""in_dir"\" -- \""target_bin"\" "prog_args_string" </dev/null") } - print "" - ####################################################### # STEP 2: register smallest input file for each tuple # # STEP 3: copy that file (at most once) # |
