File tree Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -397,13 +397,8 @@ BEGIN {
397
397
system( "AFL_CMIN_ALLOW_ANY=1 \""showmap"\" -m "mem_limit" -t "timeout" -o \""trace_dir"/"fn"\" -Z "extra_par" -- \""target_bin"\" "prog_args_string" <\""in_dir"/"fn"\"")
398
398
}
399
399
} else {
400
- while (cur < in_count) {
401
- fn = infilesSmallToBig[cur]
402
- ++cur
403
- printf "\r Processing file "cur"/"in_count
404
- system("cp "in_dir"/"fn" "stdin_file)
405
- 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")
406
- }
400
+ printf " Processing "in_count" files (forkserver mode)..."
401
+ 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")
407
402
}
408
403
409
404
print ""
Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ test "$SYS" = "i686" -o "$SYS" = "x86_64" -o "$SYS" = "amd64" && {
150
150
}
151
151
echo 000000000000000000000000 > in/in2
152
152
mkdir -p in2
153
- ../afl-cmin -i in -o in2 -- ./test-instr.plain > /dev/null
153
+ ../afl-cmin -i in -o in2 -- ./test-instr.plain @@ > /dev/null
154
154
CNT=` ls in2/ | wc -l`
155
155
case " $CNT " in
156
156
* 1) $ECHO " $GREEN [+] afl-cmin correctly minimized the number of testcases" ;;
@@ -256,7 +256,7 @@ test -e ../afl-clang-fast -a -e ../split-switches-pass.so && {
256
256
test " $SYS " = " i686" -o " $SYS " = " x86_64" -o " $SYS " = " amd64" || {
257
257
echo 000000000000000000000000 > in/in2
258
258
mkdir -p in2
259
- ../afl-cmin -i in -o in2 -- ./test-instr.plain > /dev/null
259
+ ../afl-cmin -i in -o in2 -- ./test-instr.plain @@ > /dev/null
260
260
CNT=` ls in2/ | wc -l`
261
261
case " $CNT " in
262
262
* 1) $ECHO " $GREEN [+] afl-cmin correctly minimized the number of testcases" ;;
You can’t perform that action at this time.
0 commit comments