940070122a
This is an attempt to fuzz the usage of SkSurfaceCharacterization, SkDeferredDisplayRecorder, and SkDeferredDisplayList. This fuzzer first makes a surface and characterization from GrDirectContext and then create a DDL and draw it on the surface. The code is compiled with ninja and run with AFL at the speed around 600/sec The future changes will include: 1. An alternative way to create DDL: first create the surface and extract the characterization from that existing surface. 2.currently we just pass the ownership of the DDL into draw_ddl. In the future we should add a version that retains ownership of the DDL in order to fuzz the lifetime of the DDL. 3. Refactorize line 62-119 Change-Id: I9cd9736813be3abc82430bd4eeb559d6993ecbd4 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/303600 Commit-Queue: Zepeng Hu <zepenghu@google.com> Reviewed-by: Kevin Lubick <kjlubick@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com> |
||
---|---|---|
animations | ||
bench | ||
bin | ||
build/fuchsia | ||
build_overrides | ||
client_utils/android | ||
demos.skia.org | ||
dm | ||
docker | ||
docs/examples | ||
example | ||
experimental | ||
fuzz | ||
gm | ||
gn | ||
include | ||
infra | ||
modules | ||
platform_tools | ||
resources | ||
samplecode | ||
site | ||
specs | ||
src | ||
tests | ||
third_party | ||
tools | ||
.clang-format | ||
.clang-tidy | ||
.gitignore | ||
.gn | ||
AUTHORS | ||
BUILD.gn | ||
codereview.settings | ||
CONTRIBUTING | ||
CQ_COMMITTERS | ||
DEPS | ||
go.mod | ||
go.sum | ||
LICENSE | ||
OWNERS | ||
PRESUBMIT.py | ||
public.bzl | ||
README | ||
README.chromium | ||
RELEASE_NOTES.txt | ||
whitespace.txt |
Skia is a complete 2D graphic library for drawing Text, Geometries, and Images. See full details, and build instructions, at https://skia.org.