Home
last modified time | relevance | path

Searched refs:INTERCEPTOR (Results 1 – 24 of 24) sorted by relevance

/freebsd-14.2/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
114 INTERCEPTOR(void*, valloc, uptr size) { in INTERCEPTOR() function
189 INTERCEPTOR(void*, pvalloc, uptr size) { in INTERCEPTOR() function
215 INTERCEPTOR(int, mprobe, void *ptr) { in INTERCEPTOR() function
306 INTERCEPTOR(void *, _Znwm, size_t size) in INTERCEPTOR() function
308 INTERCEPTOR(void *, _Znam, size_t size) in INTERCEPTOR() function
315 INTERCEPTOR(void, _ZdlPv, void *ptr) in INTERCEPTOR() function
317 INTERCEPTOR(void, _ZdaPv, void *ptr) in INTERCEPTOR() function
346 INTERCEPTOR(void, _lwp_exit) { in INTERCEPTOR() function
[all …]
H A Dlsan_mac.cpp110 INTERCEPTOR(void, dispatch_x_f, dispatch_queue_t dq, void *ctxt, \
121 INTERCEPTOR(void, dispatch_after_f, dispatch_time_t when, dispatch_queue_t dq, in INTERCEPT_DISPATCH_X_F_3()
128 INTERCEPTOR(void, dispatch_group_async_f, dispatch_group_t group, in INTERCEPTOR() function
156 INTERCEPTOR(void, dispatch_async, dispatch_queue_t dq, void (^work)(void)) {
161 INTERCEPTOR(void, dispatch_group_async, dispatch_group_t dg,
167 INTERCEPTOR(void, dispatch_after, dispatch_time_t when, dispatch_queue_t queue,
173 INTERCEPTOR(void, dispatch_source_set_cancel_handler, dispatch_source_t ds,
183 INTERCEPTOR(void, dispatch_source_set_event_handler, dispatch_source_t ds,
/freebsd-14.2/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
86 INTERCEPTOR(void *, memalign, uptr boundary, uptr size) { in INTERCEPTOR() function
106 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { in INTERCEPTOR() function
121 INTERCEPTOR(struct fake_mallinfo, mallinfo, void) { in INTERCEPTOR() function
127 INTERCEPTOR(int, mallopt, int cmd, int value) { return 0; } in INTERCEPTOR() function
135 INTERCEPTOR(void *, valloc, uptr size) { 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
171 INTERCEPTOR(char *, index, const char *string, int c)
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
262 INTERCEPTOR(int, atoi, const char *nptr) { in INTERCEPTOR() function
277 INTERCEPTOR(long, atol, const char *nptr) { in INTERCEPTOR() function
[all …]
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/dfsan/
H A Ddfsan_interceptors.cpp51 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
99 INTERCEPTOR(void *, pvalloc, SIZE_T size) { in INTERCEPTOR() function
108 INTERCEPTOR(int, mallopt, int cmd, int value) { return 0; } in INTERCEPTOR() function
110 INTERCEPTOR(void, malloc_stats, void) { in INTERCEPTOR() function
114 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { in INTERCEPTOR() function
160 INTERCEPTOR(int, munmap, void *addr, SIZE_T length) { in INTERCEPTOR() function
[all …]
/freebsd-14.2/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
94 INTERCEPTOR(int, pthread_spin_unlock, pthread_spinlock_t *m) { in INTERCEPTOR() function
106 INTERCEPTOR(int, pthread_rwlock_rdlock, pthread_rwlock_t *m) { in INTERCEPTOR() function
176 INTERCEPTOR(int, pthread_cond_init, pthread_cond_t *c, in INTERCEPTOR() function
204 INTERCEPTOR(int, pthread_cond_signal, pthread_cond_t *c) { in INTERCEPTOR() function
[all …]
/freebsd-14.2/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
115 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { in INTERCEPTOR() function
130 INTERCEPTOR(struct fake_mallinfo, mallinfo, void) { in INTERCEPTOR() function
136 INTERCEPTOR(int, mallopt, int cmd, int value) { in INTERCEPTOR() function
146 INTERCEPTOR(void*, valloc, uptr size) { in INTERCEPTOR() function
152 INTERCEPTOR(void*, pvalloc, uptr size) { in INTERCEPTOR() function
[all …]
H A Dasan_interceptors.cpp299 INTERCEPTOR(int, pthread_detach, void *thread) { in INTERCEPTOR() function
308 INTERCEPTOR(void, pthread_exit, void *retval) { in INTERCEPTOR() function
423 INTERCEPTOR(void, longjmp, void *env, int val) { in INTERCEPTOR() function
429 INTERCEPTOR(void, _longjmp, void *env, int val) { in INTERCEPTOR() function
443 INTERCEPTOR(void, siglongjmp, void *env, int val) { in INTERCEPTOR() function
561 INTERCEPTOR(char*, strdup, const char *s) { in INTERCEPTOR() function
579 INTERCEPTOR(char*, __strdup, const char *s) { in INTERCEPTOR() function
638 INTERCEPTOR(int, atoi, const char *nptr) { in INTERCEPTOR_STRTO_BASE()
658 INTERCEPTOR(long, atol, const char *nptr) { in INTERCEPTOR() function
674 INTERCEPTOR(long long, atoll, const char *nptr) { in INTERCEPTOR() function
[all …]
H A Dasan_mac.cpp203 INTERCEPTOR(void, dispatch_x_f, dispatch_queue_t dq, void *ctxt, \
220 INTERCEPTOR(void, dispatch_after_f, dispatch_time_t when, in INTERCEPT_DISPATCH_X_F_3()
233 INTERCEPTOR(void, dispatch_group_async_f, dispatch_group_t group, in INTERCEPTOR() function
270 INTERCEPTOR(void, dispatch_async,
277 INTERCEPTOR(void, dispatch_group_async,
284 INTERCEPTOR(void, dispatch_after,
291 INTERCEPTOR(void, dispatch_source_set_cancel_handler,
302 INTERCEPTOR(void, dispatch_source_set_event_handler,
309 INTERCEPTOR(void *, dispatch_mach_create, const char *label, in INTERCEPTOR() function
322 INTERCEPTOR(void *, dispatch_mach_create_f, const char *label, in INTERCEPTOR() function
H A Dasan_new_delete.cpp110 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 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
H A Dasan_win_dll_thunk.cpp109 INTERCEPTOR(int, _except_handler4, void *a, void *b, void *c, void *d) { in INTERCEPTOR() function
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan_interceptors.cpp198 INTERCEPTOR(void *, valloc, SIZE_T size) { in INTERCEPTOR() function
204 INTERCEPTOR(void *, pvalloc, SIZE_T size) { in INTERCEPTOR() function
213 INTERCEPTOR(void, free, void *ptr) { in INTERCEPTOR() function
223 INTERCEPTOR(void, cfree, void *ptr) { in INTERCEPTOR() function
289 INTERCEPTOR(void, malloc_stats, void) { in INTERCEPTOR() function
346 INTERCEPTOR(char *, strdup, char *src) { in INTERCEPTOR() function
359 INTERCEPTOR(char *, __strdup, char *src) { in INTERCEPTOR() function
718 INTERCEPTOR(char *, getenv, char *name) { in INTERCEPTOR() function
748 INTERCEPTOR(int, putenv, char *string) { in INTERCEPTOR() function
859 INTERCEPTOR(int, pipe, int pipefd[2]) { in INTERCEPTOR() function
[all …]
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors_memintrinsics.inc85 INTERCEPTOR(void *, memset, void *dst, int v, uptr size) {
96 INTERCEPTOR(void *, memmove, void *dst, const void *src, uptr size) {
107 INTERCEPTOR(void *, memcpy, void *dst, const void *src, uptr size) {
167 INTERCEPTOR(void *, __aeabi_memset, void *block, uptr size, int c) {
172 INTERCEPTOR(void *, __aeabi_memset4, void *block, uptr size, int c) {
177 INTERCEPTOR(void *, __aeabi_memset8, void *block, uptr size, int c) {
182 INTERCEPTOR(void *, __aeabi_memclr, void *block, uptr size) {
187 INTERCEPTOR(void *, __aeabi_memclr4, void *block, uptr size) {
192 INTERCEPTOR(void *, __aeabi_memclr8, void *block, uptr size) {
215 INTERCEPTOR(void *, __bzero, void *block, uptr size) {
[all …]
H A Dsanitizer_common_interceptors.inc1231 INTERCEPTOR(int, puts, char *s) {
4390 INTERCEPTOR(void, _exit, int status) {
4960 INTERCEPTOR(char *, tmpnam, char *s) {
4997 INTERCEPTOR(char *, ptsname, int fd) {
5025 INTERCEPTOR(char *, ttyname, int fd) {
6432 INTERCEPTOR(int, munlockall, void) {
7048 INTERCEPTOR(int, mprobe, void *ptr) {
8440 INTERCEPTOR(bool, cap_rights_is_set,
9390 INTERCEPTOR(void *, getfsent) {
9719 INTERCEPTOR(char *, getusershell) {
[all …]
H A Dsanitizer_malloc_mac.inc56 INTERCEPTOR(malloc_zone_t *, malloc_create_zone,
73 INTERCEPTOR(void, malloc_destroy_zone, malloc_zone_t *zone) {
86 INTERCEPTOR(malloc_zone_t *, malloc_default_zone, void) {
107 INTERCEPTOR(void, malloc_make_purgeable, void *ptr) {
113 INTERCEPTOR(int, malloc_make_nonpurgeable, void *ptr) {
135 INTERCEPTOR(void *, malloc, size_t size) {
141 INTERCEPTOR(void, free, void *ptr) {
147 INTERCEPTOR(void *, realloc, void *ptr, size_t size) {
153 INTERCEPTOR(void *, calloc, size_t nmemb, size_t size) {
159 INTERCEPTOR(void *, valloc, size_t size) {
[all …]
H A Dsanitizer_common_interceptors_netbsd_compat.inc33 INTERCEPTOR(int, statvfs, char *path, void *buf) {
45 INTERCEPTOR(int, fstatvfs, int fd, void *buf) {
68 INTERCEPTOR(int, __getmntinfo13, void **mntbufp, int flags) {
85 INTERCEPTOR(int, getvfsstat, void *buf, SIZE_T bufsize, int flags) {
99 INTERCEPTOR(int, statvfs1, const char *path, void *buf, int flags) {
108 INTERCEPTOR(int, fstatvfs1, int fd, void *buf, int flags) {
H A Dsanitizer_signal_interceptors.inc45 INTERCEPTOR(uptr, bsd_signal, int signum, uptr handler) {
56 INTERCEPTOR(uptr, signal, int signum, uptr handler) {
64 INTERCEPTOR(int, sigaction_symname, int signum,
/freebsd-14.2/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-14.2/contrib/llvm-project/compiler-rt/lib/interception/
H A Dinterception.h296 #define INTERCEPTOR(ret_type, func, ...) \ macro
303 #define INTERCEPTOR(ret_type, func, ...) \ macro
310 INTERCEPTOR(ret_type, func, __VA_ARGS__)
320 #define INTERCEPTOR(ret_type, func, ...) \ macro
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_interceptors.h85 #define TSAN_INTERCEPTOR(ret, func, ...) INTERCEPTOR(ret, func, __VA_ARGS__)
H A Dtsan_interceptors_posix.cpp1211 INTERCEPTOR(int, pthread_cond_init, void *c, void *a) { in INTERCEPTOR() function
1242 INTERCEPTOR(int, pthread_cond_wait, void *c, void *m) { in INTERCEPTOR() function
1250 INTERCEPTOR(int, pthread_cond_timedwait, void *c, void *m, void *abstime) { in INTERCEPTOR() function
1260 INTERCEPTOR(int, pthread_cond_clockwait, void *c, void *m, in INTERCEPTOR() function
1275 INTERCEPTOR(int, pthread_cond_timedwait_relative_np, void *c, void *m, in INTERCEPTOR() function
1288 INTERCEPTOR(int, pthread_cond_signal, void *c) { in INTERCEPTOR() function
1295 INTERCEPTOR(int, pthread_cond_broadcast, void *c) { in INTERCEPTOR() function
1302 INTERCEPTOR(int, pthread_cond_destroy, void *c) { in INTERCEPTOR() function
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/cfi/
H A Dcfi.cpp427 INTERCEPTOR(void*, dlopen, const char *filename, int flag) { in INTERCEPTOR() function
435 INTERCEPTOR(int, dlclose, void *handle) { in INTERCEPTOR() function
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/safestack/
H A Dsafestack.cpp208 INTERCEPTOR(int, pthread_create, pthread_t *thread, in INTERCEPTOR() function