Home | History | Annotate | Download | only in msan

Lines Matching refs:INTERCEPTOR

45 // True if this is a nested interceptor.
85 // interceptor.
94 INTERCEPTOR(SIZE_T, fread, void *ptr, SIZE_T size, SIZE_T nmemb, void *file) {
102 INTERCEPTOR(SIZE_T, fread_unlocked, void *ptr, SIZE_T size, SIZE_T nmemb,
111 INTERCEPTOR(SSIZE_T, readlink, const char *path, char *buf, SIZE_T bufsiz) {
119 INTERCEPTOR(void *, memcpy, void *dest, const void *src, SIZE_T n) {
123 INTERCEPTOR(void *, mempcpy, void *dest, const void *src, SIZE_T n) {
127 INTERCEPTOR(void *, memccpy, void *dest, const void *src, int c, SIZE_T n) {
137 INTERCEPTOR(void *, memmove, void *dest, const void *src, SIZE_T n) {
141 INTERCEPTOR(void *, memset, void *s, int c, SIZE_T n) {
145 INTERCEPTOR(void *, bcopy, const void *src, void *dest, SIZE_T n) {
149 INTERCEPTOR(int, posix_memalign, void **memptr, SIZE_T alignment, SIZE_T size) {
159 INTERCEPTOR(void *, memalign, SIZE_T boundary, SIZE_T size) {
166 INTERCEPTOR(void *, aligned_alloc, SIZE_T boundary, SIZE_T size) {
173 INTERCEPTOR(void *, __libc_memalign, SIZE_T boundary, SIZE_T size) {
181 INTERCEPTOR(void *, valloc, SIZE_T size) {
187 INTERCEPTOR(void *, pvalloc, SIZE_T size) {
199 INTERCEPTOR(void, free, void *ptr) {
205 INTERCEPTOR(void, cfree, void *ptr) {
211 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) {
218 INTERCEPTOR(void, mallinfo, __sanitizer_mallinfo *sret) {
223 INTERCEPTOR(int, mallopt, int cmd, int value) {
227 INTERCEPTOR(void, malloc_stats, void) {
231 INTERCEPTOR(SIZE_T, strlen, const char *s) {
238 INTERCEPTOR(SIZE_T, strnlen, const char *s, SIZE_T n) {
249 INTERCEPTOR(char *, strcpy, char *dest, const char *src) { // NOLINT
258 INTERCEPTOR(char *, strncpy, char *dest, const char *src, SIZE_T n) { // NOLINT
269 INTERCEPTOR(char *, stpcpy, char *dest, const char *src) { // NOLINT
278 INTERCEPTOR(char *, strdup, char *src) {
287 INTERCEPTOR(char *, __strdup, char *src) {
296 INTERCEPTOR(char *, strndup, char *src, SIZE_T n) {
306 INTERCEPTOR(char *, __strndup, char *src, SIZE_T n) {
316 INTERCEPTOR(char *, gcvt, double number, SIZE_T ndigit, char *buf) {
327 INTERCEPTOR(char *, strcat, char *dest, const char *src) { // NOLINT
337 INTERCEPTOR(char *, strncat, char *dest, const char *src, SIZE_T n) { // NOLINT
359 INTERCEPTOR(ret_type, func, const char *nptr, char **endptr) { \
364 INTERCEPTOR(ret_type, func, const char *nptr, char **endptr, int base) { \
369 INTERCEPTOR(ret_type, func, const char *nptr, char **endptr, void *loc) { \
374 INTERCEPTOR(ret_type, func, const char *nptr, char **endptr, int base, \
409 INTERCEPTOR(int, vswprintf, void *str, uptr size, void *format, va_list ap) {
418 INTERCEPTOR(int, swprintf, void *str, uptr size, void *format, ...) {
427 INTERCEPTOR(SIZE_T, strxfrm, char *dest, const char *src, SIZE_T n) {
435 INTERCEPTOR(SIZE_T, strxfrm_l, char *dest, const char *src, SIZE_T n,
450 INTERCEPTOR(SIZE_T, strftime, char *s, SIZE_T max, const char *format,
455 INTERCEPTOR(SIZE_T, strftime_l, char *s, SIZE_T max, const char *format,
460 INTERCEPTOR(SIZE_T, __strftime_l, char *s, SIZE_T max, const char *format,
466 INTERCEPTOR(SIZE_T, wcsftime, wchar_t *s, SIZE_T max, const wchar_t *format,
471 INTERCEPTOR(SIZE_T, wcsftime_l, wchar_t *s, SIZE_T max, const wchar_t *format,
477 INTERCEPTOR(SIZE_T, __wcsftime_l, wchar_t *s, SIZE_T max, const wchar_t *format,
483 INTERCEPTOR(int, mbtowc, wchar_t *dest, const char *src, SIZE_T n) {
490 INTERCEPTOR(int, mbrtowc, wchar_t *dest, const char *src, SIZE_T n, void *ps) {
497 INTERCEPTOR(SIZE_T, wcslen, const wchar_t *s) {
505 INTERCEPTOR(wchar_t *, wcschr, void *s, wchar_t wc, void *ps) {
512 INTERCEPTOR(wchar_t *, wcscpy, wchar_t *dest, const wchar_t *src) {
521 INTERCEPTOR(wchar_t *, wmemcpy, wchar_t *dest, const wchar_t *src, SIZE_T n) {
529 INTERCEPTOR(wchar_t *, wmempcpy, wchar_t *dest, const wchar_t *src, SIZE_T n) {
537 INTERCEPTOR(wchar_t *, wmemset, wchar_t *s, wchar_t c, SIZE_T n) {
545 INTERCEPTOR(wchar_t *, wmemmove, wchar_t *dest, const wchar_t *src, SIZE_T n) {
553 INTERCEPTOR(int, wcscmp, const wchar_t *s1, const wchar_t *s2) {
559 INTERCEPTOR(double, wcstod, const wchar_t *nptr, wchar_t **endptr) {
566 INTERCEPTOR(int, gettimeofday, void *tv, void *tz) {
576 INTERCEPTOR(char *, fcvt, double x, int a, int *b, int *c) {
586 INTERCEPTOR(char *, getenv, char *name) {
608 INTERCEPTOR(int, setenv, const char *name, const char *value, int overwrite) {
615 INTERCEPTOR(int, putenv, char *string) {
622 INTERCEPTOR(int, __fxstat, int magic, int fd, void *buf) {
630 INTERCEPTOR(int, __fxstat64, int magic, int fd, void *buf) {
638 INTERCEPTOR(int, __fxstatat, int magic, int fd, char *pathname, void *buf,
646 INTERCEPTOR(int, __fxstatat64, int magic, int fd, char *pathname, void *buf,
654 INTERCEPTOR(int, __xstat, int magic, char *path, void *buf) {
662 INTERCEPTOR(int, __xstat64, int magic, char *path, void *buf) {
670 INTERCEPTOR(int, __lxstat, int magic, char *path, void *buf) {
678 INTERCEPTOR(int, __lxstat64, int magic, char *path, void *buf) {
686 INTERCEPTOR(int, pipe, int pipefd[2]) {
696 INTERCEPTOR(int, pipe2, int pipefd[2], int flags) {
704 INTERCEPTOR(int, socketpair, int domain, int type, int protocol, int sv[2]) {
712 INTERCEPTOR(char *, fgets, char *s, int size, void *stream) {
720 INTERCEPTOR(char *, fgets_unlocked, char *s, int size, void *stream) {
728 INTERCEPTOR(int, getrlimit, int resource, void *rlim) {
738 INTERCEPTOR(int, getrlimit64, int resource, void *rlim) {
748 INTERCEPTOR(int, uname, void *utsname) {
757 INTERCEPTOR(int, gethostname, char *name, SIZE_T len) {
769 INTERCEPTOR(int, epoll_wait, int epfd, void *events, int maxevents,
779 INTERCEPTOR(int, epoll_pwait, int epfd, void *events, int maxevents,
789 INTERCEPTOR(SSIZE_T, recv, int fd, void *buf, SIZE_T len, int flags) {
797 INTERCEPTOR(SSIZE_T, recvfrom, int fd, void *buf, SIZE_T len, int flags,
813 INTERCEPTOR(void *, calloc, SIZE_T nmemb, SIZE_T size) {
831 INTERCEPTOR(void *, realloc, void *ptr, SIZE_T size) {
836 INTERCEPTOR(void *, malloc, SIZE_T size) {
853 INTERCEPTOR(void *, mmap, void *addr, SIZE_T length, int prot, int flags,
870 INTERCEPTOR(void *, mmap64, void *addr, SIZE_T length, int prot, int flags,
894 INTERCEPTOR(int, dladdr, void *addr, dlinfo *info) {
907 INTERCEPTOR(char *, dlerror, int fake) {
933 INTERCEPTOR(int, dl_iterate_phdr, dl_iterate_phdr_cb callback, void *data) {
944 INTERCEPTOR(int, getrusage, int who, void *usage) {
996 INTERCEPTOR(int, sigaction, int signo, const __sanitizer_sigaction *act,
1036 INTERCEPTOR(int, signal, int signo, uptr cb) {
1060 INTERCEPTOR(int, pthread_create, void *th, void *attr, void *(*callback)(void*),
1083 INTERCEPTOR(int, pthread_key_create, __sanitizer_pthread_key_t *key,
1093 INTERCEPTOR(int, pthread_join, void *th, void **retval) {
1103 INTERCEPTOR(void, tzset, int fake) {
1126 INTERCEPTOR(int, __cxa_atexit, void (*func)(void *), void *arg,
1139 INTERCEPTOR(void *, shmat, int shmid, const void *shmaddr, int shmflg) {
1162 INTERCEPTOR(int, mlock, const void *addr, uptr len) {
1167 INTERCEPTOR(int, munlock, const void *addr, uptr len) {
1172 INTERCEPTOR(int, mlockall, int flags) {
1177 INTERCEPTOR(int, munlockall, void) {