Home
last modified time | relevance | path

Searched defs:INTERCEPTOR (Results 1 – 25 of 37) sorted by relevance

12

/external/compiler-rt/lib/scudo/
Dscudo_interceptors.cpp23 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/
Ddd_interceptors.cpp42 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/
Ddd_interceptors.cc43 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/
Dlsan_interceptors.cpp54 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 …]
Dlsan_mac.cpp129 INTERCEPTOR(void, dispatch_group_async_f, dispatch_group_t group, in INTERCEPTOR() function
/external/llvm-project/compiler-rt/lib/memprof/
Dmemprof_malloc_linux.cpp104 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 …]
Dmemprof_interceptors.cpp159 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/
Dasan_malloc_linux.cc46 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 …]
Dasan_new_delete.cc89 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
Dasan_interceptors.cc239 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 …]
Dasan_win.cc77 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/
Dmsan_interceptors.cc107 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/
Dlsan_interceptors.cc53 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/
Dasan_malloc_linux.cpp122 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 …]
Dasan_interceptors.cpp208 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 …]
Dasan_new_delete.cpp123 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
Dasan_win_dll_thunk.cpp96 INTERCEPTOR(int, _except_handler4, void *a, void *b, void *c, void *d) { in INTERCEPTOR() function
/external/llvm-project/compiler-rt/lib/msan/
Dmsan_interceptors.cpp133 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/
Desan_interceptors.cpp243 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/
Ddfsan_interceptors.cpp29 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/
Ddfsan_interceptors.cc19 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/
Dhwasan_interceptors.cpp218 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/
Dinterception_linux_test.cpp29 INTERCEPTOR(int, isdigit, int d) { in INTERCEPTOR() function
/external/compiler-rt/lib/interception/tests/
Dinterception_linux_test.cc26 INTERCEPTOR(int, isdigit, int d) { in INTERCEPTOR() function
/external/llvm-project/compiler-rt/lib/interception/
Dinterception.h220 #define INTERCEPTOR(ret_type, func, ...) \ macro
227 #define INTERCEPTOR(ret_type, func, ...) \ macro
246 #define INTERCEPTOR(ret_type, func, ...) \ macro

12