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 3596005 commit e90ce51Copy full SHA for e90ce51
libc/src/string/string_utils.h
@@ -116,8 +116,9 @@ template <typename T> LIBC_INLINE size_t string_length(const T *src) {
116
}
117
118
template <typename Word>
119
-LIBC_INLINE void *find_first_character_wide_read(const unsigned char *src,
120
- unsigned char ch, size_t n) {
+[[gnu::no_sanitize_address]] LIBC_INLINE void *
+find_first_character_wide_read(const unsigned char *src, unsigned char ch,
121
+ size_t n) {
122
const unsigned char *char_ptr = src;
123
size_t cur = 0;
124
0 commit comments