Home
last modified time | relevance | path

Searched refs:OverrideFunction (Results 1 – 6 of 6) sorted by relevance

/freebsd-12.1/contrib/compiler-rt/lib/interception/
H A Dinterception_win.h29 bool OverrideFunction(uptr old_func, uptr new_func, uptr *orig_old_func = 0);
32 bool OverrideFunction(const char *name, uptr new_func, uptr *orig_old_func = 0);
66 ::__interception::OverrideFunction(#func, \
71 ::__interception::OverrideFunction((::__interception::uptr)func, \
H A Dinterception_win.cc821 bool OverrideFunction( in OverrideFunction() function
936 bool OverrideFunction( in OverrideFunction() function
943 OverrideFunction(func_addr, new_func, orig_old_func)) { in OverrideFunction()
/freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_win_dll_thunk.cc36 if (!__interception::OverrideFunction(dll_function, wrapper, 0)) in dllThunkIntercept()
47 if (!__interception::OverrideFunction(dll_function, wrapper, 0)) in dllThunkInterceptWhenPossible()
H A Dsanitizer_win_weak_interception.cc34 if (real && !__interception::OverrideFunction((uptr)dll_function, real, 0)) in interceptWhenPossible()
/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()