[libc-commits] [PATCH] D149359: [libc] add exception to atof differential fuzz

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Thu Apr 27 11:21:54 PDT 2023


sivachandra added inline comments.


================
Comment at: libc/fuzzing/stdlib/atof_differential_fuzz.cpp:41
+bool should_be_skipped(const uint8_t *str) {
+  double init_result = __llvm_libc::atof(reinterpret_cast<const char *>(str));
+  if (init_result < 0) {
----------------
Can there be a way to do this without using `__llvm_libc::atof`?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D149359/new/

https://reviews.llvm.org/D149359



More information about the libc-commits mailing list