/external/compiler-rt/lib/scudo/ |
D | scudo_interceptors.cpp | 23 INTERCEPTOR(void, free, void *ptr) { in INTERCEPTOR() function 27 INTERCEPTOR(void, cfree, void *ptr) { in INTERCEPTOR() function 31 INTERCEPTOR(void*, malloc, uptr size) { in INTERCEPTOR() function 35 INTERCEPTOR(void*, realloc, void *ptr, uptr size) { in INTERCEPTOR() function 39 INTERCEPTOR(void*, calloc, uptr nmemb, uptr size) { in INTERCEPTOR() function 43 INTERCEPTOR(void*, valloc, uptr size) { in INTERCEPTOR() function 47 INTERCEPTOR(void*, memalign, uptr alignment, uptr size) { in INTERCEPTOR() function 51 INTERCEPTOR(void*, __libc_memalign, uptr alignment, uptr size) { in INTERCEPTOR() function 55 INTERCEPTOR(void*, pvalloc, uptr size) { in INTERCEPTOR() function 59 INTERCEPTOR(void*, aligned_alloc, uptr alignment, uptr size) { in INTERCEPTOR() function [all …]
|
/external/llvm-project/compiler-rt/lib/tsan/dd/ |
D | dd_interceptors.cpp | 42 INTERCEPTOR(int, pthread_mutex_destroy, pthread_mutex_t *m) { in INTERCEPTOR() function 48 INTERCEPTOR(int, pthread_mutex_lock, pthread_mutex_t *m) { in INTERCEPTOR() function 56 INTERCEPTOR(int, pthread_mutex_trylock, pthread_mutex_t *m) { in INTERCEPTOR() function 64 INTERCEPTOR(int, pthread_mutex_unlock, pthread_mutex_t *m) { in INTERCEPTOR() function 70 INTERCEPTOR(int, pthread_spin_destroy, pthread_spinlock_t *m) { in INTERCEPTOR() function 77 INTERCEPTOR(int, pthread_spin_lock, pthread_spinlock_t *m) { in INTERCEPTOR() function 85 INTERCEPTOR(int, pthread_spin_trylock, pthread_spinlock_t *m) { in INTERCEPTOR() function 93 INTERCEPTOR(int, pthread_spin_unlock, pthread_spinlock_t *m) { in INTERCEPTOR() function 99 INTERCEPTOR(int, pthread_rwlock_destroy, pthread_rwlock_t *m) { in INTERCEPTOR() function 105 INTERCEPTOR(int, pthread_rwlock_rdlock, pthread_rwlock_t *m) { in INTERCEPTOR() function [all …]
|
/external/compiler-rt/lib/tsan/dd/ |
D | dd_interceptors.cc | 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 …]
|
/external/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 | 129 INTERCEPTOR(void, dispatch_group_async_f, dispatch_group_t group, in INTERCEPTOR() function
|
/external/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 | 159 INTERCEPTOR(int, pthread_create, void *thread, void *attr, in INTERCEPTOR() function 190 INTERCEPTOR(int, pthread_join, void *t, void **arg) { in INTERCEPTOR() function 201 INTERCEPTOR(char *, strcat, char *to, const char *from) { in INTERCEPTOR() function 213 INTERCEPTOR(char *, strncat, char *to, const char *from, uptr size) { in INTERCEPTOR() function 226 INTERCEPTOR(char *, strcpy, char *to, const char *from) { in INTERCEPTOR() function 239 INTERCEPTOR(char *, strdup, const char *s) { in INTERCEPTOR() function 253 INTERCEPTOR(char *, __strdup, const char *s) { in INTERCEPTOR() function 267 INTERCEPTOR(char *, strncpy, char *to, const char *from, uptr size) { in INTERCEPTOR() function 277 INTERCEPTOR(long, strtol, const char *nptr, char **endptr, int base) { in INTERCEPTOR() function 287 INTERCEPTOR(int, atoi, const char *nptr) { in INTERCEPTOR() function [all …]
|
/external/compiler-rt/lib/asan/ |
D | asan_malloc_linux.cc | 46 INTERCEPTOR(void, free, void *ptr) { in INTERCEPTOR() function 53 INTERCEPTOR(void, cfree, void *ptr) { in INTERCEPTOR() function 60 INTERCEPTOR(void*, malloc, uptr size) { in INTERCEPTOR() function 68 INTERCEPTOR(void*, calloc, uptr nmemb, uptr size) { in INTERCEPTOR() function 76 INTERCEPTOR(void*, realloc, void *ptr, uptr size) { in INTERCEPTOR() function 88 INTERCEPTOR(void*, memalign, uptr boundary, uptr size) { in INTERCEPTOR() function 93 INTERCEPTOR(void*, aligned_alloc, uptr boundary, uptr size) { in INTERCEPTOR() function 98 INTERCEPTOR(void*, __libc_memalign, uptr boundary, uptr size) { in INTERCEPTOR() function 105 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { in INTERCEPTOR() function 119 INTERCEPTOR(struct fake_mallinfo, mallinfo, void) { in INTERCEPTOR() function [all …]
|
D | asan_new_delete.cc | 89 INTERCEPTOR(void *, _Znwm, size_t size) { in INTERCEPTOR() function 92 INTERCEPTOR(void *, _Znam, size_t size) { in INTERCEPTOR() function 95 INTERCEPTOR(void *, _ZnwmRKSt9nothrow_t, size_t size, std::nothrow_t const&) { in INTERCEPTOR() function 98 INTERCEPTOR(void *, _ZnamRKSt9nothrow_t, size_t size, std::nothrow_t const&) { in INTERCEPTOR() function 136 INTERCEPTOR(void, _ZdlPv, void *ptr) { in INTERCEPTOR() function 139 INTERCEPTOR(void, _ZdaPv, void *ptr) { in INTERCEPTOR() function 142 INTERCEPTOR(void, _ZdlPvRKSt9nothrow_t, void *ptr, std::nothrow_t const&) { in INTERCEPTOR() function 145 INTERCEPTOR(void, _ZdaPvRKSt9nothrow_t, void *ptr, std::nothrow_t const&) { in INTERCEPTOR() function
|
D | asan_interceptors.cc | 239 INTERCEPTOR(int, pthread_create, void *thread, in INTERCEPTOR() function 280 INTERCEPTOR(int, pthread_join, void *t, void **arg) { in INTERCEPTOR() function 290 INTERCEPTOR(void*, bsd_signal, int signum, void *handler) { in INTERCEPTOR() function 299 INTERCEPTOR(void*, signal, int signum, void *handler) { in INTERCEPTOR() function 307 INTERCEPTOR(int, sigaction, int signum, const struct sigaction *act, in INTERCEPTOR() function 342 INTERCEPTOR(int, swapcontext, struct ucontext_t *oucp, in INTERCEPTOR() function 365 INTERCEPTOR(void, longjmp, void *env, int val) { in INTERCEPTOR() function 371 INTERCEPTOR(void, _longjmp, void *env, int val) { in INTERCEPTOR() function 378 INTERCEPTOR(void, siglongjmp, void *env, int val) { in INTERCEPTOR() function 385 INTERCEPTOR(void, __cxa_throw, void *a, void *b, void *c) { in INTERCEPTOR() function [all …]
|
D | asan_win.cc | 77 INTERCEPTOR(int, _except_handler3, void *a, void *b, void *c, void *d) { in INTERCEPTOR() function 87 INTERCEPTOR(int, _except_handler4, void *a, void *b, void *c, void *d) { in INTERCEPTOR() function
|
/external/compiler-rt/lib/msan/ |
D | msan_interceptors.cc | 107 INTERCEPTOR(SIZE_T, fread, void *ptr, SIZE_T size, SIZE_T nmemb, void *file) { in INTERCEPTOR() function 116 INTERCEPTOR(SIZE_T, fread_unlocked, void *ptr, SIZE_T size, SIZE_T nmemb, in INTERCEPTOR() function 129 INTERCEPTOR(SSIZE_T, readlink, const char *path, char *buf, SIZE_T bufsiz) { in INTERCEPTOR() function 138 INTERCEPTOR(void *, memcpy, void *dest, const void *src, SIZE_T n) { in INTERCEPTOR() function 142 INTERCEPTOR(void *, mempcpy, void *dest, const void *src, SIZE_T n) { in INTERCEPTOR() function 146 INTERCEPTOR(void *, memccpy, void *dest, const void *src, int c, SIZE_T n) { in INTERCEPTOR() function 156 INTERCEPTOR(void *, memmove, void *dest, const void *src, SIZE_T n) { in INTERCEPTOR() function 160 INTERCEPTOR(void *, memset, void *s, int c, SIZE_T n) { in INTERCEPTOR() function 164 INTERCEPTOR(void *, bcopy, const void *src, void *dest, SIZE_T n) { in INTERCEPTOR() function 168 INTERCEPTOR(int, posix_memalign, void **memptr, SIZE_T alignment, SIZE_T size) { in INTERCEPTOR() function [all …]
|
/external/compiler-rt/lib/lsan/ |
D | lsan_interceptors.cc | 53 INTERCEPTOR(void*, malloc, uptr size) { in INTERCEPTOR() function 59 INTERCEPTOR(void, free, void *p) { in INTERCEPTOR() function 64 INTERCEPTOR(void*, calloc, uptr nmemb, uptr size) { in INTERCEPTOR() function 83 INTERCEPTOR(void*, realloc, void *q, uptr size) { in INTERCEPTOR() function 89 INTERCEPTOR(void*, memalign, uptr alignment, uptr size) { in INTERCEPTOR() function 95 INTERCEPTOR(void*, aligned_alloc, uptr alignment, uptr size) { in INTERCEPTOR() function 101 INTERCEPTOR(int, posix_memalign, void **memptr, uptr alignment, uptr size) { in INTERCEPTOR() function 109 INTERCEPTOR(void *, __libc_memalign, uptr alignment, uptr size) { in INTERCEPTOR() function 117 INTERCEPTOR(void*, valloc, uptr size) { in INTERCEPTOR() function 125 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { in INTERCEPTOR() function [all …]
|
/external/llvm-project/compiler-rt/lib/asan/ |
D | asan_malloc_linux.cpp | 122 INTERCEPTOR(void, free, void *ptr) { in INTERCEPTOR() function 132 INTERCEPTOR(void, cfree, void *ptr) { in INTERCEPTOR() function 140 INTERCEPTOR(void*, malloc, uptr size) { in INTERCEPTOR() function 149 INTERCEPTOR(void*, calloc, uptr nmemb, uptr size) { in INTERCEPTOR() function 158 INTERCEPTOR(void*, realloc, void *ptr, uptr size) { in INTERCEPTOR() function 169 INTERCEPTOR(void*, reallocarray, void *ptr, uptr nmemb, uptr size) { in INTERCEPTOR() function 177 INTERCEPTOR(void*, memalign, uptr boundary, uptr size) { in INTERCEPTOR() function 182 INTERCEPTOR(void*, __libc_memalign, uptr boundary, uptr size) { in INTERCEPTOR() function 191 INTERCEPTOR(void*, aligned_alloc, uptr boundary, uptr size) { in INTERCEPTOR() function 197 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { in INTERCEPTOR() function [all …]
|
D | asan_interceptors.cpp | 208 INTERCEPTOR(int, pthread_create, void *thread, in INTERCEPTOR() function 249 INTERCEPTOR(int, pthread_join, void *t, void **arg) { in INTERCEPTOR() function 269 INTERCEPTOR(int, swapcontext, struct ucontext_t *oucp, in INTERCEPTOR() function 305 INTERCEPTOR(void, longjmp, void *env, int val) { in INTERCEPTOR() function 311 INTERCEPTOR(void, _longjmp, void *env, int val) { in INTERCEPTOR() function 318 INTERCEPTOR(void, __longjmp_chk, void *env, int val) { in INTERCEPTOR() function 325 INTERCEPTOR(void, siglongjmp, void *env, int val) { in INTERCEPTOR() function 332 INTERCEPTOR(void, __cxa_throw, void *a, void *b, void *c) { in INTERCEPTOR() function 340 INTERCEPTOR(void, __cxa_rethrow_primary_exception, void *a) { in INTERCEPTOR() function 348 INTERCEPTOR(_Unwind_Reason_Code, _Unwind_RaiseException, in INTERCEPTOR() function [all …]
|
D | asan_new_delete.cpp | 123 INTERCEPTOR(void *, _Znwm, size_t size) { in INTERCEPTOR() function 126 INTERCEPTOR(void *, _Znam, size_t size) { in INTERCEPTOR() function 129 INTERCEPTOR(void *, _ZnwmRKSt9nothrow_t, size_t size, std::nothrow_t const&) { in INTERCEPTOR() function 132 INTERCEPTOR(void *, _ZnamRKSt9nothrow_t, size_t size, std::nothrow_t const&) { in INTERCEPTOR() function 196 INTERCEPTOR(void, _ZdlPv, void *ptr) in INTERCEPTOR() function 198 INTERCEPTOR(void, _ZdaPv, void *ptr) in INTERCEPTOR() function 200 INTERCEPTOR(void, _ZdlPvRKSt9nothrow_t, void *ptr, std::nothrow_t const&) in INTERCEPTOR() function 202 INTERCEPTOR(void, _ZdaPvRKSt9nothrow_t, void *ptr, std::nothrow_t const&) 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
|
/external/llvm-project/compiler-rt/lib/msan/ |
D | msan_interceptors.cpp | 133 INTERCEPTOR(SIZE_T, fread_unlocked, void *ptr, SIZE_T size, SIZE_T nmemb, in INTERCEPTOR() function 147 INTERCEPTOR(void *, mempcpy, void *dest, const void *src, SIZE_T n) { in INTERCEPTOR() function 155 INTERCEPTOR(void *, memccpy, void *dest, const void *src, int c, SIZE_T n) { in INTERCEPTOR() function 165 INTERCEPTOR(void *, bcopy, const void *src, void *dest, SIZE_T n) { in INTERCEPTOR() function 169 INTERCEPTOR(int, posix_memalign, void **memptr, SIZE_T alignment, SIZE_T size) { in INTERCEPTOR() function 179 INTERCEPTOR(void *, memalign, SIZE_T alignment, SIZE_T size) { in INTERCEPTOR() function 188 INTERCEPTOR(void *, aligned_alloc, SIZE_T alignment, SIZE_T size) { in INTERCEPTOR() function 194 INTERCEPTOR(void *, __libc_memalign, SIZE_T alignment, SIZE_T size) { in INTERCEPTOR() function 206 INTERCEPTOR(void *, valloc, SIZE_T size) { in INTERCEPTOR() function 212 INTERCEPTOR(void *, pvalloc, SIZE_T size) { in INTERCEPTOR() function [all …]
|
/external/compiler-rt/lib/esan/ |
D | esan_interceptors.cpp | 243 INTERCEPTOR(char *, strcpy, char *dst, const char *src) { // NOLINT in INTERCEPTOR() function 252 INTERCEPTOR(char *, strncpy, char *dst, char *src, uptr n) { in INTERCEPTOR() function 262 INTERCEPTOR(int, open, const char *name, int flags, int mode) { in INTERCEPTOR() function 270 INTERCEPTOR(int, open64, const char *name, int flags, int mode) { in INTERCEPTOR() function 281 INTERCEPTOR(int, creat, const char *name, int mode) { in INTERCEPTOR() function 289 INTERCEPTOR(int, creat64, const char *name, int mode) { in INTERCEPTOR() function 300 INTERCEPTOR(int, unlink, char *path) { in INTERCEPTOR() function 307 INTERCEPTOR(uptr, fread, void *ptr, uptr size, uptr nmemb, void *f) { in INTERCEPTOR() function 314 INTERCEPTOR(uptr, fwrite, const void *p, uptr size, uptr nmemb, void *f) { in INTERCEPTOR() function 321 INTERCEPTOR(int, puts, const char *s) { in INTERCEPTOR() function [all …]
|
/external/llvm-project/compiler-rt/lib/dfsan/ |
D | dfsan_interceptors.cpp | 29 INTERCEPTOR(void *, mmap, void *addr, SIZE_T length, int prot, int flags, in INTERCEPTOR() function 45 INTERCEPTOR(void *, mmap64, void *addr, SIZE_T length, int prot, int flags, in INTERCEPTOR() function 53 INTERCEPTOR(int, munmap, void *addr, SIZE_T length) { in INTERCEPTOR() function
|
/external/compiler-rt/lib/dfsan/ |
D | dfsan_interceptors.cc | 19 INTERCEPTOR(void *, mmap, void *addr, SIZE_T length, int prot, int flags, in INTERCEPTOR() function 27 INTERCEPTOR(void *, mmap64, void *addr, SIZE_T length, int prot, int flags, in INTERCEPTOR() function
|
/external/llvm-project/compiler-rt/lib/hwasan/ |
D | hwasan_interceptors.cpp | 218 INTERCEPTOR(int, pthread_create, void *th, void *attr, void *(*callback)(void*), in INTERCEPTOR() function 284 INTERCEPTOR(void, siglongjmp, __hw_sigjmp_buf env, int val) { in INTERCEPTOR() function 295 INTERCEPTOR(void, __libc_longjmp, __hw_jmp_buf env, int val) { in INTERCEPTOR() function 299 INTERCEPTOR(void, longjmp, __hw_jmp_buf env, int val) { in INTERCEPTOR() function 315 INTERCEPTOR(int, fork, void) { in INTERCEPTOR() function
|
/external/llvm-project/compiler-rt/lib/interception/tests/ |
D | interception_linux_test.cpp | 29 INTERCEPTOR(int, isdigit, int d) { in INTERCEPTOR() function
|
/external/compiler-rt/lib/interception/tests/ |
D | interception_linux_test.cc | 26 INTERCEPTOR(int, isdigit, int d) { in INTERCEPTOR() function
|
/external/llvm-project/compiler-rt/lib/interception/ |
D | interception.h | 220 #define INTERCEPTOR(ret_type, func, ...) \ macro 227 #define INTERCEPTOR(ret_type, func, ...) \ macro 246 #define INTERCEPTOR(ret_type, func, ...) \ macro
|