Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/compiler-rt/lib/interception/
H A Dinterception_win.h23 namespace __interception {
73 ::__interception::OverrideFunction(#func, \
74 (::__interception::uptr)WRAP(func), \
75 (::__interception::uptr *)&REAL(func))
78 ::__interception::OverrideFunction((::__interception::uptr)func, \
79 (::__interception::uptr)WRAP(func), \
80 (::__interception::uptr *)&REAL(func))
86 ::__interception::OverrideImportedFunction( \
87 user_dll, provider_dll, #func, (::__interception::uptr)WRAP(func), \
88 (::__interception::uptr *)&REAL(func))
H A Dinterception_linux.h24 namespace __interception {
35 ::__interception::InterceptFunction( \
36 #func, (::__interception::uptr *)&REAL(func), \
37 (::__interception::uptr)(decltype(REAL(func)))&(func), \
38 (::__interception::uptr) &TRAMPOLINE(func))
43 ::__interception::InterceptFunction( \
45 (::__interception::uptr *)&REAL(func), \
46 (::__interception::uptr)(decltype(REAL(func)))&(func), \
47 (::__interception::uptr)&TRAMPOLINE(func))
H A Dinterception_aix.h24 namespace __interception {
30 ::__interception::InterceptFunction( \
31 #func, (::__interception::uptr *)&REAL(func), \
32 (::__interception::uptr) & (func), \
33 (::__interception::uptr) & WRAP(func))
H A Dinterception.h266 # define REAL(x) __interception::PTR_TO_REAL(x)
271 namespace __interception { \
305 namespace __interception { \
355 namespace __interception { \
363 namespace __interception {
H A Dinterception_aix.cpp21 namespace __interception { namespace
H A Dinterception_linux.cpp21 namespace __interception { namespace
H A Dinterception_win.cpp135 namespace __interception { namespace
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_win_interception.cpp36 __interception::InternalGetProcAddress(&__ImageBase, export_name); in GetSanitizerDllExport()
96 const bool function_overridden = __interception::OverrideFunction( in __sanitizer_override_function()
116 const bool function_overridden = __interception::OverrideFunction( in __sanitizer_override_function_by_addr()
138 const bool function_overridden = __interception::OverrideFunction( in __sanitizer_register_weak_function()
H A Dsanitizer_internal_defs.h490 namespace __interception {
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_malloc_win.cpp475 if (!__interception::OverrideFunction(fname, new_func)) in TryToOverrideFunction()
506 __interception::OverrideFunction("RtlSizeHeap", (uptr)WRAP(RtlSizeHeap), in ReplaceSystemMalloc()
508 __interception::OverrideFunction("RtlFreeHeap", (uptr)WRAP(RtlFreeHeap), in ReplaceSystemMalloc()
510 __interception::OverrideFunction("RtlReAllocateHeap", in ReplaceSystemMalloc()
513 __interception::OverrideFunction("RtlAllocateHeap", in ReplaceSystemMalloc()
H A Dasan_win.cpp180 __interception::SetErrorReportCallback(Report); in InitializePlatformInterceptors()
202 if (!::__interception::OverrideFunction("RaiseException", in InitializePlatformInterceptors()
205 CHECK(::__interception::OverrideFunction("RtlRaiseException", in InitializePlatformInterceptors()
H A Dasan_rtl.cpp448 __interception::DoesNotSupportStaticLinking(); in AsanInitInternal()
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerInterceptors.cpp19 #define REAL(x) __interception::PTR_TO_REAL(x)
23 namespace __interception { \
/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_rtl.cpp181 __interception::DoesNotSupportStaticLinking(); in MemprofInitInternal()
/freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_interceptors.cpp523 __interception::DoesNotSupportStaticLinking(); in InitializeInterceptors()
/freebsd/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_interceptors.cpp577 __interception::DoesNotSupportStaticLinking(); in InitializeInterceptors()
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_interceptors_posix.cpp626 using __interception::InterceptFunction; in DEFINE_REAL()
2970 __interception::DoesNotSupportStaticLinking(); in InitializeInterceptors()
/freebsd/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan_interceptors.cpp1791 __interception::DoesNotSupportStaticLinking(); in InitializeInterceptors()