Home
last modified time | relevance | path

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

/llvm-project-15.0.7/compiler-rt/lib/dfsan/
H A Ddfsan_interceptors.cpp198 INTERCEPT_FUNCTION(calloc); in initialize_interceptors()
199 INTERCEPT_FUNCTION(cfree); in initialize_interceptors()
200 INTERCEPT_FUNCTION(free); in initialize_interceptors()
202 INTERCEPT_FUNCTION(malloc); in initialize_interceptors()
205 INTERCEPT_FUNCTION(mallopt); in initialize_interceptors()
207 INTERCEPT_FUNCTION(mmap); in initialize_interceptors()
208 INTERCEPT_FUNCTION(mmap64); in initialize_interceptors()
209 INTERCEPT_FUNCTION(munmap); in initialize_interceptors()
211 INTERCEPT_FUNCTION(pvalloc); in initialize_interceptors()
212 INTERCEPT_FUNCTION(realloc); in initialize_interceptors()
[all …]
/llvm-project-15.0.7/compiler-rt/lib/msan/
H A Dmsan_interceptors.cpp455 INTERCEPT_FUNCTION(func); \ in INTERCEPTORS_STRTO()
459 INTERCEPT_FUNCTION(func); \
1650 INTERCEPT_FUNCTION(valloc); in InitializeInterceptors()
1656 INTERCEPT_FUNCTION(free); in InitializeInterceptors()
1662 INTERCEPT_FUNCTION(fread); in InitializeInterceptors()
1666 INTERCEPT_FUNCTION(bcopy); in InitializeInterceptors()
1728 INTERCEPT_FUNCTION(pipe); in InitializeInterceptors()
1729 INTERCEPT_FUNCTION(pipe2); in InitializeInterceptors()
1758 INTERCEPT_FUNCTION(tzset); in InitializeInterceptors()
1761 INTERCEPT_FUNCTION(shmat); in InitializeInterceptors()
[all …]
/llvm-project-15.0.7/compiler-rt/lib/lsan/
H A Dlsan_interceptors.cpp162 INTERCEPT_FUNCTION(malloc_usable_size)
201 #define LSAN_MAYBE_INTERCEPT_CFREE INTERCEPT_FUNCTION(cfree)
505 INTERCEPT_FUNCTION(malloc); in InitializeInterceptors()
506 INTERCEPT_FUNCTION(free); in InitializeInterceptors()
508 INTERCEPT_FUNCTION(calloc); in InitializeInterceptors()
509 INTERCEPT_FUNCTION(realloc); in InitializeInterceptors()
513 INTERCEPT_FUNCTION(posix_memalign); in InitializeInterceptors()
514 INTERCEPT_FUNCTION(valloc); in InitializeInterceptors()
519 INTERCEPT_FUNCTION(pthread_create); in InitializeInterceptors()
520 INTERCEPT_FUNCTION(pthread_join); in InitializeInterceptors()
[all …]
/llvm-project-15.0.7/compiler-rt/lib/tsan/dd/
H A Ddd_interceptors.cpp296 INTERCEPT_FUNCTION(pthread_mutex_destroy); in InitializeInterceptors()
297 INTERCEPT_FUNCTION(pthread_mutex_lock); in InitializeInterceptors()
298 INTERCEPT_FUNCTION(pthread_mutex_trylock); in InitializeInterceptors()
299 INTERCEPT_FUNCTION(pthread_mutex_unlock); in InitializeInterceptors()
301 INTERCEPT_FUNCTION(pthread_spin_destroy); in InitializeInterceptors()
302 INTERCEPT_FUNCTION(pthread_spin_lock); in InitializeInterceptors()
303 INTERCEPT_FUNCTION(pthread_spin_trylock); in InitializeInterceptors()
304 INTERCEPT_FUNCTION(pthread_spin_unlock); in InitializeInterceptors()
323 INTERCEPT_FUNCTION(realpath); in InitializeInterceptors()
324 INTERCEPT_FUNCTION(read); in InitializeInterceptors()
[all …]
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/
H A Dtsan_interceptors_libdispatch.cpp769 INTERCEPT_FUNCTION(dispatch_async); in InitializeLibdispatchInterceptors()
770 INTERCEPT_FUNCTION(dispatch_async_f); in InitializeLibdispatchInterceptors()
771 INTERCEPT_FUNCTION(dispatch_sync); in InitializeLibdispatchInterceptors()
772 INTERCEPT_FUNCTION(dispatch_sync_f); in InitializeLibdispatchInterceptors()
781 INTERCEPT_FUNCTION(dispatch_after); in InitializeLibdispatchInterceptors()
783 INTERCEPT_FUNCTION(dispatch_once); in InitializeLibdispatchInterceptors()
784 INTERCEPT_FUNCTION(dispatch_once_f); in InitializeLibdispatchInterceptors()
799 INTERCEPT_FUNCTION(dispatch_apply); in InitializeLibdispatchInterceptors()
802 INTERCEPT_FUNCTION(dispatch_read); in InitializeLibdispatchInterceptors()
803 INTERCEPT_FUNCTION(dispatch_write); in InitializeLibdispatchInterceptors()
[all …]
H A Dtsan_interceptors_posix.cpp291 #define TSAN_INTERCEPT(func) INTERCEPT_FUNCTION(func)
293 # define TSAN_INTERCEPT_VER(func, ver) INTERCEPT_FUNCTION(func)
297 # define TSAN_INTERCEPT_VER(func, ver) INTERCEPT_FUNCTION(func)
299 INTERCEPT_FUNCTION(__libc_##func)
301 INTERCEPT_FUNCTION(__libc_thr_##func)
2338 #define COMMON_INTERCEPT_FUNCTION(name) INTERCEPT_FUNCTION(name)
2342 (INTERCEPT_FUNCTION_VER(name, ver) || INTERCEPT_FUNCTION(name))
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/
H A Dtsan_interceptors_libdispatch.cpp769 INTERCEPT_FUNCTION(dispatch_async); in InitializeLibdispatchInterceptors()
770 INTERCEPT_FUNCTION(dispatch_async_f); in InitializeLibdispatchInterceptors()
771 INTERCEPT_FUNCTION(dispatch_sync); in InitializeLibdispatchInterceptors()
772 INTERCEPT_FUNCTION(dispatch_sync_f); in InitializeLibdispatchInterceptors()
781 INTERCEPT_FUNCTION(dispatch_after); in InitializeLibdispatchInterceptors()
783 INTERCEPT_FUNCTION(dispatch_once); in InitializeLibdispatchInterceptors()
784 INTERCEPT_FUNCTION(dispatch_once_f); in InitializeLibdispatchInterceptors()
799 INTERCEPT_FUNCTION(dispatch_apply); in InitializeLibdispatchInterceptors()
802 INTERCEPT_FUNCTION(dispatch_read); in InitializeLibdispatchInterceptors()
803 INTERCEPT_FUNCTION(dispatch_write); in InitializeLibdispatchInterceptors()
[all …]
H A Dtsan_interceptors_posix.cpp291 #define TSAN_INTERCEPT(func) INTERCEPT_FUNCTION(func)
293 # define TSAN_INTERCEPT_VER(func, ver) INTERCEPT_FUNCTION(func)
299 INTERCEPT_FUNCTION(_pthread_##func)
305 INTERCEPT_FUNCTION(__libc_##func)
307 INTERCEPT_FUNCTION(__libc_thr_##func)
2344 #define COMMON_INTERCEPT_FUNCTION(name) INTERCEPT_FUNCTION(name)
2348 (INTERCEPT_FUNCTION_VER(name, ver) || INTERCEPT_FUNCTION(name))
/llvm-project-15.0.7/compiler-rt/lib/hwasan/
H A Dhwasan_interceptors.cpp192 INTERCEPT_FUNCTION(__libc_longjmp); in InitializeInterceptors()
193 INTERCEPT_FUNCTION(longjmp); in InitializeInterceptors()
194 INTERCEPT_FUNCTION(siglongjmp); in InitializeInterceptors()
195 INTERCEPT_FUNCTION(vfork); in InitializeInterceptors()
197 INTERCEPT_FUNCTION(pthread_create); in InitializeInterceptors()
198 INTERCEPT_FUNCTION(pthread_join); in InitializeInterceptors()
/llvm-project-15.0.7/compiler-rt/lib/memprof/
H A Dmemprof_interceptors.h45 if (!INTERCEPT_FUNCTION(name)) \
55 if (!INTERCEPT_FUNCTION_VER(name, ver) && !INTERCEPT_FUNCTION(name)) \
/llvm-project-15.0.7/compiler-rt/lib/asan/
H A Dasan_interceptors.h139 if (!INTERCEPT_FUNCTION(name)) \
150 if (!INTERCEPT_FUNCTION_VER(name, ver) && !INTERCEPT_FUNCTION(name)) \
H A Dasan_malloc_win.cpp511 INTERCEPT_FUNCTION(HeapSize); in ReplaceSystemMalloc()
512 INTERCEPT_FUNCTION(HeapFree); in ReplaceSystemMalloc()
513 INTERCEPT_FUNCTION(HeapReAlloc); in ReplaceSystemMalloc()
514 INTERCEPT_FUNCTION(HeapAlloc); in ReplaceSystemMalloc()
H A Dasan_win_dll_thunk.cpp142 INTERCEPT_FUNCTION(_except_handler4); in asan_dll_thunk_init()
H A Dasan_interceptors.cpp684 INTERCEPT_FUNCTION(_Unwind_RaiseException); in InitializeAsanInterceptors()
688 INTERCEPT_FUNCTION(_Unwind_SjLj_RaiseException); in InitializeAsanInterceptors()
/llvm-project-15.0.7/compiler-rt/lib/interception/
H A Dinterception.h278 # define INTERCEPT_FUNCTION(func) INTERCEPT_FUNCTION_LINUX_OR_FREEBSD(func) macro
283 # define INTERCEPT_FUNCTION(func) INTERCEPT_FUNCTION_MAC(func) macro
288 # define INTERCEPT_FUNCTION(func) INTERCEPT_FUNCTION_WIN(func) macro
/llvm-project-15.0.7/compiler-rt/lib/interception/tests/
H A Dinterception_linux_test.cpp48 EXPECT_TRUE(INTERCEPT_FUNCTION(isdigit)); in TEST()
/llvm-project-15.0.7/compiler-rt/lib/ubsan/
H A Dubsan_signals_standalone.cpp37 #define COMMON_INTERCEPT_FUNCTION(name) INTERCEPT_FUNCTION(name)
/llvm-project-15.0.7/compiler-rt/lib/cfi/
H A Dcfi.cpp447 INTERCEPT_FUNCTION(dlopen); in EnsureInterceptorsInitialized()
448 INTERCEPT_FUNCTION(dlclose); in EnsureInterceptorsInitialized()
/llvm-project-15.0.7/compiler-rt/lib/safestack/
H A Dsafestack.cpp253 INTERCEPT_FUNCTION(pthread_create); in EnsureInterceptorsInitialized()