|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
projects/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp 347 TSAN_INTERCEPTOR(unsigned, sleep, unsigned sec) {
354 TSAN_INTERCEPTOR(int, usleep, long_t usec) {
361 TSAN_INTERCEPTOR(int, nanosleep, void *req, void *rem) {
368 TSAN_INTERCEPTOR(int, pause, int fake) {
401 TSAN_INTERCEPTOR(int, atexit, void (*f)()) {
411 TSAN_INTERCEPTOR(int, __cxa_atexit, void (*f)(void *a), void *arg, void *dso) {
457 TSAN_INTERCEPTOR(int, on_exit, void(*f)(int, void*), void *arg) {
616 TSAN_INTERCEPTOR(void, longjmp_symname, uptr *env, int val) {
627 TSAN_INTERCEPTOR(void, siglongjmp_symname, uptr *env, int val) {
646 TSAN_INTERCEPTOR(void*, malloc, uptr size) {
658 TSAN_INTERCEPTOR(void*, __libc_memalign, uptr align, uptr sz) {
663 TSAN_INTERCEPTOR(void*, calloc, uptr size, uptr n) {
675 TSAN_INTERCEPTOR(void*, realloc, void *p, uptr size) {
688 TSAN_INTERCEPTOR(void*, reallocarray, void *p, uptr size, uptr n) {
701 TSAN_INTERCEPTOR(void, free, void *p) {
711 TSAN_INTERCEPTOR(void, cfree, void *p) {
721 TSAN_INTERCEPTOR(uptr, malloc_usable_size, void *p) {
727 TSAN_INTERCEPTOR(char *, strcpy, char *dst, const char *src) {
735 TSAN_INTERCEPTOR(char*, strncpy, char *dst, char *src, uptr n) {
743 TSAN_INTERCEPTOR(char*, strdup, const char *str) {
778 TSAN_INTERCEPTOR(int, munmap, void *addr, long_t sz) {
786 TSAN_INTERCEPTOR(void*, memalign, uptr align, uptr sz) {
796 TSAN_INTERCEPTOR(void*, aligned_alloc, uptr align, uptr sz) {
803 TSAN_INTERCEPTOR(void*, valloc, uptr sz) {
812 TSAN_INTERCEPTOR(void*, pvalloc, uptr sz) {
827 TSAN_INTERCEPTOR(int, posix_memalign, void **memptr, uptr align, uptr sz) {
960 TSAN_INTERCEPTOR(int, pthread_create,
1017 TSAN_INTERCEPTOR(int, pthread_join, void *th, void **ret) {
1031 TSAN_INTERCEPTOR(int, pthread_detach, void *th) {
1041 TSAN_INTERCEPTOR(void, pthread_exit, void *retval) {
1052 TSAN_INTERCEPTOR(int, pthread_tryjoin_np, void *th, void **ret) {
1065 TSAN_INTERCEPTOR(int, pthread_timedjoin_np, void *th, void **ret,
1219 TSAN_INTERCEPTOR(int, pthread_mutex_init, void *m, void *a) {
1236 TSAN_INTERCEPTOR(int, pthread_mutex_destroy, void *m) {
1245 TSAN_INTERCEPTOR(int, pthread_mutex_trylock, void *m) {
1256 TSAN_INTERCEPTOR(int, pthread_mutex_timedlock, void *m, void *abstime) {
1267 TSAN_INTERCEPTOR(int, pthread_spin_init, void *m, int pshared) {
1276 TSAN_INTERCEPTOR(int, pthread_spin_destroy, void *m) {
1285 TSAN_INTERCEPTOR(int, pthread_spin_lock, void *m) {
1295 TSAN_INTERCEPTOR(int, pthread_spin_trylock, void *m) {
1304 TSAN_INTERCEPTOR(int, pthread_spin_unlock, void *m) {
1312 TSAN_INTERCEPTOR(int, pthread_rwlock_init, void *m, void *a) {
1321 TSAN_INTERCEPTOR(int, pthread_rwlock_destroy, void *m) {
1330 TSAN_INTERCEPTOR(int, pthread_rwlock_rdlock, void *m) {
1340 TSAN_INTERCEPTOR(int, pthread_rwlock_tryrdlock, void *m) {
1350 TSAN_INTERCEPTOR(int, pthread_rwlock_timedrdlock, void *m, void *abstime) {
1360 TSAN_INTERCEPTOR(int, pthread_rwlock_wrlock, void *m) {
1370 TSAN_INTERCEPTOR(int, pthread_rwlock_trywrlock, void *m) {
1380 TSAN_INTERCEPTOR(int, pthread_rwlock_timedwrlock, void *m, void *abstime) {
1390 TSAN_INTERCEPTOR(int, pthread_rwlock_unlock, void *m) {
1398 TSAN_INTERCEPTOR(int, pthread_barrier_init, void *b, void *a, unsigned count) {
1405 TSAN_INTERCEPTOR(int, pthread_barrier_destroy, void *b) {
1412 TSAN_INTERCEPTOR(int, pthread_barrier_wait, void *b) {
1425 TSAN_INTERCEPTOR(int, pthread_once, void *o, void (*f)()) {
1458 TSAN_INTERCEPTOR(int, __fxstat, int version, int fd, void *buf) {
1469 TSAN_INTERCEPTOR(int, fstat, int fd, void *buf) {
1484 TSAN_INTERCEPTOR(int, __fxstat64, int version, int fd, void *buf) {
1496 TSAN_INTERCEPTOR(int, fstat64, int fd, void *buf) {
1507 TSAN_INTERCEPTOR(int, open, const char *name, int flags, int mode) {
1517 TSAN_INTERCEPTOR(int, open64, const char *name, int flags, int mode) {
1530 TSAN_INTERCEPTOR(int, creat, const char *name, int mode) {
1540 TSAN_INTERCEPTOR(int, creat64, const char *name, int mode) {
1553 TSAN_INTERCEPTOR(int, dup, int oldfd) {
1561 TSAN_INTERCEPTOR(int, dup2, int oldfd, int newfd) {
1570 TSAN_INTERCEPTOR(int, dup3, int oldfd, int newfd, int flags) {
1580 TSAN_INTERCEPTOR(int, eventfd, unsigned initval, int flags) {
1593 TSAN_INTERCEPTOR(int, signalfd, int fd, void *mask, int flags) {
1608 TSAN_INTERCEPTOR(int, inotify_init, int fake) {
1621 TSAN_INTERCEPTOR(int, inotify_init1, int flags) {
1633 TSAN_INTERCEPTOR(int, socket, int domain, int type, int protocol) {
1641 TSAN_INTERCEPTOR(int, socketpair, int domain, int type, int protocol, int *fd) {
1649 TSAN_INTERCEPTOR(int, connect, int fd, void *addr, unsigned addrlen) {
1658 TSAN_INTERCEPTOR(int, bind, int fd, void *addr, unsigned addrlen) {
1666 TSAN_INTERCEPTOR(int, listen, int fd, int backlog) {
1674 TSAN_INTERCEPTOR(int, close, int fd) {
1682 TSAN_INTERCEPTOR(int, __close, int fd) {
1695 TSAN_INTERCEPTOR(void, __res_iclose, void *state, bool free_addr) {
1710 TSAN_INTERCEPTOR(int, pipe, int *pipefd) {
1719 TSAN_INTERCEPTOR(int, pipe2, int *pipefd, int flags) {
1728 TSAN_INTERCEPTOR(int, unlink, char *path) {
1735 TSAN_INTERCEPTOR(void*, tmpfile, int fake) {
1747 TSAN_INTERCEPTOR(void*, tmpfile64, int fake) {
1769 TSAN_INTERCEPTOR(void, abort, int fake) {
1775 TSAN_INTERCEPTOR(int, rmdir, char *path) {
1782 TSAN_INTERCEPTOR(int, closedir, void *dirp) {
1792 TSAN_INTERCEPTOR(int, epoll_create, int size) {
1800 TSAN_INTERCEPTOR(int, epoll_create1, int flags) {
1808 TSAN_INTERCEPTOR(int, epoll_ctl, int epfd, int op, int fd, void *ev) {
1820 TSAN_INTERCEPTOR(int, epoll_wait, int epfd, void *ev, int cnt, int timeout) {
1830 TSAN_INTERCEPTOR(int, epoll_pwait, int epfd, void *ev, int cnt, int timeout,
1855 TSAN_INTERCEPTOR(int, sigsuspend, const __sanitizer_sigset_t *mask) {
1860 TSAN_INTERCEPTOR(int, sigblock, int mask) {
1865 TSAN_INTERCEPTOR(int, sigsetmask, int mask) {
1870 TSAN_INTERCEPTOR(int, pthread_sigmask, int how, const __sanitizer_sigset_t *set,
2029 TSAN_INTERCEPTOR(int, raise, int sig) {
2041 TSAN_INTERCEPTOR(int, kill, int pid, int sig) {
2057 TSAN_INTERCEPTOR(int, pthread_kill, void *tid, int sig) {
2073 TSAN_INTERCEPTOR(int, gettimeofday, void *tv, void *tz) {
2079 TSAN_INTERCEPTOR(int, getaddrinfo, void *node, void *service,
2091 TSAN_INTERCEPTOR(int, fork, int fake) {
2117 TSAN_INTERCEPTOR(int, vfork, int fake) {
2168 TSAN_INTERCEPTOR(int, dl_iterate_phdr, dl_iterate_phdr_cb_t cb, void *data) {
2536 TSAN_INTERCEPTOR(void *, __tls_get_addr, void *arg) {