[compiler-rt] [compiler-rt][rtsan] fseek api interception. (PR #122163)

Chris Apple via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 10 05:19:58 PST 2025


================
@@ -593,7 +593,7 @@ SANITIZER_WEAK_IMPORT void *aligned_alloc(__sanitizer::usize __alignment,
 #define SANITIZER_INTERCEPT_SHA1 SI_NETBSD
 #define SANITIZER_INTERCEPT_MD4 SI_NETBSD
 #define SANITIZER_INTERCEPT_RMD160 SI_NETBSD
-#define SANITIZER_INTERCEPT_FSEEK (SI_NETBSD || SI_FREEBSD)
+#define SANITIZER_INTERCEPT_FSEEK SI_POSIX
----------------
cjappl wrote:

@fmayer wanted to get your eyes on this change in particular, as it may have ramifications for other sanitizers.

Maybe we should do this change first as a separate PR to see if there is any test fallout, then commit the rest? 

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


More information about the llvm-commits mailing list