[compiler-rt] [sanitizer] Disable writes to log files for binaries in a secure context. (PR #92593)

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Thu May 23 13:45:32 PDT 2024


vitalybuka wrote:

Seems like behavior change which can brake existing users.
Also I don't think it's reasonable to link sanitizer runtimes in security sensitive processes. Sanitizers are bug detection tools, but runtime code was not build as mitigation. Only -fsanitizer-trap= can run without runtimes, but it's supported only UBSAN.

So I am not sure that we should break behavior to improve "not a goal" use cases.

@eugenis 

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


More information about the llvm-commits mailing list