Commit Graph

6027 Commits

Author SHA1 Message Date
Jean-Michel Picod 523c214b5a
Fix project OpenSK (#6146)
Code coverage was disabled, making the overall workflow failing.
Also adds all the fuzzing targets the project provides.
2021-08-02 10:56:16 +01:00
Matt Juntunen 290344bc6a
adding commons-geometry to Apache Commons project files (#6144) 2021-08-01 02:02:37 +00:00
DavidKorczynski 3b4dfa5add
apache-httpd: initial integration (#6044)
* apache-httpd: initial integration with PoC fuzzers.

* updated project with apache emails and added more fuzzing. More to come

* use trunks of apache projects.

* fix build.

* updated build to enable pool debugging.
2021-07-31 10:33:18 +01:00
jonathanmetzman 021eaf1677
[cifuzz] Don't delete base-runner (#6143)
We shouldn't delete it, because we need to use it again.
This saves about 13 seconds per run.
Fixes: #5982
2021-07-30 12:51:27 -07:00
Oliver Chang 2bc0114b58
Handle CI fuzz builds from events other than push or pull_request. (#6055)
Don't try to find unaffected fuzzers by diffing against a base commit as
they don't exist in those contexts.

For #6053.
2021-07-30 02:40:00 +00:00
DavidKorczynski e3ad773061
net-snmp: migrate fuzzers upstream. (#6113)
* net-snmp: migrate fuzzers upstream.

* fix correct upstream link.
2021-07-29 17:42:39 +01:00
jonathanmetzman 8eb0455476
[CIFuzz] Allow users to specify if unreproducible crashes are reported (#6138) 2021-07-29 15:41:36 +00:00
jonathanmetzman 729a8fe695
[NFC][cifuzz] Improve env var handling. (#6137)
Also delete useless TODOs.
2021-07-29 08:31:51 -07:00
jonathanmetzman 7a33d092ea
[CIFuzz] Change behavior of PROJECT_SRC_PATH to be clearer. (#6136)
Don't assume that path is relative to workspace if it is not absolute.
Only make this assumption on GitHub where it will always be true.
Also, add tests.
2021-07-29 08:10:58 -07:00
jonathanmetzman 32519c1601
[cifuzz] Implement get_files_covered_by_target for external users (#6132)
This should mostly complete support for affected fuzzers for external users.
This implementation is still imperfect however. 
It relies on the name of the repo being the same as the name of the directory in $SRC/ that the repo is checked out in
(i.e. repo must be checked out in $SRC/$REPO_NAME).
2021-07-29 06:35:01 -07:00
jonathanmetzman 7e420c7411
[CIFuzz] Don't overwrite the repo in external builds. (#6131)
Fixes: #6119

Also add more tests for continuous_integration module.
2021-07-29 06:28:09 -07:00
Nabil S. Alramli 6355557d16
[h2o] add nalramli@fastly.com to project (#6124) 2021-07-28 22:53:10 +01:00
jonathanmetzman 71959211a5
[CIFuzz][NFC] Add tests for config_utils and do some minor refactoring (#6128) 2021-07-28 08:59:27 -07:00
jonathanmetzman 2dda5eedef
[CIFuzz][NFC] Fix some comments. (#6130) 2021-07-28 07:25:59 -07:00
jonathanmetzman 89da7cffce
[cifuzz][NFC] Make changes suggested in #6118 (#6127) 2021-07-28 07:11:51 -07:00
Adi (Suissa) Peleg 0d6f8cdfc9
Granting krajshiva@google.com Envoy fuzz tests access. (#6123)
Signed-off-by: Adi Suissa-Peleg <adip@google.com>
2021-07-27 19:13:22 -07:00
Caolán McNamara 5c477c7666
update libreoffice build deps (#6121) 2021-07-27 19:12:20 -07:00
Catena cyber f714c15dfa
Adds an email to capnproto project (#6122) 2021-07-27 19:58:15 +00:00
jonathanmetzman 6f0aa82cd1
[NFC][cifuzz] Move Workspace from docker into config_utils. (#6117)
It doesn't really fit into docker.
2021-07-27 12:11:53 -07:00
jonathanmetzman 192bf5f951
[CIFuzz] Add script to run cifuzz (#6118)
This can be used by non-github users.
Related: #6100
2021-07-27 12:11:27 -07:00
Fabian Meumertzheim 84578fe2a3
Remove JDK dependency not available on ClusterFuzz (#6105)
While installing `libxext-dev` in `base-runner` makes it available for local fuzzing via `infra/helper.py run_fuzzer`, it is not installed in the image used by ClusterFuzz to run fuzz targets. ​Fuzz targets that rely on any JDK system dependency rather have to install it manually using the method described in https://google.github.io/oss-fuzz/further-reading/fuzzer-environment/#runtime-dependencies. 

By removing this package from `base-runner`, a failure to do so will already be detected via a local `check_build` rather than only during fuzzer execution on ClusterFuzz.
2021-07-27 11:57:33 -07:00
jonathanmetzman 103e002ac1
[cifuzz] Get rid of MANUAL_SRC_PATH (#6120) 2021-07-27 11:49:52 -07:00
Catena cyber 724eb98909
Adds frr project (#5749)
* Adds frr project

* Removing auto_ccs for frr

* Copy libpcre2 for frr

* hacky removal of libpcre dependency

* disables afl for frr

* Adds ccs to frr
2021-07-27 10:29:23 -07:00
DavidKorczynski c91a9f64ee
tidy-html5: add more extensive fuzzing suite. (#6116)
* tidy-html5: add more extensive fuzzing suite.

* tidy-html5: cleanup general fuzzer.

* we need a few more bytes than the size of the array.
2021-07-27 14:46:13 +01:00
Oliver Chang 69400fb24b
Add a Git backed filestore. (#6088)
- Add storage-repo, storage-repo-branch, and
  storage-repo-branch-coverage fields to the actions, to indicate that
  the Git filestore should be used.
- The CI provided filestore is still used for crashes and builds.
- Replace generic Filestore.upload_directory with typed upload methods
  which matches the download methods.
- Rename upload_latest_build to upload_build to make it more generic.
- Make artifact name prefixes an implementation detail of the store.

For #6052.
2021-07-27 10:46:20 +10:00
DavidKorczynski 7c3f3ddc2b
rdkit: fix build (#6114) 2021-07-26 19:15:12 +01:00
FUJI Goro 53bb1ae3a9
update h2o/project.yml to add github:gfx (#6112) 2021-07-26 08:57:52 +00:00
Bart Van Assche b2b06a9425
[net-snmp] Split and improve snmp_octet_fuzzer (#6111)
* [net-snmp] Include <unistd.h> for getpid()

* [net-snmp] Split and improve snmp_octet_fuzzer

Split snmp_octet_fuzzer into one fuzzer per function to make bug reports
easier to interpret. See also commit ded8766460 ("net-snmp: add two new
fuzzers and simplify build script. (#6091)")
2021-07-25 23:48:39 +00:00
Nick Wellnhofer 4a13e59f3a
[libxml2] [libxslt] Remove myself as contact (#6090)
I'm not involved in these projects anymore.
2021-07-23 17:21:17 -07:00
AdamKorcz bd5c80f64b
[go-redis] Fix coverage build (#6109) 2021-07-23 21:50:42 +01:00
AdamKorcz 58fdd19a79
[nats] Fix coverage build (#6108) 2021-07-23 21:49:52 +01:00
Fabian Meumertzheim 08c3b789f2
[apache-commons] Run fuzzers in headless mode (#6107)
Running the fuzzers in headless mode works around missing dependencies
for the full Java AWT libraries. It is likely that the commons-imaging
only uses features available in headless mode, in which case this would
be a complete fix for the fuzzer startup crashes observed on
ClusterFuzz.
2021-07-23 17:31:07 +01:00
Jonathan Metzman 3bd4c2d3ac [cifuzz] Fix last commit pushed to master 2021-07-23 08:12:52 -07:00
Jonathan Metzman 781749884b [cifuzz][github_actions] Create methods/functions for uploading without tar
This can be useful for artifacts we want to upload that we know
do not need to be tarred, such as crashes. It's important not
to tar these because they will need to be viewed by users.
2021-07-23 08:00:35 -07:00
Tess Rinearson 79b1e10270
projects/tendermint: add additional maintainer (#6103) 2021-07-23 09:46:30 +00:00
AdamKorcz 9e45e1d71a
[containerd] Move buildscipt upstream (#6102) 2021-07-23 10:14:10 +01:00
DavidKorczynski ded8766460
net-snmp: add two new fuzzers and simplify build script. (#6091)
Signed-off-by: David Korczynski <david@adalogics.com>
2021-07-23 09:54:49 +01:00
Guido Vranken 234984c0da
[cryptofuzz] Fix build, disable SymCrypt (#6099) 2021-07-22 18:16:37 -07:00
Oliver Chang 1f679f0dd2
Add external actions. (#6086)
This will be used for testing and can be moved elsewhere later.
2021-07-23 08:19:10 +10:00
jonathanmetzman c67d5b8626
[CIFuzz] Fix build uploading. (#6096)
Previously, the downloaded build was uploaded instead of the new build.
This regression was introduced when the big workspace change was made.
Also, add more logging.
2021-07-22 12:52:07 -07:00
jonathanmetzman 24eb7e6668
[NFC][cifuzz] Add tests for github actions. (#6094)
To avoid issues like #6087 before they land.
2021-07-22 12:51:34 -07:00
jonathanmetzman 3d75fc9fb4
[cifuzz][NFC] Use f-strings instead of format function (#6095) 2021-07-22 09:22:29 -07:00
jonathanmetzman cdd78c464b
[cifuzz] Fix corpus usage in coverage reports (#6093)
Fixes #6089
2021-07-22 08:09:49 -07:00
Oliver Chang fdb9c9a0fd
Fix typo (#6087) 2021-07-22 15:02:00 +10:00
Julius Pfrommer 3c9ca9b304
Fix open62541 build (#6085)
* Fix open62541 build

Use a Debug build instead of RelWithDebSymbols.

* Disable honggfuzz for open62541
2021-07-22 10:28:28 +10:00
DavidKorczynski ebc2852f0a
opensk: initial integration. (#5355)
* opensk: initial integration.

* fix up project.yaml in opensk.

* Fix opensk build.

* Updated build.sh

* updated project yaml.

* enable coverage.

* disable coverage.
2021-07-22 08:20:06 +10:00
jonathanmetzman 2a3a1e903a
[CIFuzz] Add cifuzz- prefix to all artifacts (#6084)
This will prevent conflicts with other artifacts in the repo.
2021-07-21 11:36:11 -07:00
jonathanmetzman 6baa5e3e68
[CIFuzz] Fix bug in tar_directory (#6083)
We need to split the archive_path
2021-07-21 10:19:32 -07:00
jonathanmetzman 67e3a77fd7
[NFC][infra][build] Move test data to test_data directory. (#6081)
Do this for consistency.
2021-07-21 10:07:59 -07:00
jonathanmetzman fde0a30492
[CIFuzz] Support uploading coverage reports (#6078) 2021-07-21 09:19:47 -07:00