summaryrefslogtreecommitdiff
path: root/util/fuzz-tests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'util/fuzz-tests/Makefile')
-rw-r--r--util/fuzz-tests/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/util/fuzz-tests/Makefile b/util/fuzz-tests/Makefile
new file mode 100644
index 0000000000..e97643f333
--- /dev/null
+++ b/util/fuzz-tests/Makefile
@@ -0,0 +1,5 @@
+all:
+ afl-gcc -g -m32 -I ../../src/lib -o jpeg-test jpeg-test.c ../../src/lib/jpeg.c
+
+run:
+ afl-fuzz -i jpeg-test-cases -o jpeg-results ./jpeg-test @@