Closed fmeum closed 3 years ago
@IanPudney Could this change be included in a PyPI release? I'm currently working on adding Atheris to Bazel's rules_fuzzing
and this would help implementing the OSS-Fuzz support.
That's in progress :)
The reason for the delay: the Mac build is built manually, and I recently got a new machine, which means rebuilding Clang and its dependencies. Yay.
Linux and source-code builds are pushed. Mac incoming soon.
Mac is done.
The
*san_with_fuzzer.so
dynamic libraries include libFuzzer, which requireslibdl.so
. However, inmerge_libfuzzer_sanitizer.sh
, the libraries are not linked with-ldl
, which means that they can only be preloaded into a binary that itself links inlibdl.so
. Whilepython
itself does this, shells might not, which can lead to errors when the preload is applied to e.g. a wrapper script that unpacks a packaged Python application and only then invokespython
itself.This is fixed by linking
*san_with_fuzzer.so
with-ldl
.