Home
last modified time | relevance | path

Searched refs:msgp (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/
H A Dtsan_platform_linux.cpp339 int ExtractRecvmsgFDs(void *msgp, int *fds, int nfd) { in ExtractRecvmsgFDs() argument
341 msghdr *msg = (msghdr*)msgp; in ExtractRecvmsgFDs()
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/
H A Dtsan_platform_linux.cpp351 int ExtractRecvmsgFDs(void *msgp, int *fds, int nfd) { in ExtractRecvmsgFDs() argument
353 msghdr *msg = (msghdr*)msgp; in ExtractRecvmsgFDs()
/llvm-project-15.0.7/compiler-rt/include/sanitizer/
H A Dlinux_syscall_hooks.h1294 #define __sanitizer_syscall_pre_msgsnd(msqid, msgp, msgsz, msgflg) \ argument
1295 __sanitizer_syscall_pre_impl_msgsnd((long)(msqid), (long)(msgp), \
1297 #define __sanitizer_syscall_post_msgsnd(res, msqid, msgp, msgsz, msgflg) \ argument
1298 __sanitizer_syscall_post_impl_msgsnd(res, (long)(msqid), (long)(msgp), \
1300 #define __sanitizer_syscall_pre_msgrcv(msqid, msgp, msgsz, msgtyp, msgflg) \ argument
1301 __sanitizer_syscall_pre_impl_msgrcv((long)(msqid), (long)(msgp), \
1304 #define __sanitizer_syscall_post_msgrcv(res, msqid, msgp, msgsz, msgtyp, \ argument
2747 void __sanitizer_syscall_pre_impl_msgsnd(long msqid, long msgp, long msgsz,
2749 void __sanitizer_syscall_post_impl_msgsnd(long res, long msqid, long msgp,
2751 void __sanitizer_syscall_pre_impl_msgrcv(long msqid, long msgp, long msgsz,
[all …]
H A Dnetbsd_syscall_hooks.h1180 #define __sanitizer_syscall_pre_msgsnd(msqid, msgp, msgsz, msgflg) \ argument
1181 __sanitizer_syscall_pre_impl_msgsnd((long long)(msqid), (long long)(msgp), \
1183 #define __sanitizer_syscall_post_msgsnd(res, msqid, msgp, msgsz, msgflg) \ argument
1185 (long long)(msgp), (long long)(msgsz), \
1187 #define __sanitizer_syscall_pre_msgrcv(msqid, msgp, msgsz, msgtyp, msgflg) \ argument
1188 __sanitizer_syscall_pre_impl_msgrcv((long long)(msqid), (long long)(msgp), \
1191 #define __sanitizer_syscall_post_msgrcv(res, msqid, msgp, msgsz, msgtyp, \ argument
3745 void __sanitizer_syscall_pre_impl_msgsnd(long long msqid, long long msgp,
3748 long long msgp, long long msgsz,
3750 void __sanitizer_syscall_pre_impl_msgrcv(long long msqid, long long msgp,
[all …]
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_syscalls.inc2264 PRE_SYSCALL(msgsnd)(long msqid, void *msgp, long msgsz, long msgflg) {
2265 if (msgp)
2266 PRE_READ(msgp, msgsz);
2270 (long res, long msqid, void *msgp, long msgsz, long msgflg) {}
2273 (long msqid, void *msgp, long msgsz, long msgtyp, long msgflg) {}
2276 (long res, long msqid, void *msgp, long msgsz, long msgtyp, long msgflg) {
2278 if (msgp)
2279 POST_WRITE(msgp, res);
H A Dsanitizer_common_interceptors.inc3334 INTERCEPTOR(int, msgsnd, int msqid, const void *msgp, SIZE_T msgsz,
3337 COMMON_INTERCEPTOR_ENTER(ctx, msgsnd, msqid, msgp, msgsz, msgflg);
3338 if (msgp)
3339 COMMON_INTERCEPTOR_READ_RANGE(ctx, msgp, sizeof(long) + msgsz);
3340 int res = REAL(msgsnd)(msqid, msgp, msgsz, msgflg);
3344 INTERCEPTOR(SSIZE_T, msgrcv, int msqid, void *msgp, SIZE_T msgsz,
3347 COMMON_INTERCEPTOR_ENTER(ctx, msgrcv, msqid, msgp, msgsz, msgtyp, msgflg);
3348 SSIZE_T len = REAL(msgrcv)(msqid, msgp, msgsz, msgtyp, msgflg);
3350 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, msgp, sizeof(long) + len);