llvm-project/compiler-rt/lib/interception
Peter Collingbourne 0f43b92980 sanitizer_common: Try looking up symbols with RTLD_DEFAULT if RTLD_NEXT does not work.
If the lookup using RTLD_NEXT failed, the sanitizer runtime library
is later in the library search order than the DSO that we are trying
to intercept, which means that we cannot intercept this function. We
still want the address of the real definition, though, so look it up
using RTLD_DEFAULT.

Differential Revision: https://reviews.llvm.org/D39779

llvm-svn: 317930
2017-11-10 22:09:37 +00:00
..
tests [cmake] [interception] Remove duplicate gtest from test COMPILE_DEPS 2017-10-12 18:51:41 +00:00
.clang-format Tell clang-format that (most) sanitizers are written using Google style guide. 2015-11-19 22:11:10 +00:00
CMakeLists.txt [compilter-rt] Add unittests for interception library 2016-07-06 19:15:11 +00:00
interception.h [Fuchsia] Magenta -> Zircon 2017-09-13 01:18:15 +00:00
interception_linux.cc sanitizer_common: Try looking up symbols with RTLD_DEFAULT if RTLD_NEXT does not work. 2017-11-10 22:09:37 +00:00
interception_linux.h Reuse interception_linux for NetBSD 2017-08-08 12:10:08 +00:00
interception_mac.cc
interception_mac.h
interception_type_test.cc
interception_win.cc [asan] Intercept heap routines in VS2010 CRT 2017-10-30 17:26:13 +00:00
interception_win.h [compiler-rt] Refactor the interception code on windows. 2016-07-11 23:02:18 +00:00