arsenm / sanitizers-cmake

CMake modules to help use sanitizers
Other
377 stars 65 forks source link

Detect libFuzzer support #36

Open szhorvat opened 1 year ago

szhorvat commented 1 year ago

It would be nice to also be able to detect libFuzzer support, which is not quite a sanitizer, but it is enabled similarly, using -fsanitize=fuzzer or -fsanitize=fuzzer-no-link.

See https://llvm.org/docs/LibFuzzer.html