about summary refs log tree commit diff
path: root/examples/persistent_demo/Makefile
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-06-01 12:30:20 +0200
committervan Hauser <vh@thc.org>2020-06-01 12:30:20 +0200
commitbca7ce804308fdc24404d26a02d2e10116ef6289 (patch)
tree56a9638e73420fdcf8df3da2a0a81749f6402fc7 /examples/persistent_demo/Makefile
parentee14785f687d1fc99a16c4143a1fec0eba13afed (diff)
downloadafl++-bca7ce804308fdc24404d26a02d2e10116ef6289.tar.gz
fixed persistent mode shared mem fuzzing
Diffstat (limited to 'examples/persistent_demo/Makefile')
-rw-r--r--examples/persistent_demo/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/persistent_demo/Makefile b/examples/persistent_demo/Makefile
index cbbb7239..ea8fd02a 100644
--- a/examples/persistent_demo/Makefile
+++ b/examples/persistent_demo/Makefile
@@ -1,6 +1,10 @@
 all:
 	afl-clang-fast -o persistent_demo persistent_demo.c
 	afl-clang-fast -o persistent_demo_new persistent_demo_new.c
+	afl-clang-fast -o test-instr test-instr.c
+
+document:
+	afl-clang-fast -D_AFL_DOCUMENT_MUTATIONS -o test-instr test-instr.c
 
 clean:
-	rm -f persistent_demo persistent_demo_new
+	rm -f persistent_demo persistent_demo_new test-instr