diff options
author | van Hauser <vh@thc.org> | 2020-05-25 22:19:50 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-05-25 22:19:50 +0200 |
commit | 0994972c07333af3a1fecf694c6527517da966ca (patch) | |
tree | 8bee647384bcda5dca5931290e96b8deedecc11a | |
parent | a0da53117081cbca03674224cad26e5dd2fe5eaf (diff) | |
download | afl++-0994972c07333af3a1fecf694c6527517da966ca.tar.gz |
more performance testing
-rw-r--r-- | GNUmakefile | 2 | ||||
-rw-r--r-- | llvm_mode/GNUmakefile | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/GNUmakefile b/GNUmakefile index fbcc53de..0cb9ede8 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -55,7 +55,7 @@ ifneq "$(shell uname)" "Darwin" CFLAGS_OPT += -march=native endif # OS X does not like _FORTIFY_SOURCE=2 - CFLAGS_OPT += -D_FORTIFY_SOURCE=2 +# CFLAGS_OPT += -D_FORTIFY_SOURCE=2 endif ifdef STATIC diff --git a/llvm_mode/GNUmakefile b/llvm_mode/GNUmakefile index c0641450..a41dfbdf 100644 --- a/llvm_mode/GNUmakefile +++ b/llvm_mode/GNUmakefile @@ -196,7 +196,8 @@ ifeq "$(shell echo 'int main() {return 0; }' | $(CLANG_BIN) -x c - -fuse-ld=`com endif endif -CFLAGS ?= -O3 -funroll-loops -D_FORTIFY_SOURCE=2 +CFLAGS ?= -O3 -funroll-loops +# -D_FORTIFY_SOURCE=2 override CFLAGS += -Wall \ -g -Wno-pointer-sign -I ../include/ \ -DAFL_PATH=\"$(HELPER_PATH)\" -DBIN_PATH=\"$(BIN_PATH)\" \ @@ -209,7 +210,8 @@ ifdef AFL_TRACE_PC $(info Compile option AFL_TRACE_PC is deprecated, just set AFL_LLVM_INSTRUMENT=PCGUARD to activate when compiling targets ) endif -CXXFLAGS ?= -O3 -funroll-loops -D_FORTIFY_SOURCE=2 +CXXFLAGS ?= -O3 -funroll-loops +# -D_FORTIFY_SOURCE=2 override CXXFLAGS += -Wall -g -I ../include/ \ -DVERSION=\"$(VERSION)\" -Wno-variadic-macros |