Home
last modified time | relevance | path

Searched refs:InterceptFunction (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/compiler-rt/lib/interception/tests/
Dinterception_linux_test.cpp36 TEST(Interception, InterceptFunction) { in TEST() argument
38 EXPECT_TRUE(InterceptFunction("malloc", &malloc_address, 0, 0)); in TEST()
40 EXPECT_FALSE(InterceptFunction("malloc", &malloc_address, 0, 1)); in TEST()
43 EXPECT_FALSE(InterceptFunction("dummy_doesnt_exist__", &dummy_address, 0, 0)); in TEST()
/external/llvm-project/compiler-rt/lib/interception/
Dinterception_linux.h25 bool InterceptFunction(const char *name, uptr *ptr_to_real, uptr func,
27 bool InterceptFunction(const char *name, const char *ver, uptr *ptr_to_real,
32 ::__interception::InterceptFunction( \
41 ::__interception::InterceptFunction( \
Dinterception_linux.cpp59 bool InterceptFunction(const char *name, uptr *ptr_to_real, uptr func, in InterceptFunction() function
72 bool InterceptFunction(const char *name, const char *ver, uptr *ptr_to_real, in InterceptFunction() function
/external/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_interceptors_posix.cpp2685 using __interception::InterceptFunction; in InitializeInterceptors()
2686 InterceptFunction(TSAN_STRING_SETJMP, (uptr*)&REAL(setjmp_symname), 0, 0); in InitializeInterceptors()
2687 InterceptFunction("_setjmp", (uptr*)&REAL(_setjmp), 0, 0); in InitializeInterceptors()
2688 InterceptFunction(TSAN_STRING_SIGSETJMP, (uptr*)&REAL(sigsetjmp_symname), 0, in InitializeInterceptors()
2691 InterceptFunction("__sigsetjmp", (uptr*)&REAL(__sigsetjmp), 0, 0); in InitializeInterceptors()