Home
last modified time | relevance | path

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

/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/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/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)) \