about summary refs log tree commit diff
path: root/custom_mutators/honggfuzz/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'custom_mutators/honggfuzz/Makefile')
-rw-r--r--custom_mutators/honggfuzz/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/custom_mutators/honggfuzz/Makefile b/custom_mutators/honggfuzz/Makefile
new file mode 100644
index 00000000..2f46d0e7
--- /dev/null
+++ b/custom_mutators/honggfuzz/Makefile
@@ -0,0 +1,15 @@
+
+CFLAGS = -O3 -funroll-loops -fPIC -Wl,-Bsymbolic
+
+all: honggfuzz.so
+
+honggfuzz.so:	honggfuzz.c input.h mangle.c ../../src/afl-performance.c
+	$(CC) $(CFLAGS) -I../../include -I. -shared -o honggfuzz.so honggfuzz.c mangle.c ../../src/afl-performance.c
+
+update:
+	wget --unlink https://github.com/google/honggfuzz/raw/master/mangle.c
+	wget --unlink https://github.com/google/honggfuzz/raw/master/mangle.h
+	wget --unlink https://github.com/google/honggfuzz/raw/master/honggfuzz.h
+
+clean:
+	rm -f *.o *~ *.so core