[all-commits] [llvm/llvm-project] ae3b59: [libc] Use MPFR for strtofloat fuzzing
michaelrj-google via All-commits
all-commits at lists.llvm.org
Mon May 22 11:05:07 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ae3b59e62398e8dc86dec647be58c5ee032447c1
https://github.com/llvm/llvm-project/commit/ae3b59e62398e8dc86dec647be58c5ee032447c1
Author: Michael Jones <michaelrj at google.com>
Date: 2023-05-22 (Mon, 22 May 2023)
Changed paths:
M libc/cmake/modules/LLVMLibCTestRules.cmake
M libc/fuzzing/stdlib/CMakeLists.txt
M libc/fuzzing/stdlib/atof_differential_fuzz.cpp
M libc/fuzzing/stdlib/strtofloat_fuzz.cpp
M libc/src/__support/str_to_float.h
M libc/test/src/stdlib/strtod_test.cpp
M libc/test/src/stdlib/strtold_test.cpp
M libc/utils/MPFRWrapper/CMakeLists.txt
M libc/utils/MPFRWrapper/MPFRUtils.cpp
A libc/utils/MPFRWrapper/mpfr_inc.h
M utils/bazel/llvm-project-overlay/libc/utils/MPFRWrapper/BUILD.bazel
Log Message:
-----------
[libc] Use MPFR for strtofloat fuzzing
The previous string to float tests didn't check correctness, but due to
the atof differential test proving unreliable the strtofloat fuzz test
has been changed to use MPFR for correctness checking. Some minor bugs
have been found and fixed as well.
Reviewed By: lntue
Differential Revision: https://reviews.llvm.org/D150905
More information about the All-commits
mailing list