From 2d95dee0c06687814eeb5c883e305a7197e26a95 Mon Sep 17 00:00:00 2001 From: RoseZhang03 Date: Wed, 7 Aug 2024 21:12:40 +0000 Subject: [libc] math fuzzing MPFR include statement (#102358) Updated the include statement for MPFR --- libc/fuzzing/math/cos_fuzz.cpp | 2 +- libc/fuzzing/math/sin_fuzz.cpp | 2 +- libc/fuzzing/math/tan_fuzz.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libc/fuzzing/math/cos_fuzz.cpp b/libc/fuzzing/math/cos_fuzz.cpp index 3e4ad65..5b5ba0f 100644 --- a/libc/fuzzing/math/cos_fuzz.cpp +++ b/libc/fuzzing/math/cos_fuzz.cpp @@ -11,8 +11,8 @@ //===----------------------------------------------------------------------===// #include "src/math/cos.h" +#include "utils/MPFRWrapper/mpfr_inc.h" #include -#include extern "C" int LLVMFuzzerTestOneInput(const double x) { // remove NaN and inf as preconditions diff --git a/libc/fuzzing/math/sin_fuzz.cpp b/libc/fuzzing/math/sin_fuzz.cpp index 009b9f2..a5f0fa9 100644 --- a/libc/fuzzing/math/sin_fuzz.cpp +++ b/libc/fuzzing/math/sin_fuzz.cpp @@ -11,8 +11,8 @@ //===----------------------------------------------------------------------===// #include "src/math/sin.h" +#include "utils/MPFRWrapper/mpfr_inc.h" #include -#include extern "C" int LLVMFuzzerTestOneInput(const double x) { // remove NaN and inf as preconditions diff --git a/libc/fuzzing/math/tan_fuzz.cpp b/libc/fuzzing/math/tan_fuzz.cpp index 700ebb8..2a462fa 100644 --- a/libc/fuzzing/math/tan_fuzz.cpp +++ b/libc/fuzzing/math/tan_fuzz.cpp @@ -11,8 +11,8 @@ //===----------------------------------------------------------------------===// #include "src/math/tan.h" +#include "utils/MPFRWrapper/mpfr_inc.h" #include -#include extern "C" int LLVMFuzzerTestOneInput(const double x) { // remove NaN and inf as preconditions -- cgit v1.1