| /freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/lsan/ |
| D | lsan_interceptors.cpp | 54 INTERCEPTOR(void*, malloc, uptr size) { in INTERCEPTOR() function 60 INTERCEPTOR(void, free, void *p) { in INTERCEPTOR() function 65 INTERCEPTOR(void*, calloc, uptr nmemb, uptr size) { in INTERCEPTOR() function 86 INTERCEPTOR(void*, realloc, void *q, uptr size) { in INTERCEPTOR() function 92 INTERCEPTOR(void*, reallocarray, void *q, uptr nmemb, uptr size) { in INTERCEPTOR() function 98 INTERCEPTOR(int, posix_memalign, void **memptr, uptr alignment, uptr size) { in INTERCEPTOR() function 104 INTERCEPTOR(void*, valloc, uptr size) { in INTERCEPTOR() function 112 INTERCEPTOR(void*, memalign, uptr alignment, uptr size) { in INTERCEPTOR() function 123 INTERCEPTOR(void *, __libc_memalign, uptr alignment, uptr size) { in INTERCEPTOR() function 136 INTERCEPTOR(void*, aligned_alloc, uptr alignment, uptr size) { in INTERCEPTOR() function [all …]
|
| D | lsan_mac.cpp | 111 INTERCEPTOR(void, dispatch_x_f, dispatch_queue_t dq, void *ctxt, \ 122 INTERCEPTOR(void, dispatch_after_f, dispatch_time_t when, dispatch_queue_t dq, in INTERCEPT_DISPATCH_X_F_3() 129 INTERCEPTOR(void, dispatch_group_async_f, dispatch_group_t group, in INTERCEPTOR() function 157 INTERCEPTOR(void, dispatch_async, dispatch_queue_t dq, void (^work)(void)) { 162 INTERCEPTOR(void, dispatch_group_async, dispatch_group_t dg, 168 INTERCEPTOR(void, dispatch_after, dispatch_time_t when, dispatch_queue_t queue, 174 INTERCEPTOR(void, dispatch_source_set_cancel_handler, dispatch_source_t ds, 184 INTERCEPTOR(void, dispatch_source_set_event_handler, dispatch_source_t ds,
|
| /freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/tsan/dd/ |
| D | dd_interceptors.cpp | 43 INTERCEPTOR(int, pthread_mutex_destroy, pthread_mutex_t *m) { in INTERCEPTOR() function 49 INTERCEPTOR(int, pthread_mutex_lock, pthread_mutex_t *m) { in INTERCEPTOR() function 57 INTERCEPTOR(int, pthread_mutex_trylock, pthread_mutex_t *m) { in INTERCEPTOR() function 65 INTERCEPTOR(int, pthread_mutex_unlock, pthread_mutex_t *m) { in INTERCEPTOR() function 71 INTERCEPTOR(int, pthread_spin_destroy, pthread_spinlock_t *m) { in INTERCEPTOR() function 78 INTERCEPTOR(int, pthread_spin_lock, pthread_spinlock_t *m) { in INTERCEPTOR() function 86 INTERCEPTOR(int, pthread_spin_trylock, pthread_spinlock_t *m) { in INTERCEPTOR() function 94 INTERCEPTOR(int, pthread_spin_unlock, pthread_spinlock_t *m) { in INTERCEPTOR() function 100 INTERCEPTOR(int, pthread_rwlock_destroy, pthread_rwlock_t *m) { in INTERCEPTOR() function 106 INTERCEPTOR(int, pthread_rwlock_rdlock, pthread_rwlock_t *m) { in INTERCEPTOR() function [all …]
|
| /freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/dfsan/ |
| D | dfsan_interceptors.cpp | 35 INTERCEPTOR(void *, reallocarray, void *ptr, SIZE_T nmemb, SIZE_T size) { in INTERCEPTOR() function 39 INTERCEPTOR(void *, __libc_memalign, SIZE_T alignment, SIZE_T size) { in INTERCEPTOR() function 46 INTERCEPTOR(void *, aligned_alloc, SIZE_T alignment, SIZE_T size) { in INTERCEPTOR() function 67 INTERCEPTOR(void *, calloc, SIZE_T nmemb, SIZE_T size) { in INTERCEPTOR() function 74 INTERCEPTOR(void *, realloc, void *ptr, SIZE_T size) { in INTERCEPTOR() function 91 INTERCEPTOR(void *, malloc, SIZE_T size) { in INTERCEPTOR() function 98 INTERCEPTOR(void, free, void *ptr) { in INTERCEPTOR() function 104 INTERCEPTOR(void, cfree, void *ptr) { in INTERCEPTOR() function 110 INTERCEPTOR(int, posix_memalign, void **memptr, SIZE_T alignment, SIZE_T size) { in INTERCEPTOR() function 118 INTERCEPTOR(void *, memalign, SIZE_T alignment, SIZE_T size) { in INTERCEPTOR() function [all …]
|
| /freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/msan/ |
| D | msan_interceptors.cpp | 134 INTERCEPTOR(SIZE_T, fread_unlocked, void *ptr, SIZE_T size, SIZE_T nmemb, in INTERCEPTOR() function 148 INTERCEPTOR(void *, mempcpy, void *dest, const void *src, SIZE_T n) { in INTERCEPTOR() function 156 INTERCEPTOR(void *, memccpy, void *dest, const void *src, int c, SIZE_T n) { in INTERCEPTOR() function 166 INTERCEPTOR(void *, bcopy, const void *src, void *dest, SIZE_T n) { in INTERCEPTOR() function 170 INTERCEPTOR(int, posix_memalign, void **memptr, SIZE_T alignment, SIZE_T size) { in INTERCEPTOR() function 180 INTERCEPTOR(void *, memalign, SIZE_T alignment, SIZE_T size) { in INTERCEPTOR() function 189 INTERCEPTOR(void *, aligned_alloc, SIZE_T alignment, SIZE_T size) { in INTERCEPTOR() function 195 INTERCEPTOR(void *, __libc_memalign, SIZE_T alignment, SIZE_T size) { in INTERCEPTOR() function 207 INTERCEPTOR(void *, valloc, SIZE_T size) { in INTERCEPTOR() function 213 INTERCEPTOR(void *, pvalloc, SIZE_T size) { in INTERCEPTOR() function [all …]
|
| /freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/memprof/ |
| D | memprof_malloc_linux.cpp | 104 INTERCEPTOR(void, free, void *ptr) { in INTERCEPTOR() function 114 INTERCEPTOR(void, cfree, void *ptr) { in INTERCEPTOR() function 122 INTERCEPTOR(void *, malloc, uptr size) { in INTERCEPTOR() function 131 INTERCEPTOR(void *, calloc, uptr nmemb, uptr size) { in INTERCEPTOR() function 140 INTERCEPTOR(void *, realloc, void *ptr, uptr size) { in INTERCEPTOR() function 151 INTERCEPTOR(void *, reallocarray, void *ptr, uptr nmemb, uptr size) { in INTERCEPTOR() function 159 INTERCEPTOR(void *, memalign, uptr boundary, uptr size) { in INTERCEPTOR() function 164 INTERCEPTOR(void *, __libc_memalign, uptr boundary, uptr size) { in INTERCEPTOR() function 173 INTERCEPTOR(void *, aligned_alloc, uptr boundary, uptr size) { in INTERCEPTOR() function 179 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { in INTERCEPTOR() function [all …]
|
| D | memprof_interceptors.cpp | 161 INTERCEPTOR(int, pthread_create, void *thread, void *attr, in INTERCEPTOR() function 192 INTERCEPTOR(int, pthread_join, void *t, void **arg) { in INTERCEPTOR() function 198 INTERCEPTOR(char *, index, const char *string, int c) 203 INTERCEPTOR(char *, strcat, char *to, const char *from) { in INTERCEPTOR() function 215 INTERCEPTOR(char *, strncat, char *to, const char *from, uptr size) { in INTERCEPTOR() function 228 INTERCEPTOR(char *, strcpy, char *to, const char *from) { in INTERCEPTOR() function 241 INTERCEPTOR(char *, strdup, const char *s) { in INTERCEPTOR() function 255 INTERCEPTOR(char *, __strdup, const char *s) { in INTERCEPTOR() function 269 INTERCEPTOR(char *, strncpy, char *to, const char *from, uptr size) { in INTERCEPTOR() function 279 INTERCEPTOR(long, strtol, const char *nptr, char **endptr, int base) { in INTERCEPTOR() function [all …]
|
| /freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/asan/ |
| D | asan_malloc_linux.cpp | 106 INTERCEPTOR(void, free, void *ptr) { in INTERCEPTOR() function 116 INTERCEPTOR(void, cfree, void *ptr) { in INTERCEPTOR() function 124 INTERCEPTOR(void*, malloc, uptr size) { in INTERCEPTOR() function 133 INTERCEPTOR(void*, calloc, uptr nmemb, uptr size) { in INTERCEPTOR() function 142 INTERCEPTOR(void*, realloc, void *ptr, uptr size) { in INTERCEPTOR() function 153 INTERCEPTOR(void*, reallocarray, void *ptr, uptr nmemb, uptr size) { in INTERCEPTOR() function 161 INTERCEPTOR(void*, memalign, uptr boundary, uptr size) { in INTERCEPTOR() function 166 INTERCEPTOR(void*, __libc_memalign, uptr boundary, uptr size) { in INTERCEPTOR() function 175 INTERCEPTOR(void*, aligned_alloc, uptr boundary, uptr size) { in INTERCEPTOR() function 181 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { in INTERCEPTOR() function [all …]
|
| D | asan_interceptors.cpp | 201 INTERCEPTOR(int, pthread_create, void *thread, in INTERCEPTOR() function 236 INTERCEPTOR(int, pthread_join, void *t, void **arg) { in INTERCEPTOR() function 256 INTERCEPTOR(int, swapcontext, struct ucontext_t *oucp, in INTERCEPTOR() function 292 INTERCEPTOR(void, longjmp, void *env, int val) { in INTERCEPTOR() function 298 INTERCEPTOR(void, _longjmp, void *env, int val) { in INTERCEPTOR() function 305 INTERCEPTOR(void, __longjmp_chk, void *env, int val) { in INTERCEPTOR() function 312 INTERCEPTOR(void, siglongjmp, void *env, int val) { in INTERCEPTOR() function 319 INTERCEPTOR(void, __cxa_throw, void *a, void *b, void *c) { in INTERCEPTOR() function 327 INTERCEPTOR(void, __cxa_rethrow_primary_exception, void *a) { in INTERCEPTOR() function 335 INTERCEPTOR(_Unwind_Reason_Code, _Unwind_RaiseException, in INTERCEPTOR() function [all …]
|
| D | asan_new_delete.cpp | 119 INTERCEPTOR(void *, _Znwm, size_t size) { in INTERCEPTOR() function 122 INTERCEPTOR(void *, _Znam, size_t size) { in INTERCEPTOR() function 125 INTERCEPTOR(void *, _ZnwmRKSt9nothrow_t, size_t size, std::nothrow_t const&) { in INTERCEPTOR() function 128 INTERCEPTOR(void *, _ZnamRKSt9nothrow_t, size_t size, std::nothrow_t const&) { in INTERCEPTOR() function 188 INTERCEPTOR(void, _ZdlPv, void *ptr) in INTERCEPTOR() function 190 INTERCEPTOR(void, _ZdaPv, void *ptr) in INTERCEPTOR() function 192 INTERCEPTOR(void, _ZdlPvRKSt9nothrow_t, void *ptr, std::nothrow_t const&) in INTERCEPTOR() function 194 INTERCEPTOR(void, _ZdaPvRKSt9nothrow_t, void *ptr, std::nothrow_t const&) in INTERCEPTOR() function
|
| D | asan_mac.cpp | 194 INTERCEPTOR(void, dispatch_x_f, dispatch_queue_t dq, void *ctxt, \ 211 INTERCEPTOR(void, dispatch_after_f, dispatch_time_t when, in INTERCEPT_DISPATCH_X_F_3() 224 INTERCEPTOR(void, dispatch_group_async_f, dispatch_group_t group, in INTERCEPTOR() function 259 INTERCEPTOR(void, dispatch_async, 266 INTERCEPTOR(void, dispatch_group_async, 273 INTERCEPTOR(void, dispatch_after, 280 INTERCEPTOR(void, dispatch_source_set_cancel_handler, 291 INTERCEPTOR(void, dispatch_source_set_event_handler,
|
| D | asan_win.cpp | 117 INTERCEPTOR(int, _except_handler3, void *a, void *b, void *c, void *d) { in INTERCEPTOR() function 127 INTERCEPTOR(int, _except_handler4, void *a, void *b, void *c, void *d) { in INTERCEPTOR() function
|
| D | asan_win_dll_thunk.cpp | 96 INTERCEPTOR(int, _except_handler4, void *a, void *b, void *c, void *d) { in INTERCEPTOR() function
|
| /freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| D | sanitizer_common_interceptors.inc | 378 INTERCEPTOR(SIZE_T, strlen, const char *s) { 398 INTERCEPTOR(SIZE_T, strnlen, const char *s, SIZE_T maxlen) { 412 INTERCEPTOR(char*, strndup, const char *s, uptr size) { 422 INTERCEPTOR(char*, __strndup, const char *s, uptr size) { 432 INTERCEPTOR(char*, textdomain, const char *domainname) { 455 INTERCEPTOR(int, strcmp, const char *s1, const char *s2) { 479 INTERCEPTOR(int, strncmp, const char *s1, const char *s2, uptr size) { 522 INTERCEPTOR(int, strcasecmp, const char *s1, const char *s2) { 544 INTERCEPTOR(int, strncasecmp, const char *s1, const char *s2, SIZE_T size) { 590 INTERCEPTOR(char*, strstr, const char *s1, const char *s2) { [all …]
|
| D | sanitizer_malloc_mac.inc | 55 INTERCEPTOR(malloc_zone_t *, malloc_create_zone, 72 INTERCEPTOR(void, malloc_destroy_zone, malloc_zone_t *zone) { 85 INTERCEPTOR(malloc_zone_t *, malloc_default_zone, void) { 90 INTERCEPTOR(malloc_zone_t *, malloc_zone_from_ptr, const void *ptr) { 99 INTERCEPTOR(malloc_zone_t *, malloc_default_purgeable_zone, void) { 106 INTERCEPTOR(void, malloc_make_purgeable, void *ptr) { 112 INTERCEPTOR(int, malloc_make_nonpurgeable, void *ptr) { 121 INTERCEPTOR(void, malloc_set_zone_name, malloc_zone_t *zone, const char *name) { 134 INTERCEPTOR(void *, malloc, size_t size) { 140 INTERCEPTOR(void, free, void *ptr) { [all …]
|
| D | sanitizer_common_interceptors_netbsd_compat.inc | 33 INTERCEPTOR(int, statvfs, char *path, void *buf) { 45 INTERCEPTOR(int, fstatvfs, int fd, void *buf) { 68 INTERCEPTOR(int, __getmntinfo13, void **mntbufp, int flags) { 85 INTERCEPTOR(int, getvfsstat, void *buf, SIZE_T bufsize, int flags) { 99 INTERCEPTOR(int, statvfs1, const char *path, void *buf, int flags) { 108 INTERCEPTOR(int, fstatvfs1, int fd, void *buf, int flags) {
|
| D | sanitizer_signal_interceptors.inc | 37 INTERCEPTOR(uptr, bsd_signal, int signum, uptr handler) { 47 INTERCEPTOR(uptr, signal, int signum, uptr handler) { 54 INTERCEPTOR(int, sigaction_symname, int signum,
|
| /freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/hwasan/ |
| D | hwasan_interceptors.cpp | 40 INTERCEPTOR(int, pthread_create, void *th, void *attr, void *(*callback)(void*), in INTERCEPTOR() function 105 INTERCEPTOR(void, siglongjmp, __hw_sigjmp_buf env, int val) { in INTERCEPTOR() function 116 INTERCEPTOR(void, __libc_longjmp, __hw_jmp_buf env, int val) { in INTERCEPTOR() function 120 INTERCEPTOR(void, longjmp, __hw_jmp_buf env, int val) { in INTERCEPTOR() function 136 INTERCEPTOR(int, fork, void) { in INTERCEPTOR() function
|
| /freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/interception/ |
| D | interception.h | 211 #define INTERCEPTOR(ret_type, func, ...) \ macro 218 #define INTERCEPTOR(ret_type, func, ...) \ macro 227 INTERCEPTOR(ret_type, func, __VA_ARGS__) 237 #define INTERCEPTOR(ret_type, func, ...) \ macro
|
| /freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
| D | tsan_interceptors.h | 58 #define TSAN_INTERCEPTOR(ret, func, ...) INTERCEPTOR(ret, func, __VA_ARGS__)
|
| D | tsan_interceptors_posix.cpp | 1170 INTERCEPTOR(int, pthread_cond_init, void *c, void *a) { in INTERCEPTOR() function 1201 INTERCEPTOR(int, pthread_cond_wait, void *c, void *m) { in INTERCEPTOR() function 1209 INTERCEPTOR(int, pthread_cond_timedwait, void *c, void *m, void *abstime) { in INTERCEPTOR() function 1219 INTERCEPTOR(int, pthread_cond_clockwait, void *c, void *m, in INTERCEPTOR() function 1234 INTERCEPTOR(int, pthread_cond_timedwait_relative_np, void *c, void *m, in INTERCEPTOR() function 1247 INTERCEPTOR(int, pthread_cond_signal, void *c) { in INTERCEPTOR() function 1254 INTERCEPTOR(int, pthread_cond_broadcast, void *c) { in INTERCEPTOR() function 1261 INTERCEPTOR(int, pthread_cond_destroy, void *c) { in INTERCEPTOR() function
|
| /freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/cfi/ |
| D | cfi.cpp | 423 INTERCEPTOR(void*, dlopen, const char *filename, int flag) { in INTERCEPTOR() function 431 INTERCEPTOR(int, dlclose, void *handle) { in INTERCEPTOR() function
|
| /freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/safestack/ |
| D | safestack.cpp | 208 INTERCEPTOR(int, pthread_create, pthread_t *thread, in INTERCEPTOR() function
|