diff --git a/tests/ossfuzz.sh b/tests/ossfuzz.sh index 2af98f5..4b8fd27 100755 --- a/tests/ossfuzz.sh +++ b/tests/ossfuzz.sh @@ -17,9 +17,13 @@ cp $SRC/stb/tests/stb_png.dict $OUT/stb_png_read_fuzzer.dict tar xvzf $SRC/stb/jpg.tar.gz --directory $SRC/stb/tests tar xvzf $SRC/stb/gif.tar.gz --directory $SRC/stb/tests +unzip $SRC/stb/bmp.zip -d $SRC/stb/tests +unzip $SRC/stb/tga.zip -d $SRC/stb/tests -find $SRC/stb/tests -name "*.png" -o -name "*.jpg" -o -name ".gif" | \ - xargs zip $OUT/stbi_read_fuzzer_seed_corpus.zip +find $SRC/stb/tests -name "*.png" -o -name "*.jpg" -o -name "*.gif" \ + -o -name "*.bmp" -o -name "*.tga" -o -name "*.TGA" \ + -o -name "*.ppm" -o -name "*.pgm" \ + | xargs zip $OUT/stbi_read_fuzzer_seed_corpus.zip echo "" >> $SRC/stb/tests/gif.dict cat $SRC/stb/tests/gif.dict $SRC/stb/tests/stb_png.dict > $OUT/stbi_read_fuzzer.dict diff --git a/tests/pbm/basi0g16.pgm b/tests/pbm/basi0g16.pgm new file mode 100644 index 0000000..7241243 Binary files /dev/null and b/tests/pbm/basi0g16.pgm differ diff --git a/tests/pbm/basi2c16.ppm b/tests/pbm/basi2c16.ppm new file mode 100644 index 0000000..f2913bb Binary files /dev/null and b/tests/pbm/basi2c16.ppm differ diff --git a/tests/pbm/cdfn2c08.ppm b/tests/pbm/cdfn2c08.ppm new file mode 100644 index 0000000..1a9e0f0 Binary files /dev/null and b/tests/pbm/cdfn2c08.ppm differ diff --git a/tests/pbm/cdun2c08.ppm b/tests/pbm/cdun2c08.ppm new file mode 100644 index 0000000..2d7202b Binary files /dev/null and b/tests/pbm/cdun2c08.ppm differ diff --git a/tests/pbm/comment.pgm b/tests/pbm/comment.pgm new file mode 100644 index 0000000..aa9dc71 Binary files /dev/null and b/tests/pbm/comment.pgm differ diff --git a/tests/pbm/ctfn0g04.pgm b/tests/pbm/ctfn0g04.pgm new file mode 100644 index 0000000..284f870 Binary files /dev/null and b/tests/pbm/ctfn0g04.pgm differ