Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/compiler-rt/lib/interception/
H A Dinterception_win.h28 bool OverrideFunction(uptr old_func, uptr new_func, uptr *orig_old_func = 0);
31 bool OverrideFunction(const char *name, uptr new_func, uptr *orig_old_func = 0);
73 ::__interception::OverrideFunction(#func, \
78 ::__interception::OverrideFunction((::__interception::uptr)func, \
H A Dinterception_win.cpp1223 bool OverrideFunction( in OverrideFunction() function
1356 bool OverrideFunction( in OverrideFunction() function
1376 OverrideFunction(func_addr, new_func, orig_old_func)) { in OverrideFunction()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_win_interception.cpp96 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()
/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.cpp202 if (!::__interception::OverrideFunction("RaiseException", in InitializePlatformInterceptors()
205 CHECK(::__interception::OverrideFunction("RtlRaiseException", in InitializePlatformInterceptors()