about summary refs log tree commit diff
path: root/examples/persistent_mode/Makefile
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-11-30 13:03:33 +0100
committervan Hauser <vh@thc.org>2020-11-30 13:03:33 +0100
commit63c317218bfe1ffc91443a2620c653581aff0ba1 (patch)
tree70a4efbd65645b154a1648f74196b66afe3e45c8 /examples/persistent_mode/Makefile
parentaff4ccb0b2324259554537983e9261e48cccf275 (diff)
downloadafl++-63c317218bfe1ffc91443a2620c653581aff0ba1.tar.gz
persistent_demo -> persistent_mode
Diffstat (limited to 'examples/persistent_mode/Makefile')
-rw-r--r--examples/persistent_mode/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/persistent_mode/Makefile b/examples/persistent_mode/Makefile
new file mode 100644
index 00000000..6fa1c30e
--- /dev/null
+++ b/examples/persistent_mode/Makefile
@@ -0,0 +1,10 @@
+all:
+	afl-clang-fast -o persistent_demo persistent_demo.c
+	afl-clang-fast -o persistent_demo_new persistent_demo_new.c
+	AFL_DONT_OPTIMIZE=1 afl-clang-fast -o test-instr test-instr.c
+
+document:
+	AFL_DONT_OPTIMIZE=1 afl-clang-fast -D_AFL_DOCUMENT_MUTATIONS -o test-instr test-instr.c
+
+clean:
+	rm -f persistent_demo persistent_demo_new test-instr