| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/lsan/ |
| H A D | lsan_interceptors.cpp | 54 INTERCEPTOR(void*, malloc, uptr size) { in INTERCEPTOR() function 60 INTERCEPTOR(void, free, void *p) { in INTERCEPTOR() function 104 INTERCEPTOR(void*, valloc, uptr size) { in INTERCEPTOR() function 179 INTERCEPTOR(void*, pvalloc, uptr size) { in INTERCEPTOR() function 205 INTERCEPTOR(int, mprobe, void *ptr) { in INTERCEPTOR() function 296 INTERCEPTOR(void *, _Znwm, size_t size) in INTERCEPTOR() function 298 INTERCEPTOR(void *, _Znam, size_t size) in INTERCEPTOR() function 305 INTERCEPTOR(void, _ZdlPv, void *ptr) in INTERCEPTOR() function 307 INTERCEPTOR(void, _ZdaPv, void *ptr) in INTERCEPTOR() function 336 INTERCEPTOR(void, _lwp_exit) { in INTERCEPTOR() function [all …]
|
| H A 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-13.1/contrib/llvm-project/compiler-rt/lib/tsan/dd/ |
| H A 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 94 INTERCEPTOR(int, pthread_spin_unlock, pthread_spinlock_t *m) { in INTERCEPTOR() function 106 INTERCEPTOR(int, pthread_rwlock_rdlock, pthread_rwlock_t *m) { in INTERCEPTOR() function 176 INTERCEPTOR(int, pthread_cond_init, pthread_cond_t *c, in INTERCEPTOR() function 204 INTERCEPTOR(int, pthread_cond_signal, pthread_cond_t *c) { in INTERCEPTOR() function [all …]
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/dfsan/ |
| H A D | dfsan_interceptors.cpp | 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 124 INTERCEPTOR(void *, pvalloc, SIZE_T size) { in INTERCEPTOR() function 133 INTERCEPTOR(int, mallopt, int cmd, int value) { return 0; } in INTERCEPTOR() function 135 INTERCEPTOR(void, malloc_stats, void) { in INTERCEPTOR() function 139 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { in INTERCEPTOR() function 185 INTERCEPTOR(int, munmap, void *addr, SIZE_T length) { in INTERCEPTOR() function [all …]
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/memprof/ |
| H A 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 159 INTERCEPTOR(void *, memalign, uptr boundary, uptr size) { in INTERCEPTOR() function 179 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { in INTERCEPTOR() function 194 INTERCEPTOR(struct fake_mallinfo, mallinfo, void) { in INTERCEPTOR() function 200 INTERCEPTOR(int, mallopt, int cmd, int value) { return 0; } in INTERCEPTOR() function 210 INTERCEPTOR(void *, valloc, uptr size) { in INTERCEPTOR() function [all …]
|
| H A 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 289 INTERCEPTOR(int, atoi, const char *nptr) { in INTERCEPTOR() function 304 INTERCEPTOR(long, atol, const char *nptr) { in INTERCEPTOR() function [all …]
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/msan/ |
| H A D | msan_interceptors.cpp | 207 INTERCEPTOR(void *, valloc, SIZE_T size) { in INTERCEPTOR() function 222 INTERCEPTOR(void, free, void *ptr) { in INTERCEPTOR() function 229 INTERCEPTOR(void, cfree, void *ptr) { in INTERCEPTOR() function 278 INTERCEPTOR(void, malloc_stats, void) { in INTERCEPTOR() function 323 INTERCEPTOR(char *, strdup, char *src) { in INTERCEPTOR() function 336 INTERCEPTOR(char *, __strdup, char *src) { in INTERCEPTOR() function 623 INTERCEPTOR(char *, getenv, char *name) { in INTERCEPTOR() function 652 INTERCEPTOR(int, putenv, char *string) { in INTERCEPTOR() function 730 INTERCEPTOR(int, pipe, int pipefd[2]) { in INTERCEPTOR() function 1078 INTERCEPTOR(void, tzset, int fake) { in INTERCEPTOR() function [all …]
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/asan/ |
| H A 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 181 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { in INTERCEPTOR() function 196 INTERCEPTOR(struct fake_mallinfo, mallinfo, void) { in INTERCEPTOR() function 202 INTERCEPTOR(int, mallopt, int cmd, int value) { in INTERCEPTOR() function 214 INTERCEPTOR(void*, valloc, uptr size) { in INTERCEPTOR() function 220 INTERCEPTOR(void*, pvalloc, uptr size) { in INTERCEPTOR() function [all …]
|
| H A D | asan_interceptors.cpp | 201 INTERCEPTOR(int, pthread_create, void *thread, 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 312 INTERCEPTOR(void, siglongjmp, void *env, int val) { in INTERCEPTOR() function 354 INTERCEPTOR(char*, index, const char *string, int c) 430 INTERCEPTOR(char*, strdup, const char *s) { in INTERCEPTOR() function 446 INTERCEPTOR(char*, __strdup, const char *s) { in INTERCEPTOR() function 488 INTERCEPTOR(int, atoi, const char *nptr) { in INTERCEPTOR() function 509 INTERCEPTOR(long, atol, const char *nptr) { in INTERCEPTOR() function 540 INTERCEPTOR(long long, atoll, const char *nptr) { in INTERCEPTOR() function [all …]
|
| H A 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
|
| H A 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,
|
| H A 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
|
| H A D | asan_win_dll_thunk.cpp | 96 INTERCEPTOR(int, _except_handler4, void *a, void *b, void *c, void *d) { in INTERCEPTOR() function
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_common_interceptors.inc | 1278 INTERCEPTOR(int, puts, char *s) { 4232 INTERCEPTOR(void, _exit, int status) { 4858 INTERCEPTOR(char *, tmpnam, char *s) { 4895 INTERCEPTOR(char *, ptsname, int fd) { 4923 INTERCEPTOR(char *, ttyname, int fd) { 6400 INTERCEPTOR(int, munlockall, void) { 6958 INTERCEPTOR(int, mprobe, void *ptr) { 8336 INTERCEPTOR(bool, cap_rights_is_set, 9464 INTERCEPTOR(void *, getfsent) { 9793 INTERCEPTOR(char *, getusershell) { [all …]
|
| H A 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) { 106 INTERCEPTOR(void, malloc_make_purgeable, void *ptr) { 112 INTERCEPTOR(int, malloc_make_nonpurgeable, void *ptr) { 134 INTERCEPTOR(void *, malloc, size_t size) { 140 INTERCEPTOR(void, free, void *ptr) { 146 INTERCEPTOR(void *, realloc, void *ptr, size_t size) { 152 INTERCEPTOR(void *, calloc, size_t nmemb, size_t size) { 158 INTERCEPTOR(void *, valloc, size_t size) { [all …]
|
| H A 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) {
|
| H A 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-13.1/contrib/llvm-project/compiler-rt/lib/hwasan/ |
| H A 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-13.1/contrib/llvm-project/compiler-rt/lib/interception/ |
| H A 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-13.1/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_interceptors.h | 58 #define TSAN_INTERCEPTOR(ret, func, ...) INTERCEPTOR(ret, func, __VA_ARGS__)
|
| H A 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-13.1/contrib/llvm-project/compiler-rt/lib/cfi/ |
| H A 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-13.1/contrib/llvm-project/compiler-rt/lib/safestack/ |
| H A D | safestack.cpp | 208 INTERCEPTOR(int, pthread_create, pthread_t *thread, in INTERCEPTOR() function
|