upgrade to more recent fuzzing dicts and use some additional ones
that look a good fit for the formats we're already fuzzing Change-Id: Ie635d17d829858c0cb10f71ea936f8dc131db811 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151052 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
@@ -78,12 +78,19 @@ cd $SRC
|
|||||||
|
|
||||||
#fuzzing dictionaries
|
#fuzzing dictionaries
|
||||||
curl --no-progress-meter -S \
|
curl --no-progress-meter -S \
|
||||||
-C - -O https://raw.githubusercontent.com/rc0r/afl-fuzz/master/dictionaries/gif.dict \
|
-C - -O https://raw.githubusercontent.com/google/fuzzing/master/dictionaries/gif.dict \
|
||||||
-C - -O https://raw.githubusercontent.com/rc0r/afl-fuzz/master/dictionaries/jpeg.dict \
|
-C - -O https://raw.githubusercontent.com/google/fuzzing/master/dictionaries/jpeg.dict \
|
||||||
-C - -O https://raw.githubusercontent.com/rc0r/afl-fuzz/master/dictionaries/png.dict \
|
-C - -O https://raw.githubusercontent.com/google/fuzzing/master/dictionaries/png.dict \
|
||||||
-C - -O https://raw.githubusercontent.com/rc0r/afl-fuzz/master/dictionaries/tiff.dict \
|
-C - -O https://raw.githubusercontent.com/google/fuzzing/master/dictionaries/tiff.dict \
|
||||||
-C - -O https://raw.githubusercontent.com/rc0r/afl-fuzz/master/dictionaries/xml.dict \
|
-C - -O https://raw.githubusercontent.com/google/fuzzing/master/dictionaries/xml.dict \
|
||||||
-C - -O https://raw.githubusercontent.com/rc0r/afl-fuzz/master/dictionaries/html_tags.dict
|
-C - -O https://raw.githubusercontent.com/google/fuzzing/master/dictionaries/html.dict \
|
||||||
|
-C - -O https://raw.githubusercontent.com/google/fuzzing/master/dictionaries/svg.dict \
|
||||||
|
-C - -O https://raw.githubusercontent.com/google/fuzzing/master/dictionaries/bmp.dict \
|
||||||
|
-C - -O https://raw.githubusercontent.com/google/fuzzing/master/dictionaries/otf.dict \
|
||||||
|
-C - -O https://raw.githubusercontent.com/google/fuzzing/master/dictionaries/psd.dict \
|
||||||
|
-C - -O https://raw.githubusercontent.com/google/fuzzing/master/dictionaries/rtf.dict \
|
||||||
|
-C - -O https://raw.githubusercontent.com/google/fuzzing/master/dictionaries/webp.dict \
|
||||||
|
-C - -O https://raw.githubusercontent.com/google/fuzzing/master/dictionaries/zip.dict
|
||||||
#fuzzing corpuses
|
#fuzzing corpuses
|
||||||
#afl jpeg, gif, bmp, png, webp
|
#afl jpeg, gif, bmp, png, webp
|
||||||
curl --no-progress-meter -S -C - -O https://lcamtuf.coredump.cx/afl/demo/afl_testcases.tgz
|
curl --no-progress-meter -S -C - -O https://lcamtuf.coredump.cx/afl/demo/afl_testcases.tgz
|
||||||
|
@@ -1,2 +1,3 @@
|
|||||||
[libfuzzer]
|
[libfuzzer]
|
||||||
max_len = 65536
|
max_len = 65536
|
||||||
|
dict = bmp.dict
|
||||||
|
@@ -1,3 +1,3 @@
|
|||||||
[libfuzzer]
|
[libfuzzer]
|
||||||
max_len = 24576
|
max_len = 24576
|
||||||
dict = html_tags.dict
|
dict = html.dict
|
||||||
|
@@ -1,2 +1,3 @@
|
|||||||
[libfuzzer]
|
[libfuzzer]
|
||||||
max_len = 65536
|
max_len = 65536
|
||||||
|
dict = psd.dict
|
||||||
|
@@ -1,2 +1,3 @@
|
|||||||
[libfuzzer]
|
[libfuzzer]
|
||||||
max_len = 65536
|
max_len = 65536
|
||||||
|
dict = rtf.dict
|
||||||
|
@@ -1,2 +1,3 @@
|
|||||||
[libfuzzer]
|
[libfuzzer]
|
||||||
max_len = 65536
|
max_len = 65536
|
||||||
|
dict = otf.dict
|
||||||
|
@@ -1,3 +1,3 @@
|
|||||||
[libfuzzer]
|
[libfuzzer]
|
||||||
max_len = 32000
|
max_len = 32000
|
||||||
dict = xml.dict
|
dict = svg.dict
|
||||||
|
@@ -1,2 +1,3 @@
|
|||||||
[libfuzzer]
|
[libfuzzer]
|
||||||
max_len = 65536
|
max_len = 65536
|
||||||
|
dict = webp.dict
|
||||||
|
@@ -1,2 +1,3 @@
|
|||||||
[libfuzzer]
|
[libfuzzer]
|
||||||
max_len = 32000
|
max_len = 32000
|
||||||
|
dict = zip.dict
|
||||||
|
Reference in New Issue
Block a user