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

/haiku-buildtools/gcc/libsanitizer/asan/
H A Dasan_new_delete.cc71 INTERCEPTOR(void *, _Znwm, size_t size) {
74 INTERCEPTOR(void *, _Znam, size_t size) {
77 INTERCEPTOR(void *, _ZnwmRKSt9nothrow_t, size_t size, std::nothrow_t const&) {
80 INTERCEPTOR(void *, _ZnamRKSt9nothrow_t, size_t size, std::nothrow_t const&) {
118 INTERCEPTOR(void, _ZdlPv, void *ptr) { function
121 INTERCEPTOR(void, _ZdaPv, void *ptr) { function
124 INTERCEPTOR(void, _ZdlPvRKSt9nothrow_t, void *ptr, std::nothrow_t const&) { function
127 INTERCEPTOR(void, _ZdaPvRKSt9nothrow_t, void *ptr, std::nothrow_t const&) { function
H A Dasan_malloc_linux.cc44 INTERCEPTOR(void, free, void *ptr) { function
51 INTERCEPTOR(void, cfree, void *ptr) { function
58 INTERCEPTOR(void*, malloc, uptr size) { function
66 INTERCEPTOR(void*, calloc, uptr nmemb, uptr size) { function
74 INTERCEPTOR(void*, realloc, void *ptr, uptr size) { function
86 INTERCEPTOR(void*, memalign, uptr boundary, uptr size) { function
91 INTERCEPTOR(void*, aligned_alloc, uptr boundary, uptr size) { function
96 INTERCEPTOR(void*, __libc_memalign, uptr boundary, uptr size) { function
103 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { function
117 INTERCEPTOR(struc function
123 INTERCEPTOR(int, mallopt, int cmd, int value) { function
127 INTERCEPTOR(int, posix_memalign, void **memptr, uptr alignment, uptr size) { function
133 INTERCEPTOR(void*, valloc, uptr size) { function
138 INTERCEPTOR(void*, pvalloc, uptr size) { function
143 INTERCEPTOR(void, malloc_stats, void) { function
[all...]
H A Dasan_malloc_mac.cc40 INTERCEPTOR(malloc_zone_t *, malloc_create_zone, function
60 INTERCEPTOR(malloc_zone_t *, malloc_default_zone, void) { function
65 INTERCEPTOR(malloc_zone_t *, malloc_default_purgeable_zone, void) { function
72 INTERCEPTOR(void, malloc_make_purgeable, void *ptr) { function
78 INTERCEPTOR(int, malloc_make_nonpurgeable, void *ptr) { function
87 INTERCEPTOR(void, malloc_set_zone_name, malloc_zone_t *zone, const char *name) { function
102 INTERCEPTOR(void *, malloc, size_t size) { function
109 INTERCEPTOR(void, free, void *ptr) { function
116 INTERCEPTOR(void *, realloc, void *ptr, size_t size) { function
122 INTERCEPTOR(voi function
128 INTERCEPTOR(void *, valloc, size_t size) { function
134 INTERCEPTOR(size_t, malloc_good_size, size_t size) { function
139 INTERCEPTOR(int, posix_memalign, void **memptr, size_t alignment, size_t size) { function
[all...]
H A Dasan_interceptors.cc173 INTERCEPTOR(int, pthread_create, void *thread, function
195 INTERCEPTOR(void*, bsd_signal, int signum, void *handler) { function
203 INTERCEPTOR(void*, signal, int signum, void *handler) { function
212 INTERCEPTOR(int, sigaction, int signum, const struct sigaction *act, function
247 INTERCEPTOR(int, swapcontext, struct ucontext_t *oucp, function
270 INTERCEPTOR(void, longjmp, void *env, int val) { function
276 INTERCEPTOR(void, _longjmp, void *env, int val) { function
283 INTERCEPTOR(void, siglongjmp, void *env, int val) { function
290 INTERCEPTOR(void, __cxa_throw, void *a, void *b, void *c) { function
304 INTERCEPTOR(in function
314 INTERCEPTOR(int, _except_handler4, void *a, void *b, void *c, void *d) { function
325 INTERCEPTOR(int, memcmp, const void *a1, const void *a2, uptr size) { function
397 INTERCEPTOR(void*, memmove, void *to, const void *from, uptr size) { function
401 INTERCEPTOR(void*, memcpy, void *to, const void *from, uptr size) { function
415 INTERCEPTOR(void*, memset, void *block, int c, uptr size) { function
419 INTERCEPTOR(char*, strchr, const char *str, int c) { function
451 INTERCEPTOR(char*, strcat, char *to, const char *from) { // NOLINT function
470 INTERCEPTOR(char*, strncat, char *to, const char *from, uptr size) { function
487 INTERCEPTOR(char*, strcpy, char *to, const char *from) { // NOLINT function
507 INTERCEPTOR(char*, strdup, const char *s) { function
521 INTERCEPTOR(SIZE_T, strlen, const char *s) { function
536 INTERCEPTOR(SIZE_T, wcslen, const wchar_t *s) { function
545 INTERCEPTOR(char*, strncpy, char *to, const char *from, uptr size) { function
557 INTERCEPTOR(uptr, strnlen, const char *s, uptr maxlen) { function
584 INTERCEPTOR(long, strtol, const char *nptr, // NOLINT function
602 INTERCEPTOR(int, atoi, const char *nptr) { function
621 INTERCEPTOR(long, atol, const char *nptr) { // NOLINT function
637 INTERCEPTOR(long long, strtoll, const char *nptr, // NOLINT function
658 INTERCEPTOR(long long, atoll, const char *nptr) { // NOLINT function
677 INTERCEPTOR(int, __cxa_atexit, void (*func)(void *), void *arg, function
690 INTERCEPTOR(int, fork, void) { function
[all...]
H A Dasan_mac.cc332 INTERCEPTOR(void, dispatch_x_f, dispatch_queue_t dq, void *ctxt, \
349 INTERCEPTOR(void, dispatch_after_f, dispatch_time_t when, function
362 INTERCEPTOR(void, dispatch_group_async_f, dispatch_group_t group, function
404 INTERCEPTOR(void, dispatch_async, function
411 INTERCEPTOR(void, dispatch_group_async, function
418 INTERCEPTOR(void, dispatch_after, function
425 INTERCEPTOR(void, dispatch_source_set_cancel_handler, function
432 INTERCEPTOR(void, dispatch_source_set_event_handler, function
H A Dasan_win_dll_thunk.cc329 INTERCEPTOR(int, _except_handler4, void *a, void *b, void *c, void *d) { function
/haiku-buildtools/gcc/libsanitizer/lsan/
H A Dlsan_interceptors.cc49 INTERCEPTOR(void*, malloc, uptr size) { function
55 INTERCEPTOR(void, free, void *p) { function
60 INTERCEPTOR(void*, calloc, uptr nmemb, uptr size) { function
79 INTERCEPTOR(void*, realloc, void *q, uptr size) {
85 INTERCEPTOR(void*, memalign, uptr alignment, uptr size) {
91 INTERCEPTOR(void*, aligned_alloc, uptr alignment, uptr size) {
97 INTERCEPTOR(int, posix_memalign, void **memptr, uptr alignment, uptr size) {
105 INTERCEPTOR(void*, valloc, uptr size) {
113 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) {
122 INTERCEPTOR(struc
222 INTERCEPTOR(int, pthread_create, void *th, void *attr, function
251 INTERCEPTOR(int, pthread_join, void *th, void **ret) { function
[all...]
/haiku-buildtools/gcc/libsanitizer/interception/
H A Dinterception.h36 // 1) define INTERCEPTOR(int, foo, const char *bar, double baz) { ... } in
48 // INTERCEPTOR(..., foo, ...) are in different files, you'll instead need to:
52 // Notes: 1. Things may not work properly if macro INTERCEPTOR(...) {...} or
57 // INTERCEPTOR(int, foo, const char *bar, double baz) {...}
169 // Generally, you don't need to use DEFINE_REAL by itself, as INTERCEPTOR
171 // without defining INTERCEPTOR(..., foo, ...). For example, if you override
184 #define INTERCEPTOR(ret_type, func, ...) \ macro
193 INTERCEPTOR(ret_type, func, __VA_ARGS__)
203 #define INTERCEPTOR(ret_type, func, ...) \ macro
/haiku-buildtools/gcc/libsanitizer/tsan/
H A Dtsan_interceptors.cc231 #define TSAN_INTERCEPTOR(ret, func, ...) INTERCEPTOR(ret, func, __VA_ARGS__)
1010 INTERCEPTOR(int, pthread_cond_init, void *c, void *a) { function
1017 INTERCEPTOR(int, pthread_cond_wait, void *c, void *m) { function
1034 INTERCEPTOR(int, pthread_cond_timedwait, void *c, void *m, void *abstime) { function
1051 INTERCEPTOR(int, pthread_cond_signal, void *c) { function
1058 INTERCEPTOR(int, pthread_cond_broadcast, void *c) { function
1065 INTERCEPTOR(int, pthread_cond_destroy, void *c) { function
/haiku-buildtools/gcc/libsanitizer/sanitizer_common/
H A Dsanitizer_common_interceptors.inc149 INTERCEPTOR(char*, textdomain, const char *domainname) {
168 INTERCEPTOR(int, strcmp, const char *s1, const char *s2) {
183 INTERCEPTOR(int, strncmp, const char *s1, const char *s2, uptr size) {
214 INTERCEPTOR(int, strcasecmp, const char *s1, const char *s2) {
229 INTERCEPTOR(int, strncasecmp, const char *s1, const char *s2, SIZE_T n) {
252 INTERCEPTOR(void*, memchr, const void *s, int c, SIZE_T n) {
267 INTERCEPTOR(void*, memrchr, const void *s, int c, SIZE_T n) {
280 INTERCEPTOR(double, frexp, double x, int *exp) {
295 INTERCEPTOR(float, frexpf, float x, int *exp) {
306 INTERCEPTOR(lon
[all...]

Completed in 117 milliseconds