mirror-llvm-project/libc/fuzzing/string
Victor Campos e455e6c9ec
[libc] Add Annex K strnlen_s function (#186112)
This patch adds the `strnlen_s` function from Annex K.

In order to reduce duplication between `strnlen` and `strnlen_s`, the
common logic has been extracted to a new internal function which both
now call.

In addition to the function definition, the patch adds a unit test and a
fuzzing test.
2026-04-13 13:10:27 +01:00
..
bcmp_fuzz.cpp
CMakeLists.txt [libc] Add Annex K strnlen_s function (#186112) 2026-04-13 13:10:27 +01:00
memcmp_fuzz.cpp
strcmp_fuzz.cpp
strcpy_fuzz.cpp
strlen_fuzz.cpp
strnlen_s_differential_fuzz.cpp [libc] Add Annex K strnlen_s function (#186112) 2026-04-13 13:10:27 +01:00
strstr_fuzz.cpp