summaryrefslogtreecommitdiff
path: root/src/fuzz/fuzz-json.c
Commit message (Collapse)AuthorAgeFilesLines
* json: add flags parameter to json_parse_file(), for parsing "sensitive" dataLennart Poettering2019-12-021-1/+1
| | | | | | | This will call json_variant_sensitive() internally while parsing for each allocated sub-variant. This is better than calling it a posteriori at the end, because partially parsed variants will always be properly erased from memory this way.
* Add fmemopen_unlocked() and use unlocked ops in fuzzers and some other testsZbigniew Jędrzejewski-Szmek2019-04-121-2/+3
| | | | This might make things marginially faster. I didn't benchmark though.
* tests: add a fuzzer for the json parser and dumperEvgeny Vereshchagin2018-10-101-0/+30