[compiler-rt] [compiler-rt][rtsan] socketpair interception. (PR #124107)

Chris Apple via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 27 04:03:18 PST 2025


================
@@ -1021,6 +1021,16 @@ INTERCEPTOR(int, setsockopt, int socket, int level, int option,
 #define RTSAN_MAYBE_INTERCEPT_SETSOCKOPT
 #endif
 
+#if !SANITIZER_APPLE
----------------
cjappl wrote:

Looking at `tsan_interceptors_posix.cpp` and `msan_interceptors.cpp`, it seems like socketpair is unguarded (aka available on everything including OSX).

Do you have a mac machine to test it out? If not, let me know and I'd be happy to test it on mine

https://github.com/llvm/llvm-project/pull/124107


More information about the llvm-commits mailing list