Home
last modified time | relevance | path

Searched refs:_REAL (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_solaris.cpp45 #define _REAL(func) _ ## func macro
47 extern "C" ret_type _REAL(func)(__VA_ARGS__)
55 #define _REAL64(func) _REAL(func)
70 return _REAL(munmap)(addr, length); in DECLARE__REAL_AND_INTERNAL()
74 return _REAL(mprotect)(addr, length, prot); in DECLARE__REAL_AND_INTERNAL()
92 return _REAL(close)(fd); in DECLARE__REAL_AND_INTERNAL()
106 return _REAL(read)(fd, buf, count); in DECLARE__REAL_AND_INTERNAL()
110 return _REAL(write)(fd, buf, count); in DECLARE__REAL_AND_INTERNAL()
138 return _REAL(dup)(oldfd); in DECLARE__REAL_AND_INTERNAL()
142 return _REAL(dup2)(oldfd, newfd); in DECLARE__REAL_AND_INTERNAL()
[all …]
H A Dsanitizer_netbsd.cpp88 #define _REAL(func, ...) real##_##func(__VA_ARGS__) macro
105 return _REAL(munmap, addr, length); in internal_munmap()
116 return _REAL(mprotect, addr, length, prot); in internal_mprotect()
121 return _REAL(madvise, (void *)addr, length, advice); in internal_madvise()
162 return _REAL(__stat50, path, buf); in internal_stat()
167 return _REAL(__lstat50, path, buf); in internal_lstat()
172 return _REAL(__fstat50, fd, buf); in internal_fstat()
184 return _REAL(dup, oldfd); in internal_dup()
189 return _REAL(dup2, oldfd, newfd); in internal_dup2()
199 return _REAL(unlink, path); in internal_unlink()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/safestack/
H A Dsafestack_platform.h78 #define _REAL(func, ...) real##_##func(__VA_ARGS__) macro
88 # define _REAL(func) _##func macro
90 extern "C" ret_type _REAL(func)(__VA_ARGS__)
95 # define _REAL64(func) _REAL(func)
110 return _REAL(_lwp_self); in GetTid()
126 return _REAL(_lwp_kill, tid, sig); in TgKill()
163 return _REAL(munmap, addr, length); in Munmap()
165 return _REAL(munmap)(addr, length); in Munmap()
174 return _REAL(mprotect, addr, length, prot); in Mprotect()
176 return _REAL(mprotect)(addr, length, prot); in Mprotect()