Commit Graph

99 Commits

Author SHA1 Message Date
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 8d6e8e81cb [skia] Fix build after skjson refactor (#1538) 2018-06-19 12:25:20 -07:00
Kevin Lubick 7c8bc2c77a [skia] Include json.dict in Dockerfile (#1506) 2018-06-12 07:30:48 -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 6eaadbb408 [skia] Fix build (#1460) 2018-05-30 14:08:18 -07:00
Kevin Lubick dfc4fcf108 [skia] Fix Skia Build (#1452) 2018-05-29 07:21:48 -07:00
Kevin Lubick ca5a7e18af [skia] Fix Skia build and remove more fuzzer-only checks (#1422) 2018-05-16 11:41:29 -07:00
Kevin Lubick 9e47db4ca2 [skia] Move textblob_deserialize back to mem constraint build (#1421) 2018-05-16 09:50:01 -07:00
Kevin Lubick 3751ff57a0 [skia] Fix build (#1415) 2018-05-13 12:04:33 -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 2762a8ffa2 [skia] Fix build after code refactor (#1320) 2018-04-16 06:55:43 -07:00
Kevin Lubick f677243343 [skia] Reverse condition in SkScan_Hairline (#1297) 2018-04-05 07:18:37 -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
Kevin Lubick e70253d1a3 Add more Skia folks (#1293) 2018-04-03 06:21:06 -07:00
Kevin Lubick 0dabe535fb [skia] Fix guard causing false positive (#1284) 2018-03-30 10:47:02 -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 82e031cea1 [skia] Fix compile and address some common timeouts (#1195) 2018-02-26 08:51:41 -08:00
Kevin Lubick 80e6a22dc0 [skia] Increase max size of serialized path (#1187) 2018-02-22 13:30:03 -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 01eeac71c0 Change Skia email addresses (#1144)
Change email addresses
2018-02-08 10:23:05 -08:00
Kevin Lubick 677d07f0c9 Tweak Skia/SKCMS project configs (#1143)
* Enable UBSan on Skia and SKCMS projects.
* Add mike to cc list.
2018-02-08 07:34:56 -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 a9ee1f99ee Turn off cast-qual check (#734) 2017-07-24 08:11:28 -07:00
Oliver Chang d805e5ffce Fix syntax error in skia project.yaml
It was added in #594
2017-05-10 13:48:08 -07:00
Kevin Lubick 795901fc46 [skia] Make UBSAN experimental (#594) 2017-05-10 12:52:41 -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
Kevin Lubick 41a6b8f807 Add Skia to OSS-fuzz (#550) 2017-04-25 13:23:10 -07:00