Commit Graph

7342 Commits

Author SHA1 Message Date
Kevin Backhouse 88d62b47bf
Prevent the VALUEs in args from getting garbage collected too early (#7916)
Prevent the VALUEs in args from getting garbage collected too early.
2022-06-28 14:43:51 +02:00
Ari Rubinstein f78fb0a7e1
fix: XS coverage builds, and add dictionaries and corpus seeds (#7917) 2022-06-28 13:15:15 +01:00
Konrad Sztyber c39384b112
spdk: upgrade pip (#7915)
For some reason, there's a local python3 installation on the
oss-fuzz-base image with a pretty old pip version, 19.2.3, which doesn't
have up-to-date wheel platform tags, so, when installing SPDK
dependencies, it tries to compile them instead of using the wheels. The
compilation fails on the grpcio package for some reason.

So, to resolve this, upgrade the local pip version when building the
SPDK image, so that it's able to fetch the pre-compiled packages.  This
is a workaround for #7914.
2022-06-28 13:10:57 +01:00
Arthur Chan e7af68a230
openpyxl: Initial integration (#7772)
* openpyxl: Initial integration
Build initial fuzzer

* Fix fuzzer

* Fix fuzzer

* Fix fuzzer

* Fix fuzzer comments

* Create new fuzzers
- fuzz_basic.py - Basic workbook fuzzer
- fuzz_load.py - File loading fuzzer
- fuzz_chart.py - Chart fuzzer
- fuzz_comment.py - Sheet comments fuzzer
- fuzz_formulae.py - Formulae parsing fuzzer
- fuzz_sort.py - Data sort and filter fuzzer
- fuzz_sheet.py - Worksheet management fuzzer
- fuzz_cellutil.py - Cell utils fuzzer

* Fix project contact
2022-06-28 01:17:07 +01:00
Arthur Chan 65bc9c9cea
sqlalchemy_jsonfield: initial integration (#7846)
* sqlalchemy_jsonfield: initial integration
prepare initial fuzzer

* Fix fuzzer

* Fix fuzzer
2022-06-28 01:16:45 +01:00
psy a2e176a238
jackon-modules-java8: initial integration (#7913)
Initial integration
2022-06-28 09:00:16 +10:00
DavidKorczynski 7c457cc481
sqlalchemy-utils: update primary contact email (#7918)
switch to gmail. From internal discussions with primary contact
2022-06-27 20:20:47 +01:00
psy 3d10fef661
spring-cloud-commons: initial integration (#7838)
* Initial integration

Fix java_home, resolve jdk symlink, remove import name temporary fix

Add random salt, add pem dict & fix instrumentation path

* Fix path & use rsync instead of cp
2022-06-27 05:38:10 +10:00
Ari Rubinstein 45023e3a63
XS: implement xst_jsonparse target, and wrap fuzzing binaries (#7910)
XS: implement json_parse target, and wrap fuzzing binaries with a wrapper binary to ignore leaks
2022-06-24 19:38:05 -04:00
Kevin Backhouse d1e407f0f3
Use /proc/self/exe to deduce the correct path. (#7908) 2022-06-23 09:40:34 -04:00
DavidKorczynski ccd918bb59
ghostscript: add targeted ps fuzzer (#7893)
* ghostscript: add targeted ps fuzzer

- Adds a new fuzzer that avoids PDF files
- Adds a dictionary with Postscript commands
2022-06-23 01:49:42 +01:00
MacroFake 04d1a42962
bitcoin-core: Update my email (primary_contact) (#7901) 2022-06-22 14:09:12 -04:00
DavidKorczynski 7aa82f920a
rocksdb: fix build (#7905)
Fixes: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47110
2022-06-22 16:45:31 +01:00
Arthur Chan 0a577f2624
pyca-cryptography: Add more fuzzer (#7890)
* Add more fuzzer
Fix build script

* Fix formatting for fuzzers
Fix length checking for nonce in fuzz_aead

* Fix fuzzer
- Add more randomization to data input
2022-06-22 13:25:03 +01:00
Kevin Backhouse 713eb55c66
Use $ORIGIN in the rpath linker argument (#7904)
Use $ORIGIN in the rpath linker argument.
2022-06-22 13:20:43 +01:00
Oliver Chang 2b6572ecc5
Rename google-py-crc32 (#7900)
Having "google" in the name breaks things because we can't
create GCS buckets with that string in it.
2022-06-21 15:15:08 -05:00
Arthur Chan f4bec8cd49
sqlalchemy-utils: initial integration (#7852)
* sqlalchemy-utils: initial integration
create basic fuzzer

* Add new fuzzer

* Add new fuzzer

* fuzz_db: slight refactoring imports

* fuzz_type: slight refactoring imports and adding comment

* project.yaml: add primary contact

Ref: https://github.com/kvesteri/sqlalchemy-utils/issues/615#issuecomment-1159740608

Co-authored-by: DavidKorczynski <david@adalogics.com>
2022-06-21 20:34:18 +01:00
Tyson Smith 189d30dbe5
Add additional Mozilla contacts (#7899)
* [cryptofuzz] Add additional Mozilla contacts to CC list

* [NSS] Add additional Mozilla contacts to CC list

* [NSS] Add main_repo to project.yaml
2022-06-21 14:16:16 -05:00
Reed Loden da02c29e94
teleport: Update to go1.18 native fuzzing (#7895)
* Swap from `compile_go_fuzzer` to `compile_native_go_fuzzer`
* Move building to an internal script `fuzz/oss-fuzz-build.sh` to ease addition of new fuzzing methods
* Update `auto_ccs`
2022-06-20 22:31:10 -05:00
code-terror 97588368dd
add cloud-hypervisor (#7885)
* add cloud-hypervisor

* adding dockerfile and build.sh

* fix issue

* add copyright

* fix year in copyright

* optimise
2022-06-20 15:16:55 -05:00
Daniel Novomeský 685dde8dc4
kimageformats: upgrade libaom and libavif (#7896) 2022-06-19 22:03:34 +01:00
DavidKorczynski 0eaf9d940e
dovecot: fix build (#7891)
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=48089

The error happened due to: 6b0b7141a8
2022-06-18 00:19:21 +01:00
huili2 3ad6236b0f
fix openh264 folder rename issue (#7830)
* fix openh264 folder rename issue
2022-06-17 22:15:16 +01:00
DavidKorczynski 0a3b8f0cb4
ghostscript: extend fuzzing (#7821)
* ghostscript: extend fuzzing

- Add two new fuzzers
- One new fuzzer that explore multiple colorings
- One new fuzzer that focuses on PDF exploration
- Add dictionary to PDF fuzzer
- Add small sized PDF seed to PDF fuzzer
- Ensure max_len on multiple coloring fuzzing

* Add myself to auto_ccs

* Fix typo

* set indentation

* add options file

* Address review: split fuzzers and have dict + seed locally

* nit

* clarify prepending of single byte

* fix styling

* clarify comments in all_colors fuzzer

* Addess final review
2022-06-17 22:14:14 +01:00
AdamKorcz 345072e521
grpc-gateway: refactor (#7888) 2022-06-17 16:22:05 +01:00
AdamKorcz 957f547299
grpc-go: refactor build (#7887) 2022-06-17 15:13:39 +01:00
AdamKorcz e9570a3adb
golang-protobuf: refactor build (#7886) 2022-06-17 15:13:19 +01:00
Navidem 0fce77ee5f
Bump fuzz introspector (#7881) 2022-06-17 00:49:21 -05:00
AdamKorcz d40441850f
kubernetes: refactor Dockerfile (#7880) 2022-06-16 19:15:08 +01:00
Pat 3ce6a58169
fluent-bit: update to disable YAML support (#7879)
* fluent-bit: disable YAML support

Signed-off-by: Patrick Stephens <pat@calyptia.com>
2022-06-16 17:34:19 +00:00
Guido Vranken f3a752435d
[python3-libraries] Add dictionary for AST fuzzer (#7877) 2022-06-16 13:04:28 +01:00
Alan Modra 4b60b6fd06
Don't leak in binutils test infrastructure (#7874)
Using bfd_check_format_matches requires that a returned matching
vector (when return is false and bfd_get_error() is
bfd_error_file_ambiguously_recognized) be freed.  Use bfd_check_format
instead.
2022-06-16 13:03:53 +01:00
Catena cyber d288c9ae86
gonids: recompile go to hunt bug (#7876)
cf https://github.com/golang/go/issues/49075

Try to git bisect this unreproducible bug
2022-06-16 09:57:54 +01:00
vargen cb8a8f0f65
[bc-java] initial commit (#7834) 2022-06-16 13:55:21 +10:00
CheeseHunter117 4b851f1e22
apache-commons-configuration: initial integration (#7847)
* Added fuzz targets for apache-commons-configuration

* Make recommended changes

* Further requested changes made
2022-06-16 13:54:46 +10:00
Navidem 8988e2b8d8
Set PROJECT_NAME env and update download_corpora_step() (#7873) 2022-06-16 02:19:08 +00:00
Navidem 3ad57541c1
Install gdb 12 from source (#7842)
* Install gdb12 from source

* nit: remove tar file

* nit

* Separate GDB installation and purge libs

* Pass -y to purge

* use remove --purge
2022-06-15 11:09:02 -05:00
Kevin Backhouse bdfa1ef3d2
Add fuzz target for ruby gems (#7820) 2022-06-15 10:51:19 -05:00
psy 24aa5ad81d
spring-security: initial integration (#7848)
Initial integration

Fix missing dependency, fix wrong folder paths
2022-06-15 10:48:21 -05:00
psy 8e2e336194
spring-boot-actuator: initial integration (#7849)
* Initial integration

* Improve fuzz target, fix build error
2022-06-15 10:41:22 -05:00
jonathanmetzman 1189d2c7f1
Reland #7850 (#7868) 2022-06-15 10:40:10 -05:00
learning-to-play c84dd0580b
Adds new CC to the C++ project.yaml file. (#7861)
Co-authored-by: jonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com>
2022-06-15 09:08:59 -04:00
jonathanmetzman 747d86a02d
Revert "infra: let honggfuzz verify crashes" (#7867)
Revert "infra: let honggfuzz verify crashes (#7850)"

This reverts commit d0d88aad6d.
2022-06-15 09:08:03 -04:00
Evgeny Vereshchagin d0d88aad6d
infra: let honggfuzz verify crashes (#7850)
to make it easier to catch issues like
https://github.com/google/honggfuzz/issues/465.

With -V when unreproducible crashes are triggered honggfuzz shows something like
```
[2022-06-10T15:21:12+0000][W][2373157] subproc_checkTimeLimit():532 pid=2374490 took too much time (limit 30 s). Killing it with SIGKILL
Sz:280 Tm:30,021,052us (i/b/h/e/p/c) New:0/0/0/0/0/3, Cur:0/0/0/0/0/591
Launching verifier for HASH: 1b859677dd (iteration: 1 out of 5)
[2022-06-10T15:21:13+0000][E][2373157] fuzz_runVerifier():280 Verifier stack mismatch: (original) 1b859677dd != (new) 0
```
2022-06-15 09:07:27 -04:00
DavidKorczynski b9eac4e651
croniter: instrument fuzzing function (#7865)
* croniter: instrument fuzzing function

The Croniter build is having some troubles with coverage and I'm not
entirely sure why. It seems like the corpus is not there and I'm not
entirely sure if this has to do with some instrumentation underlyings.
Locally the end-to-end process of running, collecting seeds and
generating coverage works for me. The effort in this PR is to make the
setup similar to pyyalm where the coverage visualisation works -- the
only difference I could spot between fuzzers from the two projects is
that croniter does not have its fuzzer entry function instrumented.

* Instrument all. This is similar to protobuf-python
2022-06-15 10:28:46 +01:00
DavidKorczynski f7c8580412
jul-to-slf4j: fix build (#7864)
Ref:
3d1858edb2 (commitcomment-76137646)
2022-06-15 10:21:51 +01:00
Martijn van Beurden f05372d358
[flac] Add fuzzer_seek (#7863) 2022-06-15 09:33:29 +01:00
Evgeny Vereshchagin d98ad2b5c5
[dbus-broker] initial integration (#7860)
Prompted by https://github.com/bus1/dbus-broker/issues/291
2022-06-14 18:07:19 -05:00
DavidKorczynski a972a93b2a
infra: add proj name to env for fuzz introspector (#7856)
* infra: add proj name to env for fuzz introspector

Depends on https://github.com/ossf/fuzz-introspector/pull/327

Ref: https://github.com/ossf/fuzz-introspector/issues/317

* lint fix

* update introspector commit

Co-authored-by: Navidem <navid.emamdoost@gmail.com>
2022-06-14 15:26:06 -05:00
psy bc64e722b0
spring-framework: initial integration (#7857)
Initial integration
2022-06-14 12:05:46 -05:00