Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/compiler-rt/lib/rtsan/
H A Drtsan_interceptors.cpp70 INTERCEPTOR(int, open, const char *path, int oflag, ...) { in INTERCEPTOR() function
84 INTERCEPTOR(int, openat, int fd, const char *path, int oflag, ...) { in INTERCEPTOR() function
98 INTERCEPTOR(int, creat, const char *path, mode_t mode) { in INTERCEPTOR() function
106 INTERCEPTOR(int, fcntl, int filedes, int cmd, ...) { in INTERCEPTOR() function
127 INTERCEPTOR(int, close, int filedes) { in INTERCEPTOR() function
132 INTERCEPTOR(FILE *, fopen, const char *path, const char *mode) { in INTERCEPTOR() function
137 INTERCEPTOR(size_t, fread, void *ptr, size_t size, size_t nitems, in INTERCEPTOR() function
143 INTERCEPTOR(size_t, fwrite, const void *ptr, size_t size, size_t nitems, in INTERCEPTOR() function
149 INTERCEPTOR(int, fclose, FILE *stream) { in INTERCEPTOR() function
154 INTERCEPTOR(int, fputs, const char *s, FILE *stream) { in INTERCEPTOR() function
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_malloc_linux.cpp37 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 Dmemprof_interceptors.cpp134 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, uptr 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, uptr size) { in INTERCEPTOR() function
252 INTERCEPTOR(long, strtol, const char *nptr, char **endptr, int base) { in INTERCEPTOR() function
262 INTERCEPTOR(int, atoi, const char *nptr) { in INTERCEPTOR() function
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/dd/
H A Ddd_interceptors.cpp43 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 …]
/freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/
H A Ddfsan_interceptors.cpp36 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 …]
/freebsd/contrib/llvm-project/compiler-rt/lib/nsan/
H A Dnsan_interceptors.cpp30 INTERCEPTOR(void *, memset, void *dst, int v, uptr size) { in INTERCEPTOR() function
41 INTERCEPTOR(wchar_t *, wmemset, wchar_t *dst, wchar_t v, uptr size) { in INTERCEPTOR() function
47 INTERCEPTOR(void *, memmove, void *dst, const void *src, uptr size) { in INTERCEPTOR() function
59 INTERCEPTOR(wchar_t *, wmemmove, wchar_t *dst, const wchar_t *src, uptr size) { in INTERCEPTOR() function
65 INTERCEPTOR(void *, memcpy, void *dst, const void *src, uptr size) { in INTERCEPTOR() function
80 INTERCEPTOR(wchar_t *, wmemcpy, wchar_t *dst, const wchar_t *src, uptr size) { in INTERCEPTOR() function
86 INTERCEPTOR(char *, strfry, char *s) { in INTERCEPTOR() function
94 INTERCEPTOR(char *, strsep, char **Stringp, const char *delim) { in INTERCEPTOR() function
103 INTERCEPTOR(char *, strtok, char *str, const char *delim) { in INTERCEPTOR() function
122 INTERCEPTOR(char *, strdup, const char *S) { in INTERCEPTOR() function
[all …]
H A Dnsan_malloc_linux.cpp30 INTERCEPTOR(void *, aligned_alloc, uptr align, uptr size) { in INTERCEPTOR() function
37 INTERCEPTOR(void *, calloc, uptr nmemb, uptr size) { in INTERCEPTOR() function
47 INTERCEPTOR(void, free, void *ptr) { in INTERCEPTOR() function
53 INTERCEPTOR(void *, malloc, uptr size) { in INTERCEPTOR() function
62 INTERCEPTOR(void *, realloc, void *ptr, uptr size) { in INTERCEPTOR() function
74 INTERCEPTOR(void *, reallocarray, void *ptr, uptr nmemb, uptr size) { in INTERCEPTOR() function
82 INTERCEPTOR(int, posix_memalign, void **memptr, uptr align, uptr size) { in INTERCEPTOR() function
91 INTERCEPTOR(void *, memalign, uptr align, uptr size) { in INTERCEPTOR() function
98 INTERCEPTOR(void *, __libc_memalign, uptr align, uptr size) { in INTERCEPTOR() function
/freebsd/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_interceptors.cpp71 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) { 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 Dlsan_mac.cpp128 INTERCEPTOR(void, dispatch_group_async_f, dispatch_group_t group, in INTERCEPTOR() function
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_malloc_linux.cpp49 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
72 INTERCEPTOR(void*, calloc, uptr nmemb, uptr size) { in INTERCEPTOR() function
79 INTERCEPTOR(void*, realloc, void *ptr, uptr size) { in INTERCEPTOR() function
87 INTERCEPTOR(void*, reallocarray, void *ptr, uptr nmemb, uptr size) { in INTERCEPTOR() function
95 INTERCEPTOR(void*, memalign, uptr boundary, uptr size) { in INTERCEPTOR() function
100 INTERCEPTOR(void*, __libc_memalign, uptr boundary, uptr size) { in INTERCEPTOR() function
109 INTERCEPTOR(void*, aligned_alloc, uptr boundary, uptr size) { in INTERCEPTOR() function
115 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { in INTERCEPTOR() function
[all …]
H A Dasan_interceptors.cpp244 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(void, longjmp, void *env, int val) { function
441 INTERCEPTOR(void, _longjmp, void *env, int val) { function
[all …]
H A Dasan_mac.cpp229 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 Dasan_win_dll_thunk.cpp109 INTERCEPTOR(int, _except_handler4, void *a, void *b, void *c, void *d) { in INTERCEPTOR() function
H A Dasan_win.cpp117 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
/freebsd/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan_interceptors.cpp125 INTERCEPTOR(SIZE_T, fread_unlocked, void *ptr, SIZE_T size, SIZE_T nmemb, in INTERCEPTOR() function
139 INTERCEPTOR(void *, mempcpy, void *dest, const void *src, SIZE_T n) { in INTERCEPTOR() function
147 INTERCEPTOR(void *, memccpy, void *dest, const void *src, int c, SIZE_T n) { in INTERCEPTOR() function
157 INTERCEPTOR(void *, bcopy, const void *src, void *dest, SIZE_T n) { in INTERCEPTOR() function
161 INTERCEPTOR(int, posix_memalign, void **memptr, SIZE_T alignment, SIZE_T size) { in INTERCEPTOR() function
171 INTERCEPTOR(void *, memalign, SIZE_T alignment, SIZE_T size) { in INTERCEPTOR() function
180 INTERCEPTOR(void *, aligned_alloc, SIZE_T alignment, SIZE_T size) { in INTERCEPTOR() function
186 INTERCEPTOR(void *, __libc_memalign, SIZE_T alignment, SIZE_T size) { in INTERCEPTOR() function
198 INTERCEPTOR(void *, valloc, SIZE_T size) { in INTERCEPTOR() function
204 INTERCEPTOR(void *, pvalloc, SIZE_T size) { in INTERCEPTOR() function
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_interceptors.cpp268 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
/freebsd/contrib/llvm-project/compiler-rt/lib/interception/
H A Dinterception.h296 #define INTERCEPTOR(ret_type, func, ...) \ macro
303 #define INTERCEPTOR(ret_type, func, ...) \ macro
320 #define INTERCEPTOR(ret_type, func, ...) \ macro
/freebsd/contrib/llvm-project/compiler-rt/lib/cfi/
H A Dcfi.cpp423 INTERCEPTOR(void*, dlopen, const char *filename, int flag) { INTERCEPTOR() function
431 INTERCEPTOR(int, dlclose, void *handle) { INTERCEPTOR() function
/freebsd/contrib/llvm-project/compiler-rt/lib/safestack/
H A Dsafestack.cpp233 INTERCEPTOR(int, pthread_create, pthread_t *thread, in INTERCEPTOR() function
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_interceptors_posix.cpp1222 INTERCEPTOR(int, pthread_cond_init, void *c, void *a) { in INTERCEPTOR() function
1253 INTERCEPTOR(int, pthread_cond_wait, void *c, void *m) { in INTERCEPTOR() function
1261 INTERCEPTOR(int, pthread_cond_timedwait, void *c, void *m, void *abstime) { in INTERCEPTOR() function
1271 INTERCEPTOR(int, pthread_cond_clockwait, void *c, void *m, in INTERCEPTOR() function
1286 INTERCEPTOR(int, pthread_cond_timedwait_relative_np, void *c, void *m, in INTERCEPTOR() function
1299 INTERCEPTOR(int, pthread_cond_signal, void *c) { in INTERCEPTOR() function
1306 INTERCEPTOR(int, pthread_cond_broadcast, void *c) { in INTERCEPTOR() function
1313 INTERCEPTOR(int, pthread_cond_destroy, void *c) { in INTERCEPTOR() function