[compiler-rt] [asan] Add readability guard for %s in printf interceptor (PR #176711)

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 20 07:02:57 PST 2026


vitalybuka wrote:

> Thanks for the explanation! Just to make sure I'm aligning with the intended policy here: would you prefer to keep the current behavior (i.e. crashing inside the sanitizer runtime), or to have the sanitizer explicitly detect this case and abort via Die() when an unreadable %s argument is encountered?

Yes, current crashing behavior is desirable.

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


More information about the llvm-commits mailing list