Home
last modified time | relevance | path

Searched refs:__interception (Results 1 – 11 of 11) sorted by relevance

/freebsd-12.1/contrib/compiler-rt/lib/interception/
H A Dinterception_win.h24 namespace __interception {
66 ::__interception::OverrideFunction(#func, \
67 (::__interception::uptr)WRAP(func), \
68 (::__interception::uptr *)&REAL(func))
71 ::__interception::OverrideFunction((::__interception::uptr)func, \
72 (::__interception::uptr)WRAP(func), \
73 (::__interception::uptr *)&REAL(func))
79 ::__interception::OverrideImportedFunction( \
80 user_dll, provider_dll, #func, (::__interception::uptr)WRAP(func), \
81 (::__interception::uptr *)&REAL(func))
H A Dinterception_linux.h25 namespace __interception {
33 ::__interception::GetRealFunctionAddress( \
34 #func, (::__interception::uptr *)&__interception::PTR_TO_REAL(func), \
35 (::__interception::uptr) & (func), \
36 (::__interception::uptr) & WRAP(func))
41 (::__interception::real_##func = (func##_type)( \
42 unsigned long)::__interception::GetFuncAddrVer(#func, symver))
H A Dinterception.h172 # define REAL(x) __interception::PTR_TO_REAL(x)
177 namespace __interception { \
203 namespace __interception { \
255 namespace __interception { \
268 namespace __interception {
H A Dinterception_linux.cc26 namespace __interception { namespace
H A Dinterception_win.cc135 namespace __interception { namespace
/freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_win_dll_thunk.cc28 __interception::InternalGetProcAddress((void *)GetModuleHandleA(0), name); in dllThunkGetRealAddrOrDie()
36 if (!__interception::OverrideFunction(dll_function, wrapper, 0)) in dllThunkIntercept()
43 uptr wrapper = __interception::InternalGetProcAddress( in dllThunkInterceptWhenPossible()
47 if (!__interception::OverrideFunction(dll_function, wrapper, 0)) in dllThunkInterceptWhenPossible()
H A Dsanitizer_win_weak_interception.cc32 uptr real = __interception::InternalGetProcAddress( in interceptWhenPossible()
34 if (real && !__interception::OverrideFunction((uptr)dll_function, real, 0)) in interceptWhenPossible()
H A Dsanitizer_internal_defs.h434 namespace __interception { using namespace __sanitizer; } // NOLINT
/freebsd-12.1/contrib/compiler-rt/lib/asan/
H A Dasan_win.cc182 if (!::__interception::OverrideFunction("RaiseException", in InitializePlatformInterceptors()
185 CHECK(::__interception::OverrideFunction("RtlRaiseException", in InitializePlatformInterceptors()
H A Dasan_malloc_win.cc222 if (!__interception::OverrideFunction(fname, new_func)) in TryToOverrideFunction()
/freebsd-12.1/contrib/compiler-rt/lib/tsan/rtl/
H A Dtsan_interceptors.cc2644 using __interception::GetRealFunctionAddress; in InitializeInterceptors()