]> git.ipfire.org Git - thirdparty/zstd.git/commit
[fuzz] Add dictionary_loader fuzzer
authorNick Terrell <terrelln@fb.com>
Fri, 1 Nov 2019 22:16:24 +0000 (15:16 -0700)
committerNick Terrell <terrelln@fb.com>
Fri, 1 Nov 2019 22:54:24 +0000 (15:54 -0700)
commit75e7c0d107e17b6ce7392d82aa8e9122a826d6f2
tree352393ee0c4635b066a4f64ae5c2859d623d3e55
parentd770a2a89ff9435e3283c88ad237f9a70f872c9a
[fuzz] Add dictionary_loader fuzzer

* Adds the fuzzer
* Adds an additional `InputType` for the fuzzer

I ran the fuzzer for about 10 minutes and it found 2 bugs:

* Catches the original bug without any help
* Catches an additional bug with 8-byte dictionaries
tests/fuzz/Makefile
tests/fuzz/dictionary_loader.c [new file with mode: 0644]
tests/fuzz/fuzz.py