[libc-commits] [libc] [llvm] [libc] Unify and extend no_sanitize attributes for strlen. (PR #161316)

Alexey Samsonov via libc-commits libc-commits at lists.llvm.org
Tue Sep 30 10:27:27 PDT 2025


vonosmas wrote:

> Do we really need to disable tsan as well? Likely this should be a macro in a header somewhere.

Yes, TSan detects (and complains about) OOB accesses to heap memory. I've created a macro for the attribute, PTAL!

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


More information about the libc-commits mailing list