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

David CARLIER via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 10 03:15:15 PST 2025


================
@@ -376,6 +376,95 @@ INTERCEPTOR(void, setbuffer, FILE *stream, char *buf, int size) {
 #define RTSAN_MAYBE_INTERCEPT_SETBUFFER
 #endif
 
+#if SANITIZER_INTERCEPT_FSEEK
----------------
devnexen wrote:

oh yes weird, I m pretty sure even fuchsia has it too, but setting as SI_POSIX should do at first.

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


More information about the llvm-commits mailing list