summaryrefslogtreecommitdiff
path: root/libc/fuzzing/stdlib/strtointeger_differential_fuzz.cpp
AgeCommit message (Collapse)Author
2025-10-02[libc] Fix issue with fuzz input too short for atoi diff fuzz (#161705)Michael Jones
The string to integer differential fuzzer assumes at least one byte of meaningful input, but wasn't explicitly checking that. Now it does.
2023-09-26[libc] Mass replace enclosing namespace (#67032)Guillaume Chatelet
This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079
2023-02-15[libc][NFC] Make tuning macros start with LIBC_COPT_Guillaume Chatelet
Rename preprocessor definitions that control tuning of llvm libc. Differential Revision: https://reviews.llvm.org/D143913
2022-12-20[libc] add fuzz target for strtointeger functionsMichael Jones
The string to integer conversion functions are well suited to differential fuzzing, and this patch adds a target to enable just that. It also fixes a bug in the fuzzing comparison logic and changes atoi slightly to match the behavior described in the C standard. Reviewed By: sivachandra, lntue Differential Revision: https://reviews.llvm.org/D140178