diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2018-11-02 20:18:45 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2018-11-02 20:40:14 +0200 |
commit | 106d1a663d4ba42b63231caa289f531548df81c1 (patch) | |
tree | a2af37c8a4e454b2acccd19615b804f4cb9a1830 /tests/ossfuzz/config | |
parent | liblzma: Don't verify header CRC32s if building for fuzz testing. (diff) | |
download | xz-106d1a663d4ba42b63231caa289f531548df81c1.tar.xz |
Tests: Add a fuzz test program and a config file for OSS-Fuzz.
Thanks to Bhargava Shastry and Github user pdknsk.
Diffstat (limited to 'tests/ossfuzz/config')
-rw-r--r-- | tests/ossfuzz/config/fuzz.dict | 2 | ||||
-rw-r--r-- | tests/ossfuzz/config/fuzz.options | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/ossfuzz/config/fuzz.dict b/tests/ossfuzz/config/fuzz.dict new file mode 100644 index 00000000..932d67c2 --- /dev/null +++ b/tests/ossfuzz/config/fuzz.dict @@ -0,0 +1,2 @@ +"\xFD7zXZ\x00" +"YZ" diff --git a/tests/ossfuzz/config/fuzz.options b/tests/ossfuzz/config/fuzz.options new file mode 100644 index 00000000..d59dfc13 --- /dev/null +++ b/tests/ossfuzz/config/fuzz.options @@ -0,0 +1,2 @@ +[libfuzzer] +dict = fuzz.dict |