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

David CARLIER via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 14 11:59:21 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_POSIX
+#define SANITIZER_INTERCEPT_FSEEK (SI_NETBSD || SI_FREEBSD)
----------------
devnexen wrote:

ah no, good catch !

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


More information about the llvm-commits mailing list