zserge / jsmn

Jsmn is a world fastest JSON parser/tokenizer. This is the official repo replacing the old one at Bitbucket
MIT License
3.64k stars 778 forks source link

Add fuzzer #225

Open AdamKorcz opened 2 years ago

AdamKorcz commented 2 years ago

Adds a fuzzer that tests jsmn_parse().

I recommend running the fuzzer in the CI with ClusterfuzzLite. Since jsmn does not have any Github workflows, I didn't add that part, but I have tested it locally and will be happy to set it up in the CI.

Signed-off-by: AdamKorcz Adam@adalogics.com