Commit Graph

127 Commits

Author SHA1 Message Date
Kevin Lubick a2562cfa20
[skia] Remove users from auto_ccs (#6011) 2021-07-08 15:14:08 +00:00
Kevin Lubick 4835f10cd3
[skia] Add API Triangulation fuzzer (#5657) 2021-04-23 07:36:10 -07:00
Kevin Lubick 346ef66a26
[skia] Add Region Op fuzzer (#5527) 2021-03-29 12:10:16 -07:00
wjtracey 0915194f24
mv instead of cp skia build.sh artifacts (#5367)
* mv instead of cp skia build.sh artifacts

Hopefully this will reduce the footprint so skia builds begin passing the CQ again.

* Update build.sh

Return some moves to copies, since the same corpus and binary is sometimes reused, slight reordering for clarity.

* Update build.sh with mv of reused corpus
2021-03-20 23:28:35 -07:00
jonathanmetzman f5901265d1
[TSAN] Support TSAN (#5266)
We aren't planning on suppoting TSAN on ClusterFuzz.
But we can support in CIFuzz since Skia wants it.
2021-03-02 09:20:40 -08:00
wjtracey b1be6e7bb6
[skia] Add api_ddl_threading fuzzing (#5257) 2021-03-02 05:36:51 -08:00
van Hauser 4bb61df790
Final afl++ integration (#5191)
* final afl++ integration

* remove afl++ cmplog tests

* update afl++ commit id

* support rebuild

* llvm 13 workaround

* apply fix for llvm 13

* fix nits

* Fix nits.

* Fix name nit.

* update commit id

* update commit id

* update commit id to stable

Co-authored-by: Abhishek Arya <inferno@chromium.org>
2021-02-18 12:55:07 -08:00
van Hauser 458dd61bbb
afl++ CMPLOG test (#5130)
* afl++ CMPLOG test

* fixes
2021-02-07 09:42:13 -08:00
wjtracey 1c71a29489
Add sk_paragraph fuzzing. (#5117) 2021-02-04 11:46:57 -08:00
wjtracey 5d4d82264b
Add westont@google.com to CCs. (#5116) 2021-02-04 11:46:41 -08:00
Abhishek Arya 95a7b67504
Add main_repo for some more projects. (#4819) 2020-12-10 08:15:05 -08:00
Kevin Lubick 7dc92a6cb5
[skia] Fix MSAN build and remove link limit for CIFuzz (#4588)
* [skia] Fix MSAN build and remove link limit for CIFuzz

* Fix unbound var
2020-11-02 08:38:08 -08:00
Kevin Lubick 72e6ad992b
[skia] Use bin/gn (#4469) 2020-09-22 13:35:34 -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
Abhishek Arya f9c56e2ec2
Build more often for skia (#4448) 2020-09-14 10:15:17 -07:00
Kevin Lubick 449213e98d
[skia] Add SkSL team to notification emails (#4435)
* [skia] Add SkSL TL to notification emails

* et al
2020-09-10 07:50:57 -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
bungeman 695760805c
[skia] Further limit number of concurrent links. (#4228)
Reducing the number of concurrent link steps to the number of cpus does
not appear to have made much difference to the success of the Skia
project build. Limit the number of concurrent links to one in an attempt
to avoid running out of memory. If issues persist it is likely the bot
running this simply does not have enough memory to run the linker step.

This change is speculative since these builds have been working on the
CI bots and only failing on the oss-fuzz build.

Bug: oss-fuzz:23438,oss-fuzz:24345
2020-07-30 07:55:25 -07:00
bungeman 1753fe12bf
[skia] Limit concurrent link steps. (#4217)
The number of link build steps in the Skia build is currently not
limited and may be leading to the current failures where the linker is
killed with a signal. This changes that to limit the number of
concurrent linker steps to the number of cpus available. If there
continue to be issues it may be necessary to implement a hard limit.

Bug: oss-fuzz:23438,oss-fuzz:24345
2020-07-29 17:25:37 -07:00
werdnaH 69869e098e
Add DDL Fuzzer (#4202)
Co-authored-by: Zepeng Hu <zepenghu@google.com>
2020-07-27 17:24:21 -07:00
Kevin Lubick 3684abcfde
[skia] Fix build (#4182) 2020-07-23 07:40:36 -07:00
bungeman b4e48c0d3b
[skia] Stop using gold. (#4164)
The gold linker was forced when the system linker stopped linking the
Skia build. It seems that the gold linker is now running into issues, so
attempt to switch back.
2020-07-20 22:54:59 -07:00
bungeman af2de34dc3
Remove SkSVGCanvas.cpp from api_svg_canvas. (#4163)
This leads to multiple definitions of everything defined in
SkSVGCanvas.cpp since it will be compiled into the api_svg_canvas target
directly as well as the Skia xml target.
2020-07-20 09:27:38 -07:00
bungeman fde2cbfdff
[skia] Pass SWIFTSHADER_EMIT_COVERAGE for coverage. (#4152)
The SwiftShader build seems to want SWIFTSHADER_EMIT_COVERAGE set or it
will do things that interfere with a coverage build. Use this to
simplify the SwuftShader build a bit and hopefully restore the coverage
build.
2020-07-17 10:30:06 -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 df0ea93918
Add SkSVGCanvas api Fuzzer (#4061)
* add svg api fuzzer

* fixed build.sh

Co-authored-by: Zepeng Hu <zepenghu@google.com>
2020-07-01 14:59:11 -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
bungeman ca4277eb5a
[skia] Fix coverage build to use Ninja. (#4005)
The other builds were moved to Ninja, this one needs to be as well.

Bug: oss-fuzz:23438
2020-06-17 12:50:25 -07:00
bungeman a392e2fd09
[skia] Build SwiftShader with Ninja. (#3979)
Ninja monitors the load and not just the number of processes, so can
hopefully build faster without overloading.
2020-06-12 14:43: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 b6c0816160
[skia] Build SwiftShader without UBSAN. (#3977)
By default a cmake based build puts user provided flags at the beginning
of a compiler invocation, giving them lowest priority. This makes it
quite difficult to add the required -fno-sanitize=vptr flag since it
will be placed before -fsanitize=undefined in a SWIFTSHADER_UBSAN build.
To make this work will require upstream changes to SwiftShader's build.

However, it is not necessary to build SwiftShader with the undefined
behavior sanitizer in order to fuzz Skia for issues. (This is only
required for the memory sanitizer which fortunately works.) As a result,
build SwiftShader without the sanitizer in the Skia undefined sanitizer
fuzzer build.
2020-06-12 09:35:33 -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 fa9c352d67
[skia] Add Zepeng (#3945) 2020-06-08 11:10:49 -07:00
Kevin Lubick 56770c7f56
[skia] Speculative build fix (#3847) 2020-05-26 09:48:35 -07:00
Kevin Lubick c7ada48678
[skia] move hcm to preferred email (#3666) 2020-04-17 11:56:45 -07:00
Max Moroz 71f4914c45
[presubmit] Enforce language attribute in project.yaml to be always set. (#3477)
* [presubmit] Enforce language attribute in projectt.yaml to be always set.

* Update documentation, better presubmit check, new project template.

* add docstring to templates.py

* Add example values in the project.yaml template and remove python value for now

* Add "project: c++" to 256 projects

* format

* Add labels and selective_unpack sections to the presubmit check

* fix incorrect auto_ccs format in three projects

* fix nss emails after rebase
2020-03-10 11:08:01 -07:00
Kevin Lubick 5caba4bcc0
[skia] Fix build after SkTMax refactor (#3366) 2020-02-11 16:12:55 -08:00
Tyson Smith 8049699e4d [skia] Update vendor_ccs list (#3134) 2019-12-16 13:04:21 -08:00
Kevin Lubick 2bf6cd00a4 [skia] Fix build (#3133) 2019-12-16 13:01:46 -08:00
Tyson Smith a0eb412444 Update multiple vendor_ccs lists (#3091)
* Update and add more Mozilla employees
2019-12-10 17:51:56 +00:00
Kevin Lubick 51b43ef183 [skia] Rebase memory-reducing fuzz patch (#3080) 2019-12-02 07:18:19 -08: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 bec7b59ada use different account (#2854) 2019-09-19 10:52:21 -07:00
jonathanmetzman 16e79e1bd5
[skia] Temporarily use gold to hack around clang regression (#2782) 2019-08-29 23:31:53 -07:00
Christoph Diehl 7ed3f375b6 Add Mozilla fuzzing team to auto_cc of their used 3rd party libraries (#2703)
* Add Mozilla fuzzing team to auto_cc of their used 3rd party libraries

* Use new vendor_ccs field in projects.yml (#2703)

* Remove not yet approved projects

* Remove not yet approved projects
2019-08-28 09:16:53 -07:00
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