]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - tools/oss-fuzz.sh
lgtm: beef up list of dangerous/questionnable API calls not to make
[thirdparty/systemd.git] / tools / oss-fuzz.sh
index 4d11e81ed60988b8d63152d0bdb826906a5ebb2a..9a116be114243a7e1d4f14537de643438d8cc5d6 100755 (executable)
@@ -48,5 +48,9 @@ zip -jqr $OUT/fuzz-dns-packet_seed_corpus.zip $df/packet
 
 install -Dt $OUT/src/shared/ $build/src/shared/libsystemd-shared-*.so
 
+wget -O $OUT/fuzz-json_seed_corpus.zip https://storage.googleapis.com/skia-fuzzer/oss-fuzz/skjson_seed_corpus.zip
+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