/freebsd/contrib/llvm-project/compiler-rt/lib/rtsan/ |
H A D | rtsan_interceptors.cpp | 314 #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 D | dfsan_interceptors.cpp | 197 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 D | nsan_interceptors.cpp | 210 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 D | nsan_malloc_linux.cpp | 107 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 D | lsan_interceptors.cpp | 129 #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 D | msan_interceptors.cpp | 133 #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 D | dd_interceptors.cpp | 296 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 D | tsan_interceptors_libdispatch.cpp | 769 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 D | tsan_interceptors.h | 111 #define COMMON_INTERCEPT_FUNCTION(name) INTERCEPT_FUNCTION(name)
|
H A D | tsan_interceptors_posix.cpp | 332 #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 D | hwasan_interceptors.cpp | 53 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 D | memprof_interceptors.h | 45 if (!INTERCEPT_FUNCTION(name)) \ 55 if (!INTERCEPT_FUNCTION_VER(name, ver) && !INTERCEPT_FUNCTION(name)) \
|
/freebsd/contrib/llvm-project/compiler-rt/lib/interception/ |
H A D | interception.h | 371 # 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 D | ubsan_signals_standalone.cpp | 41 #define COMMON_INTERCEPT_FUNCTION(name) INTERCEPT_FUNCTION(name)
|
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_win_dll_thunk.cpp | 144 INTERCEPT_FUNCTION(_except_handler4); in asan_dll_thunk_init()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/cfi/ |
H A D | cfi.cpp | 451 INTERCEPT_FUNCTION(dlopen); in EnsureInterceptorsInitialized() 452 INTERCEPT_FUNCTION(dlclose);
|
/freebsd/contrib/llvm-project/compiler-rt/lib/safestack/ |
H A D | safestack.cpp | 289 INTERCEPT_FUNCTION(pthread_create); in EnsureInterceptorsInitialized()
|