Added afl-gcc as target for fuzzer

This commit is contained in:
Miodrag Milanovic 2019-05-27 20:38:44 +02:00
parent 92dde319fc
commit 2ccbfc8d38
1 changed files with 7 additions and 0 deletions

View File

@ -2,6 +2,7 @@
CONFIG := clang CONFIG := clang
# CONFIG := gcc # CONFIG := gcc
# CONFIG := gcc-4.8 # CONFIG := gcc-4.8
# CONFIG := afl-gcc
# CONFIG := emcc # CONFIG := emcc
# CONFIG := mxe # CONFIG := mxe
# CONFIG := msys2 # CONFIG := msys2
@ -191,6 +192,12 @@ LD = gcc-4.8
CXXFLAGS += -std=c++11 -Os CXXFLAGS += -std=c++11 -Os
ABCMKARGS += ARCHFLAGS="-DABC_USE_STDINT_H" ABCMKARGS += ARCHFLAGS="-DABC_USE_STDINT_H"
else ifeq ($(CONFIG),afl-gcc)
CXX = AFL_QUIET=1 AFL_HARDEN=1 afl-gcc
LD = AFL_QUIET=1 AFL_HARDEN=1 afl-gcc
CXXFLAGS += -std=c++11 -Os
ABCMKARGS += ARCHFLAGS="-DABC_USE_STDINT_H"
else ifeq ($(CONFIG),cygwin) else ifeq ($(CONFIG),cygwin)
CXX = gcc CXX = gcc
LD = gcc LD = gcc