json icon indicating copy to clipboard operation
json copied to clipboard

Add CMake-/Python-based fuzz testing

Open falbrechtskirchinger opened this issue 3 years ago • 2 comments

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.

falbrechtskirchinger avatar Aug 01 '22 13:08 falbrechtskirchinger

Coverage Status

Coverage remained the same at 100.0% when pulling adf7cc7743bdb28be314eef3388137303ba24ad8 on falbrechtskirchinger:fuzzing into 817a4a211785ca99c5fac06e6602088914102d63 on nlohmann:develop.

coveralls avatar Aug 01 '22 14:08 coveralls

Please make sure OSS-Fuzz integration is not broken.

nlohmann avatar Aug 01 '22 16:08 nlohmann