json
json copied to clipboard
Add CMake-/Python-based fuzz testing
Add some (OK, a lot) CMake and Python code to automate complex fuzzing setups.
This effort is currently focused on AFL++ and implements an allocator that is loosely based on these recommendations from the AFL++ documentation.
libFuzzer support is next.
It also deals with generating and minimizing the fuzzing corpus.
To Do
- [ ] Make sure OSS-Fuzz integration works.
Coverage remained the same at 100.0% when pulling adf7cc7743bdb28be314eef3388137303ba24ad8 on falbrechtskirchinger:fuzzing into 817a4a211785ca99c5fac06e6602088914102d63 on nlohmann:develop.
Please make sure OSS-Fuzz integration is not broken.