This commit is contained in:
van Hauser 2020-02-01 23:12:29 +01:00
parent 3b8fe02080
commit 9e53ae7035

View File

@ -569,7 +569,7 @@ $ECHO "debug: $SYS"
{
export AFL_QEMU_PERSISTENT_ADDR=`expr 0x4$(nm test-instr | grep "T main" | awk '{print $1}' | sed 's/^.......//')`
export AFL_QEMU_PERSISTENT_GPR=1
$ECHO "debug: AFL_QEMU_PERSISTENT_ADDR=$AFL_QEMU_PERSISTENT_ADDR
$ECHO "debug: AFL_QEMU_PERSISTENT_ADDR=$AFL_QEMU_PERSISTENT_ADDR"
../afl-fuzz -V10 -Q -i in -o out -- ./test-instr
} >>errors 2>&1
test -n "$( ls out/queue/id:000002* 2> /dev/null )" && {