diff options
author | van Hauser <vh@thc.org> | 2020-01-27 11:48:49 +0100 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-01-27 11:48:49 +0100 |
commit | 3374ada561e5dcfe052c41837fc15bd29287b285 (patch) | |
tree | a5861dd1482054869b71c24846a2b9f244faf128 | |
parent | 482697039bbbd0542f8a277d07305a2370347766 (diff) | |
download | afl++-3374ada561e5dcfe052c41837fc15bd29287b285.tar.gz |
nearing afl-cmin perfection :-)
-rwxr-xr-x | afl-cmin | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/afl-cmin b/afl-cmin index f6e76263..e9d713aa 100755 --- a/afl-cmin +++ b/afl-cmin @@ -360,7 +360,7 @@ BEGIN { system( "AFL_CMIN_ALLOW_ANY=1 \""showmap"\" -m "mem_limit" -t "timeout" -o \""trace_dir"/.run_test\" -Z "extra_par" -- \""target_bin"\" "prog_args_string" <\""in_dir"/"first_file"\"") } else { system("cp "in_dir"/"first_file" "stdin_file) - system( "AFL_CMIN_ALLOW_ANY=1 \""showmap"\" -m "mem_limit" -t "timeout" -o \""trace_dir"/.run_test\" -Z "extra_par" -A \""stdin_file"\" -- \""target_bin"\" "prog_args_string" < /dev/null") + system( "AFL_CMIN_ALLOW_ANY=1 \""showmap"\" -m "mem_limit" -t "timeout" -o \""trace_dir"/.run_test\" -Z "extra_par" -A \""stdin_file"\" -- \""target_bin"\" "prog_args_string" </dev/null") } first_count = 0 @@ -402,7 +402,7 @@ BEGIN { ++cur printf "\r Processing file "cur"/"in_count system("cp "in_dir"/"fn" "stdin_file) - system( "AFL_CMIN_ALLOW_ANY=1 \""showmap"\" -m "mem_limit" -t "timeout" -o \""trace_dir"/"fn"\" -Z "extra_par" -A \""stdin_file"\" -- \""target_bin"\" "prog_args_string" < /dev/null") + system( "AFL_CMIN_ALLOW_ANY=1 \""showmap"\" -m "mem_limit" -t "timeout" -o \""trace_dir"/"fn"\" -Z "extra_par" -A \""stdin_file"\" -- \""target_bin"\" "prog_args_string" </dev/null") } } |