/llvm-project/compiler-rt/lib/memprof/ |
H A D | memprof_malloc_linux.cpp | 37 INTERCEPTOR(void, free, void *ptr) { in INTERCEPTOR() function 45 INTERCEPTOR(void, cfree, void *ptr) { in INTERCEPTOR() function 53 INTERCEPTOR(void *, malloc, uptr size) { in INTERCEPTOR() function 61 INTERCEPTOR(void *, calloc, uptr nmemb, uptr size) { in INTERCEPTOR() function 69 INTERCEPTOR(void *, realloc, void *ptr, uptr size) { in INTERCEPTOR() function 78 INTERCEPTOR(void *, reallocarray, void *ptr, uptr nmemb, uptr size) { in INTERCEPTOR() function 86 INTERCEPTOR(void *, memalign, uptr boundary, uptr size) { in INTERCEPTOR() function 91 INTERCEPTOR(void *, __libc_memalign, uptr boundary, uptr size) { in INTERCEPTOR() function 100 INTERCEPTOR(void *, aligned_alloc, uptr boundary, uptr size) { INTERCEPTOR() function 106 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { INTERCEPTOR() function 119 INTERCEPTOR(struct fake_mallinfo, mallinfo, void) { INTERCEPTOR() function 125 INTERCEPTOR(int, mallopt, int cmd, int value) { return 0; } INTERCEPTOR() function 128 INTERCEPTOR(int, posix_memalign, void **memptr, uptr alignment, uptr size) { INTERCEPTOR() function 133 INTERCEPTOR(void *, valloc, uptr size) { INTERCEPTOR() function 139 INTERCEPTOR(void *, pvalloc, uptr size) { INTERCEPTOR() function 145 INTERCEPTOR(void, malloc_stats, void) { __memprof_print_accumulated_stats(); } INTERCEPTOR() function [all...] |
H A D | memprof_interceptors.cpp | 134 INTERCEPTOR(int, pthread_create, void *thread, void *attr, in INTERCEPTOR() function 165 INTERCEPTOR(int, pthread_join, void *t, void **arg) { in INTERCEPTOR() function 176 INTERCEPTOR(char *, strcat, char *to, const char *from) { in INTERCEPTOR() function 188 INTERCEPTOR(char *, strncat, char *to, const char *from, usize size) { in INTERCEPTOR() function 201 INTERCEPTOR(char *, strcpy, char *to, const char *from) { in INTERCEPTOR() function 214 INTERCEPTOR(char *, strdup, const char *s) { in INTERCEPTOR() function 228 INTERCEPTOR(char *, __strdup, const char *s) { in INTERCEPTOR() function 242 INTERCEPTOR(char *, strncpy, char *to, const char *from, usize size) { in INTERCEPTOR() function 252 INTERCEPTOR(lon function 262 INTERCEPTOR(int, atoi, const char *nptr) { INTERCEPTOR() function 277 INTERCEPTOR(long, atol, const char *nptr) { INTERCEPTOR() function 288 INTERCEPTOR(long long, strtoll, const char *nptr, char **endptr, int base) { INTERCEPTOR() function 298 INTERCEPTOR(long long, atoll, const char *nptr) { INTERCEPTOR() function [all...] |
/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 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 …]
|
/llvm-project/compiler-rt/lib/dfsan/ |
H A D | dfsan_interceptors.cpp | 36 INTERCEPTOR(void *, reallocarray, void *ptr, SIZE_T nmemb, SIZE_T size) { INTERCEPTOR() function 40 INTERCEPTOR(void *, __libc_memalign, SIZE_T alignment, SIZE_T size) { INTERCEPTOR() function 47 INTERCEPTOR(void *, aligned_alloc, SIZE_T alignment, SIZE_T size) { INTERCEPTOR() function 51 INTERCEPTOR(void *, calloc, SIZE_T nmemb, SIZE_T size) { INTERCEPTOR() function 57 INTERCEPTOR(void *, realloc, void *ptr, SIZE_T size) { INTERCEPTOR() function 63 INTERCEPTOR(void *, malloc, SIZE_T size) { INTERCEPTOR() function 69 INTERCEPTOR(void, free, void *ptr) { INTERCEPTOR() function 77 INTERCEPTOR(void, cfree, void *ptr) { INTERCEPTOR() function 85 INTERCEPTOR(int, posix_memalign, void **memptr, SIZE_T alignment, SIZE_T size) { INTERCEPTOR() function 93 INTERCEPTOR(void *, memalign, SIZE_T alignment, SIZE_T size) { INTERCEPTOR() function 97 INTERCEPTOR(void *, valloc, SIZE_T size) { return __dfsan::dfsan_valloc(size); } INTERCEPTOR() function 99 INTERCEPTOR(void *, pvalloc, SIZE_T size) { INTERCEPTOR() function 103 INTERCEPTOR(void, mallinfo, __sanitizer_struct_mallinfo *sret) { INTERCEPTOR() function 108 INTERCEPTOR(int, mallopt, int cmd, int value) { return 0; } INTERCEPTOR() function 110 INTERCEPTOR(void, malloc_stats, void) { INTERCEPTOR() function 114 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { INTERCEPTOR() function 132 INTERCEPTOR(void *, mmap, void *addr, SIZE_T length, int prot, int flags, INTERCEPTOR() function 146 INTERCEPTOR(void *, mmap64, void *addr, SIZE_T length, int prot, int flags, INTERCEPTOR() function 160 INTERCEPTOR(int, munmap, void *addr, SIZE_T length) { INTERCEPTOR() function 180 INTERCEPTOR(void *, __tls_get_addr, void *arg) { INTERCEPTOR() function [all...] |
/llvm-project/compiler-rt/lib/nsan/ |
H A D | nsan_interceptors.cpp | 81 INTERCEPTOR(wchar_t *, wmemcpy, wchar_t *dst, const wchar_t *src, usize size) { in INTERCEPTOR() function 87 INTERCEPTOR(char *, strfry, char *s) { in INTERCEPTOR() function 52 INTERCEPTOR(void *, memset, void *dst, int v, uptr size) { INTERCEPTOR() function 63 INTERCEPTOR(wchar_t *, wmemset, wchar_t *dst, wchar_t v, uptr size) { INTERCEPTOR() function 69 INTERCEPTOR(void *, memmove, void *dst, const void *src, uptr size) { INTERCEPTOR() function 102 INTERCEPTOR(wchar_t *, wmemcpy, wchar_t *dst, const wchar_t *src, uptr size) { INTERCEPTOR() function 108 INTERCEPTOR(void *, malloc, uptr size) { INTERCEPTOR() function 120 INTERCEPTOR(void *, realloc, void *ptr, uptr size) { INTERCEPTOR() function 129 INTERCEPTOR(void *, calloc, uptr Nmemb, uptr size) { INTERCEPTOR() function 143 INTERCEPTOR(void, free, void *P) { INTERCEPTOR() function 150 INTERCEPTOR(void *, valloc, uptr size) { INTERCEPTOR() function 157 INTERCEPTOR(void *, memalign, uptr align, uptr size) { INTERCEPTOR() function 164 INTERCEPTOR(void *, __libc_memalign, uptr align, uptr size) { INTERCEPTOR() function 171 INTERCEPTOR(void *, pvalloc, uptr size) { INTERCEPTOR() function 178 INTERCEPTOR(void *, aligned_alloc, uptr align, uptr size) { INTERCEPTOR() function 185 INTERCEPTOR(int, posix_memalign, void **memptr, uptr align, uptr size) { INTERCEPTOR() function 192 INTERCEPTOR(char *, strfry, char *s) { INTERCEPTOR() function 200 INTERCEPTOR(char *, strsep, char **Stringp, const char *delim) { INTERCEPTOR() function 209 INTERCEPTOR(char *, strtok, char *str, const char *delim) { INTERCEPTOR() function 228 INTERCEPTOR(char *, strdup, const char *S) { INTERCEPTOR() function 236 INTERCEPTOR(wchar_t *, wcsdup, const wchar_t *S) { INTERCEPTOR() function 244 INTERCEPTOR(char *, strndup, const char *S, uptr size) { INTERCEPTOR() function 252 INTERCEPTOR(char *, strcpy, char *dst, const char *src) { INTERCEPTOR() function 258 INTERCEPTOR(wchar_t *, wcscpy, wchar_t *dst, const wchar_t *src) { INTERCEPTOR() function 264 INTERCEPTOR(char *, strncpy, char *dst, const char *src, uptr size) { INTERCEPTOR() function 270 INTERCEPTOR(char *, strcat, char *dst, const char *src) { INTERCEPTOR() function 277 INTERCEPTOR(wchar_t *, wcscat, wchar_t *dst, const wchar_t *src) { INTERCEPTOR() function 284 INTERCEPTOR(char *, strncat, char *dst, const char *src, uptr size) { INTERCEPTOR() function 291 INTERCEPTOR(char *, stpcpy, char *dst, const char *src) { INTERCEPTOR() function 297 INTERCEPTOR(wchar_t *, wcpcpy, wchar_t *dst, const wchar_t *src) { INTERCEPTOR() function 303 INTERCEPTOR(uptr, strxfrm, char *dst, const char *src, uptr size) { INTERCEPTOR() function [all...] |
/llvm-project/compiler-rt/lib/lsan/ |
H A D | lsan_interceptors.cpp | 71 INTERCEPTOR(void*, malloc, uptr size) { INTERCEPTOR() function 79 INTERCEPTOR(void, free, void *p) { INTERCEPTOR() function 86 INTERCEPTOR(void*, calloc, uptr nmemb, uptr size) { INTERCEPTOR() function 94 INTERCEPTOR(void *, realloc, void *ptr, uptr size) { INTERCEPTOR() function 102 INTERCEPTOR(void*, reallocarray, void *q, uptr nmemb, uptr size) { INTERCEPTOR() function 108 INTERCEPTOR(int, posix_memalign, void **memptr, uptr alignment, uptr size) { INTERCEPTOR() function 114 INTERCEPTOR(void*, valloc, uptr size) { INTERCEPTOR() function 122 INTERCEPTOR(void*, memalign, uptr alignment, uptr size) { INTERCEPTOR() function 133 INTERCEPTOR(void *, __libc_memalign, uptr alignment, uptr size) { INTERCEPTOR() function 146 INTERCEPTOR(void*, aligned_alloc, uptr alignment, uptr size) { INTERCEPTOR() function 157 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { INTERCEPTOR() function 172 INTERCEPTOR(struct fake_mallinfo, mallinfo, void) { INTERCEPTOR() function 179 INTERCEPTOR(int, mallopt, int cmd, int value) { INTERCEPTOR() function 189 INTERCEPTOR(void*, pvalloc, uptr size) { INTERCEPTOR() function 207 INTERCEPTOR(int, mcheck, void (*abortfunc)(int mstatus)) { INTERCEPTOR() function 211 INTERCEPTOR(int, mcheck_pedantic, void (*abortfunc)(int mstatus)) { INTERCEPTOR() function 215 INTERCEPTOR(int, mprobe, void *ptr) { INTERCEPTOR() function 306 INTERCEPTOR(void *, _Znwm, size_t size) INTERCEPTOR() function 308 INTERCEPTOR(void *, _Znam, size_t size) INTERCEPTOR() function 310 INTERCEPTOR(void *, _ZnwmRKSt9nothrow_t, size_t size, std::nothrow_t const&) INTERCEPTOR() function 312 INTERCEPTOR(void *, _ZnamRKSt9nothrow_t, size_t size, std::nothrow_t const&) INTERCEPTOR() function 315 INTERCEPTOR(void, _ZdlPv, void *ptr) INTERCEPTOR() function 317 INTERCEPTOR(void, _ZdaPv, void *ptr) INTERCEPTOR() function 319 INTERCEPTOR(void, _ZdlPvRKSt9nothrow_t, void *ptr, std::nothrow_t const&) INTERCEPTOR() function 321 INTERCEPTOR(void, _ZdaPvRKSt9nothrow_t, void *ptr, std::nothrow_t const&) INTERCEPTOR() function 346 INTERCEPTOR(void, _lwp_exit) { INTERCEPTOR() function 357 INTERCEPTOR(void, thr_exit, tid_t *state) { INTERCEPTOR() function 368 INTERCEPTOR(int, __cxa_atexit, void (*func)(void *), void *arg, INTERCEPTOR() function 379 INTERCEPTOR(int, atexit, void (*f)()) { INTERCEPTOR() function 394 INTERCEPTOR(int, pthread_atfork, void (*prepare)(), void (*parent)(), INTERCEPTOR() function 407 INTERCEPTOR(char *, strerror, int errnum) { INTERCEPTOR() function 439 INTERCEPTOR(int, pthread_create, void *th, void *attr, INTERCEPTOR() function 475 INTERCEPTOR(int, pthread_join, void *thread, void **retval) { INTERCEPTOR() function 484 INTERCEPTOR(int, pthread_detach, void *thread) { INTERCEPTOR() function 493 INTERCEPTOR(void, pthread_exit, void *retval) { INTERCEPTOR() function 499 INTERCEPTOR(int, pthread_tryjoin_np, void *thread, void **ret) { INTERCEPTOR() function 513 INTERCEPTOR(int, pthread_timedjoin_np, void *thread, void **ret, INTERCEPTOR() function 530 INTERCEPTOR(void, _exit, int status) { INTERCEPTOR() function [all...] |
H A D | lsan_mac.cpp | 128 INTERCEPTOR(void, dispatch_group_async_f, dispatch_group_t group, in INTERCEPTOR() function
|
/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_malloc_linux.cpp | 49 INTERCEPTOR(void, free, void *ptr) { INTERCEPTOR() function 57 INTERCEPTOR(void, cfree, void *ptr) { INTERCEPTOR() function 65 INTERCEPTOR(void*, malloc, uptr size) { INTERCEPTOR() function 72 INTERCEPTOR(void*, calloc, uptr nmemb, uptr size) { INTERCEPTOR() function 79 INTERCEPTOR(void*, realloc, void *ptr, uptr size) { INTERCEPTOR() function 87 INTERCEPTOR(void*, reallocarray, void *ptr, uptr nmemb, uptr size) { INTERCEPTOR() function 95 INTERCEPTOR(void*, memalign, uptr boundary, uptr size) { INTERCEPTOR() function 100 INTERCEPTOR(void*, __libc_memalign, uptr boundary, uptr size) { INTERCEPTOR() function 109 INTERCEPTOR(void*, aligned_alloc, uptr boundary, uptr size) { INTERCEPTOR() function 115 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { INTERCEPTOR() function 130 INTERCEPTOR(struct fake_mallinfo, mallinfo, void) { INTERCEPTOR() function 136 INTERCEPTOR(int, mallopt, int cmd, int value) { INTERCEPTOR() function 141 INTERCEPTOR(int, posix_memalign, void **memptr, uptr alignment, uptr size) { INTERCEPTOR() function 146 INTERCEPTOR(void*, valloc, uptr size) { INTERCEPTOR() function 152 INTERCEPTOR(void*, pvalloc, uptr size) { INTERCEPTOR() function 158 INTERCEPTOR(void, malloc_stats, void) { INTERCEPTOR() function [all...] |
H A D | asan_interceptors.cpp | 244 INTERCEPTOR(int, pthread_create, void *thread, void *attr, in INTERCEPTOR() function 290 INTERCEPTOR(int, pthread_join, void *thread, void **retval) { in INTERCEPTOR() function 299 INTERCEPTOR(int, pthread_detach, void *thread) { in INTERCEPTOR() function 308 INTERCEPTOR(void, pthread_exit, void *retval) { in INTERCEPTOR() function 314 INTERCEPTOR(int, pthread_tryjoin_np, void *thread, void **ret) { in INTERCEPTOR() function 325 INTERCEPTOR(int, pthread_timedjoin_np, void *thread, void **ret, in INTERCEPTOR() function 359 INTERCEPTOR(void, __makecontext_v2, struct ucontext_t *ucp, void (*func)(), function 399 INTERCEPTOR(int, swapcontext, struct ucontext_t *oucp, function 435 INTERCEPTOR(voi function 441 INTERCEPTOR(void, _longjmp, void *env, int val) { global() function 448 INTERCEPTOR(void, __longjmp_chk, void *env, int val) { global() function 455 INTERCEPTOR(void, siglongjmp, void *env, int val) { global() function 462 INTERCEPTOR(void, __cxa_throw, void *a, void *b, void *c) { global() function 470 INTERCEPTOR(void, __cxa_rethrow_primary_exception, void *a) { global() function 478 INTERCEPTOR(_Unwind_Reason_Code, _Unwind_RaiseException, global() function 487 INTERCEPTOR(_Unwind_Reason_Code, _Unwind_SjLj_RaiseException, global() function 532 INTERCEPTOR(char*, strncat, char *to, const char *from, uptr size) { global() function 551 INTERCEPTOR(char *, strcpy, char *to, const char *from) { global() function 584 INTERCEPTOR(char*, strdup, const char *s) { global() function 602 INTERCEPTOR(char*, __strdup, const char *s) { global() function 620 INTERCEPTOR(char*, strncpy, char *to, const char *from, uptr size) { global() function 681 INTERCEPTOR(long, atol, const char *nptr) { global() function 697 INTERCEPTOR(long long, atoll, const char *nptr) { global() function 719 INTERCEPTOR(int, __cxa_atexit, void (*func)(void *), void *arg, global() function 734 INTERCEPTOR(int, atexit, void (*func)()) { global() function 752 INTERCEPTOR(int, pthread_atfork, void (*prepare)(), void (*parent)(), global() function [all...] |
H A D | asan_new_delete.cpp | 110 INTERCEPTOR(void *, _Znwm, size_t size) { in INTERCEPTOR() function 113 INTERCEPTOR(void *, _Znam, size_t size) { in INTERCEPTOR() function 116 INTERCEPTOR(void *, _ZnwmRKSt9nothrow_t, size_t size, std::nothrow_t const&) { in INTERCEPTOR() function 119 INTERCEPTOR(void *, _ZnamRKSt9nothrow_t, size_t size, std::nothrow_t const&) { in INTERCEPTOR() function 179 INTERCEPTOR(void, _ZdlPv, void *ptr) in INTERCEPTOR() function 181 INTERCEPTOR(void, _ZdaPv, void *ptr) in INTERCEPTOR() function 183 INTERCEPTOR(void, _ZdlPvRKSt9nothrow_t, void *ptr, std::nothrow_t const&) in INTERCEPTOR() function 185 INTERCEPTOR(void, _ZdaPvRKSt9nothrow_t, void *ptr, std::nothrow_t const&) in INTERCEPTOR() function
|
H A D | asan_mac.cpp | 229 INTERCEPTOR(void, dispatch_group_async_f, dispatch_group_t group, in INTERCEPTOR() function 305 INTERCEPTOR(void *, dispatch_mach_create, const char *label, in INTERCEPTOR() function 318 INTERCEPTOR(void *, dispatch_mach_create_f, const char *label, in INTERCEPTOR() function
|
H A D | asan_win_dll_thunk.cpp |
|
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
|
/llvm-project/compiler-rt/lib/msan/ |
H A D | msan_interceptors.cpp | 125 INTERCEPTOR(SIZE_T, fread_unlocked, void *ptr, SIZE_T size, SIZE_T nmemb, INTERCEPTOR() function 139 INTERCEPTOR(void *, mempcpy, void *dest, const void *src, SIZE_T n) { INTERCEPTOR() function 147 INTERCEPTOR(void *, memccpy, void *dest, const void *src, int c, SIZE_T n) { INTERCEPTOR() function 157 INTERCEPTOR(void *, bcopy, const void *src, void *dest, SIZE_T n) { INTERCEPTOR() function 161 INTERCEPTOR(int, posix_memalign, void **memptr, SIZE_T alignment, SIZE_T size) { INTERCEPTOR() function 171 INTERCEPTOR(void *, memalign, SIZE_T alignment, SIZE_T size) { INTERCEPTOR() function 180 INTERCEPTOR(void *, aligned_alloc, SIZE_T alignment, SIZE_T size) { INTERCEPTOR() function 186 INTERCEPTOR(void *, __libc_memalign, SIZE_T alignment, SIZE_T size) { INTERCEPTOR() function 198 INTERCEPTOR(void *, valloc, SIZE_T size) { INTERCEPTOR() function 204 INTERCEPTOR(void *, pvalloc, SIZE_T size) { INTERCEPTOR() function 213 INTERCEPTOR(void, free, void *ptr) { INTERCEPTOR() function 223 INTERCEPTOR(void, cfree, void *ptr) { INTERCEPTOR() function 237 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { INTERCEPTOR() function 269 INTERCEPTOR(__sanitizer_struct_mallinfo2, mallinfo2) { INTERCEPTOR() function 280 INTERCEPTOR(int, mallopt, int cmd, int value) { INTERCEPTOR() function 289 INTERCEPTOR(void, malloc_stats, void) { INTERCEPTOR() function 297 INTERCEPTOR(char *, strcpy, char *dest, const char *src) { INTERCEPTOR() function 307 INTERCEPTOR(char *, strncpy, char *dest, const char *src, SIZE_T n) { INTERCEPTOR() function 320 INTERCEPTOR(char *, stpcpy, char *dest, const char *src) { INTERCEPTOR() function 330 INTERCEPTOR(char *, stpncpy, char *dest, const char *src, SIZE_T n) { INTERCEPTOR() function 346 INTERCEPTOR(char *, strdup, char *src) { INTERCEPTOR() function 359 INTERCEPTOR(char *, __strdup, char *src) { INTERCEPTOR() function 374 INTERCEPTOR(char *, gcvt, double number, SIZE_T ndigit, char *buf) { INTERCEPTOR() function 386 INTERCEPTOR(char *, strcat, char *dest, const char *src) { INTERCEPTOR() function 398 INTERCEPTOR(char *, strncat, char *dest, const char *src, SIZE_T n) { INTERCEPTOR() function 575 INTERCEPTOR(int, swprintf, void *str, uptr size, void *format, ...) { INTERCEPTOR() function 591 INTERCEPTOR(SIZE_T, strftime, char *s, SIZE_T max, const char *format, INTERCEPTOR() function 596 INTERCEPTOR(SIZE_T, strftime_l, char *s, SIZE_T max, const char *format, INTERCEPTOR() function 602 INTERCEPTOR(SIZE_T, __strftime_l, char *s, SIZE_T max, const char *format, INTERCEPTOR() function 612 INTERCEPTOR(SIZE_T, wcsftime, wchar_t *s, SIZE_T max, const wchar_t *format, INTERCEPTOR() function 617 INTERCEPTOR(SIZE_T, wcsftime_l, wchar_t *s, SIZE_T max, const wchar_t *format, INTERCEPTOR() function 624 INTERCEPTOR(SIZE_T, __wcsftime_l, wchar_t *s, SIZE_T max, const wchar_t *format, INTERCEPTOR() function 634 INTERCEPTOR(int, mbtowc, wchar_t *dest, const char *src, SIZE_T n) { INTERCEPTOR() function 641 INTERCEPTOR(SIZE_T, mbrtowc, wchar_t *dest, const char *src, SIZE_T n, INTERCEPTOR() function 650 INTERCEPTOR(wchar_t *, wmemcpy, wchar_t *dest, const wchar_t *src, SIZE_T n) { INTERCEPTOR() function 659 INTERCEPTOR(wchar_t *, wmempcpy, wchar_t *dest, const wchar_t *src, SIZE_T n) { INTERCEPTOR() function 671 INTERCEPTOR(wchar_t *, wmemset, wchar_t *s, wchar_t c, SIZE_T n) { INTERCEPTOR() function 679 INTERCEPTOR(wchar_t *, wmemmove, wchar_t *dest, const wchar_t *src, SIZE_T n) { INTERCEPTOR() function 687 INTERCEPTOR(int, wcscmp, const wchar_t *s1, const wchar_t *s2) { INTERCEPTOR() function 693 INTERCEPTOR(int, gettimeofday, void *tv, void *tz) { INTERCEPTOR() function 704 INTERCEPTOR(char *, fcvt, double x, int a, int *b, int *c) { INTERCEPTOR() function 718 INTERCEPTOR(char *, getenv, char *name) { INTERCEPTOR() function 740 INTERCEPTOR(int, setenv, const char *name, const char *value, int overwrite) { INTERCEPTOR() function 748 INTERCEPTOR(int, putenv, char *string) { INTERCEPTOR() function 757 INTERCEPTOR(int, fstat, int fd, void *buf) { INTERCEPTOR() function 770 INTERCEPTOR(int, fstat64, int fd, void *buf) { INTERCEPTOR() function 783 INTERCEPTOR(int, __fxstat, int magic, int fd, void *buf) { INTERCEPTOR() function 796 INTERCEPTOR(int, __fxstat64, int magic, int fd, void *buf) { INTERCEPTOR() function 809 INTERCEPTOR(int, fstatat, int fd, char *pathname, void *buf, int flags) { INTERCEPTOR() function 821 INTERCEPTOR(int, fstatat64, int fd, char *pathname, void *buf, int flags) { INTERCEPTOR() function 834 INTERCEPTOR(int, __fxstatat, int magic, int fd, char *pathname, void *buf, INTERCEPTOR() function 847 INTERCEPTOR(int, __fxstatat64, int magic, int fd, char *pathname, void *buf, INTERCEPTOR() function 859 INTERCEPTOR(int, pipe, int pipefd[2]) { INTERCEPTOR() function 869 INTERCEPTOR(int, pipe2, int pipefd[2], int flags) { INTERCEPTOR() function 877 INTERCEPTOR(int, socketpair, int domain, int type, int protocol, int sv[2]) { INTERCEPTOR() function 886 INTERCEPTOR(char *, fgets_unlocked, char *s, int size, void *stream) { INTERCEPTOR() function 907 INTERCEPTOR(int, getrlimit, int resource, void *rlim) { INTERCEPTOR() function 912 INTERCEPTOR(int, __getrlimit, int resource, void *rlim) { INTERCEPTOR() function 916 INTERCEPTOR(int, getrlimit64, int resource, void *rlim) { INTERCEPTOR() function 924 INTERCEPTOR(int, prlimit, int pid, int resource, void *new_rlimit, INTERCEPTOR() function 935 INTERCEPTOR(int, prlimit64, int pid, int resource, void *new_rlimit, INTERCEPTOR() function 957 INTERCEPTOR(int, gethostname, char *name, SIZE_T len) { INTERCEPTOR() function 970 INTERCEPTOR(int, epoll_wait, int epfd, void *events, int maxevents, INTERCEPTOR() function 985 INTERCEPTOR(int, epoll_pwait, int epfd, void *events, int maxevents, INTERCEPTOR() function 999 INTERCEPTOR(void *, calloc, SIZE_T nmemb, SIZE_T size) { INTERCEPTOR() function 1006 INTERCEPTOR(void *, realloc, void *ptr, SIZE_T size) { INTERCEPTOR() function 1013 INTERCEPTOR(void *, reallocarray, void *ptr, SIZE_T nmemb, SIZE_T size) { INTERCEPTOR() function 1018 INTERCEPTOR(void *, malloc, SIZE_T size) { INTERCEPTOR() function 1091 INTERCEPTOR(int, getrusage, int who, void *usage) { INTERCEPTOR() function 1164 INTERCEPTOR(int, pthread_create, void *th, void *attr, void *(*callback)(void*), INTERCEPTOR() function 1187 INTERCEPTOR(int, pthread_key_create, __sanitizer_pthread_key_t *key, INTERCEPTOR() function 1203 INTERCEPTOR(int, pthread_join, void *thread, void **retval) { INTERCEPTOR() function 1212 INTERCEPTOR(int, pthread_tryjoin_np, void *thread, void **retval) { INTERCEPTOR() function 1220 INTERCEPTOR(int, pthread_timedjoin_np, void *thread, void **retval, INTERCEPTOR() function 1233 INTERCEPTOR(void, tzset, int fake) { INTERCEPTOR() function 1292 INTERCEPTOR(int, __cxa_atexit, void (*func)(void *), void *arg, INTERCEPTOR() function 1299 INTERCEPTOR(int, atexit, void (*func)()) { INTERCEPTOR() function 1332 INTERCEPTOR(int, openpty, int *aparent, int *aworker, char *name, INTERCEPTOR() function 1351 INTERCEPTOR(int, forkpty, int *aparent, char *name, const void *termp, INTERCEPTOR() function 1584 INTERCEPTOR(const char *, strsignal, int sig) { INTERCEPTOR() function 1593 INTERCEPTOR(int, dladdr, void *addr, void *info) { INTERCEPTOR() function 1603 INTERCEPTOR(int, dladdr1, void *addr, void *info, void **extra_info, INTERCEPTOR() function 1619 INTERCEPTOR(char *, dlerror, int fake) { INTERCEPTOR() function 1649 INTERCEPTOR(void *, shmat, int shmid, const void *shmaddr, int shmflg) { INTERCEPTOR() function 1662 INTERCEPTOR(int, dl_iterate_phdr, dl_iterate_phdr_cb callback, void *data) { INTERCEPTOR() function 1673 INTERCEPTOR(wchar_t *, wcschr, void *s, wchar_t wc, void *ps) { INTERCEPTOR() function 1680 INTERCEPTOR(wchar_t *, wcscpy, wchar_t *dest, const wchar_t *src) { INTERCEPTOR() function 1689 INTERCEPTOR(wchar_t *, wcsncpy, wchar_t *dest, const wchar_t *src, SIZE_T n) { INTERCEPTOR() function [all...] |
/llvm-project/compiler-rt/lib/interception/tests/ |
H A D | interception_linux_test.cpp | 38 INTERCEPTOR(void *, malloc, SIZE_T s) { return calloc(1, s); } in INTERCEPTOR() function 41 INTERCEPTOR(int, isdigit, int d) { in INTERCEPTOR() function 46 INTERCEPTOR(int, isalpha, int d) { in INTERCEPTOR() function 52 INTERCEPTOR(int, isalnum, int d) { in INTERCEPTOR() function 57 INTERCEPTOR(int, islower, int d) { in INTERCEPTOR() function
|
/llvm-project/compiler-rt/lib/hwasan/ |
H A D | hwasan_interceptors.cpp | 268 INTERCEPTOR(int, pthread_create, void *thread, void *attr, in INTERCEPTOR() function 293 INTERCEPTOR(int, pthread_join, void *thread, void **retval) { in INTERCEPTOR() function 302 INTERCEPTOR(int, pthread_detach, void *thread) { in INTERCEPTOR() function 311 INTERCEPTOR(void, pthread_exit, void *retval) { in INTERCEPTOR() function 317 INTERCEPTOR(int, pthread_tryjoin_np, void *thread, void **ret) { in INTERCEPTOR() function 326 INTERCEPTOR(int, pthread_timedjoin_np, void *thread, void **ret, in INTERCEPTOR() function 466 INTERCEPTOR(void, siglongjmp, __hw_sigjmp_buf env, int val) { in INTERCEPTOR() function 483 INTERCEPTOR(void, __libc_longjmp, __hw_jmp_buf env, int val) { in INTERCEPTOR() function 489 INTERCEPTOR(void, longjmp, __hw_jmp_buf env, int val) { in INTERCEPTOR() function
|
/llvm-project/compiler-rt/lib/interception/ |
H A D | interception.h | 296 #define INTERCEPTOR( global() macro 303 #define INTERCEPTOR( global() macro 320 #define INTERCEPTOR( global() macro [all...] |
/llvm-project/compiler-rt/lib/cfi/ |
H A D | cfi.cpp | 427 INTERCEPTOR(void*, dlopen, const char *filename, int flag) { in INTERCEPTOR() function 435 INTERCEPTOR(int, dlclose, void *handle) { in INTERCEPTOR() function
|
/llvm-project/compiler-rt/lib/safestack/ |
H A D | safestack.cpp | 208 INTERCEPTOR(int, pthread_create, pthread_t *thread, INTERCEPTOR() function
|
/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_interceptors_posix.cpp | 1271 INTERCEPTOR(int, pthread_cond_wait, void *c, void *m) { in INTERCEPTOR() function 1222 INTERCEPTOR(int, pthread_cond_init, void *c, void *a) { INTERCEPTOR() function 1253 INTERCEPTOR(int, pthread_cond_wait, void *c, void *m) { INTERCEPTOR() function 1261 INTERCEPTOR(int, pthread_cond_timedwait, void *c, void *m, void *abstime) { INTERCEPTOR() function 1286 INTERCEPTOR(int, pthread_cond_timedwait_relative_np, void *c, void *m, INTERCEPTOR() function 1299 INTERCEPTOR(int, pthread_cond_signal, void *c) { INTERCEPTOR() function 1306 INTERCEPTOR(int, pthread_cond_broadcast, void *c) { INTERCEPTOR() function 1313 INTERCEPTOR(int, pthread_cond_destroy, void *c) { INTERCEPTOR() function
|