Searched defs:INTERCEPTOR (Results 1 - 12 of 12) sorted by relevance

/external/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
/external/compiler-rt/lib/asan/
H A Dasan_malloc_linux.cc68 INTERCEPTOR(void, free, void *ptr) { function
73 INTERCEPTOR(void, cfree, void *ptr) { function
78 INTERCEPTOR(void*, malloc, uptr size) { function
83 INTERCEPTOR(void*, calloc, uptr nmemb, uptr size) { function
99 INTERCEPTOR(void*, realloc, void *ptr, uptr size) {
104 INTERCEPTOR(void*, memalign, uptr boundary, uptr size) {
109 INTERCEPTOR(void*, aligned_alloc, uptr boundary, uptr size) {
114 INTERCEPTOR(void*, __libc_memalign, uptr boundary, uptr size) {
121 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) {
135 INTERCEPTOR(struc
[all...]
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&) {
110 INTERCEPTOR(void, _ZdlPv, void *ptr) { function
113 INTERCEPTOR(void, _ZdaPv, void *ptr) { function
116 INTERCEPTOR(void, _ZdlPvRKSt9nothrow_t, void *ptr, std::nothrow_t const&) { function
119 INTERCEPTOR(void, _ZdaPvRKSt9nothrow_t, void *ptr, std::nothrow_t const&) { function
H A Dasan_malloc_mac.cc42 INTERCEPTOR(malloc_zone_t *, malloc_create_zone, function
62 INTERCEPTOR(malloc_zone_t *, malloc_default_zone, void) { function
67 INTERCEPTOR(malloc_zone_t *, malloc_default_purgeable_zone, void) { function
74 INTERCEPTOR(void, malloc_make_purgeable, void *ptr) { function
80 INTERCEPTOR(int, malloc_make_nonpurgeable, void *ptr) { function
89 INTERCEPTOR(void, malloc_set_zone_name, malloc_zone_t *zone, const char *name) { function
104 INTERCEPTOR(void *, malloc, size_t size) { function
111 INTERCEPTOR(void, free, void *ptr) { function
118 INTERCEPTOR(void *, realloc, void *ptr, size_t size) { function
124 INTERCEPTOR(voi function
130 INTERCEPTOR(void *, valloc, size_t size) { function
136 INTERCEPTOR(size_t, malloc_good_size, size_t size) { function
141 INTERCEPTOR(int, posix_memalign, void **memptr, size_t alignment, size_t size) { function
[all...]
H A Dasan_mac.cc312 INTERCEPTOR(void, dispatch_x_f, dispatch_queue_t dq, void *ctxt, \
329 INTERCEPTOR(void, dispatch_after_f, dispatch_time_t when, function
342 INTERCEPTOR(void, dispatch_group_async_f, dispatch_group_t group, function
384 INTERCEPTOR(void, dispatch_async, function
391 INTERCEPTOR(void, dispatch_group_async, function
398 INTERCEPTOR(void, dispatch_after, function
405 INTERCEPTOR(void, dispatch_source_set_cancel_handler, function
412 INTERCEPTOR(void, dispatch_source_set_event_handler, function
H A Dasan_interceptors.cc174 INTERCEPTOR(int, pthread_create, void *thread, function
196 INTERCEPTOR(void*, bsd_signal, int signum, void *handler) { function
204 INTERCEPTOR(void*, signal, int signum, void *handler) { function
213 INTERCEPTOR(int, sigaction, int signum, const struct sigaction *act, function
248 INTERCEPTOR(int, swapcontext, struct ucontext_t *oucp, function
271 INTERCEPTOR(void, longjmp, void *env, int val) { function
277 INTERCEPTOR(void, _longjmp, void *env, int val) { function
284 INTERCEPTOR(void, siglongjmp, void *env, int val) { function
291 INTERCEPTOR(void, __cxa_throw, void *a, void *b, void *c) { function
311 INTERCEPTOR(in function
316 INTERCEPTOR(int, munlock, const void *addr, uptr len) { function
321 INTERCEPTOR(int, mlockall, int flags) { function
326 INTERCEPTOR(int, munlockall, void) { function
336 INTERCEPTOR(int, memcmp, const void *a1, const void *a2, uptr size) { function
408 INTERCEPTOR(void*, memmove, void *to, const void *from, uptr size) { function
412 INTERCEPTOR(void*, memcpy, void *to, const void *from, uptr size) { function
426 INTERCEPTOR(void*, memset, void *block, int c, uptr size) { function
430 INTERCEPTOR(char*, strchr, const char *str, int c) { function
462 INTERCEPTOR(char*, strcat, char *to, const char *from) { // NOLINT function
481 INTERCEPTOR(char*, strncat, char *to, const char *from, uptr size) { function
498 INTERCEPTOR(char*, strcpy, char *to, const char *from) { // NOLINT function
518 INTERCEPTOR(char*, strdup, const char *s) { function
532 INTERCEPTOR(uptr, strlen, const char *s) { function
547 INTERCEPTOR(uptr, wcslen, const wchar_t *s) { function
556 INTERCEPTOR(char*, strncpy, char *to, const char *from, uptr size) { function
568 INTERCEPTOR(uptr, strnlen, const char *s, uptr maxlen) { function
595 INTERCEPTOR(long, strtol, const char *nptr, // NOLINT function
613 INTERCEPTOR(int, atoi, const char *nptr) { function
632 INTERCEPTOR(long, atol, const char *nptr) { // NOLINT function
648 INTERCEPTOR(long long, strtoll, const char *nptr, // NOLINT function
669 INTERCEPTOR(long long, atoll, const char *nptr) { // NOLINT function
688 INTERCEPTOR(int, __cxa_atexit, void (*func)(void *), void *arg, function
701 INTERCEPTOR(int, fork, void) { function
[all...]
/external/compiler-rt/lib/lsan/
H A Dlsan_interceptors.cc66 INTERCEPTOR(void*, malloc, uptr size) { function
72 INTERCEPTOR(void, free, void *p) { function
77 INTERCEPTOR(void*, calloc, uptr nmemb, uptr size) { function
96 INTERCEPTOR(void*, realloc, void *q, uptr size) {
102 INTERCEPTOR(void*, memalign, uptr alignment, uptr size) {
108 INTERCEPTOR(void*, aligned_alloc, uptr alignment, uptr size) {
114 INTERCEPTOR(int, posix_memalign, void **memptr, uptr alignment, uptr size) {
122 INTERCEPTOR(void*, valloc, uptr size) {
130 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) {
139 INTERCEPTOR(struc
239 INTERCEPTOR(int, pthread_create, void *th, void *attr, function
268 INTERCEPTOR(int, pthread_join, void *th, void **ret) { function
[all...]
/external/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) {...}
177 // Generally, you don't need to use DEFINE_REAL by itself, as INTERCEPTOR
179 // without defining INTERCEPTOR(..., foo, ...). For example, if you override
192 #define INTERCEPTOR(ret_type, func, ...) \ macro
201 INTERCEPTOR(ret_type, func, __VA_ARGS__)
211 #define INTERCEPTOR(ret_type, func, ...) \ macro
/external/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...]
/external/chromium_org/v8/src/
H A Dlookup.h34 INTERCEPTOR, enumerator in enum:v8::internal::BASE_EMBEDDED::State
42 BEFORE_PROPERTY = INTERCEPTOR
/external/compiler-rt/lib/msan/
H A Dmsan_interceptors.cc94 INTERCEPTOR(SIZE_T, fread, void *ptr, SIZE_T size, SIZE_T nmemb, void *file) { function
102 INTERCEPTOR(SIZE_T, fread_unlocked, void *ptr, SIZE_T size, SIZE_T nmemb, function
111 INTERCEPTOR(SSIZE_T, readlink, const char *path, char *buf, SIZE_T bufsiz) { function
119 INTERCEPTOR(void *, memcpy, void *dest, const void *src, SIZE_T n) { function
123 INTERCEPTOR(void *, mempcpy, void *dest, const void *src, SIZE_T n) { function
127 INTERCEPTOR(void *, memccpy, void *dest, const void *src, int c, SIZE_T n) { function
137 INTERCEPTOR(void *, memmove, void *dest, const void *src, SIZE_T n) { function
141 INTERCEPTOR(void *, memset, void *s, int c, SIZE_T n) { function
145 INTERCEPTOR(void *, bcopy, const void *src, void *dest, SIZE_T n) { function
149 INTERCEPTOR(in function
159 INTERCEPTOR(void *, memalign, SIZE_T boundary, SIZE_T size) { function
166 INTERCEPTOR(void *, aligned_alloc, SIZE_T boundary, SIZE_T size) { function
173 INTERCEPTOR(void *, __libc_memalign, SIZE_T boundary, SIZE_T size) { function
181 INTERCEPTOR(void *, valloc, SIZE_T size) { function
187 INTERCEPTOR(void *, pvalloc, SIZE_T size) { function
199 INTERCEPTOR(void, free, void *ptr) { function
205 INTERCEPTOR(void, cfree, void *ptr) { function
211 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { function
218 INTERCEPTOR(void, mallinfo, __sanitizer_mallinfo *sret) { function
223 INTERCEPTOR(int, mallopt, int cmd, int value) { function
227 INTERCEPTOR(void, malloc_stats, void) { function
231 INTERCEPTOR(SIZE_T, strlen, const char *s) { function
238 INTERCEPTOR(SIZE_T, strnlen, const char *s, SIZE_T n) { function
249 INTERCEPTOR(char *, strcpy, char *dest, const char *src) { // NOLINT function
258 INTERCEPTOR(char *, strncpy, char *dest, const char *src, SIZE_T n) { // NOLINT function
269 INTERCEPTOR(char *, stpcpy, char *dest, const char *src) { // NOLINT function
278 INTERCEPTOR(char *, strdup, char *src) { function
287 INTERCEPTOR(char *, __strdup, char *src) { function
296 INTERCEPTOR(char *, strndup, char *src, SIZE_T n) { function
306 INTERCEPTOR(char *, __strndup, char *src, SIZE_T n) { function
316 INTERCEPTOR(char *, gcvt, double number, SIZE_T ndigit, char *buf) { function
327 INTERCEPTOR(char *, strcat, char *dest, const char *src) { // NOLINT function
337 INTERCEPTOR(char *, strncat, char *dest, const char *src, SIZE_T n) { // NOLINT function
409 INTERCEPTOR(int, vswprintf, void *str, uptr size, void *format, va_list ap) { function
418 INTERCEPTOR(int, swprintf, void *str, uptr size, void *format, ...) { function
427 INTERCEPTOR(SIZE_T, strxfrm, char *dest, const char *src, SIZE_T n) { function
435 INTERCEPTOR(SIZE_T, strxfrm_l, char *dest, const char *src, SIZE_T n, function
450 INTERCEPTOR(SIZE_T, strftime, char *s, SIZE_T max, const char *format, function
455 INTERCEPTOR(SIZE_T, strftime_l, char *s, SIZE_T max, const char *format, function
460 INTERCEPTOR(SIZE_T, __strftime_l, char *s, SIZE_T max, const char *format, function
466 INTERCEPTOR(SIZE_T, wcsftime, wchar_t *s, SIZE_T max, const wchar_t *format, function
471 INTERCEPTOR(SIZE_T, wcsftime_l, wchar_t *s, SIZE_T max, const wchar_t *format, function
477 INTERCEPTOR(SIZE_T, __wcsftime_l, wchar_t *s, SIZE_T max, const wchar_t *format, function
483 INTERCEPTOR(int, mbtowc, wchar_t *dest, const char *src, SIZE_T n) { function
490 INTERCEPTOR(int, mbrtowc, wchar_t *dest, const char *src, SIZE_T n, void *ps) { function
497 INTERCEPTOR(SIZE_T, wcslen, const wchar_t *s) { function
505 INTERCEPTOR(wchar_t *, wcschr, void *s, wchar_t wc, void *ps) { function
512 INTERCEPTOR(wchar_t *, wcscpy, wchar_t *dest, const wchar_t *src) { function
521 INTERCEPTOR(wchar_t *, wmemcpy, wchar_t *dest, const wchar_t *src, SIZE_T n) { function
529 INTERCEPTOR(wchar_t *, wmempcpy, wchar_t *dest, const wchar_t *src, SIZE_T n) { function
537 INTERCEPTOR(wchar_t *, wmemset, wchar_t *s, wchar_t c, SIZE_T n) { function
545 INTERCEPTOR(wchar_t *, wmemmove, wchar_t *dest, const wchar_t *src, SIZE_T n) { function
553 INTERCEPTOR(int, wcscmp, const wchar_t *s1, const wchar_t *s2) { function
559 INTERCEPTOR(double, wcstod, const wchar_t *nptr, wchar_t **endptr) { function
566 INTERCEPTOR(int, gettimeofday, void *tv, void *tz) { function
576 INTERCEPTOR(char *, fcvt, double x, int a, int *b, int *c) { function
586 INTERCEPTOR(char *, getenv, char *name) { function
608 INTERCEPTOR(int, setenv, const char *name, const char *value, int overwrite) { function
615 INTERCEPTOR(int, putenv, char *string) { function
622 INTERCEPTOR(int, __fxstat, int magic, int fd, void *buf) { function
630 INTERCEPTOR(int, __fxstat64, int magic, int fd, void *buf) { function
638 INTERCEPTOR(int, __fxstatat, int magic, int fd, char *pathname, void *buf, function
646 INTERCEPTOR(int, __fxstatat64, int magic, int fd, char *pathname, void *buf, function
654 INTERCEPTOR(int, __xstat, int magic, char *path, void *buf) { function
662 INTERCEPTOR(int, __xstat64, int magic, char *path, void *buf) { function
670 INTERCEPTOR(int, __lxstat, int magic, char *path, void *buf) { function
678 INTERCEPTOR(int, __lxstat64, int magic, char *path, void *buf) { function
686 INTERCEPTOR(int, pipe, int pipefd[2]) { function
696 INTERCEPTOR(int, pipe2, int pipefd[2], int flags) { function
704 INTERCEPTOR(int, socketpair, int domain, int type, int protocol, int sv[2]) { function
712 INTERCEPTOR(char *, fgets, char *s, int size, void *stream) { function
720 INTERCEPTOR(char *, fgets_unlocked, char *s, int size, void *stream) { function
728 INTERCEPTOR(int, getrlimit, int resource, void *rlim) { function
738 INTERCEPTOR(int, getrlimit64, int resource, void *rlim) { function
748 INTERCEPTOR(int, uname, void *utsname) { function
757 INTERCEPTOR(int, gethostname, char *name, SIZE_T len) { function
769 INTERCEPTOR(int, epoll_wait, int epfd, void *events, int maxevents, function
779 INTERCEPTOR(int, epoll_pwait, int epfd, void *events, int maxevents, function
789 INTERCEPTOR(SSIZE_T, recv, int fd, void *buf, SIZE_T len, int flags) { function
797 INTERCEPTOR(SSIZE_T, recvfrom, int fd, void *buf, SIZE_T len, int flags, function
813 INTERCEPTOR(void *, calloc, SIZE_T nmemb, SIZE_T size) { function
853 INTERCEPTOR(void *, mmap, void *addr, SIZE_T length, int prot, int flags, function
870 INTERCEPTOR(void *, mmap64, void *addr, SIZE_T length, int prot, int flags, function
894 INTERCEPTOR(int, dladdr, void *addr, dlinfo *info) { function
907 INTERCEPTOR(char *, dlerror, int fake) { function
933 INTERCEPTOR(int, dl_iterate_phdr, dl_iterate_phdr_cb callback, void *data) { function
944 INTERCEPTOR(int, getrusage, int who, void *usage) { function
996 INTERCEPTOR(int, sigaction, int signo, const __sanitizer_sigaction *act, function
1036 INTERCEPTOR(int, signal, int signo, uptr cb) { function
1060 INTERCEPTOR(int, pthread_create, void *th, void *attr, void *(*callback)(void*), function
1083 INTERCEPTOR(int, pthread_key_create, __sanitizer_pthread_key_t *key, function
1093 INTERCEPTOR(int, pthread_join, void *th, void **retval) { function
1103 INTERCEPTOR(void, tzset, int fake) { function
1126 INTERCEPTOR(int, __cxa_atexit, void (*func)(void *), void *arg, function
1139 INTERCEPTOR(void *, shmat, int shmid, const void *shmaddr, int shmflg) { function
1162 INTERCEPTOR(int, mlock, const void *addr, uptr len) { function
1167 INTERCEPTOR(int, munlock, const void *addr, uptr len) { function
1172 INTERCEPTOR(int, mlockall, int flags) { function
1177 INTERCEPTOR(int, munlockall, void) { function
[all...]
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_interceptors.cc216 #define TSAN_INTERCEPTOR(ret, func, ...) INTERCEPTOR(ret, func, __VA_ARGS__)
962 INTERCEPTOR(int, pthread_cond_init, void *c, void *a) { function
969 INTERCEPTOR(int, pthread_cond_wait, void *c, void *m) { function
986 INTERCEPTOR(int, pthread_cond_timedwait, void *c, void *m, void *abstime) { function
1003 INTERCEPTOR(int, pthread_cond_signal, void *c) { function
1010 INTERCEPTOR(int, pthread_cond_broadcast, void *c) { function
1017 INTERCEPTOR(int, pthread_cond_destroy, void *c) { function

Completed in 216 milliseconds