Home
last modified time | relevance | path

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

/llvm-project-15.0.7/compiler-rt/lib/interception/tests/
H A 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()
/llvm-project-15.0.7/compiler-rt/lib/interception/
H A 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( \
H A 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
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/
H A Dtsan_interceptors_posix.cpp2775 using __interception::InterceptFunction; in InitializeInterceptors()
2776 InterceptFunction(TSAN_STRING_SETJMP, (uptr*)&REAL(setjmp_symname), 0, 0); in InitializeInterceptors()
2777 InterceptFunction("_setjmp", (uptr*)&REAL(_setjmp), 0, 0); in InitializeInterceptors()
2778 InterceptFunction(TSAN_STRING_SIGSETJMP, (uptr*)&REAL(sigsetjmp_symname), 0, in InitializeInterceptors()
2781 InterceptFunction("__sigsetjmp", (uptr*)&REAL(__sigsetjmp), 0, 0); in InitializeInterceptors()
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/
H A Dtsan_interceptors_posix.cpp2801 using __interception::InterceptFunction; in InitializeInterceptors()
2802 InterceptFunction(TSAN_STRING_SETJMP, (uptr*)&REAL(setjmp_symname), 0, 0); in InitializeInterceptors()
2803 InterceptFunction("_setjmp", (uptr*)&REAL(_setjmp), 0, 0); in InitializeInterceptors()
2804 InterceptFunction(TSAN_STRING_SIGSETJMP, (uptr*)&REAL(sigsetjmp_symname), 0, in InitializeInterceptors()
2807 InterceptFunction("__sigsetjmp", (uptr*)&REAL(__sigsetjmp), 0, 0); in InitializeInterceptors()