Commit Graph

4410 Commits

Author SHA1 Message Date
werdnaH 63868cba90
[skia] Remove Options Files with Only max_len Flag (#3987)
* [skia] add svg fuzzer

* [skia] removed options file

* [skia] removed options file

* [skia] removed all options files with only max_len

* delete options

* fixed cp statements

Co-authored-by: Zepeng Hu <zepenghu@google.com>
2020-06-21 16:35:58 -07:00
Felicia Lim be9ec2bcd1
[opus] Build with -D_FORTIFY_SOURCE=0 to avoid msan false positives (#4007)
* [opus] Build with -D_FORTIFY_SOURCE=0 to avoid msan false positives

Without this, a silk_memcpy call could resolve to __memcpy_chk,
which does not have an msan intercept, leading to false use-of-uninitialized-value errors.

* [opus] Consolidate cflags

* [opus] Fix typo
2020-06-21 16:34:41 -07:00
Shivam7-1 50bc1d647c
Updated reproducing.md (#4013) 2020-06-20 08:31:59 -07:00
Shivam7-1 48bd2b6377
Updated continuous_integration.md (#4014) 2020-06-20 08:31:51 -07:00
Robert Löhning 9fd351cb1a
[qt] Test qtsvg (#4012) 2020-06-19 07:53:57 -07:00
Shivam7-1 058247f3d3
Updated ideal_integration.md (#4011) 2020-06-19 07:47:00 -07:00
Shivam7-1 de5c5e69c3
Updated fuzzer_environment.md (#4009) 2020-06-18 08:21:49 -07:00
asraa 9d589a7e86
Add arthur and use less memory (#4001)
Signed-off-by: Asra Ali <asraa@google.com>
2020-06-18 08:20:41 -07:00
Tanuj Garg 98e73d06c2
added auto_cc to json project (#3999) 2020-06-17 13:19:35 -07:00
bungeman ca4277eb5a
[skia] Fix coverage build to use Ninja. (#4005)
The other builds were moved to Ninja, this one needs to be as well.

Bug: oss-fuzz:23438
2020-06-17 12:50:25 -07:00
jonathanmetzman cac6118315
[cifuzz] Temporary fix for sanitizer validation. (#3997)
Temporary fix for sanitizer validation.

Our sanitizer validation is hacky and isn't using pyyaml to actually
parse the project.yaml file. Temporarily work around #3996 by not
validating sanitizers if no sanitizers are specified in project.yaml.
2020-06-17 10:32:42 -07:00
Mihai Maruseac 8603f6a6cd
Enable more fuzzing for TensorFlow (#4004)
* Link against `libc++` with proper config in `.bazelrc`

* Add support for `undefined` build, link against proper `clang_rt` library

* Don't rsync in verbose mode.

* Support `undefined` and `memory` sanitizers

* Support more fuzzers than just `libfuzzer`.
2020-06-17 10:10:29 -07:00
Arshdeep Singh 094e3fdd68
Added auto-cc to lodepng project (#4002) 2020-06-17 07:15:22 -07:00
Yuquan Wang 7980fdb381
Adding auto-cc to project usrsctp (#3998)
Co-authored-by: Yuquan Wang <yuquanw@google.com>
2020-06-16 11:19:33 -07:00
Evgeny Vereshchagin cce70171d4
docs: guard curly braces with {% raw %} .. {% endraw %} (#3994)
Just a follow-up to https://github.com/google/oss-fuzz/pull/3984 that
should address https://github.com/google/oss-fuzz/pull/3984#discussion_r440951881.
According to https://jekyllrb.com/docs/liquid/tags/#code-snippet-highlighting,
another option would be to add `render_with_liquid: false` in your front matter to
disable Liquid entirely for a particular document.
2020-06-16 09:43:53 -07:00
Jonathan Foote bfa11be2f9
Explicitly define sanitizer support (#3995)
The oss-fuzz documentation states that listing supported sanitizers in a project's yaml [is optional](https://google.github.io/oss-fuzz/getting-started/new-project-guide/#sanitizers). It appears that CIFuzz requires supported sanitizers to be included in this file ([ref](26e8d7c772/infra/cifuzz/cifuzz.py (L508-L529))). I believe this causes the CIFuzz Github Action to fail for projects that have not listed support for address sanitizer explicitly in their respective project YAML.

This PR explicitly defines support for asan and ubsan with a goal of fixing h2o's CIFuzz build
2020-06-16 09:18:02 -07:00
Evgeny Vereshchagin d9c7f893f3
[docs] switch to a matrix in the "sanitizer" example (#3984)
This was discussed in https://github.com/google/oss-fuzz/pull/3969#discussion_r439145136
2020-06-16 08:24:48 -07:00
Arshdeep Singh e4420e001d
Added Seed Corpus and Dictionary for lodepng Library (#3986)
* Added Corpus and Dictionary for lodepng Library

* Added Dict download link in DockerFile for lodepng
2020-06-16 07:43:08 -07:00
DavidKorczynski 1d2ada9309
Disabled leak check in xpdf. (#3992) 2020-06-16 07:07:37 -07:00
Nikias Bassen 1ee643d324
libplist: Update for new release (#3993) 2020-06-16 07:07:03 -07:00
Augie Fackler 2c4dc1be41
mercurial: move fuzzing build to Python 3 (#3571)
This got a bit messy as a change, but it's basically all that topic. I
had to go squint at python3-libraries to figure out the modern
incantation for getting python3 to build under the fuzzer, but victory
is mine and this is probably substantially cleaner.
2020-06-15 15:38:10 -07:00
Jamie Pinheiro ed3ed5552b
Fix array bounds (#3990)
Co-authored-by: Jamie Pinheiro <pinheirojamie@google.com>
2020-06-15 12:47:40 -07:00
Mihai Maruseac 7a059f4355
Cleanup build script, fix tensorflow build (#3952)
* Need to manually install numpy now as it is used in the toolchain

* Handle review

* Remove bazel install since we install bazelisk

* Force symlink python3 -> python

* Refactor build script

* Remove `-stdlib=libc++` as that causes link errors

* Remove `identity_fuzz` as it results in a huge fuzzer. Will work on reducing size and then enable back

* Copy fuzzer to `$OUT`, not move

* Handle coverage support
2020-06-15 09:38:48 -07:00
kabeer27 c06528180b
[abseil-cpp] Initial Integration (#3958)
Co-authored-by: Kabeer Seth <kabeerseth@google.com>
2020-06-15 13:20:25 +10:00
Ingo Berg 7c42471826
Update build.sh (#3985)
Disabled divide by zero sanitation for muparser (https://github.com/google/oss-fuzz/issues/3968#issuecomment-643373346)
2020-06-14 13:46:18 -07:00
tsdgeos 0afde6a4a9
anongit.kde.org is gone, use invent.kde.org (#3983) 2020-06-13 09:30:27 -07:00
DavidKorczynski bd4b131ced
[xdfp] one more fuzzer (#3981)
* Added new fuzzer to xpdf.

* Updated sanitizers.

* Limit sanitizer to address as this is the only one that allows us to fuzz the pdf core parser.

* Disable logging and go further into the API.
2020-06-13 08:13:26 -07:00
Abhishek Arya bf38231a78
Update README.md 2020-06-12 16:03:41 -07:00
Abhishek Arya 9abf69c93d
Update README.md 2020-06-12 16:03:07 -07:00
Abhishek Arya 1106855b6a
Update index.md 2020-06-12 16:02:41 -07:00
Abhishek Arya 938735b185
Update README.md 2020-06-12 16:00:38 -07:00
bungeman a392e2fd09
[skia] Build SwiftShader with Ninja. (#3979)
Ninja monitors the load and not just the number of processes, so can
hopefully build faster without overloading.
2020-06-12 14:43:58 -07:00
Abhishek Arya 7101ec4d4b
Add Github Actions CI. (#3971) 2020-06-12 14:39:16 -07:00
werdnaH ad4557e4ad
[skia] add svg fuzzer (#3976)
* [skia] add svg fuzzer

* [skia] removed options file

* [skia] removed options file

Co-authored-by: Zepeng Hu <zepenghu@google.com>
2020-06-12 12:50:56 -07:00
Jamie Pinheiro a598a4fd34
Increase coverage of libraw fuzzing (#3962)
* Increase coverage

* Respond to PR feedback

* Move corpuses to cloud

Co-authored-by: Jamie Pinheiro <pinheirojamie@google.com>
2020-06-12 12:14:30 -07:00
Alex Crichton 6c21d442e1
Add Rust-specific setup instructions (#3978)
This is a follow-up to [this comment][1] which provides some intro docs
for how to get started quickly with a Rust project, explaining `cargo
fuzz` and some basic setup steps.

[1]: https://github.com/google/oss-fuzz/issues/3383#issuecomment-642137449
2020-06-12 12:13:05 -07:00
bungeman b6c0816160
[skia] Build SwiftShader without UBSAN. (#3977)
By default a cmake based build puts user provided flags at the beginning
of a compiler invocation, giving them lowest priority. This makes it
quite difficult to add the required -fno-sanitize=vptr flag since it
will be placed before -fsanitize=undefined in a SWIFTSHADER_UBSAN build.
To make this work will require upstream changes to SwiftShader's build.

However, it is not necessary to build SwiftShader with the undefined
behavior sanitizer in order to fuzz Skia for issues. (This is only
required for the memory sanitizer which fortunately works.) As a result,
build SwiftShader without the sanitizer in the Skia undefined sanitizer
fuzzer build.
2020-06-12 09:35:33 -07:00
Abhishek Arya 16a9023078
Add AFL_NO_AFFINITY to run_fuzzer 2020-06-12 09:05:45 -07:00
AdamKorcz 12ef3654b3
[jsonparser] Added maintainer to project.yaml (#3973) 2020-06-12 08:35:11 -07:00
Yunshu Ouyang e07487ddf7
[spdlog] Homepage updated, added auto ccs to project.yaml (#3975)
* Homepage updated, added auto ccs to project.yaml

* Fixed project.yaml
2020-06-12 08:33:08 -07:00
Tanuj Garg 9099c20d9e
Add dictionary to json project (#3954) 2020-06-12 16:31:03 +10:00
bungeman 7002484fd4
[skia] Build fix for upstream build changes. (#3967)
* [skia] Update diff for upstream change.

SkReadBuffer::getArrayCount() implementation changed, so update the
diff.

* [skia] Build fix for upstream build changes.

Skia is changing its build a little bit. 'skia_enable_fontmgr_custom'
has become 'skia_enable_fontmgr_custom_directory' (since that is what
it actually did) and skia_enable_fontmgr_custom_embedded has been added.

* [skia] Update SwiftShader to something not so old.

Skia builds it without submodules. Only build libGLESv2 and libEGL
instead of building everything, which isn't needed and takes a long
time. SwiftShader already has a checked-in build/ directory, so use a
different directory for building. Limit the number of make jobs to avoid
'Cannot allocate memory' errors. To build SwiftShader with a sanitizer,
the cmake define is now like SWIFTSHADER_XSAN.
2020-06-11 22:50:15 -07:00
Evgeny Vereshchagin 26e8d7c772
[CIFuzz] Add support for different sanitizers (#3969)
* Revert "Revert "[CIFuzz] Add support for different sanitizers (#3516)""

This reverts commit c580d0d626.

* cifuzz: pass "sanitizer" to the "run fuzzer" step

It's a follow-up to https://github.com/google/oss-fuzz/pull/3516 that
should fix https://github.com/google/oss-fuzz/issues/3727.

* [cifuzz] drop a $

That's another follow-up to #3516 that should help to pass sanitizer correctly.
Otherwise, it always falls back to address with:

2020-06-11 21:10:14,852 - root - INFO - $address is not a project sanitizer, defaulting to address.
2020-06-11 18:27:01 -07:00
DavidKorczynski 13c2289d14
Fixed fluent-bit build script for new plugin structure. (#3966) 2020-06-11 11:54:41 -07:00
jonvolfson e4f36d0f4f
Add spanner emulator project (#3965)
Co-authored-by: Jonathan Volfson <volfson@google.com>
2020-06-11 11:52:15 -07:00
Ravi Jotwani 94c0e60dfa
Draco integration (#3951) 2020-06-11 11:51:20 -07:00
binaryFate ad2958cffd
Add Monero project (#3941)
* Add Monero project

* fix boost downlaod url

Co-authored-by: binaryFate <binaryfate@users.noreply.github.com>
2020-06-10 20:11:24 -07:00
Abhishek Arya fa06dcc8ae
Remove cmake install from projects. (#3961) 2020-06-10 14:46:23 -07:00
Google AutoFuzz Team af42169e03
[libevent] Initial Integration (#3960)
* add libevent project

* edit indentations and add primary contact

* Fix indents

* Fix indents

Co-authored-by: Abhishek Arya <inferno@chromium.org>
2020-06-10 12:32:24 -07:00
Frederik Braun 39dbb1c807
Add FeaturePolicyParser target to firefox builds (#3959) 2020-06-10 12:16:30 -07:00