Commit Graph

2810 Commits

Author SHA1 Message Date
Max Moroz 1d9dc4c64e [perfetto] Do not isntall git as it is already installed. 2018-12-10 09:18:43 -08:00
Mihai Maruseac 0165b7b91c [tensorflow] Limit the amount of parallel bazel jobs to not get into an OOM (#2015) 2018-12-10 08:52:05 -08:00
Max Moroz 00349e3e61
[tensorflow] Speculative fix to get at least one successful build. (#2014)
* [tensorflow] Speculative fix to get at least one successful build.

* Remove empty lines in project.yaml.

* do not change the timeout
2018-12-10 08:51:47 -08:00
Florian Mayer 9dc68e0f20 [perfetto] chmod build.sh to 755. (#2012) 2018-12-10 06:47:10 -08:00
Jonathan Foote 269cfb6bf8 [knot-dns] use libnettle 3.4.1 to build gnutls (#2013) 2018-12-10 06:46:18 -08:00
Abhishek Arya 9dfd3535d5
Disable perfetto build (#2011)
Disabled until following issues fixed
* non-zero exit code
* cpu_reader_fuzzer crash on startup
2018-12-08 09:52:48 -08:00
Abhishek Arya 6dc263ece1
Update new_project_guide.md 2018-12-08 08:38:24 -08:00
Max Moroz ef89a87d64 [tensorflow] Fix seed corpus archive names (follow-up for #1937). 2018-12-07 10:35:29 -08:00
Mihai Maruseac f6ca754ed1 [tensorflow] Integrate tensorflow with OSSfuzz (#1937)
* Integrate tensorflow with OSSfuzz

* Don't install already installed dependencies

* Add environment variable to disable logging.

Some fuzzers are outputting too much information due to logging and
that's not ok when fuzzing. Use TF_CPP_MIN_LOG_LEVEL envvar to disable
printing of the log messages.

* Remove the environment variable as it is not used at runtime and we have a workaround in the pipeline

* Workaround bazel bug (bazelbuild/bazel#6697)

* Don't compile with -O2, instead remove line causing bazel bug

* Downgrade Bazel to use the last version that TF supports

* Speed-up building by building fuzzers in parallel

* Add corpora and dictionaries
2018-12-07 10:34:27 -08:00
Florian Mayer 165a2f2539 Add implementation for perfetto project. (#2011)
* Add implementation for perfetto project.

This delegates to scripts in our repo to make changes easier.

* Change CC to mailing list.
2018-12-07 09:48:35 -08:00
Remi Gacogne 370b76dc58 Add the PowerDNS project (#2007) 2018-12-06 13:07:05 -08:00
Florian Mayer e00c7b9a55 Add perfetto OSS-Fuzz project. (#2009) 2018-12-06 12:27:31 -08:00
Kevin Lubick 0de389a829 Switch to the wuffs decoder (#2005) 2018-12-05 06:47:56 -08:00
Augie Fackler 5bfd213d45 [mercurial] re-enable msan builds (#2000)
This has to land after https://phab.mercurial-scm.org/D5362 and
https://phab.mercurial-scm.org/D5363 land in
https://mercurial-scm.org/hg otherwise the build will be broken for a
while.
2018-12-04 19:00:50 -08:00
steadmon e81cbb9eda Use new FUZZ_CXXFLAGS when building git. (#2004)
This removes a ton of build warnings and prevents future build breakage
in the case where incompatible CFLAGS / CXXFLAGS are required.
2018-12-04 15:45:29 -08:00
Daniel Salzman 08bf475ab4 [knot-dns] Try to fix failed build (issue 11588) (#2001)
* [knot-dns] Add dname to/from string tests

Relates to https://gitlab.labs.nic.cz/knot/knot-dns/commit/6536d71bdf590c8

* [knot-dns] Try to fix failed build (issue 11588)
2018-12-04 07:35:35 -08:00
Augie Fackler 7bd1239ab3 mercurial: set up infrastructure required for fixing msan build (#1999)
The cpython patch is derived from the work done in
https://bugs.python.org/issue35214 by Greg Smith. It's required to
unblock msan builds on Python 2.7. Once upstream cpython 3 is fixed to
support msan builds, we should probably move to fuzzing under Python 3
instead of Python 2.

I'll wait to enable msan builds until the associated fixes in hg core
land, since I'm not sure when that will happen.
2018-12-04 10:34:29 +11:00
Abhishek Arya 832d2c220d
Add new chapter blog post link 2018-12-03 13:45:38 -08:00
Miriam Zimmerman 5c43115991 Remove old username from tpm2 fuzzer subscription (#1998) 2018-12-03 10:38:08 -08:00
Alex Gaynor 55fe29f6b0 clone zstd for graphicsmagick (#1997) 2018-12-02 13:33:23 -08:00
Garret Rieger fd776a2f3f [harfbuzz] Add Ariza to cc list for harfbuzz. (#1994) 2018-11-30 20:57:05 -08:00
Max Moroz 9eb9f3bb63 [infra] Follow-up fix for bad_build_check script (#1990). 2018-11-30 12:38:08 -08:00
Max Moroz 7c2f32f748
[infra] Add return value to bad_build_checks script. (#1993) 2018-11-30 11:15:51 -08:00
Franziskus Kiefer 10a3430c66 [nss] Update project.yaml (#1991) 2018-11-30 06:23:45 -08:00
Caolán McNamara 940edac482 libreoffice requires gperf > 3.1 now (#1992) 2018-11-30 06:22:33 -08:00
Oliver Chang 9aa11dbd25
Update fuzzer_environment.md 2018-11-28 09:36:44 +11:00
Guido Vranken 4f2f3774c5 projects/bignum-fuzzer/Dockerfile: get Rust stable, not nightly (#1985) 2018-11-27 12:33:42 -08:00
pdknsk afc8e4826a [glib] fix build (#1982) 2018-11-27 02:46:16 -08:00
Oliver Chang 3d662e1bec
Add support for tags field in project.yaml (#1974) (#1980)
* Add support for tags field in project.yaml (#1974)

Also add "sundew" label to libxml2_xml_reader_for_file_fuzzer.

These add additional labels in filed bugs.
2018-11-27 16:46:26 +11:00
Evgeny Vereshchagin 3740c751fd [infra] base-runner: remove strict_string_check from ASAN_OPTIONS (#1972)
Whether string_string_checks will be turned on or not is
being discussed in https://github.com/google/oss-fuzz/issues/542.
Until it's settled, it'd probably be better to remove the option
from ASAN_OPTIONS altogether so as not to confuse anybody.
2018-11-26 09:57:09 -08:00
Even Rouault c9d019c9d0 [proj4] install sqlite3 dependency now required for build (#1973) 2018-11-26 07:59:30 -08:00
Konstantin Varlamov c821c3df05 [firestore] add build dependency on Python (#1971) 2018-11-26 10:08:12 +11:00
Ebrahim Byagowi 441da6f40e [harfbuzz] Add new seeds path (#1970)
See also https://github.com/harfbuzz/harfbuzz/pull/1395
2018-11-25 09:14:31 -08:00
Max Moroz 1e67fae34c [libxml2] Disable HTTP functionality since it is blocked in the sandbox. 2018-11-21 13:38:36 -08:00
Max Moroz e1ded36332 [libxml2] Use seed corpus from libxml2/test for all fuzz targets + xml.dict. 2018-11-21 12:31:39 -08:00
Stefan Bucur 0622421290 [libxml2] Add a libXML fuzzer that exercises its file-based parsing interface. (#1967) 2018-11-21 12:21:56 -08:00
James Zern 2e74eaebf5 [libvpx] update memory limit for msan (#1966)
Reduce VPX_MAX_ALLOCABLE_MEMORY in msan builds as it has a higher overhead causing more frequent OOMs in this configuration. This matches the limits in libaom.
2018-11-21 12:04:23 -08:00
wwcv 7995868cdc [libwebp] use explicit SRC path (#1965) 2018-11-20 11:24:41 -08:00
wwcv 23dd904766 [libaom] use ADD to retrieve file (#1964)
* [libaom] use ADD to retrieve file

libwebp uses ADD here which appears to be the canonical way to download a file.

* Update Dockerfile
2018-11-20 10:50:19 -08:00
wwcv 7551f34eba libvpx: reorder build directory cleaning (#1963)
Remove the build directory to ensure dot files are deleted.

Skip 'make clean' because the build directory was just cleaned. This removes
a lot of log spam.
2018-11-20 06:17:49 -08:00
wwcv 15a5ccca9a [libvpx] use CXX for linking (#1962)
Fixes a build failure when linking with UBSAN

https://github.com/google/oss-fuzz/issues/1961
2018-11-19 14:47:42 -08:00
Max Moroz 8ac2c969ff
[docs] Fix a typo in new_project_guide.md. 2018-11-19 14:05:01 -08:00
Max Moroz 4e3be11bfa
[docs] Update new_project_guide.md to be explicit about linking with clang++.
This regularly comes up, e.g. https://github.com/google/oss-fuzz/issues/1961.
2018-11-19 14:04:12 -08:00
Max Moroz 76686d085b
Update reproducing.md 2018-11-19 11:55:18 -08:00
steadmon 3702af93a9 Typo fix: hongfuzz -> honggfuzz (#1960) 2018-11-19 09:58:15 -08:00
steadmon 646fca1b50 Don't install 'recommended' packages, to save on build time and image size. (#1957) 2018-11-15 16:51:13 +11:00
Harish Mahendrakar 7a141190cf Add projects/libvpx (#1914)
* libvpx: Add project

Added projects/libvpx

* libvpx: Use local ivf_read_frame

ivf_read_frame inside libvpx results in lot of prints due to invalid
frame size. This clutters output prints.

* libvpx: Do not return error for incomplete frame read in read_frame

* libvpx: Initialize threads using 32nd byte instead of 1st

In most cases, the first byte in corpus of *.ivf files is 'D'.
So using first byte results in same thread count in most cases.
Using 32nd byte in the data (one of the bytes that signals size of
the frame) will help in testing for different thread configurations.

* libvpx: Updated configure options and removed redundant cflags

Removed generic-gnu as target
Added --disable-webm-io as that is not needed here
Added --enable-debug to enable asserts
Removed redundant cflags and cxxflags

* libvpx: Removed threaded mode from build.sh

vpx_dec_fuzzer.cc in libvpx now tests both single and multi-thread
configurations using a single binary.

* libvpx: Removed vpx_dec_fuzzer.cc and README.md

Removed vpx_dec_fuzzer.cc and README.md from projects/libvpx
vpx_dec_fuzzer.cc is now part of libvpx
2018-11-15 16:50:54 +11:00
sebpop 4b7c09e037 [zlib] add test for fast crc32 (#1954)
Add a check for the recently added routines to combine crc32 checksums.  This
change adds more code coverage, however the checksum_fuzzer still does not pass
the complexity check: (the threshold is at 100)

oss-fuzz$ build/out/zlib/checksum_fuzzer -runs=10 2>&1 | grep -Po "INFO: Loaded [[:digit:]]+ module.*\(.*(counters|guards)\):[[:space:]]+\K[[:digit:]]+"
92
2018-11-14 14:00:16 -08:00
htuch 8541fad5d1 [envoy] fix non-referrant symlinks in coverage build. (#1953)
Signed-off-by: Harvey Tuch <htuch@google.com>
2018-11-14 09:53:41 -08:00
Behdad Esfahbod 22dd200571 [harfbuzz] Build static libraries (#1952)
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11384
https://github.com/google/oss-fuzz/pull/1950
2018-11-14 09:08:44 -08:00