0b8fcbcfa3
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> |
||
---|---|---|
.. | ||
oss_fuzz | ||
coverage | ||
Fuzz.cpp | ||
Fuzz.h | ||
FuzzCanvas.cpp | ||
FuzzCommon.cpp | ||
FuzzCommon.h | ||
FuzzDrawFunctions.cpp | ||
FuzzEncoders.cpp | ||
FuzzGradients.cpp | ||
FuzzMain.cpp | ||
FuzzParsePath.cpp | ||
FuzzPathMeasure.cpp | ||
FuzzPathop.cpp | ||
FuzzPolyUtils.cpp | ||
FuzzRegionOp.cpp |