From 287b5acb07038431fac5e0ae7599fa76df192522 Mon Sep 17 00:00:00 2001 From: Max Dymond Date: Wed, 24 Jul 2019 19:41:45 +0100 Subject: [PATCH] ossfuzz: Zip up all "input" files to use as a seed corpus --- test/ossfuzz/ossfuzz.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/ossfuzz/ossfuzz.sh b/test/ossfuzz/ossfuzz.sh index 9d72e79..59740c2 100755 --- a/test/ossfuzz/ossfuzz.sh +++ b/test/ossfuzz/ossfuzz.sh @@ -25,3 +25,6 @@ make # Copy the fuzzer to the output directory. cp -v test/ossfuzz/json_load_dump_fuzzer $OUT/ + +# Zip up all input files to use as a test corpus +find test/suites -name "input" -print | zip $OUT/json_load_dump_fuzzer_seed_corpus.zip -@