mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-09 08:41:32 +00:00
afl-cmin -m none
This commit is contained in:
parent
30148bc1a9
commit
2ef8dc4378
4
afl-cmin
4
afl-cmin
@ -183,14 +183,12 @@ BEGIN {
|
|||||||
if (_go_c == "Q") {
|
if (_go_c == "Q") {
|
||||||
if (qemu_mode) { print "Option "_go_c" is only allowed once" > "/dev/stderr"}
|
if (qemu_mode) { print "Option "_go_c" is only allowed once" > "/dev/stderr"}
|
||||||
extra_par = extra_par " -Q"
|
extra_par = extra_par " -Q"
|
||||||
if ( !mem_limit_given ) mem_limit = "250"
|
|
||||||
qemu_mode = 1
|
qemu_mode = 1
|
||||||
continue
|
continue
|
||||||
} else
|
} else
|
||||||
if (_go_c == "U") {
|
if (_go_c == "U") {
|
||||||
if (unicorn_mode) { print "Option "_go_c" is only allowed once" > "/dev/stderr"}
|
if (unicorn_mode) { print "Option "_go_c" is only allowed once" > "/dev/stderr"}
|
||||||
extra_par = extra_par " -U"
|
extra_par = extra_par " -U"
|
||||||
if ( !mem_limit_given ) mem_limit = "250"
|
|
||||||
unicorn_mode = 1
|
unicorn_mode = 1
|
||||||
continue
|
continue
|
||||||
} else
|
} else
|
||||||
@ -200,7 +198,7 @@ BEGIN {
|
|||||||
usage()
|
usage()
|
||||||
} # while options
|
} # while options
|
||||||
|
|
||||||
if (!mem_limit) mem_limit = 200
|
if (!mem_limit) mem_limit = "none"
|
||||||
if (!timeout) timeout = "none"
|
if (!timeout) timeout = "none"
|
||||||
|
|
||||||
# get program args
|
# get program args
|
||||||
|
@ -45,7 +45,7 @@ echo
|
|||||||
|
|
||||||
# Process command-line options...
|
# Process command-line options...
|
||||||
|
|
||||||
MEM_LIMIT=200
|
MEM_LIMIT=none
|
||||||
TIMEOUT=none
|
TIMEOUT=none
|
||||||
|
|
||||||
unset IN_DIR OUT_DIR STDIN_FILE EXTRA_PAR MEM_LIMIT_GIVEN \
|
unset IN_DIR OUT_DIR STDIN_FILE EXTRA_PAR MEM_LIMIT_GIVEN \
|
||||||
@ -85,12 +85,10 @@ while getopts "+i:o:f:m:t:eQUCh" opt; do
|
|||||||
;;
|
;;
|
||||||
"Q")
|
"Q")
|
||||||
EXTRA_PAR="$EXTRA_PAR -Q"
|
EXTRA_PAR="$EXTRA_PAR -Q"
|
||||||
test "$MEM_LIMIT_GIVEN" = "" && MEM_LIMIT=250
|
|
||||||
QEMU_MODE=1
|
QEMU_MODE=1
|
||||||
;;
|
;;
|
||||||
"U")
|
"U")
|
||||||
EXTRA_PAR="$EXTRA_PAR -U"
|
EXTRA_PAR="$EXTRA_PAR -U"
|
||||||
test "$MEM_LIMIT_GIVEN" = "" && MEM_LIMIT=250
|
|
||||||
UNICORN_MODE=1
|
UNICORN_MODE=1
|
||||||
;;
|
;;
|
||||||
"?")
|
"?")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user