skia2/fuzz
Leon Scroggins III 0b8fcbcfa3 Add fuzzers for SkAndroidCodec & incrementalDecode
Fuzz SkAndroidCodec to help to catch errors in both incrementalDecode
and scanlineDecode. Try a variety of sample sizes, but cap it at 64.
Though sometimes larger sample sizes are used, the lower ones tend to
more common. Also draw the resulting bitmap to verify that we
initialized all pixels.

Independently test incrementalDecode to ensure that it initializes
rowsDecoded.

Change-Id: I20d8a408cd280262fdc62f902a6f04f0f57f5ad2
Reviewed-on: https://skia-review.googlesource.com/c/162025
Commit-Queue: Kevin Lubick <kjlubick@google.com>
Auto-Submit: Leon Scroggins <scroggo@google.com>
Reviewed-by: Kevin Lubick <kjlubick@google.com>
2018-10-17 12:08:18 +00:00
..
oss_fuzz Add fuzzers for SkAndroidCodec & incrementalDecode 2018-10-17 12:08:18 +00:00
coverage remove SkColorSpace::MakeICC() fuzzer 2018-05-23 16:31:11 +00:00
Fuzz.cpp Make fuzz::next overloads more consistent 2018-09-17 19:20:51 +00:00
Fuzz.h Make fuzz::next overloads more consistent 2018-09-17 19:20:51 +00:00
FuzzCanvas.cpp delete textonpath code -- not used anywhere 2018-10-01 16:52:32 +00:00
FuzzCommon.cpp FuzzPath -> FuzzNicePath 2018-09-25 17:04:00 +00:00
FuzzCommon.h FuzzPath -> FuzzNicePath 2018-09-25 17:04:00 +00:00
FuzzDrawFunctions.cpp Reland "SkDEBUGF: use __VA_ARGS__" 2018-07-18 15:37:41 +00:00
FuzzEncoders.cpp Add Encoder fuzzers 2018-03-30 19:31:56 +00:00
FuzzGradients.cpp Reland "SkDEBUGF: use __VA_ARGS__" 2018-07-18 15:37:41 +00:00
FuzzMain.cpp Add autodetect for polyutils fuzz 2018-10-11 13:35:52 +00:00
FuzzParsePath.cpp test,tools: whitespace changes for clang-format 2018-09-19 17:50:51 +00:00
FuzzPathMeasure.cpp FuzzPath -> FuzzNicePath 2018-09-25 17:04:00 +00:00
FuzzPathop.cpp Exercise entire public PathOp API 2018-10-12 14:44:41 +00:00
FuzzPolyUtils.cpp Add autodetect for polyutils fuzz 2018-10-11 13:35:52 +00:00
FuzzRegionOp.cpp Make fuzz::next overloads more consistent 2018-09-17 19:20:51 +00:00