/external/compiler-rt/lib/interception/ |
D | interception_win.h | 29 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, \
|
D | interception_win.cc | 738 bool OverrideFunction( in OverrideFunction() function 832 bool OverrideFunction(const char *name, uptr new_func, uptr *orig_old_func) { in OverrideFunction() function 836 return OverrideFunction(orig_func, new_func, orig_old_func); in OverrideFunction()
|
/external/llvm-project/compiler-rt/lib/interception/ |
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, \
|
D | interception_win.cpp | 826 bool OverrideFunction( in OverrideFunction() function 941 bool OverrideFunction( in OverrideFunction() function 948 OverrideFunction(func_addr, new_func, orig_old_func)) { in OverrideFunction()
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
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()
|
D | sanitizer_win_weak_interception.cpp | 33 if (real && !__interception::OverrideFunction((uptr)dll_function, real, 0)) in interceptWhenPossible()
|
/external/compiler-rt/lib/interception/tests/ |
D | interception_win_test.cc | 357 TEST(Interception, OverrideFunction) { in TEST() argument 358 TestOverrideFunction override = OverrideFunction; in TEST() 433 EXPECT_TRUE(OverrideFunction(identity_address1, in TEST() 436 EXPECT_TRUE(OverrideFunction(identity_address2, in TEST() 467 TestOverrideFunction override = OverrideFunction; in TEST() 569 TestOverrideFunction override = OverrideFunction; in TEST()
|
/external/llvm-project/compiler-rt/lib/interception/tests/ |
D | interception_win_test.cpp | 407 TEST(Interception, OverrideFunction) { in TEST() argument 408 TestOverrideFunction override = OverrideFunction; in TEST() 483 EXPECT_TRUE(OverrideFunction(identity_address1, in TEST() 486 EXPECT_TRUE(OverrideFunction(identity_address2, in TEST() 517 TestOverrideFunction override = OverrideFunction; in TEST() 627 TestOverrideFunction override = OverrideFunction; in TEST()
|
/external/llvm-project/compiler-rt/lib/asan/ |
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()
|
D | asan_win.cpp | 181 if (!::__interception::OverrideFunction("RaiseException", in InitializePlatformInterceptors() 184 CHECK(::__interception::OverrideFunction("RtlRaiseException", in InitializePlatformInterceptors()
|
/external/compiler-rt/lib/asan/ |
D | asan_malloc_win.cc | 208 if (!__interception::OverrideFunction(fname, new_func)) in TryToOverrideFunction()
|
D | asan_win.cc | 164 CHECK(::__interception::OverrideFunction( in InitializePlatformInterceptors()
|
D | asan_win_dll_thunk.cc | 68 if (!__interception::OverrideFunction((uptr)dll_function, wrapper, 0)) \
|