aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fuzz/Makefile.am7
1 files changed, 7 insertions, 0 deletions
diff --git a/fuzz/Makefile.am b/fuzz/Makefile.am
index f70382ac0..0b7304cf5 100644
--- a/fuzz/Makefile.am
+++ b/fuzz/Makefile.am
@@ -27,3 +27,10 @@ endif
fuzz_ndpi_reader_LINK=$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=link $(CXX) $(AM_CXXFLAGS) $(CXXFLAGS) \
$(fuzz_ndpi_reader_LDFLAGS) $(LDFLAGS) -o $@
+
+# required for Google oss-fuzz
+# see https://github.com/google/oss-fuzz/tree/master/projects/ndpi
+testpcaps := $(wildcard ../tests/pcap/*.pcap)
+
+fuzz_ndpi_reader_seed_corpus.zip: $(testpcaps)
+ zip -r fuzz_ndpi_reader_seed_corpus.zip $(testpcaps)