forked from OSchip/llvm-project
831ae45e3d
Summary: libFuzzer intercepts certain library functions such as memcmp/strcmp by defining weak hooks. Weak hooks, however, are called only when other runtimes such as ASan is linked. This patch defines libFuzzer's own interceptors, which is linked into the libFuzzer executable when other runtimes are not linked, i.e., when -fsanitize=fuzzer is given, but not others.
The patch once landed but was reverted in
|
||
---|---|---|
.. | ||
clang | ||
clang-c | ||
CMakeLists.txt |