Commit Graph

43 Commits

Author SHA1 Message Date
Kevin Lubick 731a456da6
[skia] Add corpus to SkDescriptor fuzzer (#7337) 2022-02-28 21:52:39 +00:00
John Stiles d612bb9dc8
Standardize SkSL corpus across all fuzzers. (#7266) 2022-02-12 15:16:20 +00:00
Kevin Lubick 600888d5a2
[skia] Compile Vulkan Swiftshader instead of OpenGL ES (#7214) 2022-02-02 15:13:35 -05:00
John Stiles 6e51ac236e
Add SkSL dictionary to oss-fuzz. (#7170)
* Add SkSL dictionary to oss-fuzz.

* Add SkSL dictionary to oss-fuzz.
2022-01-21 11:50:02 +00:00
jonathanmetzman 03d18372d5
Reland [Ubuntu upgrade] Fix projects so they don't break with upgrade (#6313)
This reverts commit 878c32419c.

Related: #6180
2021-08-26 09:53:49 -07:00
Oliver Chang 878c32419c
Revert "[Ubuntu upgrade] Fix projects so they don't break with upgrade. (#6304)" (#6306)
This reverts commit 5549d804b3.
2021-08-26 15:42:34 +10:00
jonathanmetzman 5549d804b3
[Ubuntu upgrade] Fix projects so they don't break with upgrade. (#6304)
Fix projects so they don't break with upgrade.
These fixes are likely not backwards compatible and will fail on
Ubuntu 16.04.
Related: #6180
2021-08-25 22:14:52 -07:00
Kevin Lubick 25e212436a
[skia] Remove pinned swiftshader hack (#4467) 2020-09-22 08:01:53 -07:00
Kevin Lubick 8479af6826
[skia] Remove patches (#4446)
* [skia] Remove patches

* space
2020-09-15 16:31:42 -07:00
werdnaH 5125d29c64
Move zip and json to data folder (#4293)
Do this so that CIFuzz will work.

Co-authored-by: Zepeng Hu <zepenghu@google.com>
Co-authored-by: jonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com>
2020-08-13 15:31:01 -07:00
werdnaH 5415fe155d
[Skia] Update SKP Fuzzer (#4245)
* Update SKP Fuzzer

* fixed cf_map

Co-authored-by: Zepeng Hu <zepenghu@google.com>
2020-07-31 19:41:31 -07:00
Kevin Lubick e253e5ff4c
[skia] Remove API skdescriptor fuzzer (#4244) 2020-07-31 14:08:32 -07:00
werdnaH c8a9c08c09
[Skia] Add SkRuntimeEffect Fuzzer (#4108)
* Add SkRuntimeEffect Fuzzer

* fixed typo

* fixed the zip name

* fixed zip name

* fixed zip name

Co-authored-by: Zepeng Hu <zepenghu@google.com>
2020-07-10 19:26:35 -07:00
devtty1er d561c49ae5
Update Dockerfiles (#4070)
* Use LABEL in place of MAINTAINER

* Remove LABEL maintainer from Dockerfiles
2020-07-06 13:18:23 -07:00
werdnaH 63868cba90
[skia] Remove Options Files with Only max_len Flag (#3987)
* [skia] add svg fuzzer

* [skia] removed options file

* [skia] removed options file

* [skia] removed all options files with only max_len

* delete options

* fixed cp statements

Co-authored-by: Zepeng Hu <zepenghu@google.com>
2020-06-21 16:35:58 -07:00
werdnaH ad4557e4ad
[skia] add svg fuzzer (#3976)
* [skia] add svg fuzzer

* [skia] removed options file

* [skia] removed options file

Co-authored-by: Zepeng Hu <zepenghu@google.com>
2020-06-12 12:50:56 -07:00
bungeman 7002484fd4
[skia] Build fix for upstream build changes. (#3967)
* [skia] Update diff for upstream change.

SkReadBuffer::getArrayCount() implementation changed, so update the
diff.

* [skia] Build fix for upstream build changes.

Skia is changing its build a little bit. 'skia_enable_fontmgr_custom'
has become 'skia_enable_fontmgr_custom_directory' (since that is what
it actually did) and skia_enable_fontmgr_custom_embedded has been added.

* [skia] Update SwiftShader to something not so old.

Skia builds it without submodules. Only build libGLESv2 and libEGL
instead of building everything, which isn't needed and takes a long
time. SwiftShader already has a checked-in build/ directory, so use a
different directory for building. Limit the number of make jobs to avoid
'Cannot allocate memory' errors. To build SwiftShader with a sanitizer,
the cmake define is now like SWIFTSHADER_XSAN.
2020-06-11 22:50:15 -07:00
Kevin Lubick d0da30e928 [skia] Add skdescriptor (#2970)
* [skia] Add skdescriptor fuzzer

* copy

* add second fuzzer

* dock

* build
2019-10-22 12:16:57 -07:00
Kevin Lubick c1068851e8 [skia] add sksl2pipeline (#2245) 2019-03-18 17:13:35 -07:00
Kevin Lubick 169cae111a add sksl fuzzers (#2228) 2019-03-11 13:16:45 -07:00
Kevin Lubick ea855f048a [skia] Add more image codec fuzzers (#1882) 2018-10-17 06:42:10 -07:00
Kevin Lubick 93eec08bbc Add Polyutils fuzz target (#1867) 2018-10-11 07:20:30 -07:00
Kevin Lubick 9bac6ac046 [skia] Add Pathop fuzzer (#1775) 2018-08-30 15:03:06 -07:00
jonathanmetzman 1dc38bd6e4
Pin SwiftShader revision to a known good build. (#1606) 2018-07-11 10:47:51 -07:00
jonathanmetzman 0536801fd1
[skia] Use Skia's clone of SwiftShader and speculative fix for broken build (#1576)
Don't explicityly clone SwiftShader in the Dockerfile, since Skia
does that itself.
Also, make a speculative fix for a build issue where builders get
confused by the current working directory.
2018-06-26 13:23:44 -07:00
jonathanmetzman f5f98cf608
Build Skia with SwiftShader (#1573)
This requires  building SwiftShader as well as changes to skia's
build. Reenables fuzzers that were disabled for AFL since we no
longer need to patch the binaries.
Also optimize invocations of git clone by adding --depth 1.
2018-06-26 10:00:23 -07:00
Kevin Lubick 7c8bc2c77a [skia] Include json.dict in Dockerfile (#1506) 2018-06-12 07:30:48 -07:00
Kevin Lubick cdf81af81c [skia] Add skjson fuzzer (#1497) 2018-06-08 13:13:50 -07:00
Kevin Lubick 0e022eb344 [skia] Remove mem contraint checks from textblob deserialize (#1407) 2018-05-09 09:17:03 -07:00
Kevin Lubick cbabc263ff [skia] Add Skottie fuzz target (#1401) 2018-05-07 07:43:46 -07:00
Kevin Lubick d8766eea5e [skia] Change api_null_gl_canvas fuzzer to use mock gl context (#1294) 2018-04-03 10:03:38 -07:00
jonathanmetzman 8a06f71b36 [skia] Add GPU fuzzer that doesn't actually talk to the GPU (api_null_gl_canvas) (#1281)
* Initial commit after submitting harness to skia repo.

* merge patch

* Remove trailing newline.

* Rename fuzzer to api_null_gl_canvas.

* Finish renaming

* Add comment explaining patchelf in build.sh
2018-03-30 10:12:50 -07:00
Kevin Lubick 5f50a7c39b [skia] Add encoder fuzzers (#1283) 2018-03-30 08:24:05 -07:00
Kevin Lubick c7a2de6aac [skia] port two more canvas fuzzers (#1261) 2018-03-21 10:35:14 -07:00
Kevin Lubick 61d7fab9e6 [skia] Add pathmeasure fuzzer (#1239)
Add pathmeasure fuzzer and seed corpus.
2018-03-14 10:19:35 -07:00
jonathanmetzman 3a5922429a
[skia] Add an edge coverage version of image_filter_deserialize that uses edge coverage (#1215)
Add another version of image_filter_deserialize (image_filter_deserialize_width)

Add a version of image_filter_deserialize that does not use hit counts as a
feature. This may reduce the chances that libFuzzer spends on pathological
executions it will reduce the fitness of loops and recursive code for testcases.

Name it image_filter_deserialize_width since this version cares about the number
of edges it hits (width) rather than the hitcounts on each edge (depth) like
normal fuzz targets.
2018-03-05 12:47:46 -08:00
Kevin Lubick 08d1c2d7af [skia] Add 3 API-based fuzzers (#1198)
* First part for building

* Add api fuzzer options and docs

* fix diff
2018-02-27 12:22:11 -08:00
Kevin Lubick c4289046e7 Add image decoding fuzz targets to Skia (#1152)
* Add 2 image decoding targets

* Move text_blob to memory-based

* Rebase
2018-02-12 08:14:00 -08:00
Kevin Lubick 5c88efdd28 Add more fuzz targets to Skia (#1149)
* Move image_filter_deserialize to skia proper and rename a few things.
* Add region deserialize
* Add textblob_deserialize
* Add path_deserialize
* Fix Dockerfile
2018-02-09 07:37:11 -08:00
Kevin Lubick 4bf9e7f8fc Fix Skia compile (#1132)
* Tweak docker file

* Add some more cases and rebase
2018-02-02 07:13:57 -08:00
Kevin Lubick 5b7b48d767 First try at filter_fuzz in oss-fuzz (#1103)
Try to prevent ooms and timeouts. Use a seed corpus hosted in cloud storage.
2018-01-23 12:28:11 -08:00
Kevin Lubick 0f5e45d8ff Move region_deserialize to Skia proper (#1077) 2018-01-16 07:09:19 -08:00
Kevin Lubick e953bfabdb Add POC fuzzer for Skia (#577)
* Add Skia to OSS-fuzz

* Skia compiles with these settings

* Add POC fuzzer for Skia

* Address comments and fix options
2017-05-09 07:45:58 -07:00