[compiler-rt] [TySan] Intercept malloc_size on Apple platforms. (PR #122133)
Florian Mayer via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 8 08:01:11 PST 2025
================
@@ -108,6 +108,14 @@ INTERCEPTOR(void *, malloc, uptr size) {
return res;
}
+#if SANITIZER_APPLE
----------------
fmayer wrote:
drive by question: how do we decide between `TYSAN_INTERCEPT___STRDUP` and `SANITIZER_APPLE` style conditions?
https://github.com/llvm/llvm-project/pull/122133
More information about the llvm-commits
mailing list