Commit Graph

10 Commits

Author SHA1 Message Date
wwcv 7995868cdc [libwebp] use explicit SRC path (#1965) 2018-11-20 11:24:41 -08:00
YannisGuyon 1ad8633819 webp_animencoder: Add target to fuzz animation encoding (#1935)
* Add new fuzz target for encoding and misc

- Add fuzz_webp_enc_dec and adapt Dockerfile, build.sh
- Lint existing targets
- Add license headers
- Increase fuzz.dict

* webp_enc_dec: Convert input images to inline C arrays

Local files are not available on oss-fuzz servers.

* webp_enc_dec: Fix timeout by skipping crusher

The target fuzz_webp_enc_dec with msan crashes (timeout)
on a 128*128px image encoding with max compression (crusher).
Reduce crusher encoding to 16*16px and below.
Bug report 10423

* webp_enc_dec: Replace cruncher by lossy alpha encoding

The target fuzz_webp_enc_dec with msan crashes (timeout)
during encoding with max compression (cruncher).
Reduce alpha cruncher encoding to 16*16px and below.
Bug report 10634

* webp_enc_dec: Clamp slow parameters for big images

The target fuzz_webp_enc_dec with ubsan crashes (timeout)
during encoding with heavy compression. The cause can not
be easily removed without reducing performance.
Clamp compression parameters for images bigger than 16*16.
Bug report 10700

* webp_enc_dec: Limit alpha_quality to 99 when method is 6

The target fuzz_webp_enc_dec with asan crashes (timeout)
during encoding with heavy alpha compression.
Clamp alpha compression parameters for images bigger than 16*16.
Bug report 10838

* webp_animencoder: Add target to fuzz animation encoding

Add fuzz_webp_animencoder.cc and modify Dockerfile, build.sh
accordingly.
The thresholds for input size and encoding parameters are low
to prevent timeouts.
Some functions used by fuzz_webp_animencoder and fuzz_webp_enc_dec
have been moved to fuzz.h.
2018-11-07 11:17:08 -08:00
YannisGuyon b1b585f4da webp_enc_dec: Clamp slow parameters for big images (#1854)
* Add new fuzz target for encoding and misc

- Add fuzz_webp_enc_dec and adapt Dockerfile, build.sh
- Lint existing targets
- Add license headers
- Increase fuzz.dict

* webp_enc_dec: Convert input images to inline C arrays

Local files are not available on oss-fuzz servers.

* webp_enc_dec: Fix timeout by skipping crusher

The target fuzz_webp_enc_dec with msan crashes (timeout)
on a 128*128px image encoding with max compression (crusher).
Reduce crusher encoding to 16*16px and below.
Bug report 10423

* webp_enc_dec: Replace cruncher by lossy alpha encoding

The target fuzz_webp_enc_dec with msan crashes (timeout)
during encoding with max compression (cruncher).
Reduce alpha cruncher encoding to 16*16px and below.
Bug report 10634

* webp_enc_dec: Clamp slow parameters for big images

The target fuzz_webp_enc_dec with ubsan crashes (timeout)
during encoding with heavy compression. The cause can not
be easily removed without reducing performance.
Clamp compression parameters for images bigger than 16*16.
Bug report 10700
2018-10-04 13:33:12 -07:00
YannisGuyon f459726693 [libwebp] Convert input images to inline C arrays (#1820)
* Add new fuzz target for encoding and misc

- Add fuzz_webp_enc_dec and adapt Dockerfile, build.sh
- Lint existing targets
- Add license headers
- Increase fuzz.dict

* webp_enc_dec: Convert input images to inline C arrays

Local files are not available on oss-fuzz servers.
2018-09-17 13:53:05 -07:00
YannisGuyon 36605707f3 [libwebp] Add new fuzz target for encoding and misc (#1803)
- Add fuzz_webp_enc_dec and adapt Dockerfile, build.sh
- Lint existing targets
- Add license headers
- Increase fuzz.dict
2018-09-12 15:38:48 -07:00
YannisGuyon 9204671cc5 Pull corpus files from google cloud (#1688)
Add remote zip containing fuzzer-friendly files
which cover basically all features.
2018-08-03 14:11:19 -07:00
pdknsk 0e610d96ec libwebp: make seed corpus automatically (#1674)
* remove remnant

* make seed corpus automatically
2018-07-30 16:41:39 -07:00
pdknsk 8eeffa627f [libwebp] more targets (#1552)
* new target: advanced decoding api

* new target: animation decoding api

* new target: (de)mux API

* prefer copying dict to using options files
2018-06-25 14:17:52 -07:00
pdknsk 0ab5418028 [libwebp] preparation for more fuzz targets (#1499)
* replace wget with ADD

* no C++ in libwebp

* move common to header
2018-06-11 06:56:36 -07:00
pdknsk 5d153be351 [libwebp] Add fuzz target #1 (#1448) 2018-05-29 09:48:50 -07:00