commonmark / cmark

CommonMark parsing and rendering library and program in C
Other
1.6k stars 527 forks source link

build: Update libFuzzer build #516

Closed nwellnhof closed 6 months ago

nwellnhof commented 6 months ago

Move fuzzing files into their own directory.

Use libFuzzer the modern way by compiling and linking with -fsanitize=fuzzer(-no-link) without requiring LIB_FUZZER_PATH.

Update the libFuzzer rule in Makefile and the instructions in README.md.

nwellnhof commented 6 months ago

Oh, this breaks the OSS-Fuzz setup. I'll send a PR to OSS-Fuzz.

nwellnhof commented 6 months ago

The fuzzing tests should work again after https://github.com/google/oss-fuzz/pull/11480 was merged.