/openbsd-src/gnu/llvm/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 …]
|
/openbsd-src/gnu/llvm/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) { in INTERCEPTOR() function 106 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { in INTERCEPTOR() function [all …]
|
H A D | memprof_interceptors.cpp | 157 INTERCEPTOR(int, pthread_create, void *thread, void *attr, in INTERCEPTOR() function 188 INTERCEPTOR(int, pthread_join, void *t, void **arg) { in INTERCEPTOR() function 199 INTERCEPTOR(char *, strcat, char *to, const char *from) { in INTERCEPTOR() function 211 INTERCEPTOR(char *, strncat, char *to, const char *from, uptr size) { in INTERCEPTOR() function 224 INTERCEPTOR(char *, strcpy, char *to, const char *from) { in INTERCEPTOR() function 237 INTERCEPTOR(char *, strdup, const char *s) { in INTERCEPTOR() function 251 INTERCEPTOR(char *, __strdup, const char *s) { in INTERCEPTOR() function 265 INTERCEPTOR(char *, strncpy, char *to, const char *from, uptr size) { in INTERCEPTOR() function 275 INTERCEPTOR(long, strtol, const char *nptr, char **endptr, int base) { in INTERCEPTOR() function 285 INTERCEPTOR(int, atoi, const char *nptr) { in INTERCEPTOR() function [all …]
|
/openbsd-src/gnu/llvm/compiler-rt/lib/dfsan/ |
H A D | dfsan_interceptors.cpp | 36 INTERCEPTOR(void *, reallocarray, void *ptr, SIZE_T nmemb, SIZE_T size) { in INTERCEPTOR() function 40 INTERCEPTOR(void *, __libc_memalign, SIZE_T alignment, SIZE_T size) { in INTERCEPTOR() function 47 INTERCEPTOR(void *, aligned_alloc, SIZE_T alignment, SIZE_T size) { in INTERCEPTOR() function 51 INTERCEPTOR(void *, calloc, SIZE_T nmemb, SIZE_T size) { in INTERCEPTOR() function 57 INTERCEPTOR(void *, realloc, void *ptr, SIZE_T size) { in INTERCEPTOR() function 63 INTERCEPTOR(void *, malloc, SIZE_T size) { in INTERCEPTOR() function 69 INTERCEPTOR(void, free, void *ptr) { in INTERCEPTOR() function 77 INTERCEPTOR(void, cfree, void *ptr) { in INTERCEPTOR() function 85 INTERCEPTOR(int, posix_memalign, void **memptr, SIZE_T alignment, SIZE_T size) { in INTERCEPTOR() function 93 INTERCEPTOR(void *, memalign, SIZE_T alignment, SIZE_T size) { in INTERCEPTOR() function [all …]
|
/openbsd-src/gnu/llvm/compiler-rt/lib/lsan/ |
H A D | lsan_interceptors.cpp | 71 INTERCEPTOR(void*, malloc, uptr size) { in INTERCEPTOR() function 79 INTERCEPTOR(void, free, void *p) { in INTERCEPTOR() function 86 INTERCEPTOR(void*, calloc, uptr nmemb, uptr size) { in INTERCEPTOR() function 94 INTERCEPTOR(void *, realloc, void *ptr, uptr size) { in INTERCEPTOR() function 102 INTERCEPTOR(void*, reallocarray, void *q, uptr nmemb, uptr size) { in INTERCEPTOR() function 108 INTERCEPTOR(int, posix_memalign, void **memptr, uptr alignment, uptr size) { in INTERCEPTOR() function 114 INTERCEPTOR(void*, valloc, uptr size) { in INTERCEPTOR() function 122 INTERCEPTOR(void*, memalign, uptr alignment, uptr size) { in INTERCEPTOR() function 133 INTERCEPTOR(void *, __libc_memalign, uptr alignment, uptr size) { in INTERCEPTOR() function 146 INTERCEPTOR(void*, aligned_alloc, uptr alignment, uptr size) { in INTERCEPTOR() function [all …]
|
H A D | lsan_mac.cpp | 129 INTERCEPTOR(void, dispatch_group_async_f, dispatch_group_t group, in INTERCEPTOR() function
|
/openbsd-src/gnu/llvm/compiler-rt/lib/asan/ |
H A D | asan_malloc_linux.cpp | 49 INTERCEPTOR(void, free, void *ptr) { in INTERCEPTOR() function 57 INTERCEPTOR(void, cfree, void *ptr) { in INTERCEPTOR() function 65 INTERCEPTOR(void*, malloc, uptr size) { in INTERCEPTOR() function 73 INTERCEPTOR(void*, calloc, uptr nmemb, uptr size) { in INTERCEPTOR() function 81 INTERCEPTOR(void*, realloc, void *ptr, uptr size) { in INTERCEPTOR() function 90 INTERCEPTOR(void*, reallocarray, void *ptr, uptr nmemb, uptr size) { in INTERCEPTOR() function 98 INTERCEPTOR(void*, memalign, uptr boundary, uptr size) { in INTERCEPTOR() function 103 INTERCEPTOR(void*, __libc_memalign, uptr boundary, uptr size) { in INTERCEPTOR() function 112 INTERCEPTOR(void*, aligned_alloc, uptr boundary, uptr size) { in INTERCEPTOR() function 118 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { in INTERCEPTOR() function [all …]
|
H A D | asan_interceptors.cpp | 202 INTERCEPTOR(int, pthread_create, void *thread, in INTERCEPTOR() function 237 INTERCEPTOR(int, pthread_join, void *t, void **arg) { in INTERCEPTOR() function 260 INTERCEPTOR(void, makecontext, struct ucontext_t *ucp, void (*func)(), int argc, in INTERCEPTOR() function 292 INTERCEPTOR(int, swapcontext, struct ucontext_t *oucp, in INTERCEPTOR() function 328 INTERCEPTOR(void, longjmp, void *env, int val) { in INTERCEPTOR() function 334 INTERCEPTOR(void, _longjmp, void *env, int val) { in INTERCEPTOR() function 341 INTERCEPTOR(void, __longjmp_chk, void *env, int val) { in INTERCEPTOR() function 348 INTERCEPTOR(void, siglongjmp, void *env, int val) { in INTERCEPTOR() function 355 INTERCEPTOR(void, __cxa_throw, void *a, void *b, void *c) { in INTERCEPTOR() function 363 INTERCEPTOR(void, __cxa_rethrow_primary_exception, void *a) { 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_win_dll_thunk.cpp | 107 INTERCEPTOR(int, _except_handler4, void *a, void *b, void *c, void *d) { in INTERCEPTOR() function
|
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_mac.cpp | 220 INTERCEPTOR(void, dispatch_group_async_f, dispatch_group_t group, in INTERCEPTOR() function
|
/openbsd-src/gnu/llvm/compiler-rt/lib/msan/ |
H A D | msan_interceptors.cpp | 123 INTERCEPTOR(SIZE_T, fread_unlocked, void *ptr, SIZE_T size, SIZE_T nmemb, in INTERCEPTOR() function 137 INTERCEPTOR(void *, mempcpy, void *dest, const void *src, SIZE_T n) { in INTERCEPTOR() function 145 INTERCEPTOR(void *, memccpy, void *dest, const void *src, int c, SIZE_T n) { in INTERCEPTOR() function 155 INTERCEPTOR(void *, bcopy, const void *src, void *dest, SIZE_T n) { in INTERCEPTOR() function 159 INTERCEPTOR(int, posix_memalign, void **memptr, SIZE_T alignment, SIZE_T size) { in INTERCEPTOR() function 169 INTERCEPTOR(void *, memalign, SIZE_T alignment, SIZE_T size) { in INTERCEPTOR() function 178 INTERCEPTOR(void *, aligned_alloc, SIZE_T alignment, SIZE_T size) { in INTERCEPTOR() function 184 INTERCEPTOR(void *, __libc_memalign, SIZE_T alignment, SIZE_T size) { in INTERCEPTOR() function 196 INTERCEPTOR(void *, valloc, SIZE_T size) { in INTERCEPTOR() function 202 INTERCEPTOR(void *, pvalloc, SIZE_T size) { in INTERCEPTOR() function [all …]
|
/openbsd-src/gnu/llvm/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 50 INTERCEPTOR(int, pthread_join, void *t, void **arg) { in INTERCEPTOR() function 182 INTERCEPTOR(void, siglongjmp, __hw_sigjmp_buf env, int val) { in INTERCEPTOR() function 200 INTERCEPTOR(void, __libc_longjmp, __hw_jmp_buf env, int val) { in INTERCEPTOR() function 206 INTERCEPTOR(void, longjmp, __hw_jmp_buf env, int val) { in INTERCEPTOR() function
|
/openbsd-src/gnu/llvm/compiler-rt/lib/interception/tests/ |
H A D | interception_linux_test.cpp | 29 INTERCEPTOR(int, isdigit, int d) { in INTERCEPTOR() function
|
/openbsd-src/gnu/llvm/compiler-rt/lib/interception/ |
H A D | interception.h | 211 #define INTERCEPTOR(ret_type, func, ...) \ macro 218 #define INTERCEPTOR(ret_type, func, ...) \ macro 237 #define INTERCEPTOR(ret_type, func, ...) \ macro
|
/openbsd-src/gnu/llvm/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
|
/openbsd-src/gnu/llvm/compiler-rt/lib/safestack/ |
H A D | safestack.cpp | 208 INTERCEPTOR(int, pthread_create, pthread_t *thread, in INTERCEPTOR() function
|
/openbsd-src/gnu/llvm/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_interceptors_posix.cpp | 1236 INTERCEPTOR(int, pthread_cond_init, void *c, void *a) { in INTERCEPTOR() function 1267 INTERCEPTOR(int, pthread_cond_wait, void *c, void *m) { in INTERCEPTOR() function 1275 INTERCEPTOR(int, pthread_cond_timedwait, void *c, void *m, void *abstime) { in INTERCEPTOR() function 1285 INTERCEPTOR(int, pthread_cond_clockwait, void *c, void *m, in INTERCEPTOR() function 1300 INTERCEPTOR(int, pthread_cond_timedwait_relative_np, void *c, void *m, in INTERCEPTOR() function 1313 INTERCEPTOR(int, pthread_cond_signal, void *c) { in INTERCEPTOR() function 1320 INTERCEPTOR(int, pthread_cond_broadcast, void *c) { in INTERCEPTOR() function 1327 INTERCEPTOR(int, pthread_cond_destroy, void *c) { in INTERCEPTOR() function
|