Searched refs:INTERCEPTOR (Results 1 - 15 of 15) sorted by relevance

/freebsd-11.0-release/contrib/compiler-rt/lib/asan/
H A Dasan_new_delete.cc73 INTERCEPTOR(void *, _Znwm, size_t size) {
76 INTERCEPTOR(void *, _Znam, size_t size) {
79 INTERCEPTOR(void *, _ZnwmRKSt9nothrow_t, size_t size, std::nothrow_t const&) {
82 INTERCEPTOR(void *, _ZnamRKSt9nothrow_t, size_t size, std::nothrow_t const&) {
120 INTERCEPTOR(void, _ZdlPv, void *ptr) { function
123 INTERCEPTOR(void, _ZdaPv, void *ptr) { function
126 INTERCEPTOR(void, _ZdlPvRKSt9nothrow_t, void *ptr, std::nothrow_t const&) { function
129 INTERCEPTOR(void, _ZdaPvRKSt9nothrow_t, void *ptr, std::nothrow_t const&) { function
H A Dasan_malloc_linux.cc37 INTERCEPTOR(void, free, void *ptr) { function
44 INTERCEPTOR(void, cfree, void *ptr) { function
51 INTERCEPTOR(void*, malloc, uptr size) { function
56 INTERCEPTOR(void*, calloc, uptr nmemb, uptr size) { function
70 INTERCEPTOR(void*, realloc, void *ptr, uptr size) {
82 INTERCEPTOR(void*, memalign, uptr boundary, uptr size) {
87 INTERCEPTOR(void*, aligned_alloc, uptr boundary, uptr size) {
92 INTERCEPTOR(void*, __libc_memalign, uptr boundary, uptr size) {
99 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) {
113 INTERCEPTOR(struc
[all...]
H A Dasan_mac.cc158 INTERCEPTOR(void, dispatch_x_f, dispatch_queue_t dq, void *ctxt, \
175 INTERCEPTOR(void, dispatch_after_f, dispatch_time_t when, function
188 INTERCEPTOR(void, dispatch_group_async_f, dispatch_group_t group, function
223 INTERCEPTOR(void, dispatch_async, function
230 INTERCEPTOR(void, dispatch_group_async, function
237 INTERCEPTOR(void, dispatch_after, function
244 INTERCEPTOR(void, dispatch_source_set_cancel_handler, function
255 INTERCEPTOR(void, dispatch_source_set_event_handler, function
H A Dasan_interceptors.cc232 INTERCEPTOR(int, pthread_create, void *thread, function
263 INTERCEPTOR(int, pthread_join, void *t, void **arg) { function
273 INTERCEPTOR(void*, bsd_signal, int signum, void *handler) { function
281 INTERCEPTOR(void*, signal, int signum, void *handler) { function
288 INTERCEPTOR(int, sigaction, int signum, const struct sigaction *act, function
322 INTERCEPTOR(int, swapcontext, struct ucontext_t *oucp, function
345 INTERCEPTOR(void, longjmp, void *env, int val) { function
351 INTERCEPTOR(void, _longjmp, void *env, int val) { function
358 INTERCEPTOR(void, siglongjmp, void *env, int val) { function
365 INTERCEPTOR(voi function
428 INTERCEPTOR(void*, memmove, void *to, const void *from, uptr size) { function
434 INTERCEPTOR(void*, memcpy, void *to, const void *from, uptr size) { function
450 INTERCEPTOR(void*, memset, void *block, int c, uptr size) { function
456 INTERCEPTOR(char*, strchr, const char *str, int c) { function
491 INTERCEPTOR(char*, strcat, char *to, const char *from) { // NOLINT function
512 INTERCEPTOR(char*, strncat, char *to, const char *from, uptr size) { function
531 INTERCEPTOR(char*, strcpy, char *to, const char *from) { // NOLINT function
553 INTERCEPTOR(char*, strdup, const char *s) { function
569 INTERCEPTOR(SIZE_T, strlen, const char *s) { function
586 INTERCEPTOR(SIZE_T, wcslen, const wchar_t *s) { function
597 INTERCEPTOR(char*, strncpy, char *to, const char *from, uptr size) { function
611 INTERCEPTOR(uptr, strnlen, const char *s, uptr maxlen) { function
623 INTERCEPTOR(long, strtol, const char *nptr, // NOLINT function
637 INTERCEPTOR(int, atoi, const char *nptr) { function
658 INTERCEPTOR(long, atol, const char *nptr) { // NOLINT function
676 INTERCEPTOR(long long, strtoll, const char *nptr, // NOLINT function
690 INTERCEPTOR(long long, atoll, const char *nptr) { // NOLINT function
711 INTERCEPTOR(int, __cxa_atexit, void (*func)(void *), void *arg, function
724 INTERCEPTOR(int, fork, void) { function
[all...]
H A Dasan_win.cc64 INTERCEPTOR(int, _except_handler3, void *a, void *b, void *c, void *d) { function
74 INTERCEPTOR(int, _except_handler4, void *a, void *b, void *c, void *d) { function
H A Dasan_win_dll_thunk.cc378 INTERCEPTOR(int, _except_handler4, void *a, void *b, void *c, void *d) { function
/freebsd-11.0-release/contrib/compiler-rt/lib/tsan/dd/
H A Ddd_interceptors.cc46 INTERCEPTOR(int, pthread_mutex_destroy, pthread_mutex_t *m) { function
52 INTERCEPTOR(int, pthread_mutex_lock, pthread_mutex_t *m) { function
60 INTERCEPTOR(int, pthread_mutex_trylock, pthread_mutex_t *m) { function
68 INTERCEPTOR(int, pthread_mutex_unlock, pthread_mutex_t *m) { function
74 INTERCEPTOR(int, pthread_spin_destroy, pthread_spinlock_t *m) { function
81 INTERCEPTOR(int, pthread_spin_lock, pthread_spinlock_t *m) { function
89 INTERCEPTOR(int, pthread_spin_trylock, pthread_spinlock_t *m) { function
97 INTERCEPTOR(int, pthread_spin_unlock, pthread_spinlock_t *m) { function
103 INTERCEPTOR(int, pthread_rwlock_destroy, pthread_rwlock_t *m) { function
109 INTERCEPTOR(in function
117 INTERCEPTOR(int, pthread_rwlock_tryrdlock, pthread_rwlock_t *m) { function
125 INTERCEPTOR(int, pthread_rwlock_timedrdlock, pthread_rwlock_t *m, function
134 INTERCEPTOR(int, pthread_rwlock_wrlock, pthread_rwlock_t *m) { function
142 INTERCEPTOR(int, pthread_rwlock_trywrlock, pthread_rwlock_t *m) { function
150 INTERCEPTOR(int, pthread_rwlock_timedwrlock, pthread_rwlock_t *m, function
159 INTERCEPTOR(int, pthread_rwlock_unlock, pthread_rwlock_t *m) { function
179 INTERCEPTOR(int, pthread_cond_init, pthread_cond_t *c, function
186 INTERCEPTOR(int, pthread_cond_wait, pthread_cond_t *c, pthread_mutex_t *m) { function
196 INTERCEPTOR(int, pthread_cond_timedwait, pthread_cond_t *c, pthread_mutex_t *m, function
207 INTERCEPTOR(int, pthread_cond_signal, pthread_cond_t *c) { function
213 INTERCEPTOR(int, pthread_cond_broadcast, pthread_cond_t *c) { function
219 INTERCEPTOR(int, pthread_cond_destroy, pthread_cond_t *c) { function
229 INTERCEPTOR(char*, realpath, const char *path, char *resolved_path) { function
234 INTERCEPTOR(SSIZE_T, read, int fd, void *ptr, SIZE_T count) { function
239 INTERCEPTOR(SSIZE_T, pread, int fd, void *ptr, SIZE_T count, OFF_T offset) { function
[all...]
/freebsd-11.0-release/contrib/compiler-rt/lib/lsan/
H A Dlsan_interceptors.cc51 INTERCEPTOR(void*, malloc, uptr size) { function
57 INTERCEPTOR(void, free, void *p) { function
62 INTERCEPTOR(void*, calloc, uptr nmemb, uptr size) { function
81 INTERCEPTOR(void*, realloc, void *q, uptr size) {
87 INTERCEPTOR(void*, memalign, uptr alignment, uptr size) {
93 INTERCEPTOR(void*, aligned_alloc, uptr alignment, uptr size) {
99 INTERCEPTOR(int, posix_memalign, void **memptr, uptr alignment, uptr size) {
107 INTERCEPTOR(void*, valloc, uptr size) {
115 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) {
124 INTERCEPTOR(struc
224 INTERCEPTOR(int, pthread_create, void *th, void *attr, function
253 INTERCEPTOR(int, pthread_join, void *th, void **ret) { function
[all...]
/freebsd-11.0-release/contrib/compiler-rt/lib/msan/
H A Dmsan_interceptors.cc104 INTERCEPTOR(SIZE_T, fread, void *ptr, SIZE_T size, SIZE_T nmemb, void *file) { function
113 INTERCEPTOR(SIZE_T, fread_unlocked, void *ptr, SIZE_T size, SIZE_T nmemb, function
126 INTERCEPTOR(SSIZE_T, readlink, const char *path, char *buf, SIZE_T bufsiz) { function
135 INTERCEPTOR(void *, memcpy, void *dest, const void *src, SIZE_T n) { function
139 INTERCEPTOR(void *, mempcpy, void *dest, const void *src, SIZE_T n) { function
143 INTERCEPTOR(void *, memccpy, void *dest, const void *src, int c, SIZE_T n) { function
153 INTERCEPTOR(void *, memmove, void *dest, const void *src, SIZE_T n) { function
157 INTERCEPTOR(void *, memset, void *s, int c, SIZE_T n) { function
161 INTERCEPTOR(void *, bcopy, const void *src, void *dest, SIZE_T n) { function
165 INTERCEPTOR(in function
176 INTERCEPTOR(void *, memalign, SIZE_T boundary, SIZE_T size) { function
187 INTERCEPTOR(void *, aligned_alloc, SIZE_T boundary, SIZE_T size) { function
194 INTERCEPTOR(void *, __libc_memalign, SIZE_T boundary, SIZE_T size) { function
202 INTERCEPTOR(void *, valloc, SIZE_T size) { function
209 INTERCEPTOR(void *, pvalloc, SIZE_T size) { function
225 INTERCEPTOR(void, free, void *ptr) { function
232 INTERCEPTOR(void, cfree, void *ptr) { function
242 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { function
251 INTERCEPTOR(void, mallinfo, __sanitizer_mallinfo *sret) { function
266 INTERCEPTOR(int, mallopt, int cmd, int value) { function
275 INTERCEPTOR(void, malloc_stats, void) { function
283 INTERCEPTOR(SIZE_T, strlen, const char *s) { function
292 INTERCEPTOR(SIZE_T, strnlen, const char *s, SIZE_T n) { function
300 INTERCEPTOR(char *, strcpy, char *dest, const char *src) { // NOLINT function
310 INTERCEPTOR(char *, strncpy, char *dest, const char *src, SIZE_T n) { // NOLINT function
322 INTERCEPTOR(char *, stpcpy, char *dest, const char *src) { // NOLINT function
332 INTERCEPTOR(char *, strdup, char *src) { function
345 INTERCEPTOR(char *, __strdup, char *src) { function
359 INTERCEPTOR(char *, strndup, char *src, SIZE_T n) { function
372 INTERCEPTOR(char *, __strndup, char *src, SIZE_T n) { function
386 INTERCEPTOR(char *, gcvt, double number, SIZE_T ndigit, char *buf) { function
394 INTERCEPTOR(char *, strcat, char *dest, const char *src) { // NOLINT function
406 INTERCEPTOR(char *, strncat, char *dest, const char *src, SIZE_T n) { // NOLINT function
485 INTERCEPTOR(int, vswprintf, void *str, uptr size, void *format, va_list ap) { function
494 INTERCEPTOR(int, swprintf, void *str, uptr size, void *format, ...) { function
503 INTERCEPTOR(SIZE_T, strxfrm, char *dest, const char *src, SIZE_T n) { function
511 INTERCEPTOR(SIZE_T, strxfrm_l, char *dest, const char *src, SIZE_T n, function
526 INTERCEPTOR(SIZE_T, strftime, char *s, SIZE_T max, const char *format, function
531 INTERCEPTOR(SIZE_T, strftime_l, char *s, SIZE_T max, const char *format, function
537 INTERCEPTOR(SIZE_T, __strftime_l, char *s, SIZE_T max, const char *format, function
547 INTERCEPTOR(SIZE_T, wcsftime, wchar_t *s, SIZE_T max, const wchar_t *format, function
552 INTERCEPTOR(SIZE_T, wcsftime_l, wchar_t *s, SIZE_T max, const wchar_t *format, function
559 INTERCEPTOR(SIZE_T, __wcsftime_l, wchar_t *s, SIZE_T max, const wchar_t *format, function
569 INTERCEPTOR(int, mbtowc, wchar_t *dest, const char *src, SIZE_T n) { function
576 INTERCEPTOR(int, mbrtowc, wchar_t *dest, const char *src, SIZE_T n, void *ps) { function
583 INTERCEPTOR(SIZE_T, wcslen, const wchar_t *s) { function
591 INTERCEPTOR(wchar_t *, wcschr, void *s, wchar_t wc, void *ps) { function
598 INTERCEPTOR(wchar_t *, wcscpy, wchar_t *dest, const wchar_t *src) { function
608 INTERCEPTOR(wchar_t *, wmemcpy, wchar_t *dest, const wchar_t *src, SIZE_T n) { function
616 INTERCEPTOR(wchar_t *, wmempcpy, wchar_t *dest, const wchar_t *src, SIZE_T n) { function
624 INTERCEPTOR(wchar_t *, wmemset, wchar_t *s, wchar_t c, SIZE_T n) { function
632 INTERCEPTOR(wchar_t *, wmemmove, wchar_t *dest, const wchar_t *src, SIZE_T n) { function
640 INTERCEPTOR(int, wcscmp, const wchar_t *s1, const wchar_t *s2) { function
646 INTERCEPTOR(int, gettimeofday, void *tv, void *tz) { function
656 INTERCEPTOR(char *, fcvt, double x, int a, int *b, int *c) { function
665 INTERCEPTOR(char *, getenv, char *name) { function
686 INTERCEPTOR(int, setenv, const char *name, const char *value, int overwrite) { function
694 INTERCEPTOR(int, putenv, char *string) { function
702 INTERCEPTOR(int, __fxstat, int magic, int fd, void *buf) { function
715 INTERCEPTOR(int, __fxstat64, int magic, int fd, void *buf) { function
728 INTERCEPTOR(int, fstatat, int fd, char *pathname, void *buf, int flags) { function
736 INTERCEPTOR(int, __fxstatat, int magic, int fd, char *pathname, void *buf, function
747 INTERCEPTOR(int, __fxstatat64, int magic, int fd, char *pathname, void *buf, function
760 INTERCEPTOR(int, stat, char *path, void *buf) { function
769 INTERCEPTOR(int, __xstat, int magic, char *path, void *buf) { function
780 INTERCEPTOR(int, __xstat64, int magic, char *path, void *buf) { function
793 INTERCEPTOR(int, __lxstat, int magic, char *path, void *buf) { function
806 INTERCEPTOR(int, __lxstat64, int magic, char *path, void *buf) { function
818 INTERCEPTOR(int, pipe, int pipefd[2]) { function
828 INTERCEPTOR(int, pipe2, int pipefd[2], int flags) { function
836 INTERCEPTOR(int, socketpair, int domain, int type, int protocol, int sv[2]) { function
844 INTERCEPTOR(char *, fgets, char *s, int size, void *stream) { function
853 INTERCEPTOR(char *, fgets_unlocked, char *s, int size, void *stream) { function
865 INTERCEPTOR(int, getrlimit, int resource, void *rlim) { function
876 INTERCEPTOR(int, getrlimit64, int resource, void *rlim) { function
895 INTERCEPTOR(int, __xuname, int size, void *utsname) { function
904 INTERCEPTOR(int, uname, struct utsname *utsname) { function
914 INTERCEPTOR(int, gethostname, char *name, SIZE_T len) { function
927 INTERCEPTOR(int, epoll_wait, int epfd, void *events, int maxevents, function
942 INTERCEPTOR(int, epoll_pwait, int epfd, void *events, int maxevents, function
956 INTERCEPTOR(SSIZE_T, recv, int fd, void *buf, SIZE_T len, int flags) { function
964 INTERCEPTOR(SSIZE_T, recvfrom, int fd, void *buf, SIZE_T len, int flags, function
980 INTERCEPTOR(void *, calloc, SIZE_T nmemb, SIZE_T size) { function
1027 INTERCEPTOR(void *, mmap, void *addr, SIZE_T length, int prot, int flags, function
1047 INTERCEPTOR(void *, mmap64, void *addr, SIZE_T length, int prot, int flags, function
1075 INTERCEPTOR(int, dladdr, void *addr, dlinfo *info) { function
1088 INTERCEPTOR(char *, dlerror, int fake) { function
1116 INTERCEPTOR(int, dl_iterate_phdr, dl_iterate_phdr_cb callback, void *data) { function
1125 INTERCEPTOR(int, getrusage, int who, void *usage) { function
1177 INTERCEPTOR(int, sigaction, int signo, const __sanitizer_sigaction *act, function
1217 INTERCEPTOR(int, signal, int signo, uptr cb) { function
1241 INTERCEPTOR(int, pthread_create, void *th, void *attr, void *(*callback)(void*), function
1264 INTERCEPTOR(int, pthread_key_create, __sanitizer_pthread_key_t *key, function
1274 INTERCEPTOR(int, pthread_join, void *th, void **retval) { function
1284 INTERCEPTOR(void, tzset, int fake) { function
1307 INTERCEPTOR(int, __cxa_atexit, void (*func)(void *), void *arg, function
1320 INTERCEPTOR(void *, shmat, int shmid, const void *shmaddr, int shmflg) { function
1343 INTERCEPTOR(int, fork, void) { function
1351 INTERCEPTOR(int, openpty, int *amaster, int *aslave, char *name, function
1363 INTERCEPTOR(int, forkpty, int *amaster, char *name, const void *termp, function
[all...]
/freebsd-11.0-release/contrib/compiler-rt/lib/dfsan/
H A Ddfsan_interceptors.cc19 INTERCEPTOR(void *, mmap, void *addr, SIZE_T length, int prot, int flags, function
27 INTERCEPTOR(void *, mmap64, void *addr, SIZE_T length, int prot, int flags, function
/freebsd-11.0-release/contrib/compiler-rt/lib/tsan/rtl/
H A Dtsan_interceptors.h47 #define TSAN_INTERCEPTOR(ret, func, ...) INTERCEPTOR(ret, func, __VA_ARGS__)
H A Dtsan_interceptors.cc1091 INTERCEPTOR(int, pthread_cond_init, void *c, void *a) { function
1098 INTERCEPTOR(int, pthread_cond_wait, void *c, void *m) { function
1120 INTERCEPTOR(int, pthread_cond_timedwait, void *c, void *m, void *abstime) { function
1141 INTERCEPTOR(int, pthread_cond_signal, void *c) { function
1148 INTERCEPTOR(int, pthread_cond_broadcast, void *c) { function
1155 INTERCEPTOR(int, pthread_cond_destroy, void *c) { function
/freebsd-11.0-release/contrib/compiler-rt/lib/interception/
H A Dinterception.h38 // 1) define INTERCEPTOR(int, foo, const char *bar, double baz) { ... } in
50 // INTERCEPTOR(..., foo, ...) are in different files, you'll instead need to:
54 // Notes: 1. Things may not work properly if macro INTERCEPTOR(...) {...} or
59 // INTERCEPTOR(int, foo, const char *bar, double baz) {...}
171 // Generally, you don't need to use DEFINE_REAL by itself, as INTERCEPTOR
173 // without defining INTERCEPTOR(..., foo, ...). For example, if you override
186 #define INTERCEPTOR(ret_type, func, ...) \ macro
195 INTERCEPTOR(ret_type, func, __VA_ARGS__)
205 #define INTERCEPTOR(ret_type, func, ...) \ macro
/freebsd-11.0-release/contrib/compiler-rt/lib/safestack/
H A Dsafestack.cc171 INTERCEPTOR(int, pthread_create, pthread_t *thread, function
/freebsd-11.0-release/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc196 INTERCEPTOR(char*, textdomain, const char *domainname) {
219 INTERCEPTOR(int, strcmp, const char *s1, const char *s2) {
241 INTERCEPTOR(int, strncmp, const char *s1, const char *s2, uptr size) {
275 INTERCEPTOR(int, strcasecmp, const char *s1, const char *s2) {
290 INTERCEPTOR(int, strncasecmp, const char *s1, const char *s2, SIZE_T n) {
324 INTERCEPTOR(char*, strstr, const char *s1, const char *s2) {
341 INTERCEPTOR(char*, strcasestr, const char *s1, const char *s2) {
356 INTERCEPTOR(SIZE_T, strspn, const char *s1, const char *s2) {
367 INTERCEPTOR(SIZE_T, strcspn, const char *s1, const char *s2) {
386 INTERCEPTOR(cha
[all...]

Completed in 201 milliseconds