Home
last modified time | relevance | path

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

12

/external/compiler-rt/lib/scudo/
Dscudo_interceptors.cpp23 INTERCEPTOR(void, free, void *ptr) { in INTERCEPTOR() function
27 INTERCEPTOR(void, cfree, void *ptr) { in INTERCEPTOR() function
31 INTERCEPTOR(void*, malloc, uptr size) { in INTERCEPTOR() function
35 INTERCEPTOR(void*, realloc, void *ptr, uptr size) { in INTERCEPTOR() function
39 INTERCEPTOR(void*, calloc, uptr nmemb, uptr size) { in INTERCEPTOR() function
43 INTERCEPTOR(void*, valloc, uptr size) { in INTERCEPTOR() function
47 INTERCEPTOR(void*, memalign, uptr alignment, uptr size) { in INTERCEPTOR() function
51 INTERCEPTOR(void*, __libc_memalign, uptr alignment, uptr size) { in INTERCEPTOR() function
55 INTERCEPTOR(void*, pvalloc, uptr size) { in INTERCEPTOR() function
59 INTERCEPTOR(void*, aligned_alloc, uptr alignment, uptr size) { in INTERCEPTOR() function
[all …]
/external/compiler-rt/lib/msan/
Dmsan_interceptors.cc107 INTERCEPTOR(SIZE_T, fread, void *ptr, SIZE_T size, SIZE_T nmemb, void *file) { in INTERCEPTOR() function
116 INTERCEPTOR(SIZE_T, fread_unlocked, void *ptr, SIZE_T size, SIZE_T nmemb, in INTERCEPTOR() function
129 INTERCEPTOR(SSIZE_T, readlink, const char *path, char *buf, SIZE_T bufsiz) { in INTERCEPTOR() function
138 INTERCEPTOR(void *, memcpy, void *dest, const void *src, SIZE_T n) { in INTERCEPTOR() function
142 INTERCEPTOR(void *, mempcpy, void *dest, const void *src, SIZE_T n) { in INTERCEPTOR() function
146 INTERCEPTOR(void *, memccpy, void *dest, const void *src, int c, SIZE_T n) { in INTERCEPTOR() function
156 INTERCEPTOR(void *, memmove, void *dest, const void *src, SIZE_T n) { in INTERCEPTOR() function
160 INTERCEPTOR(void *, memset, void *s, int c, SIZE_T n) { in INTERCEPTOR() function
164 INTERCEPTOR(void *, bcopy, const void *src, void *dest, SIZE_T n) { in INTERCEPTOR() function
168 INTERCEPTOR(int, posix_memalign, void **memptr, SIZE_T alignment, SIZE_T size) { in INTERCEPTOR() function
[all …]
/external/compiler-rt/lib/tsan/dd/
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
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 …]
/external/compiler-rt/lib/asan/
Dasan_malloc_linux.cc46 INTERCEPTOR(void, free, void *ptr) { in INTERCEPTOR() function
53 INTERCEPTOR(void, cfree, void *ptr) { in INTERCEPTOR() function
60 INTERCEPTOR(void*, malloc, uptr size) { in INTERCEPTOR() function
68 INTERCEPTOR(void*, calloc, uptr nmemb, uptr size) { in INTERCEPTOR() function
76 INTERCEPTOR(void*, realloc, void *ptr, uptr size) { in INTERCEPTOR() function
88 INTERCEPTOR(void*, memalign, uptr boundary, uptr size) { in INTERCEPTOR() function
93 INTERCEPTOR(void*, aligned_alloc, uptr boundary, uptr size) { in INTERCEPTOR() function
98 INTERCEPTOR(void*, __libc_memalign, uptr boundary, uptr size) { in INTERCEPTOR() function
105 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { in INTERCEPTOR() function
119 INTERCEPTOR(struct fake_mallinfo, mallinfo, void) { in INTERCEPTOR() function
[all …]
Dasan_new_delete.cc89 INTERCEPTOR(void *, _Znwm, size_t size) { in INTERCEPTOR() function
92 INTERCEPTOR(void *, _Znam, size_t size) { in INTERCEPTOR() function
95 INTERCEPTOR(void *, _ZnwmRKSt9nothrow_t, size_t size, std::nothrow_t const&) { in INTERCEPTOR() function
98 INTERCEPTOR(void *, _ZnamRKSt9nothrow_t, size_t size, std::nothrow_t const&) { in INTERCEPTOR() function
136 INTERCEPTOR(void, _ZdlPv, void *ptr) { in INTERCEPTOR() function
139 INTERCEPTOR(void, _ZdaPv, void *ptr) { in INTERCEPTOR() function
142 INTERCEPTOR(void, _ZdlPvRKSt9nothrow_t, void *ptr, std::nothrow_t const&) { in INTERCEPTOR() function
145 INTERCEPTOR(void, _ZdaPvRKSt9nothrow_t, void *ptr, std::nothrow_t const&) { in INTERCEPTOR() function
Dasan_interceptors.cc239 INTERCEPTOR(int, pthread_create, void *thread, in INTERCEPTOR() function
280 INTERCEPTOR(int, pthread_join, void *t, void **arg) { in INTERCEPTOR() function
290 INTERCEPTOR(void*, bsd_signal, int signum, void *handler) { in INTERCEPTOR() function
299 INTERCEPTOR(void*, signal, int signum, void *handler) { in INTERCEPTOR() function
307 INTERCEPTOR(int, sigaction, int signum, const struct sigaction *act, in INTERCEPTOR() function
342 INTERCEPTOR(int, swapcontext, struct ucontext_t *oucp, in INTERCEPTOR() function
365 INTERCEPTOR(void, longjmp, void *env, int val) { in INTERCEPTOR() function
371 INTERCEPTOR(void, _longjmp, void *env, int val) { in INTERCEPTOR() function
378 INTERCEPTOR(void, siglongjmp, void *env, int val) { in INTERCEPTOR() function
385 INTERCEPTOR(void, __cxa_throw, void *a, void *b, void *c) { in INTERCEPTOR() function
[all …]
Dasan_mac.cc191 INTERCEPTOR(void, dispatch_x_f, dispatch_queue_t dq, void *ctxt, \
208 INTERCEPTOR(void, dispatch_after_f, dispatch_time_t when, in INTERCEPT_DISPATCH_X_F_3()
221 INTERCEPTOR(void, dispatch_group_async_f, dispatch_group_t group, in INTERCEPTOR() function
256 INTERCEPTOR(void, dispatch_async,
263 INTERCEPTOR(void, dispatch_group_async,
270 INTERCEPTOR(void, dispatch_after,
277 INTERCEPTOR(void, dispatch_source_set_cancel_handler,
288 INTERCEPTOR(void, dispatch_source_set_event_handler,
Dasan_win.cc77 INTERCEPTOR(int, _except_handler3, void *a, void *b, void *c, void *d) { in INTERCEPTOR() function
87 INTERCEPTOR(int, _except_handler4, void *a, void *b, void *c, void *d) { in INTERCEPTOR() function
Dasan_win_dll_thunk.cc386 INTERCEPTOR(int, _except_handler4, void *a, void *b, void *c, void *d) { in INTERCEPTOR() function
/external/compiler-rt/lib/lsan/
Dlsan_interceptors.cc53 INTERCEPTOR(void*, malloc, uptr size) { in INTERCEPTOR() function
59 INTERCEPTOR(void, free, void *p) { in INTERCEPTOR() function
64 INTERCEPTOR(void*, calloc, uptr nmemb, uptr size) { in INTERCEPTOR() function
83 INTERCEPTOR(void*, realloc, void *q, uptr size) { in INTERCEPTOR() function
89 INTERCEPTOR(void*, memalign, uptr alignment, uptr size) { in INTERCEPTOR() function
95 INTERCEPTOR(void*, aligned_alloc, uptr alignment, uptr size) { in INTERCEPTOR() function
101 INTERCEPTOR(int, posix_memalign, void **memptr, uptr alignment, uptr size) { in INTERCEPTOR() function
109 INTERCEPTOR(void *, __libc_memalign, uptr alignment, uptr size) { in INTERCEPTOR() function
117 INTERCEPTOR(void*, valloc, uptr size) { in INTERCEPTOR() function
125 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { in INTERCEPTOR() function
[all …]
/external/compiler-rt/lib/esan/
Desan_interceptors.cpp243 INTERCEPTOR(char *, strcpy, char *dst, const char *src) { // NOLINT in INTERCEPTOR() function
252 INTERCEPTOR(char *, strncpy, char *dst, char *src, uptr n) { in INTERCEPTOR() function
262 INTERCEPTOR(int, open, const char *name, int flags, int mode) { in INTERCEPTOR() function
270 INTERCEPTOR(int, open64, const char *name, int flags, int mode) { in INTERCEPTOR() function
281 INTERCEPTOR(int, creat, const char *name, int mode) { in INTERCEPTOR() function
289 INTERCEPTOR(int, creat64, const char *name, int mode) { in INTERCEPTOR() function
300 INTERCEPTOR(int, unlink, char *path) { in INTERCEPTOR() function
307 INTERCEPTOR(uptr, fread, void *ptr, uptr size, uptr nmemb, void *f) { in INTERCEPTOR() function
314 INTERCEPTOR(uptr, fwrite, const void *p, uptr size, uptr nmemb, void *f) { in INTERCEPTOR() function
321 INTERCEPTOR(int, puts, const char *s) { in INTERCEPTOR() function
[all …]
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_interceptors.inc216 INTERCEPTOR(SIZE_T, strlen, const char *s) {
236 INTERCEPTOR(SIZE_T, strnlen, const char *s, SIZE_T maxlen) {
250 INTERCEPTOR(char*, textdomain, const char *domainname) {
273 INTERCEPTOR(int, strcmp, const char *s1, const char *s2) {
295 INTERCEPTOR(int, strncmp, const char *s1, const char *s2, uptr size) {
329 INTERCEPTOR(int, strcasecmp, const char *s1, const char *s2) {
344 INTERCEPTOR(int, strncasecmp, const char *s1, const char *s2, SIZE_T n) {
378 INTERCEPTOR(char*, strstr, const char *s1, const char *s2) {
395 INTERCEPTOR(char*, strcasestr, const char *s1, const char *s2) {
410 INTERCEPTOR(char*, strchr, const char *s, int c) {
[all …]
Dsanitizer_malloc_mac.inc34 INTERCEPTOR(malloc_zone_t *, malloc_create_zone,
52 INTERCEPTOR(malloc_zone_t *, malloc_default_zone, void) {
57 INTERCEPTOR(malloc_zone_t *, malloc_default_purgeable_zone, void) {
64 INTERCEPTOR(void, malloc_make_purgeable, void *ptr) {
70 INTERCEPTOR(int, malloc_make_nonpurgeable, void *ptr) {
79 INTERCEPTOR(void, malloc_set_zone_name, malloc_zone_t *zone, const char *name) {
96 INTERCEPTOR(void *, malloc, size_t size) {
102 INTERCEPTOR(void, free, void *ptr) {
108 INTERCEPTOR(void *, realloc, void *ptr, size_t size) {
114 INTERCEPTOR(void *, calloc, size_t nmemb, size_t size) {
[all …]
/external/compiler-rt/lib/dfsan/
Ddfsan_interceptors.cc19 INTERCEPTOR(void *, mmap, void *addr, SIZE_T length, int prot, int flags, in INTERCEPTOR() function
27 INTERCEPTOR(void *, mmap64, void *addr, SIZE_T length, int prot, int flags, in INTERCEPTOR() function
/external/compiler-rt/lib/interception/
Dinterception.h186 #define INTERCEPTOR(ret_type, func, ...) \ macro
195 INTERCEPTOR(ret_type, func, __VA_ARGS__)
205 #define INTERCEPTOR(ret_type, func, ...) \ macro
/external/compiler-rt/lib/interception/tests/
Dinterception_linux_test.cc26 INTERCEPTOR(int, isdigit, int d) { in INTERCEPTOR() function
/external/compiler-rt/lib/tsan/rtl/
Dtsan_interceptors.h47 #define TSAN_INTERCEPTOR(ret, func, ...) INTERCEPTOR(ret, func, __VA_ARGS__)
Dtsan_interceptors.cc1039 INTERCEPTOR(int, pthread_cond_init, void *c, void *a) { in INTERCEPTOR() function
1066 INTERCEPTOR(int, pthread_cond_wait, void *c, void *m) { in INTERCEPTOR() function
1074 INTERCEPTOR(int, pthread_cond_timedwait, void *c, void *m, void *abstime) { in INTERCEPTOR() function
1082 INTERCEPTOR(int, pthread_cond_timedwait_relative_np, void *c, void *m, in INTERCEPTOR() function
1091 INTERCEPTOR(int, pthread_cond_signal, void *c) { in INTERCEPTOR() function
1098 INTERCEPTOR(int, pthread_cond_broadcast, void *c) { in INTERCEPTOR() function
1105 INTERCEPTOR(int, pthread_cond_destroy, void *c) { in INTERCEPTOR() function
/external/v8/src/
Dlookup.cc709 } else if (state_ == INTERCEPTOR) { in TransitionToAccessorProperty()
807 DCHECK(has_property_ || state_ == INTERCEPTOR || state_ == JSPROXY); in HolderIsReceiver()
814 DCHECK(has_property_ || state_ == INTERCEPTOR || state_ == JSPROXY); in HolderIsReceiverOrHiddenPrototype()
1050 STATIC_ASSERT(INTERCEPTOR == BEFORE_PROPERTY); in LookupInSpecialHolder()
1063 if (is_element || !name_->IsPrivate()) return INTERCEPTOR; in LookupInSpecialHolder()
1066 case INTERCEPTOR: in LookupInSpecialHolder()
Dlookup.h36 INTERCEPTOR, enumerator
44 BEFORE_PROPERTY = INTERCEPTOR
Dlookup-inl.h134 DCHECK_EQ(INTERCEPTOR, state_); in GetInterceptor()
/external/compiler-rt/lib/cfi/
Dcfi.cc380 INTERCEPTOR(void*, dlopen, const char *filename, int flag) { in INTERCEPTOR() function
387 INTERCEPTOR(int, dlclose, void *handle) { in INTERCEPTOR() function
/external/compiler-rt/lib/safestack/
Dsafestack.cc171 INTERCEPTOR(int, pthread_create, pthread_t *thread, in INTERCEPTOR() function
/external/v8/src/runtime/
Druntime-forin.cc80 case LookupIterator::INTERCEPTOR: { in HasEnumerableProperty()
/external/v8/src/ic/
Dic.cc222 case LookupIterator::INTERCEPTOR: { in LookupForRead()
771 case LookupIterator::INTERCEPTOR: { in ComputeHandler()
1281 case LookupIterator::INTERCEPTOR: { in LookupForWrite()
1500 case LookupIterator::INTERCEPTOR: { in ComputeHandler()
2680 while (it.state() != LookupIterator::INTERCEPTOR || in RUNTIME_FUNCTION()
2747 DCHECK_EQ(LookupIterator::INTERCEPTOR, it.state()); in RUNTIME_FUNCTION()
2774 DCHECK_EQ(LookupIterator::INTERCEPTOR, it.state()); in RUNTIME_FUNCTION()

12