[libc-commits] [libc] [libc] fuzz test for heap_sort (PR #100826)

via libc-commits libc-commits at lists.llvm.org
Sun Jul 28 06:19:52 PDT 2024


================
@@ -6,6 +6,14 @@ add_libc_fuzzer(
     libc.src.stdlib.qsort
 )
 
+add_libc_fuzzer(
+  heap_sort_fuzz
+  SRCS
+    heap_sort_fuzz.cpp
+  DEPENDS
+    libc.src.stlib.heap_sort
----------------
overmighty wrote:

https://github.com/llvm/llvm-project/blob/bb064535bd071c1bddaf55ff7fe283fc8d23c1fc/libc/src/stdlib/CMakeLists.txt#L260-L270

```suggestion
  DEPENDS
    libc.src.stdlib.qsort_util
```

https://github.com/llvm/llvm-project/pull/100826


More information about the libc-commits mailing list