/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_interceptors_posix.cpp | 1140 INTERCEPTOR(int, pthread_cond_init, void *c, void *a) { function 1167 INTERCEPTOR(int, pthread_cond_wait, void *c, void *m) { function 1175 INTERCEPTOR(int, pthread_cond_timedwait, void *c, void *m, void *abstime) { function 1183 INTERCEPTOR(int, pthread_cond_timedwait_relative_np, void *c, void *m, function 1192 INTERCEPTOR(int, pthread_cond_signal, void *c) { function 1199 INTERCEPTOR(int, pthread_cond_broadcast, void *c) { function 1206 INTERCEPTOR(int, pthread_cond_destroy, void *c) { function
|
H A D | tsan_interceptors.h | 58 #define TSAN_INTERCEPTOR(ret, func, ...) INTERCEPTOR(ret, func, __VA_ARGS__)
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/tsan/dd/ |
H A D | dd_interceptors.cpp | 42 INTERCEPTOR(int, pthread_mutex_destroy, pthread_mutex_t *m) { function 48 INTERCEPTOR(int, pthread_mutex_lock, pthread_mutex_t *m) { function 56 INTERCEPTOR(int, pthread_mutex_trylock, pthread_mutex_t *m) { function 64 INTERCEPTOR(int, pthread_mutex_unlock, pthread_mutex_t *m) { function 70 INTERCEPTOR(int, pthread_spin_destroy, pthread_spinlock_t *m) { function 77 INTERCEPTOR(int, pthread_spin_lock, pthread_spinlock_t *m) { function 85 INTERCEPTOR(int, pthread_spin_trylock, pthread_spinlock_t *m) { function 93 INTERCEPTOR(int, pthread_spin_unlock, pthread_spinlock_t *m) { function 99 INTERCEPTOR(int, pthread_rwlock_destroy, pthread_rwlock_t *m) { function 105 INTERCEPTOR(in function 113 INTERCEPTOR(int, pthread_rwlock_tryrdlock, pthread_rwlock_t *m) { function 121 INTERCEPTOR(int, pthread_rwlock_timedrdlock, pthread_rwlock_t *m, function 130 INTERCEPTOR(int, pthread_rwlock_wrlock, pthread_rwlock_t *m) { function 138 INTERCEPTOR(int, pthread_rwlock_trywrlock, pthread_rwlock_t *m) { function 146 INTERCEPTOR(int, pthread_rwlock_timedwrlock, pthread_rwlock_t *m, function 155 INTERCEPTOR(int, pthread_rwlock_unlock, pthread_rwlock_t *m) { function 175 INTERCEPTOR(int, pthread_cond_init, pthread_cond_t *c, function 182 INTERCEPTOR(int, pthread_cond_wait, pthread_cond_t *c, pthread_mutex_t *m) { function 192 INTERCEPTOR(int, pthread_cond_timedwait, pthread_cond_t *c, pthread_mutex_t *m, function 203 INTERCEPTOR(int, pthread_cond_signal, pthread_cond_t *c) { function 209 INTERCEPTOR(int, pthread_cond_broadcast, pthread_cond_t *c) { function 215 INTERCEPTOR(int, pthread_cond_destroy, pthread_cond_t *c) { function 225 INTERCEPTOR(char*, realpath, const char *path, char *resolved_path) { function 230 INTERCEPTOR(SSIZE_T, read, int fd, void *ptr, SIZE_T count) { function 235 INTERCEPTOR(SSIZE_T, pread, int fd, void *ptr, SIZE_T count, OFF_T offset) { function [all...] |
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_common_interceptors.inc | 364 INTERCEPTOR(SIZE_T, strlen, const char *s) { 384 INTERCEPTOR(SIZE_T, strnlen, const char *s, SIZE_T maxlen) { 398 INTERCEPTOR(char*, strndup, const char *s, uptr size) { 408 INTERCEPTOR(char*, __strndup, const char *s, uptr size) { 418 INTERCEPTOR(char*, textdomain, const char *domainname) { 441 INTERCEPTOR(int, strcmp, const char *s1, const char *s2) { 463 INTERCEPTOR(int, strncmp, const char *s1, const char *s2, uptr size) { 506 INTERCEPTOR(int, strcasecmp, const char *s1, const char *s2) { 528 INTERCEPTOR(int, strncasecmp, const char *s1, const char *s2, SIZE_T size) { 574 INTERCEPTOR(cha [all...] |
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/safestack/ |
H A D | safestack.cpp | 208 INTERCEPTOR(int, pthread_create, pthread_t *thread, function in namespace:__anon1001
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/msan/ |
H A D | msan_interceptors.cpp | 133 INTERCEPTOR(SIZE_T, fread_unlocked, void *ptr, SIZE_T size, SIZE_T nmemb, function 147 INTERCEPTOR(void *, mempcpy, void *dest, const void *src, SIZE_T n) { function 155 INTERCEPTOR(void *, memccpy, void *dest, const void *src, int c, SIZE_T n) { function 165 INTERCEPTOR(void *, bcopy, const void *src, void *dest, SIZE_T n) { function 169 INTERCEPTOR(int, posix_memalign, void **memptr, SIZE_T alignment, SIZE_T size) { function 179 INTERCEPTOR(void *, memalign, SIZE_T alignment, SIZE_T size) { function 188 INTERCEPTOR(void *, aligned_alloc, SIZE_T alignment, SIZE_T size) { function 194 INTERCEPTOR(void *, __libc_memalign, SIZE_T alignment, SIZE_T size) { function 206 INTERCEPTOR(void *, valloc, SIZE_T size) { function 212 INTERCEPTOR(voi function 221 INTERCEPTOR(void, free, void *ptr) { function 228 INTERCEPTOR(void, cfree, void *ptr) { function 239 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { function 253 INTERCEPTOR(void, mallinfo, __sanitizer_struct_mallinfo *sret) { function 268 INTERCEPTOR(int, mallopt, int cmd, int value) { function 277 INTERCEPTOR(void, malloc_stats, void) { function 285 INTERCEPTOR(char *, strcpy, char *dest, const char *src) { function 295 INTERCEPTOR(char *, strncpy, char *dest, const char *src, SIZE_T n) { function 308 INTERCEPTOR(char *, stpcpy, char *dest, const char *src) { function 322 INTERCEPTOR(char *, strdup, char *src) { function 335 INTERCEPTOR(char *, __strdup, char *src) { function 350 INTERCEPTOR(char *, gcvt, double number, SIZE_T ndigit, char *buf) { function 362 INTERCEPTOR(char *, strcat, char *dest, const char *src) { function 374 INTERCEPTOR(char *, strncat, char *dest, const char *src, SIZE_T n) { function 471 INTERCEPTOR(int, vswprintf, void *str, uptr size, void *format, va_list ap) { function 480 INTERCEPTOR(int, swprintf, void *str, uptr size, void *format, ...) { function 496 INTERCEPTOR(SIZE_T, strftime, char *s, SIZE_T max, const char *format, function 501 INTERCEPTOR(SIZE_T, strftime_l, char *s, SIZE_T max, const char *format, function 507 INTERCEPTOR(SIZE_T, __strftime_l, char *s, SIZE_T max, const char *format, function 517 INTERCEPTOR(SIZE_T, wcsftime, wchar_t *s, SIZE_T max, const wchar_t *format, function 522 INTERCEPTOR(SIZE_T, wcsftime_l, wchar_t *s, SIZE_T max, const wchar_t *format, function 529 INTERCEPTOR(SIZE_T, __wcsftime_l, wchar_t *s, SIZE_T max, const wchar_t *format, function 539 INTERCEPTOR(int, mbtowc, wchar_t *dest, const char *src, SIZE_T n) { function 546 INTERCEPTOR(SIZE_T, mbrtowc, wchar_t *dest, const char *src, SIZE_T n, function 555 INTERCEPTOR(wchar_t *, wmemcpy, wchar_t *dest, const wchar_t *src, SIZE_T n) { function 564 INTERCEPTOR(wchar_t *, wmempcpy, wchar_t *dest, const wchar_t *src, SIZE_T n) { function 576 INTERCEPTOR(wchar_t *, wmemset, wchar_t *s, wchar_t c, SIZE_T n) { function 584 INTERCEPTOR(wchar_t *, wmemmove, wchar_t *dest, const wchar_t *src, SIZE_T n) { function 592 INTERCEPTOR(int, wcscmp, const wchar_t *s1, const wchar_t *s2) { function 598 INTERCEPTOR(int, gettimeofday, void *tv, void *tz) { function 609 INTERCEPTOR(char *, fcvt, double x, int a, int *b, int *c) { function 622 INTERCEPTOR(char *, getenv, char *name) { function 643 INTERCEPTOR(int, setenv, const char *name, const char *value, int overwrite) { function 651 INTERCEPTOR(int, putenv, char *string) { function 659 INTERCEPTOR(int, fstat, int fd, void *buf) { function 672 INTERCEPTOR(int, __fxstat, int magic, int fd, void *buf) { function 685 INTERCEPTOR(int, __fxstat64, int magic, int fd, void *buf) { function 698 INTERCEPTOR(int, fstatat, int fd, char *pathname, void *buf, int flags) { function 706 INTERCEPTOR(int, __fxstatat, int magic, int fd, char *pathname, void *buf, function 717 INTERCEPTOR(int, __fxstatat64, int magic, int fd, char *pathname, void *buf, function 729 INTERCEPTOR(int, pipe, int pipefd[2]) { function 739 INTERCEPTOR(int, pipe2, int pipefd[2], int flags) { function 747 INTERCEPTOR(int, socketpair, int domain, int type, int protocol, int sv[2]) { function 756 INTERCEPTOR(char *, fgets_unlocked, char *s, int size, void *stream) { function 777 INTERCEPTOR(int, getrlimit, int resource, void *rlim) { function 782 INTERCEPTOR(int, __getrlimit, int resource, void *rlim) { function 786 INTERCEPTOR(int, getrlimit64, int resource, void *rlim) { function 794 INTERCEPTOR(int, prlimit, int pid, int resource, void *new_rlimit, function 805 INTERCEPTOR(int, prlimit64, int pid, int resource, void *new_rlimit, function 832 INTERCEPTOR(int, __xuname, int size, void *utsname) { function 841 INTERCEPTOR(int, uname, struct utsname *utsname) { function 851 INTERCEPTOR(int, gethostname, char *name, SIZE_T len) { function 864 INTERCEPTOR(int, epoll_wait, int epfd, void *events, int maxevents, function 879 INTERCEPTOR(int, epoll_pwait, int epfd, void *events, int maxevents, function 893 INTERCEPTOR(void *, calloc, SIZE_T nmemb, SIZE_T size) { function 901 INTERCEPTOR(void *, realloc, void *ptr, SIZE_T size) { function 919 INTERCEPTOR(void *, reallocarray, void *ptr, SIZE_T nmemb, SIZE_T size) { function 924 INTERCEPTOR(void *, malloc, SIZE_T size) { function 969 INTERCEPTOR(int, getrusage, int who, void *usage) { function 1039 INTERCEPTOR(int, pthread_create, void *th, void *attr, void *(*callback)(void*), function 1062 INTERCEPTOR(int, pthread_key_create, __sanitizer_pthread_key_t *key, function 1078 INTERCEPTOR(int, pthread_join, void *th, void **retval) { function 1088 INTERCEPTOR(void, tzset, int fake) { function 1147 INTERCEPTOR(int, __cxa_atexit, void (*func)(void *), void *arg, function 1154 INTERCEPTOR(int, atexit, void (*func)()) { function 1194 INTERCEPTOR(int, fork, void) { function 1205 INTERCEPTOR(int, openpty, int *aparent, int *aworker, char *name, function 1224 INTERCEPTOR(int, forkpty, int *aparent, char *name, const void *termp, function 1444 INTERCEPTOR(int, dladdr, void *addr, dlinfo *info) { function 1458 INTERCEPTOR(char *, dlerror, int fake) { function 1487 INTERCEPTOR(void *, shmat, int shmid, const void *shmaddr, int shmflg) { function 1500 INTERCEPTOR(int, dl_iterate_phdr, dl_iterate_phdr_cb callback, void *data) { function 1511 INTERCEPTOR(wchar_t *, wcschr, void *s, wchar_t wc, void *ps) { function 1518 INTERCEPTOR(wchar_t *, wcscpy, wchar_t *dest, const wchar_t *src) { function 1527 INTERCEPTOR(wchar_t *, wcsncpy, wchar_t *dest, const wchar_t *src, SIZE_T n) { function [all...] |
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/lsan/ |
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, function 129 INTERCEPTOR(void, dispatch_group_async_f, dispatch_group_t group, function 157 INTERCEPTOR(void, dispatch_async, dispatch_queue_t dq, void (^work)(void)) { function 162 INTERCEPTOR(void, dispatch_group_async, dispatch_group_t dg, function 168 INTERCEPTOR(void, dispatch_after, dispatch_time_t when, dispatch_queue_t queue, function 174 INTERCEPTOR(void, dispatch_source_set_cancel_handler, dispatch_source_t ds, function 184 INTERCEPTOR(void, dispatch_source_set_event_handler, dispatch_source_t ds, function
|
H A D | lsan_interceptors.cpp | 52 INTERCEPTOR(void*, malloc, uptr size) { 58 INTERCEPTOR(void, free, void *p) { function in namespace:std 63 INTERCEPTOR(void*, calloc, uptr nmemb, uptr size) { function in namespace:std 80 INTERCEPTOR(void*, realloc, void *q, uptr size) { 86 INTERCEPTOR(void*, reallocarray, void *q, uptr nmemb, uptr size) { 92 INTERCEPTOR(int, posix_memalign, void **memptr, uptr alignment, uptr size) { 98 INTERCEPTOR(void*, valloc, uptr size) { 106 INTERCEPTOR(void*, memalign, uptr alignment, uptr size) { 113 INTERCEPTOR(void *, __libc_memalign, uptr alignment, uptr size) { 127 INTERCEPTOR(voi 327 INTERCEPTOR(void, _lwp_exit) { function 338 INTERCEPTOR(void, thr_exit, tid_t *state) { function 349 INTERCEPTOR(int, __cxa_atexit, void (*func)(void *), void *arg, function 360 INTERCEPTOR(int, atexit, void (*f)()) { function 375 INTERCEPTOR(int, pthread_atfork, void (*prepare)(), void (*parent)(), function 388 INTERCEPTOR(char *, strerror, int errnum) { function 425 INTERCEPTOR(int, pthread_create, void *th, void *attr, function 463 INTERCEPTOR(int, pthread_join, void *th, void **ret) { function 472 INTERCEPTOR(void, _exit, int status) { function [all...] |
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/interception/ |
H A D | interception.h | 39 // 1) define INTERCEPTOR(int, foo, const char *bar, double baz) { ... } in 51 // INTERCEPTOR(..., foo, ...) are in different files, you'll instead need to: 55 // Notes: 1. Things may not work properly if macro INTERCEPTOR(...) {...} or 60 // INTERCEPTOR(int, foo, const char *bar, double baz) {...} 201 // Generally, you don't need to use DEFINE_REAL by itself, as INTERCEPTOR 203 // without defining INTERCEPTOR(..., foo, ...). For example, if you override 220 #define INTERCEPTOR(ret_type, func, ...) \ macro 227 #define INTERCEPTOR(ret_type, func, ...) \ macro 236 INTERCEPTOR(ret_type, func, __VA_ARGS__) 246 #define INTERCEPTOR(ret_typ macro [all...] |
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/hwasan/ |
H A D | hwasan_interceptors.cpp | 218 INTERCEPTOR(int, pthread_create, void *th, void *attr, void *(*callback)(void*), function 284 INTERCEPTOR(void, siglongjmp, __hw_sigjmp_buf env, int val) { function 295 INTERCEPTOR(void, __libc_longjmp, __hw_jmp_buf env, int val) { function 299 INTERCEPTOR(void, longjmp, __hw_jmp_buf env, int val) { function 315 INTERCEPTOR(int, fork, void) { function
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/dfsan/ |
H A D | dfsan_interceptors.cpp | 20 INTERCEPTOR(void *, mmap, void *addr, SIZE_T length, int prot, int flags, function 28 INTERCEPTOR(void *, mmap64, void *addr, SIZE_T length, int prot, int flags, function
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_win_dll_thunk.cpp | 96 INTERCEPTOR(int, _except_handler4, void *a, void *b, void *c, void *d) { function
|
H A D | asan_win.cpp | 117 INTERCEPTOR(int, _except_handler3, void *a, void *b, void *c, void *d) { function 127 INTERCEPTOR(int, _except_handler4, void *a, void *b, void *c, void *d) { function
|
H A D | asan_new_delete.cpp | 123 INTERCEPTOR(void *, _Znwm, size_t size) { 126 INTERCEPTOR(void *, _Znam, size_t size) { 129 INTERCEPTOR(void *, _ZnwmRKSt9nothrow_t, size_t size, std::nothrow_t const&) { 132 INTERCEPTOR(void *, _ZnamRKSt9nothrow_t, size_t size, std::nothrow_t const&) { 196 INTERCEPTOR(void, _ZdlPv, void *ptr) function 198 INTERCEPTOR(void, _ZdaPv, void *ptr) function 200 INTERCEPTOR(void, _ZdlPvRKSt9nothrow_t, void *ptr, std::nothrow_t const&) function 202 INTERCEPTOR(void, _ZdaPvRKSt9nothrow_t, void *ptr, std::nothrow_t const&) function
|
H A D | asan_malloc_linux.cpp | 122 INTERCEPTOR(void, free, void *ptr) { function 132 INTERCEPTOR(void, cfree, void *ptr) { function 140 INTERCEPTOR(void*, malloc, uptr size) { function 149 INTERCEPTOR(void*, calloc, uptr nmemb, uptr size) { function 158 INTERCEPTOR(void*, realloc, void *ptr, uptr size) { function 169 INTERCEPTOR(void*, reallocarray, void *ptr, uptr nmemb, uptr size) { function 177 INTERCEPTOR(void*, memalign, uptr boundary, uptr size) { function 182 INTERCEPTOR(void*, __libc_memalign, uptr boundary, uptr size) { function 191 INTERCEPTOR(void*, aligned_alloc, uptr boundary, uptr size) { function 197 INTERCEPTOR(upt function 212 INTERCEPTOR(struct fake_mallinfo, mallinfo, void) { function 218 INTERCEPTOR(int, mallopt, int cmd, int value) { function 223 INTERCEPTOR(int, posix_memalign, void **memptr, uptr alignment, uptr size) { function 230 INTERCEPTOR(void*, valloc, uptr size) { function 236 INTERCEPTOR(void*, pvalloc, uptr size) { function 242 INTERCEPTOR(void, malloc_stats, void) { function [all...] |
H A D | asan_mac.cpp | 226 INTERCEPTOR(void, dispatch_x_f, dispatch_queue_t dq, void *ctxt, \ 243 INTERCEPTOR(void, dispatch_after_f, dispatch_time_t when, function 256 INTERCEPTOR(void, dispatch_group_async_f, dispatch_group_t group, function 291 INTERCEPTOR(void, dispatch_async, function 298 INTERCEPTOR(void, dispatch_group_async, function 305 INTERCEPTOR(void, dispatch_after, function 312 INTERCEPTOR(void, dispatch_source_set_cancel_handler, function 323 INTERCEPTOR(void, dispatch_source_set_event_handler, function
|
H A D | asan_interceptors.cpp | 208 INTERCEPTOR(int, pthread_create, void *thread, function 249 INTERCEPTOR(int, pthread_join, void *t, void **arg) { function 269 INTERCEPTOR(int, swapcontext, struct ucontext_t *oucp, function 305 INTERCEPTOR(void, longjmp, void *env, int val) { function 311 INTERCEPTOR(void, _longjmp, void *env, int val) { function 318 INTERCEPTOR(void, __longjmp_chk, void *env, int val) { function 325 INTERCEPTOR(void, siglongjmp, void *env, int val) { function 332 INTERCEPTOR(void, __cxa_throw, void *a, void *b, void *c) { function 340 INTERCEPTOR(void, __cxa_rethrow_primary_exception, void *a) { function 348 INTERCEPTOR(_Unwind_Reason_Cod function 357 INTERCEPTOR(_Unwind_Reason_Code, _Unwind_SjLj_RaiseException, function 381 INTERCEPTOR(char *, strcat, char *to, const char *from) { function 402 INTERCEPTOR(char*, strncat, char *to, const char *from, uptr size) { function 421 INTERCEPTOR(char *, strcpy, char *to, const char *from) { function 443 INTERCEPTOR(char*, strdup, const char *s) { function 459 INTERCEPTOR(char*, __strdup, const char *s) { function 475 INTERCEPTOR(char*, strncpy, char *to, const char *from, uptr size) { function 488 INTERCEPTOR(long, strtol, const char *nptr, char **endptr, int base) { function 501 INTERCEPTOR(int, atoi, const char *nptr) { function 522 INTERCEPTOR(long, atol, const char *nptr) { function 540 INTERCEPTOR(long long, strtoll, const char *nptr, char **endptr, int base) { function 553 INTERCEPTOR(long long, atoll, const char *nptr) { function 576 INTERCEPTOR(int, __cxa_atexit, void (*func)(void *), void *arg, function 592 INTERCEPTOR(int, atexit, void (*func)()) { function 610 INTERCEPTOR(int, pthread_atfork, void (*prepare)(), void (*parent)(), function [all...] |
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/cfi/ |
H A D | cfi.cpp | 423 INTERCEPTOR(void*, dlopen, const char *filename, int flag) { function 431 INTERCEPTOR(int, dlclose, void *handle) { function
|