HomeSort by relevance Sort by last modified time
    Searched defs:INTERCEPTOR (Results 1 - 11 of 11) sorted by null

  /external/compiler-rt/lib/asan/
asan_malloc_linux.cc 63 INTERCEPTOR(void, free, void *ptr) {
68 INTERCEPTOR(void, cfree, void *ptr) {
73 INTERCEPTOR(void*, malloc, uptr size) {
78 INTERCEPTOR(void*, calloc, uptr nmemb, uptr size) {
94 INTERCEPTOR(void*, realloc, void *ptr, uptr size) {
99 INTERCEPTOR(void*, memalign, uptr boundary, uptr size) {
104 INTERCEPTOR(void*, __libc_memalign, uptr align, uptr s)
107 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) {
120 INTERCEPTOR(struct fake_mallinfo, mallinfo, void) {
126 INTERCEPTOR(int, mallopt, int cmd, int value)
    [all...]
asan_new_delete.cc 63 INTERCEPTOR(void *, _Znwm, size_t size) {
66 INTERCEPTOR(void *, _Znam, size_t size) {
69 INTERCEPTOR(void *, _ZnwmRKSt9nothrow_t, size_t size, std::nothrow_t const&) {
72 INTERCEPTOR(void *, _ZnamRKSt9nothrow_t, size_t size, std::nothrow_t const&) {
94 INTERCEPTOR(void, _ZdlPv, void *ptr) {
97 INTERCEPTOR(void, _ZdaPv, void *ptr) {
100 INTERCEPTOR(void, _ZdlPvRKSt9nothrow_t, void *ptr, std::nothrow_t const&) {
103 INTERCEPTOR(void, _ZdaPvRKSt9nothrow_t, void *ptr, std::nothrow_t const&) {
asan_malloc_mac.cc 42 INTERCEPTOR(malloc_zone_t *, malloc_create_zone,
62 INTERCEPTOR(malloc_zone_t *, malloc_default_zone, void) {
67 INTERCEPTOR(malloc_zone_t *, malloc_default_purgeable_zone, void) {
74 INTERCEPTOR(void, malloc_make_purgeable, void *ptr) {
80 INTERCEPTOR(int, malloc_make_nonpurgeable, void *ptr) {
89 INTERCEPTOR(void, malloc_set_zone_name, malloc_zone_t *zone, const char *name) {
104 INTERCEPTOR(void *, malloc, size_t size) {
111 INTERCEPTOR(void, free, void *ptr) {
118 INTERCEPTOR(void *, realloc, void *ptr, size_t size) {
124 INTERCEPTOR(void *, calloc, size_t nmemb, size_t size)
    [all...]
asan_interceptors.cc 149 INTERCEPTOR(int, pthread_create, void *thread,
169 INTERCEPTOR(void*, signal, int signum, void *handler) {
176 INTERCEPTOR(int, sigaction, int signum, const struct sigaction *act,
202 INTERCEPTOR(int, swapcontext, struct ucontext_t *oucp,
225 INTERCEPTOR(void, longjmp, void *env, int val) {
231 INTERCEPTOR(void, _longjmp, void *env, int val) {
238 INTERCEPTOR(void, siglongjmp, void *env, int val) {
245 INTERCEPTOR(void, __cxa_throw, void *a, void *b, void *c) {
265 INTERCEPTOR(int, mlock, const void *addr, uptr len) {
270 INTERCEPTOR(int, munlock, const void *addr, uptr len)
    [all...]
asan_mac.cc 342 // Define interceptor for dispatch_*_f function with the three most common
345 INTERCEPTOR(void, dispatch_x_f, dispatch_queue_t dq, void *ctxt, \
362 INTERCEPTOR(void, dispatch_after_f, dispatch_time_t when,
375 INTERCEPTOR(void, dispatch_group_async_f, dispatch_group_t group,
411 INTERCEPTOR(void, dispatch_async,
417 INTERCEPTOR(void, dispatch_group_async,
423 INTERCEPTOR(void, dispatch_after,
429 INTERCEPTOR(void, dispatch_source_set_cancel_handler,
435 INTERCEPTOR(void, dispatch_source_set_event_handler,
  /external/compiler-rt/lib/interception/
interception.h 24 // These typedefs should be used only in the interceptor definitions to replace
33 // How to add an interceptor:
37 // 1) define INTERCEPTOR(int, foo, const char *bar, double baz) { ... } in
44 // By default, REAL(foo) will be visible only inside your interceptor, and if
49 // INTERCEPTOR(..., foo, ...) are in different files, you'll instead need to:
53 // Notes: 1. Things may not work properly if macro INTERCEPTOR(...) {...} or
58 // INTERCEPTOR(int, foo, const char *bar, double baz) {...}
163 // Generally, you don't need to use DEFINE_REAL by itself, as INTERCEPTOR
165 // without defining INTERCEPTOR(..., foo, ...). For example, if you override
166 // foo with an interceptor for other function
    [all...]
  /external/compiler-rt/lib/lsan/
lsan_interceptors.cc 60 INTERCEPTOR(void*, malloc, uptr size) {
66 INTERCEPTOR(void, free, void *p) {
71 INTERCEPTOR(void*, calloc, uptr nmemb, uptr size) {
79 INTERCEPTOR(void*, realloc, void *q, uptr size) {
85 INTERCEPTOR(void*, memalign, uptr alignment, uptr size) {
91 INTERCEPTOR(int, posix_memalign, void **memptr, uptr alignment, uptr size) {
99 INTERCEPTOR(void*, valloc, uptr size) {
107 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) {
116 INTERCEPTOR(struct fake_mallinfo, mallinfo, void) {
122 INTERCEPTOR(int, mallopt, int cmd, int value)
    [all...]
  /external/v8/src/
property-details.h 63 INTERCEPTOR = 5, // only in lookup results, not in descriptors
  /external/chromium_org/v8/src/
property-details.h 74 INTERCEPTOR = 5,
objects.h     [all...]
  /external/compiler-rt/lib/msan/
msan_interceptors.cc 33 // True if this is a nested interceptor.
72 // interceptor.
81 INTERCEPTOR(SIZE_T, fread, void *ptr, SIZE_T size, SIZE_T nmemb, void *file) {
89 INTERCEPTOR(SIZE_T, fread_unlocked, void *ptr, SIZE_T size, SIZE_T nmemb,
98 INTERCEPTOR(SSIZE_T, readlink, const char *path, char *buf, SIZE_T bufsiz) {
106 INTERCEPTOR(void *, memcpy, void *dest, const void *src, SIZE_T n) {
110 INTERCEPTOR(void *, mempcpy, void *dest, const void *src, SIZE_T n) {
114 INTERCEPTOR(void *, memmove, void *dest, const void *src, SIZE_T n) {
118 INTERCEPTOR(void *, memset, void *s, int c, SIZE_T n) {
122 INTERCEPTOR(void *, bcopy, const void *src, void *dest, SIZE_T n)
    [all...]

Completed in 678 milliseconds