diff options
author | vanhauser-thc <vh@thc.org> | 2023-02-13 09:52:57 +0100 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2023-02-13 09:52:57 +0100 |
commit | 54fa78d32ce6779117a656c72f5c630713e7033f (patch) | |
tree | d68b135690bda4f5d433abe81777e53999d8559a /custom_mutators/autotokens/Makefile | |
parent | 61439859cece05cd3e204af60bb5ff08556c490d (diff) | |
download | afl++-54fa78d32ce6779117a656c72f5c630713e7033f.tar.gz |
autodisable and better performance
Diffstat (limited to 'custom_mutators/autotokens/Makefile')
-rw-r--r-- | custom_mutators/autotokens/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/custom_mutators/autotokens/Makefile b/custom_mutators/autotokens/Makefile index ab1da4b6..6ee7d324 100644 --- a/custom_mutators/autotokens/Makefile +++ b/custom_mutators/autotokens/Makefile @@ -1,16 +1,22 @@ ifdef debug - CFLAGS += -fsanitize=address -Wall + CPPLAGS += -fsanitize=address + CXXFLAGS += -Wall + CC := clang CXX := clang++ endif ifdef DEBUG - CFLAGS += -fsanitize=address -Wall + CPPFLAGS += -fsanitize=address + CXXFLAGS += -Wall + CC := clang CXX := clang++ endif all: autotokens.so autotokens.so: autotokens.cpp - $(CXX) -g -O3 $(CFLAGS) -shared -fPIC -o autotokens.so -I../../include autotokens.cpp ../../src/afl-performance.o + $(CC) -D_STANDALONE_MODULE=1 -I../../include -g -O3 $(CPPFLAGS) -fPIC -c -o ./afl-fuzz-queue.o ../../src/afl-fuzz-queue.c + $(CC) -I../../include -g -O3 $(CPPFLAGS) -DBIN_PATH=\"dummy\" -Wno-pointer-sign -fPIC -c -o ./afl-common.o ../../src/afl-common.c + $(CXX) -Wno-deprecated -g -O3 $(CXXFLAGS) $(CPPFLAGS) -shared -fPIC -o autotokens.so -I../../include autotokens.cpp ./afl-fuzz-queue.o ../../src/afl-performance.o ./afl-common.o clean: rm -f autotokens.so *~ core |