Open
Description
I would like to suggest adding support for libFuzzer in the generated test directory. While the current template includes dummy unit tests without relying on a specific testing framework, integrating a fuzz test target would be a valuable addition for projects that require robustness testing and input validation.
Feature request
- Add an optional CMake target for fuzz testing using libFuzzer
- The target should be conditionally enabled if the compiler supports fuzzing (
-fsanitize=fuzzer,address
for Clang and GCC (?)). - Include a basic fuzzing example (e.g., fuzzing a simple string-processing function).
- Ensure that the fuzz test target integrates smoothly with existing CMake configurations and CI pipelines.
Metadata
Metadata
Assignees
Labels
No labels