diff --git a/projects/pillow/Dockerfile b/projects/pillow/Dockerfile index 2c2bafa98..f2c12310a 100644 --- a/projects/pillow/Dockerfile +++ b/projects/pillow/Dockerfile @@ -48,9 +48,10 @@ RUN apt-get install -y \ tk8.6-dev \ zlib1g-dev RUN git clone --depth 1 https://github.com/python-pillow/Pillow +# install extra test images for a better starting corpus +RUN cd Pillow && depends/install_extra_test_images.sh COPY build.sh $SRC/ COPY fuzz_* $SRC/Pillow WORKDIR $SRC/Pillow - diff --git a/projects/pillow/build.sh b/projects/pillow/build.sh index c2c8181e3..19c31a696 100644 --- a/projects/pillow/build.sh +++ b/projects/pillow/build.sh @@ -46,4 +46,4 @@ ASAN_OPTIONS=\$ASAN_OPTIONS:symbolize=1:external_symbolizer_path=\$this_dir/llvm chmod u+x $OUT/$fuzzer_basename done -find Tests/images Tests/icc Tests/fonts -print | zip -q $OUT/testfiles_fuzzer_seed_corpus.zip -@ +find Tests/images Tests/icc Tests/fonts -print | zip -q $OUT/fuzz_pillow_seed_corpus.zip -@