Commit Graph

5129 Commits

Author SHA1 Message Date
Evgeny Vereshchagin 45be5bd6f6
[selinux] also use @ fishilico's gmail address (#4814) 2020-12-09 13:35:17 -08:00
Jonathan Metzman ed633664ec fix 2020-12-09 11:47:18 -08:00
jonathanmetzman 265ae85302
[CIFuzz] Fix issue where copied repo is named incorrectly. (#4813)
[CIFuzz] Fix issue where copied repo is named incorrectly.

Make sure the cloned repo is copied correctly to the docker container
E.g. https://github.com/OpenSC/OpenSC should be coiped to $SRC/opensc.

Fixes https://github.com/google/oss-fuzz/issues/4810

Add unittest
2020-12-09 09:55:54 -08:00
AdamKorcz d483bbd23f
[Loki] Initial integration (#4777)
* [teleport] Initial integration

* Minor update to run tests again

* [loki] Initial integration

* Minor path update

* Added maintaienr email addresses
2020-12-09 08:24:02 -08:00
DavidKorczynski 8254336e4d
pillow: initial integration (#4754)
* pillow: initial integration, but draft for now since some aspects of Python fuzzing are unclear.

* pillow: add header.

* Added pillow project.

* pillow: simply build.

* pillow: update project.yaml and build.

* pillow: remove or true when makeing.

* Pillow: remove use of temp file and simplify other aspects.

* pillow: do not use warnings and only use embedded jpeg in first run.

* pillow: speed gains.
2020-12-09 08:22:28 -08:00
Evgeny Vereshchagin 3c4c0fe6dd
[selinux] initial integration (#4790) 2020-12-08 13:37:17 -08:00
Matt Johnston 0fea8a84f8
dropbear: set 4 builds per day (#4801) 2020-12-08 10:21:02 -08:00
Vladimir Glavnyy 4a46459d62
[flatbuffers] Copy dictionaries and schemas to the OUT directory (#4805) 2020-12-08 09:56:24 -08:00
jonathanmetzman 301ed831be
Use print for printing stacktrace instead of using log. (#4799)
Use print for printing stacktrace instead of using log.
This makes stacktrace more legible.
Fixes https://github.com/google/oss-fuzz/issues/4649
2020-12-08 09:05:48 -08:00
Google AutoFuzz Team edd0c5d5ef
Add a better point of contact for gdk-pixbuf (#4802)
See https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/129#note_980351
2020-12-08 06:56:46 -08:00
htuch 0d0d7b19c1
envoy: update Envoy bug ACL/notifications. (#4803)
Remove some folks who are not active in fuzzing, add @chaoqin-li1123.

Signed-off-by: Harvey Tuch <htuch@google.com>
2020-12-08 06:56:12 -08:00
DavidKorczynski 9cac273d79
[RocksDB] [Draft: waiting for upstream] Initial integration (#4642)
* Initial integration of rocksdb.

* Remove fuzz_db from OSS-Fuzz as we want it upstream.

* rocksdb: update initial integration set up.

* Removed unneeded line.
2020-12-07 23:37:40 -08:00
DavidKorczynski e1cf2b5f9b
[mongoose][draft: waiting for upstream] initial integration (#4648)
* mongoose: initial integration of fuzzer

* mongoose: fix to recent updates in upstream.;

* mongoose: fix build errors.
2020-12-07 21:52:23 -08:00
AdamKorcz 32ef0b191c
[kOps] Initial integration (#4729)
* [teleport] Initial integration

* Minor update to run tests again

* [Kops] Initial integration

* Minor adjustment

* Run tests again

* Removed comment

* --depth'ed cloning of two repositories
2020-12-07 20:19:39 -08:00
AdamKorcz ca4fe7678b
[clib] Initial integration (#4735)
* [teleport] Initial integration

* Minor update to run tests again

* [clib] Initial integration

* Updates to build file

* Switched off AFL

* Minor correction
2020-12-07 20:14:28 -08:00
Oliver Chang a23d9bc6fb
Rename BaseRepoManager -> RepoManager. (#4800)
This was renamed in b0b99d5ccd
2020-12-08 10:01:38 +11:00
Jonathan Metzman e193d59148 Revert "Use print for printing stacktrace instead of using log."
This reverts commit ecffb3f662.

Commit should not have been committed to master.
2020-12-07 14:45:47 -08:00
Jonathan Metzman ecffb3f662 Use print for printing stacktrace instead of using log.
This makes stacktrace more legible.

Fixes https://github.com/google/oss-fuzz/issues/4649
2020-12-07 14:42:49 -08:00
Abhishek Arya ef5380e427
Disable influxdb
https://github.com/google/oss-fuzz/pull/4564
2020-12-07 12:08:49 -08:00
jonathanmetzman b0b99d5ccd
Cifuzz external build (#4656)
* Support building fuzzers for projects outside of OSS-Fuzz
* Use retry wrapper
* Fix some tests.
2020-12-07 10:50:11 -08:00
jonathanmetzman a24cebec02
Make test_all.py return nonzero when there are no fuzzers. (#4796)
Make test_all.py return nonzero when there are no fuzzers.

This matches the previous behavior.
Fixes https://github.com/google/oss-fuzz/issues/4795
2020-12-07 10:16:31 -08:00
AdamKorcz 87271d1721
[istio] Initial integration (#4762) 2020-12-07 09:30:24 -08:00
Tom Payne 1911e66f20
[cilium] Add Cilium project (#4784) 2020-12-07 09:29:20 -08:00
jonathanmetzman aecdd9c4e0
Fix helper.py (#4793)
Recently some python3-only code was added. Make code compatible with
Python2. Fixes https://github.com/google/oss-fuzz/issues/4792
2020-12-07 08:05:03 -08:00
Arash Partow f14497dba0
[exprtk] Enable loop upper-bound runtime checks in the fuzzer (#4789) 2020-12-06 11:52:24 -08:00
Abhishek Arya b9e6a5fc74
Revert msan patch (#4788)
* Revert "Fix msan build breakage. (#4787)"

This reverts commit 8f4d1b237d.

* Revert "Clean up MemorySanitizer library warnings (#4694)"

This reverts commit 6fc050ec9e.
2020-12-04 19:44:46 -08:00
Abhishek Arya 8f4d1b237d
Fix msan build breakage. (#4787)
Regression from
https://github.com/google/oss-fuzz/pull/4694
2020-12-04 19:21:35 -08:00
Abhishek Arya 588336d665
s/test_all/test_all.py for google cloud build. (#4783)
Fixes https://github.com/google/oss-fuzz/issues/4781
2020-12-04 08:26:34 -08:00
chris-liddell ed1c6e38d8
Fix Freetype upstream repo address. (#4782) 2020-12-04 07:30:03 -08:00
Oliver Chang 8bd567697d
build_specified_commit: fallback to oldest integration commit. (#4779)
When we fail a build, we attempt to identify the first OSS-Fuzz commit
prior to the upstream commit date.

If this does not exist, we bailed out. This commit changes it such that
we at least try on the oldest integration commit.
2020-12-04 17:51:31 +11:00
jonathanmetzman b1c77d1fa2
[test_all] Fix issue where CIFuzz may use an empty string for ALLOWED_BROKEN_TARGETS_PERCENTAGE (#4778) 2020-12-03 13:30:03 -08:00
jonathanmetzman c8d2319aa8
[test_all] Rewrite in Python (#4769)
Rewrite test_all in python.
Bash is quite annoying to write and test.
One issue with bash is it is even worse than Python for parallelism (which may be causing #4707).
Rewrite test_all in python and optimize base-runner/Dockerfile for fast development.
Also, combine some docker layers.
2020-12-03 12:52:34 -08:00
tsdgeos 8169d41e43
[poppler] We don't use this .cc file anymore (#4770) 2020-12-03 12:04:31 -08:00
Chris Fallin aa6646d893
wasmtime: add new codegen backend, and add contact for it. (#4772)
In [Wasmtime](https://github.com/bytecodealliance/wasmtime), we're
planning to transition eventually to a new x86 backend. We recently
added a fuzz target for this backend that differentially fuzzes against
a Wasm interpreter.

This PR adds the new backend's fuzz target and adds a contact (me) to
the notification list.
2020-12-03 12:03:55 -08:00
Catena cyber eb0c225372
Compiles json-c in ndpi project (#4773) 2020-12-03 08:23:18 -08:00
jonathanmetzman 8f8148438a
[cifuzz-example][tmp] Test something weird (#4771) 2020-12-02 14:15:59 -08:00
David Cook 6fc050ec9e
Clean up MemorySanitizer library warnings (#4694)
* Update infra/base-images/all.sh

Add build of base-sanitizer-libs-builder and msan-libs-builder to this
shell script.

* msan: Don't warn on un-instrumented standard libs

These libraries do not need to be built with instrumentation, because
MemorySanitizer includes interceptors for them.

* Fix indentation

* Add missing docstrings

* Fix unused variable

* Fix invalid names

* Install python-apt on CI

* Revert "Install python-apt on CI"

This reverts commit d3da49cf90.

* Install and use python-apt in system directory

* Revert "Install and use python-apt in system directory"

This reverts commit e0ede101fb.

* Build python-apt from source

* Check out correct version of python-apt

* Fix octal literals

* More indentation fixes

* Add more missing docstrings

* Change variable names of opened files

* Remove unused import

* Ignore lints about package.Package API

* Fix or ignore remaining invalid names

* Fix apparent typo in compiler_wrapper_test.py

-z should precede a keyword, not a long option

* Fix use of xrange

* Style fixes, compiler_wrapper

* Fix apparent error in compiler_wrapper_test.py

Similar to the previous error, the test case would pass "-z
--no-undefined" to the linker. "-z" only has an effect when it is
followed by a keyword, otherwise ld ignores it and prints a warning
message. In this test case, "-z" and "--no-undefined" were passed in two
separate "-Wl," compiler arguments, but they reflect a common issue.

* Add missing license header

* Rename more functions

* Better name for global variable

* Rename methods of Package

* Rename functions in msan_builder.py

* Fix invalid variable names

* Fix useless-object-inheritance

* pylint: Fixes for Package and its subclasses

* Remove unused imports

* Indentation fixes

* Fix too-may-locals error in msan_build.py

* Add missing docstrings
2020-12-03 07:52:36 +11:00
Abhishek Arya f479148aeb
Force symbolization in atheris python fuzz targets (#4765)
* Add artheris and python lib for stack symbolization in python targets.

* Switch to symbolize=1 in wrapper.
2020-12-02 07:20:10 -08:00
Randy a0ce13ff7f
libspng: disable msan temporarily (#4759) 2020-12-01 12:52:10 -08:00
Abhishek Arya ff51681a11
Update python_lang.md 2020-12-01 10:50:00 -08:00
Jakub Jelen f533434871
[helper] Make sure directories are created before they are passed to container engine (podman) (#4763) 2020-12-01 09:12:30 -08:00
Ian Eldred Pudney 3ef6ac2f17
Make json_differential_fuzzer produce known bugs (#4758) 2020-11-30 13:38:28 -08:00
Abhishek Arya b4dd4b91de
Enable UBSan for python projects. (#4757)
* Enable UBSan for python projects.

* Update docs.
2020-11-30 13:26:33 -08:00
jonathanmetzman a75169f0d0
[docs] Fix docs to use "LLC" instead of "Inc." (#4756) 2020-11-30 12:38:01 -08:00
DavidKorczynski 0736b5b08f
[Lua]initial integration. (#4653) 2020-11-30 11:48:27 -08:00
jonathanmetzman c63ba21574
[helper] Change generate command to use "LLC" instead of "Inc." (#4753)
This reflects the current style:
https://opensource.google/docs/copyright/#the-year
2020-11-30 11:02:31 -08:00
Abhishek Arya f043b86d7f
Leak detection is not expected to work with python targets, disable. (#4751)
Disable leak detection in python target execution wrapper since it
is not expected to work. Also, updated the documentation for python
-only code fuzzers to not use LD_PRELOAD.
2020-11-30 10:42:25 -08:00
Oliver Chang cf0e9f0b44
Increase threshold for msan calls check in bad_build_check. (#4747)
Honggfuzz calls msan now:
e067013753

Should address #4743.
2020-11-30 18:10:36 +11:00
Abhishek Arya 84616ae4ce
Fix "exec format error" due to incorrect shebang in python target. (#4746) 2020-11-29 18:49:47 -08:00
Jamie Wilkinson 061586aea9
Update mtail fuzzing to use compile_go_fuzzer. (#4744) 2020-11-29 18:14:32 -08:00