Commit Graph

6148 Commits

Author SHA1 Message Date
Evan Miller ae42b1fd00
mdbtools: Disable silent rules when configuring (#6295) 2021-08-24 13:22:20 -07:00
jonathanmetzman 28bb6a3bd1
[Ubuntu upgrade][infra] Fix issue with write_labels.py (#6290)
/usr/bin/python3 doesn't exist and isn't pythonic. Change shebang
to "/usr/bin/env python3"

Related: #6180
2021-08-24 17:57:01 +00:00
jonathanmetzman b678e07170
[Ubuntu upgade][lldb-eval] Install python to partially fix build (#6289)
There are still other issues preventing lldb-eval from building.
Related: #6180
2021-08-24 10:08:09 -07:00
Nikita Mikhaylov 86acdb4560
Enable ClickHouse (#6255)
* done

* Fix build

* Fix build

* Fix build

* fix build

* Fix build

* Disable undefined sanitizer
2021-08-24 15:53:55 +01:00
DavidKorczynski dbf359cf9f
apache-httpd: add preq parser fuzzer. (#6287)
* apache-httpd: preq parser fuzzer.

* apache-httpd: fix styling.
2021-08-24 14:27:56 +00:00
DavidKorczynski e70a8c42a4
docs: remove minijail doc. (#6285) 2021-08-24 07:14:37 -07:00
DavidKorczynski cc9e3fa64c
apache-httpd: add request fuzzer. (#6282) 2021-08-23 20:05:34 +00:00
jonathanmetzman 59c3cc0664
[Ubuntu upgrade][rnp] Make build work on Ubuntu 20.04. (#6278)
Copy all versions of the libjson shared object and install python
instead of python-minimal.

Related #6180.
2021-08-23 17:11:11 +00:00
jonathanmetzman e4dc604c59
[Ubuntu upgrade][glib] Make build work after 20.04 upgrade. (#6275)
Related: #6180.
2021-08-23 16:56:47 +00:00
jonathanmetzman 422ffb1792
[Ubuntu upgrade][myanmar-tools] Explicitly link against libunwind. (#6277)
This prevent build from breaking when builder is upgraded to
Ubuntu 20.04.

Related: #6180.
2021-08-23 16:54:19 +00:00
jonathanmetzman e0b87b477f
[Ubuntu upgrade][libspectre] Disable dataflow builds. (#6274)
They aren't really supported anymore and they break in
Ubuntu 20.04.
Related: #6180.
2021-08-23 16:51:42 +00:00
jonathanmetzman dfbb678c93
[Ubuntu Upgrade] Raise threshold MSAN calls in for bad build check. (#6272)
Raise the threshold as honggfuzz builds in focal seem to have more
calls.
Related: #6180.
2021-08-23 16:48:38 +00:00
jonathanmetzman 1ae1df8e35
[Ubuntu upgrade][cairo] Install libtool and autotools-dev (#6273)
Do this explicitly to prevent breakage when builder is upgraded
to Ubuntu 20.04.

Related: #6180
2021-08-23 09:48:09 -07:00
asraa 9de43be271
add swift (#6270)
Signed-off-by: Asra Ali <asraa@google.com>
2021-08-23 16:47:54 +00:00
Jonathan Metzman bcfac67d6d [Ubuntu Upgrade] Pin swift projects to specific image.
This will prevent the builds from breaking when we do the upgrade.
Some of the issues I encountered were:
1. Installing no longer existing packages libstdc++-5-dev
2. Patch failing when I upgraded swift version (I think old version
doesn't work on focal).

Related: https://github.com/google/oss-fuzz/issues/6180

Right now this change is an NFC because base-builder-swift isn't
even being updated at the moment (see #6269)
2021-08-23 09:01:57 -07:00
Robert Löhning b2f8091f62
[qt] Use own README as help_url (#6267)
It includes a link to the default page so no information will be lost.
2021-08-23 11:56:38 +00:00
Caolán McNamara 8851460f3d
libreoffice: enable msan experimentally (#6266) 2021-08-22 20:17:32 -07:00
jonathanmetzman a3f8ac1403
Fix coverage command and misc fixes (#6262) 2021-08-23 10:18:11 +10:00
apascovici 1c24bea3eb
Update with actual repository (#6265)
The old repository is not there anymore (or not publically accessible)
2021-08-22 20:20:32 +01:00
John Stiles ea4d271dcb
Enable SK_DEBUG when fuzzing SkSL. (#6263)
* Enable assertions for SkSL testing.

* Enable assertions for SkSL testing.
2021-08-21 07:41:23 +00:00
jonathanmetzman 447a717de5
[Ubuntu upgrade] Install python in projects that need it: oak, cel-cpp (#6261)
When base-builder upgrades to 20.04, python wont be in and
base-builder these projects will fail unless they install it.
Until then, this change should be a noop.

Related: #6180
2021-08-20 09:08:43 -07:00
DavidKorczynski 111e379157
clib: fix build and avoid detecting leaks (#6260) 2021-08-20 16:16:50 +01:00
DavidKorczynski c1b71d9304
libusb: fix build and fuzzer. (#6259) 2021-08-20 15:49:49 +01:00
DavidKorczynski 628264df27
hyperium: fix build. (#6257) 2021-08-20 11:59:45 +00:00
DavidKorczynski 7cb51f8a0a
linkerd2-proxy: fix build. (#6254) 2021-08-20 10:40:07 +00:00
jonathanmetzman fe09bda7d6
Install python in projects that depend on it. (#6251)
When we upgrade to 20.04, python wont be in base-builder and
these projects will fail unless they install it.
Until then, this change should be a noop.

Related: #6180
2021-08-20 05:16:38 +00:00
jonathanmetzman 4f0b1d0b69
Dont use apt for installing things, it isn't meant for scripts. (#6252) 2021-08-20 13:39:57 +10:00
jonathanmetzman f1491c0e35
[ubuntu upgrade] Dont install ninja (#6253)
ninja-build is the intended package name. ninja-build isn't actually
needed for this project anyway.
ninja is not the build tool and isn't available in Ubuntu 20.04.
Removing this to prevent breakage.
Related: #6180
2021-08-20 13:39:41 +10:00
jonathanmetzman e3144a0341
[ffmpeg] Prepare for upgrade to Ubuntu 20.04 (#6250)
install libdrm-dev.

Don't rely on cd accepting multiple arguments.
This behavior doesn't work in Ubuntu 20.04.
Related: #6180
2021-08-20 03:34:38 +00:00
jonathanmetzman 6bcbae307c
[Ubuntu Upgrade][docs] Say need to build msan deps manually (#6238)
* [Ubuntu Upgrade] Upgrade msan parts to reflect new reality.

All dependencies must be built with MSAN by the project.
OSS-Fuzz will not be providing any instrumented libraries.

Related: https://github.com/google/oss-fuzz/issues/6180
2021-08-19 20:06:12 -07:00
jonathanmetzman 17e2f96e6a
[infra] Add a script for building all base-images with "-testing" (#6248)
suffix and pushing them to gcr.io/oss-fuzz-base.

This is useful for testing changes to images.
I used it to test changes I made for #6180.
This does not support msan as that image is being removed.

Also lint.
2021-08-19 20:05:32 -07:00
jonathanmetzman 2f0310ef74
Disable clickhouse. (#6246)
I merged https://github.com/google/oss-fuzz/pull/6244
too quickly. Clickhouse fails to build.
Disable temporarily to prevent exceptions since
clickhouse is new
2021-08-19 18:58:20 -07:00
Oliver Chang f9d0813ea8
minor cflite build integration docs changes. (#6240)
- Minor clarification about this using OSS-Fuzz's build chain. Be
  consistent about calling this part OSS-Fuzz (rather than
  ClusterFuzzLite), since that's what the image name says.

- Add project.yaml documentation.

- Refer to OSS-Fuzz's guide for efficient fuzzing.

Related: #6196
2021-08-20 11:37:55 +10:00
asraa 30d927e324
New base builder without lang specific installation + swift base (#5986)
Removes unnecessary stuff in base-builder image to create a base-builder-new, and then adds a base-builder-swift on top of this that swift projects can use (without JVM/Go/etc fuzzing).
2021-08-20 09:52:44 +10:00
Nikita Mikhaylov 7d950a1008
Resurrect ClickHouse fuzzing (#6244) 2021-08-19 16:46:54 -07:00
Google AutoFuzz Team 4387306911
Improve pygment's fuzzer (#6212) 2021-08-19 21:53:59 +01:00
Paul Dreik 900b72e9e5
add upstream author Peter Dimov to cc (#6243) 2021-08-18 15:06:23 -04:00
DavidKorczynski 3e4ba05ecc
nginx: fix fuzzer to avoid NULL-deref (#6242)
* nginx: fix fuzzer to avoid NULL-deref

* dont modifify libsndfile.
2021-08-18 14:37:25 +01:00
Lovell Fuller 12453df2aa
libvips: add imagequant and cgif dependencies (#6241)
Build libvips without test and tools subdirs as these are
not directly fuzz tested.
2021-08-18 12:56:41 +01:00
Bart Van Assche 2550a06f11
net-snmp: Reenable MIB-II and IF-MIB (#6239)
Recently the IF-MIB implementation on the Net-SNMP master branch became
dependent on libnl-route-3. An unfortunate side effect is that this broke
the build of the fuzz tests. Add the pkg-config package such that the
configure script can detect libnl-route-3 and reenable MIB-II and IF-MIB.
2021-08-18 10:34:20 +01:00
Evgeny Vereshchagin 20d69570fe
[selinux] move the fuzz target and build script upstream (#6026)
to make it easier to reproduce and fix bugs locally
2021-08-17 20:03:42 +01:00
Kevin Backhouse c0b2a0076c
Add Exiv2 (#6186)
* Add Exiv2.

* Remove sanitizer flags so that OSS-Fuzz can insert its own.

* Using the fuzzer to create the seed corpus doesn't work with AFL.

* Only use libFuzzer

* Don't add files over 20KB to the corpus.

* Use ${LIB_FUZZING_ENGINE} when building the fuzz target.
2021-08-17 07:20:36 -07:00
Oliver Chang a4bc23909b
Don't upload builds in run_fuzzers. (#6151)
The current way adds a lot of ordering assumptions, and doesn't fit too
well with parallel batch fuzzing either. Add a "upload-build" boolean action
input that can be added to "build_fuzzers" to upload latest builds
instead.

Builds are now uploaded by commit hash, rather than a fixed "latest" name.
ClusterFuzzLite's download_latest_build will check the last 3 commits and download the
first available build by git hash.
2021-08-17 06:36:06 +00:00
Caolán McNamara 44addc5c71
libreoffice: disable afl fuzzer (#6234)
see https://github.com/google/oss-fuzz/issues/6233 for rationale
2021-08-16 22:17:06 -07:00
Guido Vranken 5e5d08420a
[libecc] Fix SHAKE digest (#6232)
See https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=37229 for technical discussion.
2021-08-16 22:03:35 +01:00
Garret Rieger 1957409cc4
Fix harfbuzz fuzzer build. (#6230)
test/shaping was renamed to test/shape.
2021-08-16 19:01:32 +00:00
DavidKorczynski 428e88df5f
net-snmp: fix build. (#6229) 2021-08-16 16:08:15 +00:00
olivekl 3ca919279a
Clarify language in continuous_integration.md (#6227)
Clarify AND (not OR) for situations when crashes are reported
2021-08-16 09:00:35 -07:00
Bitshift 55a5812e8c
Update fuzzers to new Atheris version (#6060)
* Update fuzzers to new Atheris version

* Pin new atheris version

* Change = to ==

* Change path where Atheris fuzzers ld_preload from

* Update hypothesis fuzzer to work with new atheris

* Set version to 2.0.1

* Switch to Atheris 2.0.4

* Correct spelling of pygments_fuzzer decorator

* instrument yaml_reader

* Change to latest Atheris

* Set atheris version to 2.0.6
2021-08-16 08:56:54 -07:00
olivekl 926914100c
Update bazel.md (#6228)
Fix typo (though --> through)
2021-08-16 16:54:03 +01:00