mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-09 08:41:32 +00:00
Merge branch 'unicornafl' of https://github.com/domenukk/AFLplusplus into unicornafl
This commit is contained in:
commit
860bce8a80
1
.gitignore
vendored
1
.gitignore
vendored
@ -34,3 +34,4 @@ afl-whatsup.8
|
|||||||
qemu_mode/libcompcov/compcovtest
|
qemu_mode/libcompcov/compcovtest
|
||||||
as
|
as
|
||||||
qemu_mode/qemu-*
|
qemu_mode/qemu-*
|
||||||
|
core\.*
|
||||||
|
@ -555,6 +555,12 @@ test -d ../unicorn_mode/unicorn && {
|
|||||||
mkdir -p in
|
mkdir -p in
|
||||||
echo 0 > in/in
|
echo 0 > in/in
|
||||||
$ECHO "$GREY[*] Using python binary $PY"
|
$ECHO "$GREY[*] Using python binary $PY"
|
||||||
|
$ECHO "$GREY[*] emulating one input in unicornafl"
|
||||||
|
$PY ../unicorn_mode/samples/simple/simple_test_harness.py ../unicorn_mode/samples/simple/sample_inputs/sample1.bin
|
||||||
|
$ECHO "$GREY[*] emulating a single fuzz test in unicorn_mode"
|
||||||
|
AFL_NO_UI=1 AFL_BENCH_UNTIL_CRASH=1 AFL_BENCH_JUST_ONE=1 AFL_DEBUG_CHILD_OUTPUT=1 ../afl-fuzz -U -i in -o out -d -- "$PY" ../unicorn_mode/samples/simple/simple_test_harness.py @@
|
||||||
|
$ECHO "$GREEN[*] if you saw UC returned Error: above, everything worked fine - afl unicorn found the crash. :)"
|
||||||
|
|
||||||
$ECHO "$GREY[*] running afl-fuzz for unicorn_mode, this will take approx 25 seconds"
|
$ECHO "$GREY[*] running afl-fuzz for unicorn_mode, this will take approx 25 seconds"
|
||||||
{
|
{
|
||||||
../afl-fuzz -V25 -U -i in -o out -d -- "$PY" ../unicorn_mode/samples/simple/simple_test_harness.py @@ >>errors 2>&1
|
../afl-fuzz -V25 -U -i in -o out -d -- "$PY" ../unicorn_mode/samples/simple/simple_test_harness.py @@ >>errors 2>&1
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 8537b5049cb52708b40c1c53592c1240efa160f5
|
Subproject commit 3dffda817e6dd3c2bc7145795dafdd3586748624
|
Loading…
x
Reference in New Issue
Block a user