[libc-commits] [libc] [libc] added cos function fuzzing test (PR #101559)
via libc-commits
libc-commits at lists.llvm.org
Thu Aug 1 13:32:19 PDT 2024
https://github.com/crythium created https://github.com/llvm/llvm-project/pull/101559
None
>From 3c1391e0b4db5440c2641b5caf9e67537f830533 Mon Sep 17 00:00:00 2001
From: cry <C at compiler.town>
Date: Thu, 1 Aug 2024 21:32:06 +0100
Subject: [PATCH] [libc] added cos function fuzzing test
---
libc/fuzzing/math/CMakeLists.txt | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/libc/fuzzing/math/CMakeLists.txt b/libc/fuzzing/math/CMakeLists.txt
index ad163cc53eae3..7faf8fd53c849 100644
--- a/libc/fuzzing/math/CMakeLists.txt
+++ b/libc/fuzzing/math/CMakeLists.txt
@@ -70,3 +70,12 @@ add_libc_fuzzer(
DEPENDS
libc.src.math.sin
)
+
+add_libc_fuzzer(
+ cos_fuzz
+ NEED_MPFR
+ SRCS
+ cos_fuzz.cpp
+ DEPENDS
+ libc.src.math.cos
+)
More information about the libc-commits
mailing list