fuzz: rename "fuzz-corpus" directory to just "fuzz"
Also, all corpus subdirectories are named exactly the same as the fuzzer they are for. This makes the paths a bit longer, but easier.
This commit is contained in:
parent
861cf7c95b
commit
93b575b266
|
@ -35,8 +35,10 @@ fi
|
||||||
meson $build -D$fuzzflag -Db_lundef=false
|
meson $build -D$fuzzflag -Db_lundef=false
|
||||||
ninja -C $build fuzzers
|
ninja -C $build fuzzers
|
||||||
|
|
||||||
for d in "$(dirname "$0")/../test/fuzz-corpus/"*; do
|
# The seed corpus is a separate flat archive for each fuzzer,
|
||||||
zip -jqr $OUT/fuzz-$(basename "$d")_seed_corpus.zip "$d"
|
# with a fixed name ${fuzzer}_seed_corpus.zip.
|
||||||
|
for d in "$(dirname "$0")/../test/fuzz/fuzz-"*; do
|
||||||
|
zip -jqr $OUT/$(basename "$d")_seed_corpus.zip "$d"
|
||||||
done
|
done
|
||||||
|
|
||||||
# get fuzz-dns-packet corpus
|
# get fuzz-dns-packet corpus
|
||||||
|
|
Loading…
Reference in New Issue