Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/compiler-rt/lib/lsan/
H A Dlsan_interceptors.cc53 INTERCEPTOR(void*, malloc, uptr size) { in INTERCEPTOR() function
59 INTERCEPTOR(void, free, void *p) { in INTERCEPTOR() function
93 INTERCEPTOR(void*, valloc, uptr size) { in INTERCEPTOR() function
165 INTERCEPTOR(void*, pvalloc, uptr size) { in INTERCEPTOR() function
191 INTERCEPTOR(int, mprobe, void *ptr) { in INTERCEPTOR() function
282 INTERCEPTOR(void *, _Znwm, size_t size) in INTERCEPTOR() function
284 INTERCEPTOR(void *, _Znam, size_t size) in INTERCEPTOR() function
291 INTERCEPTOR(void, _ZdlPv, void *ptr) in INTERCEPTOR() function
293 INTERCEPTOR(void, _ZdaPv, void *ptr) in INTERCEPTOR() function
322 INTERCEPTOR(void, _lwp_exit) { in INTERCEPTOR() function
[all …]
H A Dlsan_mac.cc112 INTERCEPTOR(void, dispatch_x_f, dispatch_queue_t dq, void *ctxt, \
123 INTERCEPTOR(void, dispatch_after_f, dispatch_time_t when, dispatch_queue_t dq, in INTERCEPT_DISPATCH_X_F_3()
130 INTERCEPTOR(void, dispatch_group_async_f, dispatch_group_t group, in INTERCEPTOR() function
158 INTERCEPTOR(void, dispatch_async, dispatch_queue_t dq, void (^work)(void)) {
163 INTERCEPTOR(void, dispatch_group_async, dispatch_group_t dg,
169 INTERCEPTOR(void, dispatch_after, dispatch_time_t when, dispatch_queue_t queue,
175 INTERCEPTOR(void, dispatch_source_set_cancel_handler, dispatch_source_t ds,
185 INTERCEPTOR(void, dispatch_source_set_event_handler, dispatch_source_t ds,
/freebsd-12.1/contrib/compiler-rt/lib/tsan/dd/
H A 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
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-12.1/contrib/compiler-rt/lib/msan/
H A Dmsan_interceptors.cc207 INTERCEPTOR(void *, valloc, SIZE_T size) { in INTERCEPTOR() function
222 INTERCEPTOR(void, free, void *ptr) { in INTERCEPTOR() function
229 INTERCEPTOR(void, cfree, void *ptr) { in INTERCEPTOR() function
278 INTERCEPTOR(void, malloc_stats, void) { in INTERCEPTOR() function
323 INTERCEPTOR(char *, strdup, char *src) { in INTERCEPTOR() function
336 INTERCEPTOR(char *, __strdup, char *src) { in INTERCEPTOR() function
623 INTERCEPTOR(char *, getenv, char *name) { in INTERCEPTOR() function
652 INTERCEPTOR(int, putenv, char *string) { in INTERCEPTOR() function
730 INTERCEPTOR(int, pipe, int pipefd[2]) { in INTERCEPTOR() function
1074 INTERCEPTOR(void, tzset, int fake) { in INTERCEPTOR() function
[all …]
/freebsd-12.1/contrib/compiler-rt/lib/asan/
H A Dasan_malloc_linux.cc123 INTERCEPTOR(void, free, void *ptr) { in INTERCEPTOR() function
133 INTERCEPTOR(void, cfree, void *ptr) { in INTERCEPTOR() function
141 INTERCEPTOR(void*, malloc, uptr size) { in INTERCEPTOR() function
150 INTERCEPTOR(void*, calloc, uptr nmemb, uptr size) { in INTERCEPTOR() function
159 INTERCEPTOR(void*, realloc, void *ptr, uptr size) { in INTERCEPTOR() function
190 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { in INTERCEPTOR() function
205 INTERCEPTOR(struct fake_mallinfo, mallinfo, void) { in INTERCEPTOR() function
211 INTERCEPTOR(int, mallopt, int cmd, int value) { in INTERCEPTOR() function
223 INTERCEPTOR(void*, valloc, uptr size) { in INTERCEPTOR() function
229 INTERCEPTOR(void*, pvalloc, uptr size) { in INTERCEPTOR() function
[all …]
H A Dasan_interceptors.cc204 INTERCEPTOR(int, pthread_create, void *thread, in INTERCEPTOR() function
245 INTERCEPTOR(int, pthread_join, void *t, void **arg) { in INTERCEPTOR() function
265 INTERCEPTOR(int, swapcontext, struct ucontext_t *oucp, in INTERCEPTOR() function
301 INTERCEPTOR(void, longjmp, void *env, int val) { in INTERCEPTOR() function
307 INTERCEPTOR(void, _longjmp, void *env, int val) { in INTERCEPTOR() function
314 INTERCEPTOR(void, __longjmp_chk, void *env, int val) { in INTERCEPTOR() function
321 INTERCEPTOR(void, siglongjmp, void *env, int val) { in INTERCEPTOR() function
363 INTERCEPTOR(char*, index, const char *string, int c)
438 INTERCEPTOR(char*, strdup, const char *s) { in INTERCEPTOR() function
454 INTERCEPTOR(char*, __strdup, const char *s) { in INTERCEPTOR() function
[all …]
H A Dasan_new_delete.cc130 INTERCEPTOR(void *, _Znwm, size_t size) { in INTERCEPTOR() function
133 INTERCEPTOR(void *, _Znam, size_t size) { in INTERCEPTOR() function
136 INTERCEPTOR(void *, _ZnwmRKSt9nothrow_t, size_t size, std::nothrow_t const&) { in INTERCEPTOR() function
139 INTERCEPTOR(void *, _ZnamRKSt9nothrow_t, size_t size, std::nothrow_t const&) { in INTERCEPTOR() function
203 INTERCEPTOR(void, _ZdlPv, void *ptr) in INTERCEPTOR() function
205 INTERCEPTOR(void, _ZdaPv, void *ptr) in INTERCEPTOR() function
207 INTERCEPTOR(void, _ZdlPvRKSt9nothrow_t, void *ptr, std::nothrow_t const&) in INTERCEPTOR() function
209 INTERCEPTOR(void, _ZdaPvRKSt9nothrow_t, void *ptr, std::nothrow_t const&) in INTERCEPTOR() function
H A Dasan_mac.cc227 INTERCEPTOR(void, dispatch_x_f, dispatch_queue_t dq, void *ctxt, \
244 INTERCEPTOR(void, dispatch_after_f, dispatch_time_t when, in INTERCEPT_DISPATCH_X_F_3()
257 INTERCEPTOR(void, dispatch_group_async_f, dispatch_group_t group, in INTERCEPTOR() function
292 INTERCEPTOR(void, dispatch_async,
299 INTERCEPTOR(void, dispatch_group_async,
306 INTERCEPTOR(void, dispatch_after,
313 INTERCEPTOR(void, dispatch_source_set_cancel_handler,
324 INTERCEPTOR(void, dispatch_source_set_event_handler,
H A Dasan_win.cc116 INTERCEPTOR(int, _except_handler3, void *a, void *b, void *c, void *d) { in INTERCEPTOR() function
126 INTERCEPTOR(int, _except_handler4, void *a, void *b, void *c, void *d) { in INTERCEPTOR() function
H A Dasan_win_dll_thunk.cc97 INTERCEPTOR(int, _except_handler4, void *a, void *b, void *c, void *d) { in INTERCEPTOR() function
/freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc1234 INTERCEPTOR(int, puts, char *s) {
3109 INTERCEPTOR(int, sysinfo, void *info) {
4081 INTERCEPTOR(void, _exit, int status) {
4691 INTERCEPTOR(char *, tmpnam, char *s) {
4887 INTERCEPTOR(float, lgammaf, float x) {
6060 INTERCEPTOR(int, munlockall, void) {
6619 INTERCEPTOR(int, mprobe, void *ptr) {
7946 INTERCEPTOR(bool, cap_rights_is_set,
9074 INTERCEPTOR(void *, getfsent) {
9403 INTERCEPTOR(char *, getusershell) {
[all …]
H A Dsanitizer_malloc_mac.inc54 INTERCEPTOR(malloc_zone_t *, malloc_create_zone,
73 INTERCEPTOR(void, malloc_destroy_zone, malloc_zone_t *zone) {
88 INTERCEPTOR(malloc_zone_t *, malloc_default_zone, void) {
100 INTERCEPTOR(void, malloc_make_purgeable, void *ptr) {
106 INTERCEPTOR(int, malloc_make_nonpurgeable, void *ptr) {
132 INTERCEPTOR(void *, malloc, size_t size) {
138 INTERCEPTOR(void, free, void *ptr) {
144 INTERCEPTOR(void *, realloc, void *ptr, size_t size) {
150 INTERCEPTOR(void *, calloc, size_t nmemb, size_t size) {
156 INTERCEPTOR(void *, valloc, size_t size) {
[all …]
H A Dsanitizer_signal_interceptors.inc38 INTERCEPTOR(uptr, bsd_signal, int signum, uptr handler) {
48 INTERCEPTOR(uptr, signal, int signum, uptr handler) {
55 INTERCEPTOR(int, sigaction_symname, int signum,
/freebsd-12.1/contrib/compiler-rt/lib/esan/
H A Desan_interceptors.cpp264 INTERCEPTOR(char *, strncpy, char *dst, char *src, uptr n) { in INTERCEPTOR() function
274 INTERCEPTOR(int, open, const char *name, int flags, int mode) { in INTERCEPTOR() function
282 INTERCEPTOR(int, open64, const char *name, int flags, int mode) { in INTERCEPTOR() function
293 INTERCEPTOR(int, creat, const char *name, int mode) { in INTERCEPTOR() function
301 INTERCEPTOR(int, creat64, const char *name, int mode) { in INTERCEPTOR() function
312 INTERCEPTOR(int, unlink, char *path) { in INTERCEPTOR() function
319 INTERCEPTOR(int, rmdir, char *path) { in INTERCEPTOR() function
384 INTERCEPTOR(int, sigprocmask, int how, __sanitizer_sigset_t *set, in INTERCEPTOR() function
452 INTERCEPTOR(void*, calloc, uptr size, uptr n) { in INTERCEPTOR() function
463 INTERCEPTOR(void*, malloc, uptr size) { in INTERCEPTOR() function
[all …]
/freebsd-12.1/contrib/compiler-rt/lib/dfsan/
H A Ddfsan_interceptors.cc21 INTERCEPTOR(void *, mmap, void *addr, SIZE_T length, int prot, int flags, in INTERCEPTOR() function
29 INTERCEPTOR(void *, mmap64, void *addr, SIZE_T length, int prot, int flags, in INTERCEPTOR() function
/freebsd-12.1/contrib/compiler-rt/lib/interception/
H A Dinterception.h215 #define INTERCEPTOR(ret_type, func, ...) \ macro
222 #define INTERCEPTOR(ret_type, func, ...) \ macro
231 INTERCEPTOR(ret_type, func, __VA_ARGS__)
241 #define INTERCEPTOR(ret_type, func, ...) \ macro
/freebsd-12.1/contrib/compiler-rt/lib/hwasan/
H A Dhwasan_interceptors.cc222 INTERCEPTOR(int, pthread_create, void *th, void *attr, in INTERCEPTOR() function
239 INTERCEPTOR(int, fork, void) { in INTERCEPTOR() function
/freebsd-12.1/contrib/compiler-rt/lib/tsan/rtl/
H A Dtsan_interceptors.h50 #define TSAN_INTERCEPTOR(ret, func, ...) INTERCEPTOR(ret, func, __VA_ARGS__)
H A Dtsan_interceptors.cc1143 INTERCEPTOR(int, pthread_cond_init, void *c, void *a) { in INTERCEPTOR() function
1170 INTERCEPTOR(int, pthread_cond_wait, void *c, void *m) { in INTERCEPTOR() function
1178 INTERCEPTOR(int, pthread_cond_timedwait, void *c, void *m, void *abstime) { in INTERCEPTOR() function
1186 INTERCEPTOR(int, pthread_cond_timedwait_relative_np, void *c, void *m, in INTERCEPTOR() function
1195 INTERCEPTOR(int, pthread_cond_signal, void *c) { in INTERCEPTOR() function
1202 INTERCEPTOR(int, pthread_cond_broadcast, void *c) { in INTERCEPTOR() function
1209 INTERCEPTOR(int, pthread_cond_destroy, void *c) { in INTERCEPTOR() function
/freebsd-12.1/contrib/compiler-rt/lib/cfi/
H A Dcfi.cc424 INTERCEPTOR(void*, dlopen, const char *filename, int flag) { in INTERCEPTOR() function
432 INTERCEPTOR(int, dlclose, void *handle) { in INTERCEPTOR() function
/freebsd-12.1/contrib/compiler-rt/lib/safestack/
H A Dsafestack.cc218 INTERCEPTOR(int, pthread_create, pthread_t *thread, in INTERCEPTOR() function