]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
oss-fuzz.sh: copy dictionaries along with "options" files 10640/head
authorEvgeny Vereshchagin <evvers@ya.ru>
Tue, 6 Nov 2018 18:51:45 +0000 (19:51 +0100)
committerEvgeny Vereshchagin <evvers@ya.ru>
Tue, 6 Nov 2018 18:55:11 +0000 (19:55 +0100)
We currently don't have any upstream but it doesn't mean that
it should be impossible to experiment with local ones :-)

tools/oss-fuzz.sh

index df72e47d7dae79ab678d9774ad179cc6e28aa7ea..9a116be114243a7e1d4f14537de643438d8cc5d6 100755 (executable)
@@ -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