Lines Matching full:real
128 SIZE_T res = REAL(fread_unlocked)(ptr, size, nmemb, file); in INTERCEPTOR()
149 void *res = REAL(memccpy)(dest, src, c, n); in INTERCEPTOR()
290 // FIXME: implement, but don't call REAL(malloc_stats)! in INTERCEPTOR()
302 char *res = REAL(strcpy)(dest, src); in INTERCEPTOR()
313 char *res = REAL(strncpy)(dest, src, n); in INTERCEPTOR()
325 char *res = REAL(stpcpy)(dest, src); in INTERCEPTOR()
334 char *res = REAL(stpncpy)(dest, src, n); in INTERCEPTOR()
353 char *res = REAL(strdup)(src); in INTERCEPTOR()
364 char *res = REAL(__strdup)(src); in INTERCEPTOR()
376 char *res = REAL(gcvt)(number, ndigit, buf); in INTERCEPTOR()
393 char *res = REAL(strcat)(dest, src); in INTERCEPTOR()
404 char *res = REAL(strncat)(dest, src, n); in INTERCEPTOR()
414 ret_type res = REAL(func)(__VA_ARGS__); \
422 REAL(func)(sret, __VA_ARGS__); \
568 int res = REAL(vswprintf)(str, size, format, ap);
587 ret_type res = REAL(func)(s, __VA_ARGS__); \
636 int res = REAL(mbtowc)(dest, src, n); in INTERCEPTOR()
644 SIZE_T res = REAL(mbrtowc)(dest, src, n, ps); in INTERCEPTOR()
653 wchar_t *res = REAL(wmemcpy)(dest, src, n); in INTERCEPTOR()
662 wchar_t *res = REAL(wmempcpy)(dest, src, n); in INTERCEPTOR()
674 wchar_t *res = REAL(wmemset)(s, c, n); in INTERCEPTOR()
682 wchar_t *res = REAL(wmemmove)(dest, src, n); in INTERCEPTOR()
689 int res = REAL(wcscmp)(s1, s2); in INTERCEPTOR()
695 int res = REAL(gettimeofday)(tv, tz); in INTERCEPTOR()
706 char *res = REAL(fcvt)(x, a, b, c); in INTERCEPTOR()
720 return REAL(getenv)(name); in INTERCEPTOR()
722 char *res = REAL(getenv)(name); in INTERCEPTOR()
743 int res = REAL(setenv)(name, value, overwrite); in INTERCEPTOR()
750 int res = REAL(putenv)(string); in INTERCEPTOR()
759 int res = REAL(fstat)(fd, buf); in INTERCEPTOR()
772 int res = REAL(fstat64)(fd, buf); in INTERCEPTOR()
785 int res = REAL(__fxstat)(magic, fd, buf); in INTERCEPTOR()
798 int res = REAL(__fxstat64)(magic, fd, buf); in INTERCEPTOR()
811 int res = REAL(fstatat)(fd, pathname, buf, flags); in INTERCEPTOR()
823 int res = REAL(fstatat64)(fd, pathname, buf, flags); in INTERCEPTOR()
837 int res = REAL(__fxstatat)(magic, fd, pathname, buf, flags); in INTERCEPTOR()
850 int res = REAL(__fxstatat64)(magic, fd, pathname, buf, flags); in INTERCEPTOR()
861 return REAL(pipe)(pipefd); in INTERCEPTOR()
863 int res = REAL(pipe)(pipefd); in INTERCEPTOR()
871 int res = REAL(pipe2)(pipefd, flags); in INTERCEPTOR()
879 int res = REAL(socketpair)(domain, type, protocol, sv); in INTERCEPTOR()
888 char *res = REAL(fgets_unlocked)(s, size, stream); in INTERCEPTOR()
900 return REAL(getrlimit)(resource, rlim); \
902 int res = REAL(func)(resource, rlim); \
917 if (msan_init_is_running) return REAL(getrlimit64)(resource, rlim); in INTERCEPTOR()
919 int res = REAL(getrlimit64)(resource, rlim); in INTERCEPTOR()
927 return REAL(prlimit)(pid, resource, new_rlimit, old_rlimit); in INTERCEPTOR()
930 int res = REAL(prlimit)(pid, resource, new_rlimit, old_rlimit); in INTERCEPTOR()
938 return REAL(prlimit64)(pid, resource, new_rlimit, old_rlimit); in INTERCEPTOR()
941 int res = REAL(prlimit64)(pid, resource, new_rlimit, old_rlimit); in INTERCEPTOR()
959 int res = REAL(gethostname)(name, len); in INTERCEPTOR()
973 int res = REAL(epoll_wait)(epfd, events, maxevents, timeout); in INTERCEPTOR()
988 int res = REAL(epoll_pwait)(epfd, events, maxevents, timeout, sigmask); in INTERCEPTOR()
1093 int res = REAL(getrusage)(who, usage); in INTERCEPTOR()
1177 int res = REAL(pthread_create)(th, attr, MsanThreadStartFunc, t); in INTERCEPTOR()
1189 if (msan_init_is_running) return REAL(pthread_key_create)(key, dtor); in INTERCEPTOR()
1191 int res = REAL(pthread_key_create)(key, dtor); in INTERCEPTOR()
1205 int res = REAL(pthread_join)(thread, retval); in INTERCEPTOR()
1214 int res = REAL(pthread_tryjoin_np)(thread, retval); in INTERCEPTOR()
1222 int res = REAL(pthread_timedjoin_np)(thread, retval, abstime); in INTERCEPTOR()
1236 REAL(tzset)(fake); in INTERCEPTOR()
1294 if (msan_init_is_running) return REAL(__cxa_atexit)(func, arg, dso_handle); in INTERCEPTOR()
1300 // Avoid calling real atexit as it is unreachable on at least on Linux. in INTERCEPTOR()
1302 return REAL(__cxa_atexit)((void (*)(void *a))func, 0, 0); in INTERCEPTOR()
1319 res = REAL(__cxa_atexit)((void (*)(void *a))MSanAtExitWrapper, 0, 0); in setup_at_exit_wrapper()
1324 res = REAL(__cxa_atexit)(MSanCxaAtExitWrapper, r, dso); in setup_at_exit_wrapper()
1336 int res = REAL(openpty)(aparent, aworker, name, termp, winp); in INTERCEPTOR()
1355 int res = REAL(forkpty)(aparent, name, termp, winp); in INTERCEPTOR()
1420 return REAL(func)(__VA_ARGS__); \
1445 #define COMMON_INTERCEPTOR_BLOCK_REAL(name) REAL(name)
1490 return mmap_interceptor(REAL(mmap), addr, sz, prot, flags, fd, off); \
1508 return REAL(func)(signo, handler); \
1530 REAL(memcpy)(pnew_act, act, sizeof(__sanitizer_sigaction)); in sigaction_impl()
1540 res = REAL(SIGACTION_SYMNAME)(signo, pnew_act, oldact); in sigaction_impl()
1548 res = REAL(SIGACTION_SYMNAME)(signo, act, oldact); in sigaction_impl()
1587 const char *res = REAL(strsignal)(sig); in INTERCEPTOR()
1596 int res = REAL(dladdr)(addr, info); in INTERCEPTOR()
1607 int res = REAL(dladdr1)(addr, info, extra_info, flags); in INTERCEPTOR()
1622 char *res = REAL(dlerror)(fake); in INTERCEPTOR()
1651 void *p = REAL(shmat)(shmid, shmaddr, shmflg); in INTERCEPTOR()
1654 int res = REAL(shmctl)(shmid, shmctl_ipc_stat, &ds); in INTERCEPTOR()
1668 int res = REAL(dl_iterate_phdr)(msan_dl_iterate_phdr_cb, (void *)&cbdata); in INTERCEPTOR()
1675 wchar_t *res = REAL(wcschr)(s, wc, ps); in INTERCEPTOR()
1683 wchar_t *res = REAL(wcscpy)(dest, src); in INTERCEPTOR()
1694 wchar_t *res = REAL(wcsncpy)(dest, src, n); in INTERCEPTOR()
1701 // REAL(memset), etc.
1720 REAL(memset)(a, 0, size); in __msan_clear_and_unpoison()
1727 return REAL(memcpy)(dest, src, n); in __msan_memcpy()
1730 void *res = REAL(memcpy)(dest, src, n); in __msan_memcpy()
1737 if (msan_init_is_running) return REAL(memset)(s, c, n); in __msan_memset()
1739 void *res = REAL(memset)(s, c, n); in __msan_memset()
1746 if (msan_init_is_running) return REAL(memmove)(dest, src, n); in __msan_memmove()
1749 void *res = REAL(memmove)(dest, src, n); in __msan_memmove()