Commit Graph

6039 Commits

Author SHA1 Message Date
Fabian Meumertzheim 4f34600051
[docs] Enable AWT headless mode in Java guide (#6155)
Fixes https://github.com/google/oss-fuzz/pull/6105#issuecomment-887950308.
2021-08-04 10:18:09 +01:00
jonathanmetzman 0bf87a10c4
[cifuzz] Only grab github-specific env vars on github (#6150)
This removes need for non-OSS-Fuzz users to fake using OSS-Fuzz.

Fixes: #6129
2021-08-03 18:13:59 -07:00
jonathanmetzman 6f0238764e
[infra][NFC] Use "testcase" instead of test_case for consistency. (#6159) 2021-08-03 18:05:00 -07:00
jonathanmetzman 0ea44bb355
[cifuzz][NFC] Move default configs to config_utils.py (#6157) 2021-08-03 17:59:17 -07:00
jonathanmetzman 432105a31a
[cifuzz][NFC] Move Workspace to workspace_utils. (#6158)
In hindsight, it doesn't have a lot to do with the rest of
config_utils. And config_utils is getting crowded.
2021-08-03 17:58:20 -07:00
jonathanmetzman 264c160e3a
[cifuzz] Add basic end-to-end tests. (#6139)
This test doesn't really do diffing or affected fuzzers properly.
Nor does it check the workspace for existence of certain things, nor
does check the filesystem for proof things happened. It is still
a WIP.
2021-08-03 15:40:31 -07:00
jonathanmetzman 88698dbf2f
[helper] Switch from print to log (#6149) 2021-08-03 09:25:15 -07:00
Jakub Jelen 997b73c34c
libcacard: Update list of NSS libraries needed for build (#6154) 2021-08-03 13:52:55 +00:00
b92paul b177650de0
cras: Update project metadata (#6153)
Changes:
- Change primary_contact
- Update auto_ccs to the latest
- Increase builds per day to 2
2021-08-03 11:35:03 +01:00
jonathanmetzman c75d1b362f
[cifuzz] Create validate method on BaseConfig (#6135)
* [cifuzz] Create validate method on BaseConfig

Use it to validate that either OSS_FUZZ_PROJECT_NAME
or BUILD_INTEGRATION_PATH is set.
Also use it to validate that workspace is set
(rather than duplicate code).
Add tests.

* Use env var hack to bypass valdiation

* fix

* fix

* fmt

* fix

* tmp

* fix
2021-08-02 12:37:37 -07:00
Quentin Young 75aebb4f48
[frr] Add additional CC emails (#6148) 2021-08-02 16:44:18 +00:00
AdamKorcz 2847832a55
[containerd] Fix build (#6145) 2021-08-02 16:18:39 +01:00
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