[compiler-rt] [sanitizer] Disable writes to log files for binaries in a secure context. (PR #92593)
via llvm-commits
llvm-commits at lists.llvm.org
Fri May 17 14:48:05 PDT 2024
================
@@ -19,6 +19,13 @@
#include "sanitizer_common.h"
#include "sanitizer_file.h"
+
+#if SANITIZER_LINUX || (SANITIZER_ANDROID && __ANDROID_API__ >= 18)
----------------
bigb4ng wrote:
You're right, just found out about `sanitizer_getauxval.h`, so I'll use that definition instead. Is `!SANITIZER_GO` necessary though? https://github.com/bigb4ng/llvm-project/blob/70efd00055d734e8ca10be3c60ca689906f79924/compiler-rt/lib/sanitizer_common/sanitizer_getauxval.h#L26
https://github.com/llvm/llvm-project/pull/92593
More information about the llvm-commits
mailing list