]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
oss-fuzz.sh: just install the shared library
authorEvgeny Vereshchagin <evvers@ya.ru>
Thu, 16 Aug 2018 02:06:35 +0000 (02:06 +0000)
committerEvgeny Vereshchagin <evvers@ya.ru>
Thu, 16 Aug 2018 06:45:49 +0000 (06:45 +0000)
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.

tools/oss-fuzz.sh

index 200407fcca06396d00aa37963c0d3be51c243f18..2db5b4cc44c13e8ad16c2b82e731be705c2518f7 100755 (executable)
@@ -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