From 0b692fadddf33e9db0541c34c82bbf89118f3a25 Mon Sep 17 00:00:00 2001 From: van Hauser Date: Wed, 19 Feb 2020 12:20:09 +0100 Subject: gcc-10 support --- Makefile | 2 +- docs/Changelog.md | 1 + test/test.sh | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index f8f02520..b9d4bf5a 100644 --- a/Makefile +++ b/Makefile @@ -64,7 +64,7 @@ endif CFLAGS ?= -O3 -funroll-loops $(CFLAGS_OPT) override CFLAGS += -Wall -g -Wno-pointer-sign -I include/ \ -DAFL_PATH=\"$(HELPER_PATH)\" -DBIN_PATH=\"$(BIN_PATH)\" \ - -DDOC_PATH=\"$(DOC_PATH)\" -Wno-unused-function + -DDOC_PATH=\"$(DOC_PATH)\" -Wno-unused-function -fcommon AFL_FUZZ_FILES = $(wildcard src/afl-fuzz*.c) diff --git a/docs/Changelog.md b/docs/Changelog.md index 4206d2b3..5d781545 100644 --- a/docs/Changelog.md +++ b/docs/Changelog.md @@ -13,6 +13,7 @@ sending a mail to . - use -march=native if available - most tools now check for mistyped environment variables + - gcc 10 is now supported - the memory safety checks are now disabled for a little more speed during fuzzing (only affects creating queue entries), can be toggled in config.h - afl-fuzz: diff --git a/test/test.sh b/test/test.sh index f6fa93d6..18414971 100755 --- a/test/test.sh +++ b/test/test.sh @@ -602,11 +602,11 @@ test -e ../afl-qemu-trace && { rm -f errors test -e ../libcompcov.so && { - $ECHO "$GREY[*] running afl-fuzz for qemu_mode libcompcov, this will take approx 10 seconds" + $ECHO "$GREY[*] running afl-fuzz for qemu_mode libcompcov, this will take approx 15 seconds" { export AFL_PRELOAD=../libcompcov.so export AFL_COMPCOV_LEVEL=2 - ../afl-fuzz -m ${MEM_LIMIT} -V10 -Q -i in -o out -- ./test-compcov >>errors 2>&1 + ../afl-fuzz -m ${MEM_LIMIT} -V15 -Q -i in -o out -- ./test-compcov >>errors 2>&1 } >>errors 2>&1 test -n "$( ls out/queue/id:000002* 2> /dev/null )" && { $ECHO "$GREEN[+] afl-fuzz is working correctly with qemu_mode libcompcov" -- cgit 1.4.1