[Skia] Update SKP Fuzzer (#4245)

* Update SKP Fuzzer

* fixed cf_map

Co-authored-by: Zepeng Hu <zepenghu@google.com>
This commit is contained in:
werdnaH 2020-08-01 02:41:31 +00:00 committed by GitHub
parent dc0f92fe90
commit 5415fe155d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 1 deletions

View File

@ -521,4 +521,17 @@ test_app("skruntimeeffect") {
":gpu_tool_utils",
":skia",
]
}
test_app("skp") {
sources = [
"fuzz/Fuzz.cpp",
"fuzz/FuzzCommon.cpp",
"fuzz/oss_fuzz/FuzzSKP.cpp",
]
deps = [
":gpu_tool_utils",
":flags",
":skia",
]
}

View File

@ -74,6 +74,8 @@ RUN wget -O $SRC/skia/svg_dom_seed_corpus.zip https://storage.googleapis.com/ski
RUN wget -O $SRC/skia/sksl_with_256_padding_seed_corpus.zip https://storage.googleapis.com/skia-fuzzer/oss-fuzz/sksl_with_256_padding_seed_corpus.zip
RUN wget -O $SRC/skia/skp_seed_corpus.zip https://storage.googleapis.com/skia-fuzzer/oss-fuzz/skp_seed_corpus.zip
COPY build.sh $SRC/
COPY skia.diff $SRC/skia/skia.diff

View File

@ -109,7 +109,8 @@ $SRC/depot_tools/ninja -C out/Fuzz region_deserialize region_set_path \
api_polyutils android_codec image_decode_incremental \
sksl2glsl sksl2spirv sksl2metal sksl2pipeline \
skdescriptor_deserialize\
svg_dom api_svg_canvas skruntimeeffect api_create_ddl
svg_dom api_svg_canvas skruntimeeffect api_create_ddl \
skp
$SRC/depot_tools/ninja -C out/Fuzz_mem_constraints image_filter_deserialize \
api_raster_n32_canvas \
@ -222,3 +223,6 @@ cp out/Fuzz/skruntimeeffect $OUT/skruntimeeffect
cp ./sksl_with_256_padding_seed_corpus.zip $OUT/skruntimeeffect_seed_corpus.zip
cp out/Fuzz/api_create_ddl $OUT/api_create_ddl
cp out/Fuzz/skp $OUT/skp
cp ./skp_seed_corpus.zip $OUT/skp_seed_corpus.zip