[all-commits] [llvm/llvm-project] f1990f: [libc] add fuzz target for strtointeger functions
michaelrj-google via All-commits
all-commits at lists.llvm.org
Tue Dec 20 10:48:47 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f1990feb35e835ab81d6351dd4b6ef3dccc4aca5
https://github.com/llvm/llvm-project/commit/f1990feb35e835ab81d6351dd4b6ef3dccc4aca5
Author: Michael Jones <michaelrj at google.com>
Date: 2022-12-20 (Tue, 20 Dec 2022)
Changed paths:
M libc/cmake/modules/LLVMLibCTestRules.cmake
M libc/fuzzing/math/Compare.h
M libc/fuzzing/stdlib/CMakeLists.txt
M libc/fuzzing/stdlib/StringParserOutputDiff.h
A libc/fuzzing/stdlib/strtointeger_differential_fuzz.cpp
Log Message:
-----------
[libc] add fuzz target for strtointeger functions
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
More information about the All-commits
mailing list