Rationale: While the implementations for these are trivial, this may change at some point. Having a fuzz test is just another sanity check for the optimizer.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D85064
[libc] Add fuzz test for strlen, memchr. Needs ReviewPublic Authored by cgyurgyik on Jul 31 2020, 5:38 PM.
Details
Summary Rationale: While the implementations for these are trivial, this may change at some point. Having a fuzz test is just another sanity check for the optimizer.
Diff Detail
Revision Contents
Diff 282359 libc/fuzzing/string/CMakeLists.txt
libc/fuzzing/string/memchr_fuzz.cpp
libc/fuzzing/string/strlen_fuzz.cpp
|
clang-tidy: warning: invalid case style for function 'LLVMFuzzerTestOneInput' [readability-identifier-naming]
not useful
clang-tidy: warning: invalid case style for parameter 'data' [readability-identifier-naming]
not useful
clang-tidy: warning: invalid case style for parameter 'size' [readability-identifier-naming]
not useful