| /freebsd/contrib/llvm-project/compiler-rt/lib/rtsan/ |
| H A D | rtsan_interceptors_posix.cpp | 91 #define RTSAN_MAYBE_INTERCEPT_OPEN64 INTERCEPT_FUNCTION(open64) 126 #define RTSAN_MAYBE_INTERCEPT_OPENAT64 INTERCEPT_FUNCTION(openat64) 145 #define RTSAN_MAYBE_INTERCEPT_CREAT64 INTERCEPT_FUNCTION(creat64) 229 #define RTSAN_MAYBE_INTERCEPT_FCNTL64 INTERCEPT_FUNCTION(fcntl64) 254 #define RTSAN_MAYBE_INTERCEPT_READLINK INTERCEPT_FUNCTION(readlink) 265 #define RTSAN_MAYBE_INTERCEPT_READLINKAT INTERCEPT_FUNCTION(readlinkat) 300 #define RTSAN_MAYBE_INTERCEPT_TRUNCATE64 INTERCEPT_FUNCTION(truncate64) 301 #define RTSAN_MAYBE_INTERCEPT_FTRUNCATE64 INTERCEPT_FUNCTION(ftruncate64) 341 #define RTSAN_MAYBE_INTERCEPT_FOPEN64 INTERCEPT_FUNCTION(fopen64); 342 #define RTSAN_MAYBE_INTERCEPT_FREOPEN64 INTERCEPT_FUNCTION(freopen64); [all …]
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/ |
| H A D | dfsan_interceptors.cpp | 192 INTERCEPT_FUNCTION(aligned_alloc); in initialize_interceptors() 193 INTERCEPT_FUNCTION(calloc); in initialize_interceptors() 194 INTERCEPT_FUNCTION(cfree); in initialize_interceptors() 195 INTERCEPT_FUNCTION(free); in initialize_interceptors() 196 INTERCEPT_FUNCTION(mallinfo); in initialize_interceptors() 197 INTERCEPT_FUNCTION(malloc); in initialize_interceptors() 198 INTERCEPT_FUNCTION(malloc_stats); in initialize_interceptors() 199 INTERCEPT_FUNCTION(malloc_usable_size); in initialize_interceptors() 200 INTERCEPT_FUNCTION(mallopt); in initialize_interceptors() 201 INTERCEPT_FUNCTION(memalign); in initialize_interceptors() [all …]
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/nsan/ |
| H A D | nsan_interceptors.cpp | 240 INTERCEPT_FUNCTION(memset); in InitializeInterceptors() 241 INTERCEPT_FUNCTION(wmemset); in InitializeInterceptors() 242 INTERCEPT_FUNCTION(memmove); in InitializeInterceptors() 243 INTERCEPT_FUNCTION(wmemmove); in InitializeInterceptors() 244 INTERCEPT_FUNCTION(memcpy); in InitializeInterceptors() 245 INTERCEPT_FUNCTION(wmemcpy); in InitializeInterceptors() 247 INTERCEPT_FUNCTION(strdup); in InitializeInterceptors() 248 INTERCEPT_FUNCTION(wcsdup); in InitializeInterceptors() 249 INTERCEPT_FUNCTION(strndup); in InitializeInterceptors() 250 INTERCEPT_FUNCTION(stpcpy); in InitializeInterceptors() [all …]
|
| H A D | nsan_malloc_linux.cpp | 84 INTERCEPT_FUNCTION(aligned_alloc); in InitializeMallocInterceptors() 85 INTERCEPT_FUNCTION(calloc); in InitializeMallocInterceptors() 86 INTERCEPT_FUNCTION(free); in InitializeMallocInterceptors() 87 INTERCEPT_FUNCTION(malloc); in InitializeMallocInterceptors() 88 INTERCEPT_FUNCTION(posix_memalign); in InitializeMallocInterceptors() 89 INTERCEPT_FUNCTION(realloc); in InitializeMallocInterceptors() 91 INTERCEPT_FUNCTION(reallocarray); in InitializeMallocInterceptors() 95 INTERCEPT_FUNCTION(memalign); in InitializeMallocInterceptors() 96 INTERCEPT_FUNCTION(__libc_memalign); in InitializeMallocInterceptors()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/lsan/ |
| H A D | lsan_interceptors.cpp | 96 # define LSAN_MAYBE_INTERCEPT_FREE_SIZED INTERCEPT_FUNCTION(free_sized) 111 INTERCEPT_FUNCTION(free_aligned_sized) 160 #define LSAN_MAYBE_INTERCEPT_MEMALIGN INTERCEPT_FUNCTION(memalign) 171 #define LSAN_MAYBE_INTERCEPT___LIBC_MEMALIGN INTERCEPT_FUNCTION(__libc_memalign) 182 #define LSAN_MAYBE_INTERCEPT_ALIGNED_ALLOC INTERCEPT_FUNCTION(aligned_alloc) 193 INTERCEPT_FUNCTION(malloc_usable_size) 208 #define LSAN_MAYBE_INTERCEPT_MALLINFO INTERCEPT_FUNCTION(mallinfo) 213 #define LSAN_MAYBE_INTERCEPT_MALLOPT INTERCEPT_FUNCTION(mallopt) 225 #define LSAN_MAYBE_INTERCEPT_PVALLOC INTERCEPT_FUNCTION(pvalloc) 232 #define LSAN_MAYBE_INTERCEPT_CFREE INTERCEPT_FUNCTION(cfree) [all …]
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/tysan/ |
| H A D | tysan_interceptors.cpp | 159 #define TYSAN_MAYBE_INTERCEPT_MEMALIGN INTERCEPT_FUNCTION(memalign) 172 INTERCEPT_FUNCTION(__libc_memalign) 184 #define TYSAN_MAYBE_INTERCEPT_PVALLOC INTERCEPT_FUNCTION(pvalloc) 196 #define TYSAN_MAYBE_INTERCEPT_ALIGNED_ALLOC INTERCEPT_FUNCTION(aligned_alloc) 219 INTERCEPT_FUNCTION(mmap); in InitializeInterceptors() 221 INTERCEPT_FUNCTION(mmap64); in InitializeInterceptors() 223 INTERCEPT_FUNCTION(strdup); in InitializeInterceptors() 225 INTERCEPT_FUNCTION(__strdup); in InitializeInterceptors() 228 INTERCEPT_FUNCTION(malloc); in InitializeInterceptors() 229 INTERCEPT_FUNCTION(calloc); in InitializeInterceptors() [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) 190 #define MSAN_MAYBE_INTERCEPT___LIBC_MEMALIGN INTERCEPT_FUNCTION(__libc_memalign) 205 #define MSAN_MAYBE_INTERCEPT_PVALLOC INTERCEPT_FUNCTION(pvalloc) 228 # define MSAN_MAYBE_INTERCEPT_FREE_SIZED INTERCEPT_FUNCTION(free_sized) 243 INTERCEPT_FUNCTION(free_aligned_sized) 257 # define MSAN_MAYBE_INTERCEPT_CFREE INTERCEPT_FUNCTION(cfree) 267 INTERCEPT_FUNCTION(malloc_usable_size) 289 # define MSAN_MAYBE_INTERCEPT_MALLINFO INTERCEPT_FUNCTION(mallinfo) [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 | 342 #define TSAN_INTERCEPT(func) INTERCEPT_FUNCTION(func) 344 # define TSAN_INTERCEPT_VER(func, ver) INTERCEPT_FUNCTION(func) 350 INTERCEPT_FUNCTION(_pthread_##func) 356 INTERCEPT_FUNCTION(__libc_##func) 358 INTERCEPT_FUNCTION(__libc_thr_##func) 763 # define TSAN_MAYBE_INTERCEPT_FREE_SIZED INTERCEPT_FUNCTION(free_sized) 781 INTERCEPT_FUNCTION(free_aligned_sized) 2521 (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 | 382 # define INTERCEPT_FUNCTION(func) INTERCEPT_FUNCTION_AIX(func) macro 389 # define INTERCEPT_FUNCTION(func) INTERCEPT_FUNCTION_LINUX_OR_FREEBSD(func) macro 394 # define INTERCEPT_FUNCTION(func) INTERCEPT_FUNCTION_MAC(func) macro 399 # define INTERCEPT_FUNCTION(func) INTERCEPT_FUNCTION_WIN(func) macro
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/asan/ |
| H A D | asan_interceptors.h | 137 if (!INTERCEPT_FUNCTION(name)) \ 148 if (!INTERCEPT_FUNCTION_VER(name, ver) && !INTERCEPT_FUNCTION(name)) \
|
| /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/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()
|