diff options
author | 2018-08-16 02:06:35 +0000 | |
---|---|---|
committer | 2018-08-16 06:45:49 +0000 | |
commit | 7cd98cc495ab6ecb405805eda189611d07d66213 (patch) | |
tree | 848271c7da26b36018ef1638b842e632e34ff832 /tools | |
parent | Merge pull request #9863 from evverx/issues-found-by-journald-fuzzer (diff) | |
download | systemd-7cd98cc495ab6ecb405805eda189611d07d66213.tar.gz systemd-7cd98cc495ab6ecb405805eda189611d07d66213.tar.bz2 systemd-7cd98cc495ab6ecb405805eda189611d07d66213.zip |
oss-fuzz.sh: just install the shared library
The workaround is no longer necessary, because the scripts
checking fuzzers have stopped going down to the subdirectories
of $OUT and started to look for the string "LLVMFuzzerTestOneInput"
to tell fuzzers and random binaries apart. Some more details can be
found at https://github.com/google/oss-fuzz/issues/1566.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/oss-fuzz.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/oss-fuzz.sh b/tools/oss-fuzz.sh index 200407fcc..2db5b4cc4 100755 --- a/tools/oss-fuzz.sh +++ b/tools/oss-fuzz.sh @@ -44,8 +44,7 @@ df=$build/dns-fuzzing git clone --depth 1 https://github.com/CZ-NIC/dns-fuzzing $df zip -jqr $OUT/fuzz-dns-packet_seed_corpus.zip $df/packet -# install the private shared library without executable permissions -install -Dt $OUT/src/shared/ -m 0644 $build/src/shared/libsystemd-shared-*.so +install -Dt $OUT/src/shared/ $build/src/shared/libsystemd-shared-*.so find $build -maxdepth 1 -type f -executable -name "fuzz-*" -exec mv {} $OUT \; cp src/fuzz/*.options $OUT |