Lines Matching full:real

61   if (REAL(strnlen)) {
62 return REAL(strnlen)(s, maxlen);
104 return REAL(func)(__VA_ARGS__); \
107 return REAL(func)(__VA_ARGS__); \
130 #define COMMON_INTERCEPTOR_BLOCK_REAL(name) REAL(name)
138 REAL(dlopen)(filename, flag); \
185 return mmap_interceptor(REAL(mmap), addr, sz, prot, flags, fd, off); \
191 return munmap_interceptor(REAL(munmap), addr, sz); \
253 return attr && !REAL(pthread_attr_getdetachstate)(attr, &d) &&
277 result = REAL(pthread_create)(thread, attr, asan_thread_start, t);
293 result = REAL(pthread_join)(thread, retval);
302 result = REAL(pthread_detach)(thread);
310 REAL(pthread_exit)(retval);
317 result = REAL(pthread_tryjoin_np)(thread, ret);
329 result = REAL(pthread_timedjoin_np)(thread, ret, abstime);
367 // We don't know a better way to forward ... into REAL function. We can
385 REAL(__makecontext_v2)
387 REAL(makecontext)
416 __attribute__((__indirect_return__)) = REAL(swapcontext);
419 int res = REAL(swapcontext)(oucp, ucp);
437 REAL(longjmp)(env, val);
443 REAL(_longjmp)(env, val);
450 REAL(__longjmp_chk)(env, val);
457 REAL(siglongjmp)(env, val);
463 CHECK(REAL(__cxa_throw));
465 REAL(__cxa_throw)(a, b, c);
471 CHECK(REAL(__cxa_rethrow_primary_exception));
473 REAL(__cxa_rethrow_primary_exception)(a);
480 CHECK(REAL(_Unwind_RaiseException));
482 return REAL(_Unwind_RaiseException)(object);
489 CHECK(REAL(_Unwind_SjLj_RaiseException));
491 return REAL(_Unwind_SjLj_RaiseException)(object);
529 return REAL(strcat)(to, from);
548 return REAL(strncat)(to, from, size);
558 return REAL(strcpy)(to, from);
561 return REAL(strcpy)(to, from);
570 return REAL(strcpy)(to, from);
596 REAL(memcpy)(new_mem, s, length + 1);
614 REAL(memcpy)(new_mem, s, length + 1);
630 return REAL(strncpy)(to, from, size);
634 static ALWAYS_INLINE auto StrtolImpl(void *ctx, Fn real, const char *nptr,
636 -> decltype(real(nullptr, nullptr, 0)) {
638 return real(nptr, endptr, base);
640 auto res = real(nptr, &real_endptr, base);
650 return StrtolImpl(ctx, REAL(func), nptr, endptr, base); \
665 return REAL(atoi)(nptr);
668 return REAL(atoi)(nptr);
675 int result = REAL(strtol)(nptr, &real_endptr, 10);
685 return REAL(atol)(nptr);
688 return REAL(atol)(nptr);
691 long result = REAL(strtol)(nptr, &real_endptr, 10);
702 return REAL(atoll)(nptr);
705 long long result = REAL(strtoll)(nptr, &real_endptr, 10);
722 return REAL(__cxa_atexit)(func, arg, dso_handle);
727 int res = REAL(__cxa_atexit)(func, arg, dso_handle);
728 REAL(__cxa_atexit)(AtCxaAtexit, nullptr, nullptr);
739 // Avoid calling real atexit as it is unreachable on at least on Linux.
740 int res = REAL(__cxa_atexit)((void (*)(void *a))func, nullptr, nullptr);
741 REAL(__cxa_atexit)(AtCxaAtexit, nullptr, nullptr);
757 // REAL(pthread_atfork) cannot be called due to symbol indirections at least