Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/compiler-rt/lib/rtsan/
H A Drtsan_interceptors.cpp314 #define RTSAN_MAYBE_INTERCEPT_ALIGNED_ALLOC INTERCEPT_FUNCTION(aligned_alloc)
384 INTERCEPT_FUNCTION(calloc); in InitializeInterceptors()
385 INTERCEPT_FUNCTION(free); in InitializeInterceptors()
386 INTERCEPT_FUNCTION(malloc); in InitializeInterceptors()
387 INTERCEPT_FUNCTION(realloc); in InitializeInterceptors()
388 INTERCEPT_FUNCTION(reallocf); in InitializeInterceptors()
389 INTERCEPT_FUNCTION(valloc); in InitializeInterceptors()
391 INTERCEPT_FUNCTION(posix_memalign); in InitializeInterceptors()
393 INTERCEPT_FUNCTION(memalign); in InitializeInterceptors()
396 INTERCEPT_FUNCTION(pvalloc); in InitializeInterceptors()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/
H A Ddfsan_interceptors.cpp197 INTERCEPT_FUNCTION(aligned_alloc); in initialize_interceptors()
198 INTERCEPT_FUNCTION(calloc); in initialize_interceptors()
199 INTERCEPT_FUNCTION(cfree); in initialize_interceptors()
200 INTERCEPT_FUNCTION(free); in initialize_interceptors()
201 INTERCEPT_FUNCTION(mallinfo); in initialize_interceptors()
202 INTERCEPT_FUNCTION(malloc); in initialize_interceptors()
203 INTERCEPT_FUNCTION(malloc_stats); in initialize_interceptors()
204 INTERCEPT_FUNCTION(malloc_usable_size); in initialize_interceptors()
205 INTERCEPT_FUNCTION(mallopt); in initialize_interceptors()
206 INTERCEPT_FUNCTION(memalign); in initialize_interceptors()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/nsan/
H A Dnsan_interceptors.cpp210 INTERCEPT_FUNCTION(memset); in InitializeInterceptors()
211 INTERCEPT_FUNCTION(wmemset); in InitializeInterceptors()
212 INTERCEPT_FUNCTION(memmove); in InitializeInterceptors()
213 INTERCEPT_FUNCTION(wmemmove); in InitializeInterceptors()
214 INTERCEPT_FUNCTION(memcpy); in InitializeInterceptors()
215 INTERCEPT_FUNCTION(wmemcpy); in InitializeInterceptors()
217 INTERCEPT_FUNCTION(strdup); in InitializeInterceptors()
218 INTERCEPT_FUNCTION(wcsdup); in InitializeInterceptors()
219 INTERCEPT_FUNCTION(strndup); in InitializeInterceptors()
220 INTERCEPT_FUNCTION(stpcpy); in InitializeInterceptors()
[all …]
H A Dnsan_malloc_linux.cpp107 INTERCEPT_FUNCTION(aligned_alloc); in InitializeMallocInterceptors()
108 INTERCEPT_FUNCTION(calloc); in InitializeMallocInterceptors()
109 INTERCEPT_FUNCTION(free); in InitializeMallocInterceptors()
110 INTERCEPT_FUNCTION(malloc); in InitializeMallocInterceptors()
111 INTERCEPT_FUNCTION(posix_memalign); in InitializeMallocInterceptors()
112 INTERCEPT_FUNCTION(realloc); in InitializeMallocInterceptors()
114 INTERCEPT_FUNCTION(reallocarray); in InitializeMallocInterceptors()
118 INTERCEPT_FUNCTION(memalign); in InitializeMallocInterceptors()
119 INTERCEPT_FUNCTION(__libc_memalign); in InitializeMallocInterceptors()
/freebsd/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_interceptors.cpp129 #define LSAN_MAYBE_INTERCEPT_MEMALIGN INTERCEPT_FUNCTION(memalign)
142 #define LSAN_MAYBE_INTERCEPT___LIBC_MEMALIGN INTERCEPT_FUNCTION(__libc_memalign)
153 #define LSAN_MAYBE_INTERCEPT_ALIGNED_ALLOC INTERCEPT_FUNCTION(aligned_alloc)
164 INTERCEPT_FUNCTION(malloc_usable_size)
179 #define LSAN_MAYBE_INTERCEPT_MALLINFO INTERCEPT_FUNCTION(mallinfo) in INTERCEPTOR()
184 #define LSAN_MAYBE_INTERCEPT_MALLOPT INTERCEPT_FUNCTION(mallopt)
196 #define LSAN_MAYBE_INTERCEPT_PVALLOC INTERCEPT_FUNCTION(pvalloc)
203 #define LSAN_MAYBE_INTERCEPT_CFREE INTERCEPT_FUNCTION(cfree)
353 #define LSAN_MAYBE_INTERCEPT__LWP_EXIT INTERCEPT_FUNCTION(_lwp_exit)
364 #define LSAN_MAYBE_INTERCEPT_THR_EXIT INTERCEPT_FUNCTION(thr_exi
[all...]
/freebsd/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan_interceptors.cpp133 #define MSAN_MAYBE_INTERCEPT_FREAD_UNLOCKED INTERCEPT_FUNCTION(fread_unlocked)
142 #define MSAN_MAYBE_INTERCEPT_MEMPCPY INTERCEPT_FUNCTION(mempcpy)
175 #define MSAN_MAYBE_INTERCEPT_MEMALIGN INTERCEPT_FUNCTION(memalign)
193 #define MSAN_MAYBE_INTERCEPT___LIBC_MEMALIGN INTERCEPT_FUNCTION(__libc_memalign)
208 #define MSAN_MAYBE_INTERCEPT_PVALLOC INTERCEPT_FUNCTION(pvalloc)
231 # define MSAN_MAYBE_INTERCEPT_CFREE INTERCEPT_FUNCTION(cfree)
241 INTERCEPT_FUNCTION(malloc_usable_size)
263 # define MSAN_MAYBE_INTERCEPT_MALLINFO INTERCEPT_FUNCTION(mallinfo)
274 # define MSAN_MAYBE_INTERCEPT_MALLINFO2 INTERCEPT_FUNCTION(mallinfo2)
283 #define MSAN_MAYBE_INTERCEPT_MALLOPT INTERCEPT_FUNCTION(mallopt)
[all …]
/freebsd/contrib/llvm-project/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()
306 INTERCEPT_FUNCTION(pthread_rwlock_destroy); in InitializeInterceptors()
307 INTERCEPT_FUNCTION(pthread_rwlock_rdlock); in InitializeInterceptors()
[all …]
/freebsd/contrib/llvm-project/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()
773 INTERCEPT_FUNCTION(dispatch_barrier_async); in InitializeLibdispatchInterceptors()
774 INTERCEPT_FUNCTION(dispatch_barrier_async_f); in InitializeLibdispatchInterceptors()
775 INTERCEPT_FUNCTION(dispatch_barrier_sync); in InitializeLibdispatchInterceptors()
776 INTERCEPT_FUNCTION(dispatch_barrier_sync_f); in InitializeLibdispatchInterceptors()
777 INTERCEPT_FUNCTION(dispatch_async_and_wait); in InitializeLibdispatchInterceptors()
778 INTERCEPT_FUNCTION(dispatch_async_and_wait_f); in InitializeLibdispatchInterceptors()
[all …]
H A Dtsan_interceptors.h111 #define COMMON_INTERCEPT_FUNCTION(name) INTERCEPT_FUNCTION(name)
H A Dtsan_interceptors_posix.cpp332 #define TSAN_INTERCEPT(func) INTERCEPT_FUNCTION(func)
334 # define TSAN_INTERCEPT_VER(func, ver) INTERCEPT_FUNCTION(func)
340 INTERCEPT_FUNCTION(_pthread_##func)
346 INTERCEPT_FUNCTION(__libc_##func)
348 INTERCEPT_FUNCTION(__libc_thr_##func)
2442 (INTERCEPT_FUNCTION_VER(name, ver) || INTERCEPT_FUNCTION(name))
/freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_interceptors.cpp53 if (!INTERCEPT_FUNCTION(name)) \
64 if (!INTERCEPT_FUNCTION_VER(name, ver) && !INTERCEPT_FUNCTION(name)) \
530 INTERCEPT_FUNCTION(__libc_longjmp); in InitializeInterceptors()
531 INTERCEPT_FUNCTION(longjmp); in InitializeInterceptors()
532 INTERCEPT_FUNCTION(siglongjmp); in InitializeInterceptors()
533 INTERCEPT_FUNCTION(vfork); in InitializeInterceptors()
535 INTERCEPT_FUNCTION(pthread_create); in InitializeInterceptors()
536 INTERCEPT_FUNCTION(pthread_join); in InitializeInterceptors()
537 INTERCEPT_FUNCTION(pthread_detach); in InitializeInterceptors()
538 INTERCEPT_FUNCTION(pthread_exit); in InitializeInterceptors()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_interceptors.h45 if (!INTERCEPT_FUNCTION(name)) \
55 if (!INTERCEPT_FUNCTION_VER(name, ver) && !INTERCEPT_FUNCTION(name)) \
/freebsd/contrib/llvm-project/compiler-rt/lib/interception/
H A Dinterception.h371 # define INTERCEPT_FUNCTION(func) INTERCEPT_FUNCTION_LINUX_OR_FREEBSD(func) macro
376 # define INTERCEPT_FUNCTION(func) INTERCEPT_FUNCTION_MAC(func) macro
381 # define INTERCEPT_FUNCTION(func) INTERCEPT_FUNCTION_WIN(func) macro
/freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_signals_standalone.cpp41 #define COMMON_INTERCEPT_FUNCTION(name) INTERCEPT_FUNCTION(name)
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_win_dll_thunk.cpp144 INTERCEPT_FUNCTION(_except_handler4); in asan_dll_thunk_init()
/freebsd/contrib/llvm-project/compiler-rt/lib/cfi/
H A Dcfi.cpp451 INTERCEPT_FUNCTION(dlopen); in EnsureInterceptorsInitialized()
452 INTERCEPT_FUNCTION(dlclose);
/freebsd/contrib/llvm-project/compiler-rt/lib/safestack/
H A Dsafestack.cpp289 INTERCEPT_FUNCTION(pthread_create); in EnsureInterceptorsInitialized()