mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-08 16:21:32 +00:00
debug travis
This commit is contained in:
parent
0b692faddd
commit
8263f3b171
@ -587,7 +587,10 @@ test -e ../afl-qemu-trace && {
|
|||||||
$ECHO "$GREY[*] running afl-fuzz for qemu_mode AFL_ENTRYPOINT, this will take approx 6 seconds"
|
$ECHO "$GREY[*] running afl-fuzz for qemu_mode AFL_ENTRYPOINT, this will take approx 6 seconds"
|
||||||
{
|
{
|
||||||
export AFL_ENTRYPOINT=`expr 0x4$(nm test-instr | grep "T main" | awk '{print $1}' | sed 's/^.......//')`
|
export AFL_ENTRYPOINT=`expr 0x4$(nm test-instr | grep "T main" | awk '{print $1}' | sed 's/^.......//')`
|
||||||
../afl-fuzz -m ${MEM_LIMIT} -V2 -Q -i in -o out -- ./test-instr >>errors 2>&1
|
{
|
||||||
|
echo AFL_ENTRYPOINT=$AFL_ENTRYPOINT - $(m test-instr | grep "T main") - $(file ./test-instr)
|
||||||
|
../afl-fuzz -m ${MEM_LIMIT} -V2 -Q -i in -o out -- ./test-instr
|
||||||
|
} >>errors 2>&1
|
||||||
} >>errors 2>&1
|
} >>errors 2>&1
|
||||||
test -n "$( ls out/queue/id:000001* 2> /dev/null )" && {
|
test -n "$( ls out/queue/id:000001* 2> /dev/null )" && {
|
||||||
$ECHO "$GREEN[+] afl-fuzz is working correctly with qemu_mode AFL_ENTRYPOINT"
|
$ECHO "$GREEN[+] afl-fuzz is working correctly with qemu_mode AFL_ENTRYPOINT"
|
||||||
@ -602,11 +605,11 @@ test -e ../afl-qemu-trace && {
|
|||||||
rm -f errors
|
rm -f errors
|
||||||
|
|
||||||
test -e ../libcompcov.so && {
|
test -e ../libcompcov.so && {
|
||||||
$ECHO "$GREY[*] running afl-fuzz for qemu_mode libcompcov, this will take approx 15 seconds"
|
$ECHO "$GREY[*] running afl-fuzz for qemu_mode libcompcov, this will take approx 10 seconds"
|
||||||
{
|
{
|
||||||
export AFL_PRELOAD=../libcompcov.so
|
export AFL_PRELOAD=../libcompcov.so
|
||||||
export AFL_COMPCOV_LEVEL=2
|
export AFL_COMPCOV_LEVEL=2
|
||||||
../afl-fuzz -m ${MEM_LIMIT} -V15 -Q -i in -o out -- ./test-compcov >>errors 2>&1
|
../afl-fuzz -m ${MEM_LIMIT} -V10 -Q -i in -o out -- ./test-compcov >>errors 2>&1
|
||||||
} >>errors 2>&1
|
} >>errors 2>&1
|
||||||
test -n "$( ls out/queue/id:000002* 2> /dev/null )" && {
|
test -n "$( ls out/queue/id:000002* 2> /dev/null )" && {
|
||||||
$ECHO "$GREEN[+] afl-fuzz is working correctly with qemu_mode libcompcov"
|
$ECHO "$GREEN[+] afl-fuzz is working correctly with qemu_mode libcompcov"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user