Searched refs:OverrideFunction (Results 1 – 7 of 7) sorted by relevance
| /openbsd-src/gnu/llvm/compiler-rt/lib/interception/ |
| H A D | interception_win.h | 28 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); 65 ::__interception::OverrideFunction(#func, \ 70 ::__interception::OverrideFunction((::__interception::uptr)func, \
|
| H A D | interception_win.cpp | 875 bool OverrideFunction( in OverrideFunction() function 990 bool OverrideFunction( in OverrideFunction() function 997 OverrideFunction(func_addr, new_func, orig_old_func)) { in OverrideFunction()
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_win_dll_thunk.cpp | 35 if (!__interception::OverrideFunction(dll_function, wrapper, 0)) in dllThunkIntercept() 46 if (!__interception::OverrideFunction(dll_function, wrapper, 0)) in dllThunkInterceptWhenPossible()
|
| H A D | sanitizer_win_weak_interception.cpp | 33 if (real && !__interception::OverrideFunction((uptr)dll_function, real, 0)) in interceptWhenPossible()
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/interception/tests/ |
| H A D | interception_win_test.cpp | 468 TEST(Interception, OverrideFunction) { in TEST() argument 469 TestOverrideFunction override = OverrideFunction; in TEST() 544 EXPECT_TRUE(OverrideFunction(identity_address1, in TEST() 547 EXPECT_TRUE(OverrideFunction(identity_address2, in TEST() 578 TestOverrideFunction override = OverrideFunction; in TEST() 694 TestOverrideFunction override = OverrideFunction; in TEST()
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/asan/ |
| H A D | asan_malloc_win.cpp | 485 if (!__interception::OverrideFunction(fname, new_func)) in TryToOverrideFunction() 517 __interception::OverrideFunction("RtlSizeHeap", (uptr)WRAP(RtlSizeHeap), in ReplaceSystemMalloc() 519 __interception::OverrideFunction("RtlFreeHeap", (uptr)WRAP(RtlFreeHeap), in ReplaceSystemMalloc() 521 __interception::OverrideFunction("RtlReAllocateHeap", in ReplaceSystemMalloc() 524 __interception::OverrideFunction("RtlAllocateHeap", in ReplaceSystemMalloc()
|
| H A D | asan_win.cpp | 181 if (!::__interception::OverrideFunction("RaiseException", in InitializePlatformInterceptors() 184 CHECK(::__interception::OverrideFunction("RtlRaiseException", in InitializePlatformInterceptors()
|