[libc-commits] [PATCH] D156495: [libc] Add fuzzing for printf floats

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Thu Jul 27 16:37:47 PDT 2023


michaelrj created this revision.
michaelrj added reviewers: sivachandra, lntue.
Herald added projects: libc-project, All.
Herald added a subscriber: libc-commits.
michaelrj requested review of this revision.

To guarantee accuracy for all potential float values, this patch adds a
fuzzer to compare the results for float conversions from our printf
against MPFR's.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D156495

Files:
  libc/fuzzing/stdio/CMakeLists.txt
  libc/fuzzing/stdio/printf_float_conv_fuzz.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156495.544979.patch
Type: text/x-patch
Size: 3775 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230727/0bef32cb/attachment.bin>


More information about the libc-commits mailing list