Commit Graph

42 Commits

Author SHA1 Message Date
jonathanmetzman 53c09d30f6
Update patch to fix build and migrate to -fsanitize=fuzzer (#2324)
Update skia.diff to fix build breakage.
Also, use $LIB_FUZZING_ENGINE instead of -lFuzzingEngine to start using -fsanitize=fuzzer
2019-04-16 11:52:23 -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 af5a3f857f [skia] re-enable checks (#2064) 2019-01-02 06:42:52 -08:00
Kevin Lubick 9fa6d673de Disable empty expression check (#2055) 2018-12-27 09:31:07 -08:00
Kevin Lubick 0cc33f34a5 [skia] Avoid system fonts (#2030)
Avoid system fonts
2018-12-14 09:35:44 -08:00
Kevin Lubick 0de389a829 Switch to the wuffs decoder (#2005) 2018-12-05 06:47:56 -08: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
Max Moroz 7703e360de
[infra] Remove sancov and rename "profile" to "coverage". (#1839)
* [infra] Remove sancov and rename "profile" to "coverage".

* Bring coverage flags back.

* Update projects files that rely on SANITIZER="profile".
2018-10-01 06:43:21 -07:00
jonathanmetzman 018da99e99
[Skia] Speculative fix for build failure. (#1825) 2018-09-18 14:43:09 -07:00
Kevin Lubick 9bac6ac046 [skia] Add Pathop fuzzer (#1775) 2018-08-30 15:03:06 -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
jonathanmetzman 67fcf72e97
[skia] Add json dictionary from AFL to skjson (#1498) 2018-06-08 14:08:45 -07:00
Kevin Lubick cdf81af81c [skia] Add skjson fuzzer (#1497) 2018-06-08 13:13:50 -07:00
Kevin Lubick b554f42193 [skia] Fix afl build (#1489) 2018-06-05 06:17:13 -07:00
Kevin Lubick 47be6976c2 [skia] Opt all fuzzers into GPU build (#1484)
Also remove 3 more fuzzers from afl engine because of issues with patchelf (see #1338)
2018-06-04 09:33:22 -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 0743ae024c [skia] Add custom help url (#1393) 2018-05-02 07:12:17 -07:00
jonathanmetzman 93e8f3561e
[skia] Disable AFL builds of mock gpu fuzzer (#1383)
After building AFL fuzzers we will now check if they crash immediately before
uploading a build to CF. That means we can't build broken fuzzers or else
the entire build breaks.
2018-04-30 12:25:33 -07:00
Kevin Lubick be6e1e3b06 [skia] Fix build and expand api_fuzzer size (#1363) 2018-04-26 08:06:02 -07:00
Kevin Lubick 3861b00525 [skia] Refactor build.sh for easier warning silences (#1322) 2018-04-16 12:58:50 -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 4f7d1e874f [skia] Move api_raster_n32_canvas to mem constraints build (#1280) 2018-03-29 07:05:26 -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
Kevin Lubick fdbab0f080 Fix Skia build and enable set_region fuzzer (#1233)
Fix Skia build and enable set_region fuzzer
2018-03-12 10:15:19 -07:00
jonathanmetzman 9aa1893d2f
Only build image_filter_deserialize_width for libFuzzer (#1218)
The fuzzer's entire purpose is to use a libFuzzer flag that has
no equivalent in AFL. So only build it for libFuzzer.
2018-03-06 13:46:08 -08: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 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 a9ee1f99ee Turn off cast-qual check (#734) 2017-07-24 08:11:28 -07:00
Abhishek Arya d3df955ba7 Fix Skia UBSan vptr issue and enable msan. (#587) 2017-05-09 23:23:47 -07:00
Kevin Lubick a47307d55d [skia] fix build (#584) 2017-05-09 14:07:09 -07: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