Commit Graph

7239 Commits

Author SHA1 Message Date
Kobrin Eli 3630c50e11
[tensorflow] New fuzzing targets from core/kernels/fuzzing (#7704) 2022-05-12 18:05:21 -04:00
Ari Rubinstein 87c9ab65c5
Add XS fuzzer implementation (#7701) 2022-05-12 10:06:28 -04:00
DavidKorczynski d13f04996c
opendnp3: fix build (#7696)
* opendnp3: fix build

* disable leaks

* nit

* remove export ASAN_OPTIONS
2022-05-12 11:10:02 +01:00
DavidKorczynski 04da9b7528
pip: initial integration (#7662)
* pip: initial integration

* Add requirements fuzzer

* specify which python

* update project yaml to match changes from
https://github.com/google/oss-fuzz/pull/7698
2022-05-12 11:26:20 +10:00
psy 36496760da
archaius-core: Initial integration (#7667)
* Initial integration

* Move auto_ccs to vendor_ccs
2022-05-12 11:25:11 +10:00
psy 3291b708db
servo-core: Initial integration (#7668)
* Initial integration

* Move auto_ccs to vendor_ccs
2022-05-12 11:24:59 +10:00
jonathanmetzman 23a13c2b09
[CFL] Handle project language properly (#7699)
Fixes google/clusterfuzzlite#98
2022-05-12 00:05:27 +00:00
Ari Rubinstein b795ba9c14
Introduce XS as a fuzzing target (#7675) 2022-05-11 19:50:11 -04:00
DavidKorczynski c82e3700d8
cairo: fix build (#7700) 2022-05-12 00:32:44 +01:00
DavidKorczynski 32c48a630f
infra: bump fuzz-introspector (#7694)
* infra: bump fuzz-introspector

This adds a feature where multiple focus functions are output by fuzz-introspector. 

Can confirm the fuzz-introspector oss-fuzz integration tests (https://github.com/ossf/fuzz-introspector/tree/main/oss_fuzz_integration#testing-before-bumping-oss-fuzz) pass.

* update commit

Co-authored-by: Oliver Chang <oliverchang@users.noreply.github.com>
2022-05-11 21:20:56 +01:00
vargen b04846f603
Initial integration for jul-to-slf4j (#7643) 2022-05-11 16:37:02 +10:00
DavidKorczynski a2e63fdf7d
infra: enable run_fuzzer to accept multiple options (#7697)
The current run_fuzzer will fail when multiple libfuzzer options are
specificed in a .options file. Currently, if there are multiple options
then none of the options will be used, but rather an issue about a
"binary operator expected" will occur. One implication of this is that
check_build fails to use it and may, therefore, report erroneously. This
fixes it by enabling the use of zero, one and many libfuzzer options.
2022-05-11 16:32:00 +10:00
Oliver Chang d2283617c2
Move vendors to vendor_ccs when there is no maintainer email. (#7698) 2022-05-11 16:23:24 +10:00
Caolán McNamara 9a7567d9cd
update libreoffice auto_cc (#7693) 2022-05-10 14:53:09 -04:00
Sam McCall c7a52e6602
[llvm] Generate a dictionary for clang fuzzers. (#7686)
This generated dictionary consists of keywords and significant punctuation.
It's useful for fuzzers were inputs are C/C++/ObjC source code.
See https://reviews.llvm.org/D125166
2022-05-10 11:11:23 -04:00
Sam McCall f3b701a023
[llvm] Add clang-pseudo fuzzer (#7679)
clang-pseudo-fuzzer fuzzes clang-pseudo, which is a heuristic parser
based on clang's lexer.
This is a new effort and we'd like to keep it fuzz-clean from the beginning.
2022-05-10 10:18:36 -04:00
DavidKorczynski 2f117cad04
requests: refactor to enable coverage (#7692)
The fuzzer got stuck in `accept` when running in coverage mode. This
causes coverage builds to timeout. This fixes it locally for me.
2022-05-10 14:20:54 +01:00
Ilya Yegorov c414a63bc8
Fix zlib - do not exit() from libFuzzer, just return from function (#7604)
* Fix zlib - do not exit() from libFuzzer, just return from function

* Replaced return 1 with return 0
2022-05-10 11:57:26 +10:00
Roman Wagner e71e320709
add base-builder-go-codeintelligencetesting for next 13 projects (#7683) 2022-05-10 10:29:29 +10:00
Martijn van Beurden afdf1caa5d
flac: only disable signed integer sanitizing on decoder fuzzers (#7687)
oss-fuzz has reported numerous signed integer overflow problems
in flac that cannot be reasonably fixed. The problem is that
flac uses some math that is numerically unstable when fed with
random data, and as these are only audio samples, this overflow
is not a problem. Therefore, I added
`__attribute__((no_sanitize("signed-integer-overflow")))` to a few
functions in the flac sources.

However, while a decoder fed with random data has this problem,
an decoder that is being used to verify an encoder fed with random
data should never overflow. As the same functions are used, the
flac sources should be compiled twice: once with the mentioned
attributes for the decoder fuzzers, and once without them for the
encoder fuzzers.

Note that the define passed in this code is not yet integrated in
libflac, but this change should happen first or else the old
bugs appear again
2022-05-09 16:39:59 -04:00
DavidKorczynski c041353712
infra: upgrade pyinstaller from 4.1 to 5.0.1 (#7680)
This is needed to pack projects e.g. numpy.

Co-authored-by: jonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com>
2022-05-09 16:06:20 -04:00
Robert Löhning 688737e846
[qt] Clone qtimageformats (#7684)
To actually test it, changes in the build script are needed.
2022-05-09 20:59:01 +01:00
DavidKorczynski a2363da0b2
flask: add jinja compiler fuzzers (#7685)
* flask: add jinja compiler fuzzers

* nit
2022-05-09 19:22:00 +01:00
Catena cyber 57c715ebcd
ngolo-fuzzing: fix coverage build (#7682) 2022-05-09 11:38:45 +01:00
vargen 64fbe7d12c
[slf4j-api] initial integration (#7644) 2022-05-09 16:11:58 +10:00
vargen 4d92ad4ac5
Initial integration files for xstream (#7642)
* Initial integration files for xstream

* Updated project.yaml
2022-05-09 16:11:49 +10:00
psy c67838b2f5
Initial integration (#7678) 2022-05-09 16:11:28 +10:00
Zied Aouini 61c1a70e26
Add NFStream project. (#7632) 2022-05-06 09:28:19 -04:00
DavidKorczynski 1fb8774663
cbor-java: initial integration (#6788)
* cbor-java: initial integration

* update maintainer email and to 2022

* nit
2022-05-06 14:14:17 +10:00
Catena cyber f20bc9ad0d
Adds python project requests (#4918)
* Adds python project requests

* try CI to pass

* fixup using compile_python_fuzzer

Co-authored-by: jonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com>
2022-05-06 10:39:51 +10:00
DavidKorczynski 083342f301
flask: add flask-cors extension (#7676)
* flask: add cors extension

* give more appropriate function name

* add license header

* nit
2022-05-05 23:37:25 +01:00
Kevin Leimkuhler 6e40b86c59
Change build script location for linkerd2 fuzzing (#7609)
* Change build script location for linkerd2 fuzzing

Signed-off-by: @kleimkuhler <kleimkuhler@icloud.com>

* Bump CLA

Signed-off-by: @kleimkuhler <kleimkuhler@icloud.com>

* Run compile_go_fuzzer from build.sh

Signed-off-by: Kevin Leimkuhler <kleimkuhler@icloud.com>

Co-authored-by: jonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com>
2022-05-05 20:50:12 +01:00
DavidKorczynski 97ad471f06
pyxdg: extend fuzzer and add corpus+dict (#7674)
* pyxdg: extend fuzzer and add corpus+dict

The extension is mainly to force xml checking before its passed into the
pyxdg library. The problem I had was any code in xml would not be
instrumented, so coverage could not be used to explore correct xml
files. I did a minor guard to use lxml instead to check xml validity, as
this could be instrumented proper. Gains are significant.

* try to fix fuzzer not part of pyxdg

* nit

* nit

* fix build failure
2022-05-05 12:18:32 +01:00
Catena cyber b794402fc4
ngolo-fuzzing get some coverage (#7673)
* ngolo-fuzzing get some coverage

With the fuzz targets which work already.

The LPM fuzz targets do not support coverage yet...

* ngolo: do not take bufio for io
2022-05-05 11:31:51 +01:00
DavidKorczynski c2410db1f2
flask: extend fuzzers (#7672)
Following the addition of coverage visualisation it's now easier to
detect missing pieces. This extends flask fuzzing to cover missing
areas. A nice next step in flask fuzzing is to create more end-to-end
fuzzers.
2022-05-04 23:04:02 +01:00
Niels Lohmann 5a889cfdf5
fix build: adjust tests directory (#7671)
In https://github.com/nlohmann/json/pull/3462 we renamed the folder "test" to "tests".
2022-05-04 20:35:53 +01:00
Vincent Rabaud 2369a6a818
Add a few more contributors (#7669) 2022-05-04 16:55:12 +01:00
DavidKorczynski cfbb50e67e
aiohttp: add multipart and payload fuzzer (#7666) 2022-05-04 11:55:22 +01:00
Roman Wagner 2ca4f199f0
add project maintainer email address (#7665) 2022-05-04 10:50:01 +01:00
Piotr Sikora 05365732a2
[abseil-cpp] Add missing @bazel_skylib dependency. (#7664)
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
2022-05-03 14:07:00 -05:00
DavidKorczynski 74438324f8
infra: fix python coverage (#7641)
* infra: fix python coverage

The python coverage has not started working on oss-fuzz.com yet. This is
an effort to fix this.

* add logs and stats files

* log stderr too
2022-05-03 20:41:29 +10:00
DavidKorczynski 400ee9cf42
ecdsa-python: initial integration (#7498)
* ecdsa-python: initial integration

* revert to old compilation style atm

* use latest build set up

* fix typo
2022-05-03 10:11:45 +01:00
DavidKorczynski 94d8323e8f
python-rsa: initial integration (#7516)
* python-rsa: initial integration

* add assert

* update to new build set up
2022-05-03 10:05:01 +01:00
armandomontanez 4ce19aa195
pigweed: Update to new json format (#7658)
Updates oss-fuzz to correctly parse Pigweed's updated CIPD JSON format
to fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=44445. Also
restores bloaty to the list of required CIPD packages to allow
post-bootstrap checks to pass.
2022-05-03 17:04:22 +10:00
Navidem b22a30dbf4
Schedule introspector builds close to coverage builds (#7661)
* Schedule introspector builds close to coverage builds

* Spacing out the builds
2022-05-02 22:45:25 -05:00
Emmanuel Bourg 2dc98d5c95
jsign: fuzzing for exe, msi and cab files (#7656) 2022-05-03 12:21:56 +10:00
Oliver Chang a75162d931
Fix introspector build from recent refactoring. (#7659) 2022-05-03 09:46:53 +10:00
DavidKorczynski c91456e053
fuzz-introspector: bump (#7640)
Changes:
- coverage fix https://github.com/ossf/fuzz-introspector/issues/249
- UI updates to make the function table smaller by default, but some buttons for enabling the user to specify which columns to display https://github.com/ossf/fuzz-introspector/issues/239 
- fixed a bug in navigating calltree: https://github.com/ossf/fuzz-introspector/issues/232

This has been tested on several projects, including jsoncpp and htslib.
2022-05-02 11:32:51 -05:00
psy 45377fdef2
Update fuzz target to ignore class injection (#7657)
see https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47102
2022-05-02 16:12:20 +01:00
Marcono1234 ee65beab15
Add .gitattributes to specify LF as .sh line terminator (#7648) 2022-05-02 10:12:06 -04:00