diff options
author | Evgeny Vereshchagin <evvers@ya.ru> | 2018-08-01 10:25:26 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-10-10 10:13:30 +0200 |
commit | 6315d12bbad965d22b724b01af5efdf408bc8005 (patch) | |
tree | eac50dd176ab95ff0d9d11434b61e504d9f2f47b /tools | |
parent | json: add test (diff) | |
download | systemd-6315d12bbad965d22b724b01af5efdf408bc8005.tar.gz systemd-6315d12bbad965d22b724b01af5efdf408bc8005.tar.bz2 systemd-6315d12bbad965d22b724b01af5efdf408bc8005.zip |
tests: add a fuzzer for the json parser and dumper
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/oss-fuzz.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/oss-fuzz.sh b/tools/oss-fuzz.sh index 4d11e81ed..df72e47d7 100755 --- a/tools/oss-fuzz.sh +++ b/tools/oss-fuzz.sh @@ -48,5 +48,8 @@ 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 \; cp src/fuzz/*.options $OUT |