Home
last modified time | relevance | path

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

/external/llvm-project/compiler-rt/lib/interception/
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);
65 ::__interception::OverrideFunction(#func, \
70 ::__interception::OverrideFunction((::__interception::uptr)func, \
Dinterception_win.cpp826 bool OverrideFunction( in OverrideFunction() function
941 bool OverrideFunction( in OverrideFunction() function
948 OverrideFunction(func_addr, new_func, orig_old_func)) { in OverrideFunction()
/external/compiler-rt/lib/interception/
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, \
Dinterception_win.cc738 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/sanitizer_common/
Dsanitizer_win_dll_thunk.cpp35 if (!__interception::OverrideFunction(dll_function, wrapper, 0)) in dllThunkIntercept()
46 if (!__interception::OverrideFunction(dll_function, wrapper, 0)) in dllThunkInterceptWhenPossible()
Dsanitizer_win_weak_interception.cpp33 if (real && !__interception::OverrideFunction((uptr)dll_function, real, 0)) in interceptWhenPossible()
/external/compiler-rt/lib/interception/tests/
Dinterception_win_test.cc357 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/
Dinterception_win_test.cpp407 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/
Dasan_malloc_win.cpp485 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()
Dasan_win.cpp181 if (!::__interception::OverrideFunction("RaiseException", in InitializePlatformInterceptors()
184 CHECK(::__interception::OverrideFunction("RtlRaiseException", in InitializePlatformInterceptors()
/external/compiler-rt/lib/asan/
Dasan_malloc_win.cc208 if (!__interception::OverrideFunction(fname, new_func)) in TryToOverrideFunction()
Dasan_win.cc164 CHECK(::__interception::OverrideFunction( in InitializePlatformInterceptors()
Dasan_win_dll_thunk.cc68 if (!__interception::OverrideFunction((uptr)dll_function, wrapper, 0)) \