1
0
mirror of https://github.com/nlohmann/json synced 2024-11-25 13:20:05 +00:00
nlohmannjson/test
Michael Macnair 9e500b49ac Add support for afl-fuzz testing
"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
2016-02-12 09:35:08 +00:00
..
json_nlohmann_tests ignore UTF-8 byte order mark (fixes #152) 2015-12-07 22:27:53 +01:00
json_roundtrip more test cases 2015-05-09 16:58:06 +02:00
json_tests added compliance test cases 2015-05-09 13:56:51 +02:00
json_testsuite more tests 2015-06-30 00:12:18 +02:00
json.org more tests 2015-06-30 00:12:18 +02:00
catch.hpp upgraded Catch to v1.3.1 2015-12-20 15:42:01 +01:00
fuzz.cpp Add support for afl-fuzz testing 2016-02-12 09:35:08 +00:00
unit.cpp reverted change wrt. Erasable concept 2016-02-05 22:37:28 +01:00