We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd63d93 commit 3596005Copy full SHA for 3596005
libc/config/linux/riscv/config.json
@@ -0,0 +1,7 @@
1
+{
2
+ "string": {
3
+ "LIBC_CONF_STRING_UNSAFE_WIDE_READ": {
4
+ "value": false
5
+ }
6
7
+}
libc/src/string/memory_utils/x86_64/inline_strlen.h
@@ -18,7 +18,8 @@ namespace LIBC_NAMESPACE_DECL {
18
namespace string_length_internal {
19
// Return a bit-mask with the nth bit set if the nth-byte in block_ptr is zero.
20
template <typename Vector, typename Mask>
21
-LIBC_INLINE static Mask compare_and_mask(const Vector *block_ptr);
+[[gnu::no_sanitize_address]] LIBC_INLINE static Mask
22
+compare_and_mask(const Vector *block_ptr);
23
24
template <typename Vector, typename Mask,
25
decltype(compare_and_mask<Vector, Mask>)>
0 commit comments