"make fuzz" creates a simple executable that de-serialises stdin
and re-serialises to stdout.
"make fuzz_testcases" extracts the smaller json test cases into
a testcases directory.
The library can then be fuzzed as follows:
CC=afl-clang-fast make fuzz
make fuzz_testcases
mkdir out
afl-fuzz -i testcases -o out ./fuzz
|
||
|---|---|---|
| .. | ||
| json.org | ||
| json_nlohmann_tests | ||
| json_roundtrip | ||
| json_tests | ||
| json_testsuite | ||
| catch.hpp | ||
| fuzz.cpp | ||
| unit.cpp | ||