summaryrefslogtreecommitdiff
path: root/tools/oss-fuzz.sh
diff options
context:
space:
mode:
authorEvgeny Vereshchagin <evvers@ya.ru>2018-11-06 19:51:45 +0100
committerEvgeny Vereshchagin <evvers@ya.ru>2018-11-06 19:55:11 +0100
commit3ff074bd855b3c22915fb93d684ad7db23e867b7 (patch)
treefae7a5d5fff35371af2dd4de7e6f1afc75e6819f /tools/oss-fuzz.sh
parent220fa139dea5f2c18465f696333b2e646d0e40b5 (diff)
downloadsystemd-3ff074bd855b3c22915fb93d684ad7db23e867b7.tar.gz
oss-fuzz.sh: copy dictionaries along with "options" files
We currently don't have any upstream but it doesn't mean that it should be impossible to experiment with local ones :-)
Diffstat (limited to 'tools/oss-fuzz.sh')
-rwxr-xr-xtools/oss-fuzz.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/oss-fuzz.sh b/tools/oss-fuzz.sh
index df72e47d7d..9a116be114 100755
--- a/tools/oss-fuzz.sh
+++ b/tools/oss-fuzz.sh
@@ -52,4 +52,5 @@ wget -O $OUT/fuzz-json_seed_corpus.zip https://storage.googleapis.com/skia-fuzze
wget -O $OUT/fuzz-json.dict https://raw.githubusercontent.com/rc0r/afl-fuzz/master/dictionaries/json.dict
find $build -maxdepth 1 -type f -executable -name "fuzz-*" -exec mv {} $OUT \;
+find src -type f -name "fuzz-*.dict" -exec cp {} $OUT \;
cp src/fuzz/*.options $OUT