about summary refs log tree commit diff
path: root/custom_mutators/libfuzzer/Makefile
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-11-10 13:43:48 +0100
committervan Hauser <vh@thc.org>2020-11-10 13:43:48 +0100
commit166130324898071a08e178dfeb901af44168236e (patch)
tree7946c72db3144e849729fe9627e9b395bf0a5f3f /custom_mutators/libfuzzer/Makefile
parent82d1c3e18dd1b90fa15f7c056f94dc1a06ee345d (diff)
downloadafl++-166130324898071a08e178dfeb901af44168236e.tar.gz
fix libfuzzer custom mutator and add introspection function
Diffstat (limited to 'custom_mutators/libfuzzer/Makefile')
-rw-r--r--custom_mutators/libfuzzer/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/custom_mutators/libfuzzer/Makefile b/custom_mutators/libfuzzer/Makefile
index 95402f6c..51263b89 100644
--- a/custom_mutators/libfuzzer/Makefile
+++ b/custom_mutators/libfuzzer/Makefile
@@ -3,6 +3,11 @@ CFLAGS = -g -O3 -funroll-loops -fPIC -fpermissive -std=c++11
 #CFLAGS = -g -O0 -fPIC -fpermissive -std=c++11
 CXX ?= clang++
 
+ifdef INTROSPECTION
+  $(info Compiling with introspection documentation)
+  CFLAGS += -DINTROSPECTION=1
+endif
+
 all: libfuzzer-mutator.so
 
 FuzzerCrossOver.o:	FuzzerCrossOver.cpp