Home
last modified time | relevance | path

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

/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/interception/
H A Dinterception_win.h27 bool OverrideFunction(uptr old_func, uptr new_func, uptr *orig_old_func = 0);
30 bool OverrideFunction(const char *name, uptr new_func, uptr *orig_old_func = 0);
64 ::__interception::OverrideFunction(#func, \
69 ::__interception::OverrideFunction((::__interception::uptr)func, \
H A Dinterception_win.cc819 bool OverrideFunction( in OverrideFunction() function
934 bool OverrideFunction( in OverrideFunction() function
941 OverrideFunction(func_addr, new_func, orig_old_func)) { in OverrideFunction()
/netbsd-src/sys/external/bsd/compiler_rt/dist/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()
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/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);
65 ::__interception::OverrideFunction(#func, \
70 ::__interception::OverrideFunction((::__interception::uptr)func, \
H A Dinterception_win.cpp872 bool OverrideFunction( in OverrideFunction() function
987 bool OverrideFunction( in OverrideFunction() function
994 OverrideFunction(func_addr, new_func, orig_old_func)) { in OverrideFunction()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/interception/tests/
H A Dinterception_win_test.cc390 TEST(Interception, OverrideFunction) { in TEST() argument
391 TestOverrideFunction override = OverrideFunction; in TEST()
466 EXPECT_TRUE(OverrideFunction(identity_address1, in TEST()
469 EXPECT_TRUE(OverrideFunction(identity_address2, in TEST()
500 TestOverrideFunction override = OverrideFunction; in TEST()
607 TestOverrideFunction override = OverrideFunction; in TEST()
/netbsd-src/sys/external/bsd/compiler_rt/dist/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()
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_win_dll_thunk.cc34 if (!__interception::OverrideFunction(dll_function, wrapper, 0)) in dllThunkIntercept()
45 if (!__interception::OverrideFunction(dll_function, wrapper, 0)) in dllThunkInterceptWhenPossible()
H A Dsanitizer_win_weak_interception.cc32 if (real && !__interception::OverrideFunction((uptr)dll_function, real, 0)) in interceptWhenPossible()
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_win_dll_thunk.cpp35 if (!__interception::OverrideFunction(dll_function, wrapper, 0)) in dllThunkIntercept()
46 if (!__interception::OverrideFunction(dll_function, wrapper, 0)) in dllThunkInterceptWhenPossible()
H A Dsanitizer_win_weak_interception.cpp33 if (real && !__interception::OverrideFunction((uptr)dll_function, real, 0)) in interceptWhenPossible()
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/asan/
H A 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()
H A Dasan_win.cpp181 if (!::__interception::OverrideFunction("RaiseException", in InitializePlatformInterceptors()
184 CHECK(::__interception::OverrideFunction("RtlRaiseException", in InitializePlatformInterceptors()
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/asan/
H A Dasan_win.cc180 if (!::__interception::OverrideFunction("RaiseException", in InitializePlatformInterceptors()
183 CHECK(::__interception::OverrideFunction("RtlRaiseException", in InitializePlatformInterceptors()
H A Dasan_malloc_win.cc215 if (!__interception::OverrideFunction(fname, new_func)) in TryToOverrideFunction()
/netbsd-src/sys/external/bsd/compiler_rt/dist/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()