179e77d612
If you like to preload a sanitized library in front of an application, it will fail, because it is not the first in the library list anymore. This behaviour is gcc specific - clang will static link the sanitizers instead. To get the same for gcc, the new SANITIZE_LINK_STATIC flag will link the sanitizers static in gcc environments. Note: The preloaded executable must be sanitized, too! Otherwise ASan will print an error message! |
||
---|---|---|
.. | ||
FindASan.cmake | ||
FindMSan.cmake | ||
FindSanitizers.cmake | ||
FindTSan.cmake | ||
FindUBSan.cmake | ||
sanitize-helpers.cmake |