From 77db14fd7a8ef94e8a501944dab6c8aa919ed9ab Mon Sep 17 00:00:00 2001 From: Philippe Antoine Date: Wed, 22 Jan 2020 16:12:50 +0100 Subject: Generates automatically corpus for fuzz target --- fuzz/Makefile.am | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'fuzz/Makefile.am') diff --git a/fuzz/Makefile.am b/fuzz/Makefile.am index d85dbac15..a6298699b 100644 --- a/fuzz/Makefile.am +++ b/fuzz/Makefile.am @@ -24,3 +24,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 $@ + +EXTRA_fuzz_ndpi_reader_DEPENDENCIES = fuzz_ndpi_reader_seed_corpus.zip + +testpcaps := $(wildcard ../tests/pcap/*.pcap) + +fuzz_ndpi_reader_seed_corpus.zip: $(testpcaps) + zip -r fuzz_ndpi_reader_seed_corpus.zip $(testpcaps) -- cgit v1.2.3