[libcxx-commits] [libcxx] [ASan][libc++] Turn on ASan annotations for short strings (PR #75882)
via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Jan 16 13:37:33 PST 2024
================
@@ -74,17 +74,11 @@ TEST_CONSTEXPR bool is_string_asan_correct(const std::basic_string<ChrT, TraitsT
if (TEST_IS_CONSTANT_EVALUATED)
return true;
- if (!is_string_short(c) || _LIBCPP_SHORT_STRING_ANNOTATIONS_ALLOWED) {
----------------
AdvenamTacet wrote:
I don't understand the question. After that patch, short and long strings should be annotated and it's tested here. Now we test if short strings are not poisoned. This change should increase strength of testing ASan.
https://github.com/llvm/llvm-project/pull/75882
More information about the libcxx-commits
mailing list