diff options
author | Luca Deri <lucaderi@users.noreply.github.com> | 2020-06-28 07:29:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-28 07:29:45 +0200 |
commit | b2e89e67361a931672281f680faede0551542eea (patch) | |
tree | 8ab6d84dc41fa819db9ca9f057fd73f3bbaadce0 /fuzz | |
parent | 1010520cc46dc18972c8cb79a679d8edddda47e2 (diff) | |
parent | f028cce2095cb3b6bc68d41bc838db7f62977972 (diff) |
Merge pull request #937 from lnslbrty/re-add-corpus-zipfile-for-google-oss-fuzz
Re-Added corpus zipfile generation required for google-oss fuzzer
Diffstat (limited to 'fuzz')
-rw-r--r-- | fuzz/Makefile.am | 7 |
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) |