diff Makefile @ 0:ec5e2b121e57

Dropbear fuzz corpus
author Matt Johnston <matt@ucc.asn.au>
date Mon, 22 May 2017 22:44:32 +0800
parents
children e5383cd558e5
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Makefile	Mon May 22 22:44:32 2017 +0800
@@ -0,0 +1,13 @@
+FUZZ_TARGETS=fuzzer-preauth
+
+CORPUSES = $(addsuffix _seed_corpus.zip, $(FUZZ_TARGETS))
+
+all: $(CORPUSES)
+
+%_seed_corpus.zip: %/* Makefile
+	-rm $@
+	cd $*; zip ../$@ *
+
+list-fuzz-targets:
+	@echo $(FUZZ_TARGETS)
+