aboutsummaryrefslogtreecommitdiff
path: root/afl-cmin
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-01-27 11:48:49 +0100
committervan Hauser <vh@thc.org>2020-01-27 11:48:49 +0100
commit3374ada561e5dcfe052c41837fc15bd29287b285 (patch)
treea5861dd1482054869b71c24846a2b9f244faf128 /afl-cmin
parent482697039bbbd0542f8a277d07305a2370347766 (diff)
downloadAFLplusplus-3374ada561e5dcfe052c41837fc15bd29287b285.tar.gz
nearing afl-cmin perfection :-)
Diffstat (limited to 'afl-cmin')
-rwxr-xr-xafl-cmin4
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")
}
}