Commit Graph

4017 Commits

Author SHA1 Message Date
Joe Drago 32e5bcfc9c
[libavif] add wtc@google.com to auto-CCs (#3507)
Co-authored-by: Joe Drago <jdrago@netflix.com>
2020-03-14 19:15:16 -07:00
Leo Neat 6f02735d0c
[CIFuzz] Dynamic fuzzer scheduling (#3453)
Allocates time for fuzzers based on amount of fuzzing time left. This is beneficial when a fuzzer fails early in its allotted time because of a reproducible OSS-Fuzz bug. It will then give the remaining portion of its allotted time to the following fuzzers.
2020-03-13 10:35:33 -07:00
Even Rouault 1e63d75b28
[GDAL] Update download URL for netCDF dependency (#3501) 2020-03-13 08:09:56 -07:00
Gabriel Kihlman eda341223c
[libfido2] CIFuzz workaround, put seed corpus outside of repo (#3497)
CIFuzz was failing and not finding the downloaded corpus, looking
at the logs show:

2020-03-12T15:15:53.2454777Z Running: docker run --rm --privileged --cap-add SYS_PTRACE -e
  FUZZING_ENGINE=libfuzzer -e SANITIZER=address -e ARCHITECTURE=x86_64 -e OUT=/github/workspace/out
  --volumes-from aaad25ec2b6d gcr.io/oss-fuzz/libfido2 /bin/bash -c 'rm -rf /src/libfido2/* && cp -r
    /github/workspace/storage/libfido2 /src && compile'

Note the the rm -rf /src/libfido/* bit.
2020-03-12 15:36:36 -07:00
Leo Neat b6a1d4dcb1
Revert "Revert "[CIFuzz] Affected fuzzers (#3450)" (#3488)" (#3496)
This reverts commit e58ee49e20.
2020-03-12 13:51:33 -07:00
Joe Drago 4f87db0e15
[libavif] Switch to nasm 2.14 as dav1d 0.6.0 requires it (#3498)
Fixes oss-fuzz issue #21188

Co-authored-by: Joe Drago <jdrago@netflix.com>
2020-03-12 12:52:36 -07:00
Leo Neat b0cd13e3bb
Affected fuzzer fix (#3494)
Fixing json decode error with affected fuzzer functionality.
2020-03-12 12:01:57 -07:00
Robert Löhning da9cbde065
[qt] Add first auto_cc (#3495) 2020-03-12 11:58:35 -07:00
Abhishek Arya e91e955c48
Remove minizinc project as it is unmaintained. (#3490) 2020-03-12 10:50:20 -07:00
Max Moroz 130710d518
[infra] Change language attribute from "cpp" to "c++" in build scripts. (#3493)
* [infra] Change language attribute from "cpp" to "c++" in coverage job runner.

Should've done this in https://github.com/google/oss-fuzz/pull/3477. Good news is that nothing failed, the coverage job was just skipped for pretty much all projects.

* also remove default value from build_project script
2020-03-12 09:06:46 -07:00
matclab fc05e61826
[s2opc] correct failing build (#3454) 2020-03-12 08:16:27 -07:00
Abhishek Arya 88030256a4
[chakra] Remove chakra project as it is unmaintained. (#3491) 2020-03-12 08:15:53 -07:00
DavidKorczynski 1a89d904e8
[binutils] Adding new fuzz targets (#3487)
Fixed travis.

Removed whitespace and fixed commit email for google cla

Fixed travis.

Removed whitespace and fixed commit email for google cla
2020-03-11 15:26:46 -07:00
Jakub Jelen d77c47b155
[libcacard] Add fuzzing scripts (#3466)
Signed-off-by: Jakub Jelen <jakuje@gmail.com>
2020-03-11 06:59:19 -07:00
Jakub Jelen 3c248cdc57
[infra] helper: Add possibility to pass source directory to gdb/shell commands to ease local debugging (#3465)
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
2020-03-10 16:49:10 -07:00
Leo Neat e58ee49e20
Revert "[CIFuzz] Affected fuzzers (#3450)" (#3488)
This reverts commit e8ebda10ee.
2020-03-10 15:59:43 -07:00
Leo Neat e8ebda10ee
[CIFuzz] Affected fuzzers (#3450)
Add feature to only run fuzzers that are affected by the code change. This change prevents valuable time being wasted on fuzzing unchanged code.
2020-03-10 13:22:11 -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
Gabriel Kihlman b2e55225ed
[libfido2] Corpus seed moved outside of repo, update build.sh. (#3486)
* [libfido2] Corpus moved outside of repo, update build.sh.

Fixes fuzzing build failure #21144

* Fetch seed corpus when building the container instead

* Use "ADD" instead of "RUN curl"

Co-authored-by: Max Moroz <dor3s1@gmail.com>
2020-03-10 08:41:00 -07:00
Teju Nareddy f1c65bccf2
[esp-v2]: Fix broken builds by changing spawn strategy (#3485)
[Example failure](https://oss-fuzz-build-logs.storage.googleapis.com/log-8eabbac0-bb8f-4f90-a840-f23efe427e0e.txt)

This only occurs on the fuzzers for some reason, not on Travis CI. Error is similar to https://github.com/bazelbuild/bazel/issues/5640.

Change spawn strategy to `sandboxed` to work around this. Not sure why it was `local` to begin with (other than a slight performance improvement).

Tested locally to ensure this spawn strategy will work.

```
python infra/helper.py build_fuzzers --sanitizer address --engine libfuzzer --architecture x86_64 esp-v2
```

Signed-off-by: Teju Nareddy <nareddyt@google.com>
2020-03-09 16:47:57 -07:00
Robert Löhning 29b75dae2b
[qt] Move beginLayout the new naming scheme (#3484) 2020-03-09 15:18:52 -07:00
Aaron Boxer b7c1641359
[grok] add grok JPEG 2000 library to oss-fuzz (#3456) 2020-03-09 13:38:27 -07:00
Max Moroz 92832c38a8
[xz] Fix fuzzing build. (#3483)
As suggested in https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=20619#c8
2020-03-09 12:23:26 -07:00
Sylvestre Ledru c9e50868e9
Some Mozilla changes (#3481)
* Refresh the list to have a Mozilla employee with an active account

* Update of the list of nss participants
2020-03-09 08:34:02 -07:00
Catena cyber 1cc1638224
[go-dns] Adds golang project dns (#3474)
* Adds golang project dns

* Fix auto_ccs syntax

* Rename project go-dns with hyphen
2020-03-09 08:33:02 -07:00
David Wong 0a6e93ad77
[libra] adding fuzzers for libra (#3472) 2020-03-06 21:09:10 -08:00
Robert Löhning a9cddd50ae
[qt] Don't show warnings about deprecated API (#3470)
They made the build output too long. Without these
warnings, I don't need to send it to /dev/null anymore.
2020-03-06 10:51:23 -08:00
Max Moroz 73a75759a2
Revert "[quickjs] Add project (#3473)" (#3476)
This reverts commit f76ab1ea94.
2020-03-06 10:44:17 -08:00
Catena cyber f76ab1ea94
[quickjs] Add project (#3473) 2020-03-06 10:40:49 -08:00
Randy df15f281f9
[libspng] Update repository URL (#3439) 2020-03-06 08:42:15 -08:00
Max Moroz 072457fd3c [docs] Increase the documented disk size on the builder (caused confusion in #3382). 2020-03-06 07:54:33 -08:00
Max Moroz 56dc446432
[qt] Provide corpus for beginlayout (#3467) 2020-03-05 14:37:02 -08:00
Abhishek Arya fb644e85b9
[hunspell] Update contact info (#3471) 2020-03-05 13:15:42 -08:00
Leo Neat 5869bb7341
[CIFuzz] Download code coverage (#3434)
This is the foundation for affected fuzzers. It provides the ability to map fuzzers to files. In the future we will use this functionality to pick which fuzzers to run during CI.
2020-03-05 11:22:44 -08:00
Leo Neat ffa49091d6
[infra] Presubmit fix - test (#3443)
Fixes issue that presubmit test was not returning failure even when a test failed.
2020-03-05 08:44:18 -08:00
Max Moroz c692c22620
[gnupg] Adds sqlite as gnupg dependency (#3223)
* Adds sqlie as gnupg dependency

* downloads latest sqlite for gnupg

* Adds lsqlite3 to gnupg fuzz targets

* remove sqlite package for gnupg

* Gnupg fuzz targets need INCLUDED_BY_MAIN_MODULE

* Remove sqlite

* Add license to gnupg fuzz targets
2020-03-05 07:38:41 -08:00
jonathanmetzman bf02a7d40d
[Arrow] Update contact info (#3464) 2020-03-05 06:38:45 -08:00
jonathanmetzman 29714f32a8
[hunspell] Update contact info (#3463) 2020-03-04 17:50:47 -08:00
Abhishek Arya d444fc7c08
Fix ESPv2 build (#3461)
* Fix ESPv2 build

Don't assume correlation between file name and bazel target name.

Signed-off-by: Teju Nareddy <nareddyt@google.com>

* Fix some bash errors with splitting

Signed-off-by: Teju Nareddy <nareddyt@google.com>

* Coverage expects a path, not target

Signed-off-by: Teju Nareddy <nareddyt@google.com>
2020-03-04 17:06:06 -08:00
Leo Neat 7fb97cb3d6
[CIFuzz] Timeout orphan process fix (#3462)
This fix adds the -max_total_time argument to the cifuzz run_fuzzers command. The bug that was occurring was the docker process was being killed but the fuzzing was continuing wasting valuable compute resources. So a project with a large number of fuzzers would have all of them running by the end of CIFUzz leading to no actual fuzzing getting done because of resource scarcity. This patch should fix that.
2020-03-04 14:58:09 -08:00
Max Moroz 8a3c129d33
[qt] Add fuzzer for QCborValue (#3460)
* [qt] Add fuzzer for QCborValue

The first fuzzer to follow the new naming scheme.

* [qt] Don't log the whole build output
2020-03-04 10:32:59 -08:00
Guido Vranken f669d3e9f6
[cryptofuzz] Fix NSS coverage (#3459) 2020-03-04 06:02:31 -08:00
Tyson Smith 3a6104700b
[hunspell] Add project to oss-fuzz (#3451) 2020-03-02 20:25:16 -08:00
Catena cyber 4231987eee
Adds locally installed includes for coverage build (#3448) 2020-03-02 07:39:12 -08:00
Arvid Norberg dbbcad5818
disable logging support in libtorrent, to avoid clang 10 ICE (#3447)
* disable logging support in libtorrent, to avoid clang 10 ICE

* pull boost from github instead of bintray
2020-03-01 15:37:45 -08:00
Guido Vranken 11dfd65e95
[cryptofuzz] Add target for BoringSSL i386 with assembly optimizations (#3446) 2020-02-29 18:19:28 -08:00
Teju Nareddy 87c0ba8313
Add project: ESPv2 (#3445)
* Add project: ESPv2

Copy most configs from envoy

Signed-off-by: Teju Nareddy <nareddyt@google.com>

* Fix typo

Signed-off-by: Teju Nareddy <nareddyt@google.com>

* Remove comments

Signed-off-by: Teju Nareddy <nareddyt@google.com>

* Install all requirements

Signed-off-by: Teju Nareddy <nareddyt@google.com>

* Fix format

Signed-off-by: Teju Nareddy <nareddyt@google.com>
2020-02-28 18:33:48 -08:00
Sebastian Rasmussen 65390a9774
[ghostscript] Relicense target fuzzer under Apache 2.0 license. (#3440)
When contributed to OSS-fuzz the Ghostscript target fuzzer was
licensed under a "BSD-style" license, referring to a LICENSE file
that actually contained an Apache 2.0 license! Recently the OSS-fuzz
project has added a presubmit check that validates the license of
each project's target fuzzer, causing the Ghostscript target fuzzer
to now fail the test. The Ghostscript target fuzzer therefore needs
to be relicensed under Apache 2.0.

This commit relicenses the existing target fuzzer code under
Apache 2.0 so that the Ghostscript target fuzzer code will pass
OSS-fuzz's presubmit checks allowing for further development.
2020-02-28 12:32:13 -08:00
Leo Neat 8d905b08c2
[CIFuzz] Adding dry_run mode to check_build (#3444)
Prevents crash from surfacing when dry run mode is enabled and check fuzzers fails.
2020-02-28 09:41:44 -08:00
Catena cyber 98020984ba
Right handling for rust path for ecc-diff-fuzzer (#3437) 2020-02-28 09:25:42 -08:00