Commit Graph

4207 Commits

Author SHA1 Message Date
Catena cyber ddc52068a6
Adds golang project coredns (#3743)
* Adds golang project coredns

* Use go-fuzz with absolute package path
2020-05-06 06:48:08 -07:00
Oliver Chang 434109ab61
Use dedup_token_length in bisector. (#3764)
Using whether or not the target crashed is not sufficient. There are
numerous cases where the state changes.
2020-05-06 15:30:16 +10:00
Nigel Tao e731fac3db
[wuffs] Skip dupe files when building seed corpus (#3763)
Updates google/oss-fuzz#22035
2020-05-05 20:23:14 -07:00
Oliver Chang b16fcfc903
bisector: Properly detect MSan issues as well. (#3762)
Adopt a similar start/end marker approach to CF.
2020-05-06 12:09:51 +10:00
Oliver Chang 2d972c9162
Add a better check for crash during bisection. (#3758) 2020-05-04 16:50:25 +10:00
Oliver Chang 40c64add94
bisector: Increase rsync performance. (#3757) 2020-05-04 12:23:05 +10:00
Micah Snyder 83ee390bc0
[clamav] Add flex, bison to Dockerfile (#3755)
Flex & Bison are needed to generate source files for yara syntax
support. While the generated source are currently in the clamav-devel
repo, the build system sometimes thinks the files must be regenerated.

In the future, these and the autotools generated files will be removed
from the clamav-devel repo and will need to be generated for every
build.

We're also planning to add CMake tooling (still a work in progress).

Once the generated files are removed, we'll either have ot build the
fuzz targets with CMake or bring in autoconf, automake, m4, libtool, and
pkg-config to generate the files in build.sh. At that time, we should
also update build.sh to build the dependencies statically, many of which
are missing at present meaning we're not getting great code coverage.
We'll also want to load a small signature set to improve code coverage
for the fuzz targets.
2020-05-03 14:28:30 -07:00
Will c562afe930
[IPFS] Initial fuzzing of datastore consistency (#3739)
* [IPFS] Initial fuzzing of datastore consistency

Submitting IPFS for initial integration.
Initial fuzz testing is validating the interface of the multiple
datastore backings of IPFS. A fuzzer for the protocol between
nodes will follow.

* split backends into separate binaries for libfuzzer address sanitizer
2020-05-03 11:45:09 -07:00
Guido Vranken 11ae0289c9
[cryptofuzz] Move libtomcrypt to NSS-based binary (#3745)
* [cryptofuzz] Move libtomcrypt to NSS-based binary

* [cryptofuzz] Fix msan build
2020-05-02 22:31:50 -07:00
Muhammad Aldo Firmansyah 040cbadd04
[wuffs] Add more json corpus (#3750)
* Add more json corpus

Add more json corpus, taken from https://github.com/minio/simdjson-fuzz (contains 8024 json seeds)

* Update wuffs dockerfile

simplify seeds extraction command and remove some blank lines
2020-05-02 13:09:32 -07:00
AdamKorcz 958a0dc7b5
[Leptonica] Moved build script to Leptonicas repo (#3752)
* Updated build script of leptonica

* Running Travis again

* Running Travis again

* Running Travis again
2020-05-02 12:54:02 -07:00
DavidKorczynski 982ddca035
All work in building fuzzers has been moved to upstream. (#3751) 2020-05-01 07:25:38 -07:00
Oliver Chang 2f1fc1e94f
Raise exception if old_commit has the same behaviour as new_commit. (#3749)
Ignoring it and trying to bisect the entire range up to new_commit is
too slow and does not work well in practice.
2020-05-01 14:01:12 +10:00
DavidKorczynski 407a41b602
Added three fuzzers to the fluent-bit project. (#3729)
* Added three fuzzers to the fluent-bit project.

* Minor comment and a lot of bug fixes on upstream, so Travis should not complain now.
2020-04-30 12:40:28 -07:00
AdamKorcz 9703dc1a5f
[Leptonica] Update to auto-cc list (#3742) 2020-04-30 12:04:02 -07:00
Evgeny Vereshchagin 8ba4f3a375
cifuzz: upload artifacts only when the "run fuzzers" step fails (#3733)
Closes https://github.com/google/oss-fuzz/issues/3711
2020-04-30 09:40:39 -07:00
AdamKorcz aec1054d97
[Libarchive] Removed creation of corpus from build script (#3744) 2020-04-30 09:12:02 -07:00
Catena cyber 9f0b9af101
Fixes build with mysql 8.20 (#3741) 2020-04-30 07:30:31 -07:00
Oliver Chang 3a23496fcd
bisector: Sort by timestamp order when getting base-builder tags. (#3740) 2020-04-30 15:50:33 +10:00
Oliver Chang 6b79797ed3
helper: Clean /work as well if --clean is specified. (#3738) 2020-04-30 15:32:17 +10:00
K.Kosako 6527c33b77
Add project oniguruma (#3730)
* add projects/oniguruma

* add language into project.yaml

* update by review

* revert some previous changes to pass the Travis tests
2020-04-29 18:17:46 -07:00
Volodia 1acee22547
cryptofuzz: fix libgcrypt cloning (#3737) 2020-04-29 12:15:07 -07:00
Jakub Jelen 06613a22a5
libssh: Build all fuzzers in source directory (#3734)
Do it in separate work directory and prepare for corpus inclusion

Signed-off-by: Jakub Jelen <jjelen@redhat.com>
2020-04-29 10:38:12 -07:00
jonathanmetzman 60926be735
Add emacs backup files to .gitignore (#3736) 2020-04-29 09:34:06 -07:00
AdamKorcz a8a9213b23
[Leptonica] Updating build-files to reflect moving fuzzers to upstream (#3728) 2020-04-28 16:52:50 -07:00
Jonathan Metzman c580d0d626 Revert "[CIFuzz] Add support for different sanitizers (#3516)"
This reverts commit 9b30127675.
2020-04-28 14:38:10 -07:00
Jonathan Metzman dac83d7b8e Revert "[CIFuzz] Support ALLOWED_BROKEN_TARGETS_PERCENTAGE"
This reverts commit 6f1a7f7911.
2020-04-28 13:37:58 -07:00
Jonathan Metzman 6f1a7f7911 [CIFuzz] Support ALLOWED_BROKEN_TARGETS_PERCENTAGE 2020-04-28 13:36:21 -07:00
Leo Neat 9b30127675
[CIFuzz] Add support for different sanitizers (#3516) 2020-04-28 12:31:36 -07:00
DavidKorczynski f52c9385c0
Added a URL parser for http-parser to cover rest of parsing functions. (#3723) 2020-04-28 12:07:34 -07:00
Luca Boccassi 4014d4d55a
libzmq: move fuzzers to libzmq's repository (#3719)
A specific configure option and installation directory have been
added for fuzzers built with an external engine via:
https://github.com/zeromq/libzmq/pull/3885

Also clone and build libsodium, as the encryption feature is using
its safe memory APIs.
2020-04-28 08:02:28 -07:00
DavidKorczynski 542543d4f7
[Binutils] Avoid detecting memory leaks in readelf fuzzer (#3718)
* Set ASAN to detect_leaks=0 as maintainers do not want memory leaks.

* Fixed so the options file are now placed correctly in the out directory.
2020-04-28 08:00:56 -07:00
Oliver Chang 174e03249a
bisector: Re-copy /src in between runs. (#3720)
Some builds won't work if there are remaining artifacts in /src.

Also fix a bug from last commit.
2020-04-28 14:26:08 +10:00
Oliver Chang 47068dff0a
Use base-builder close to commit date. (#3715) 2020-04-28 11:31:02 +10:00
DavidKorczynski ce8f8e29ac
Added initial integration of haproxy (#3697)
* Added initial integration with haproxy.

* Fixed Travis for now.

* Fixed maintaners email.
2020-04-28 11:28:41 +10:00
AdamKorcz 924ff1cd98
[Leptonica] Added fuzzer with corpus (#3712)
* [Leptonica] Added fuzzer with corpus

* Updated fuzzer to not create and read from a file

* Updated fuzzer to not create and read from a file

* Added check to see if pixReadMem is NULL
2020-04-27 09:31:14 -07:00
DavidKorczynski e0170c273d
Added fuzzers for the encoders. (#3716) 2020-04-27 07:35:29 -07:00
Petteri Aimonen e061321735
nanopb: Fix build error, remove anaconda dependency (#3717)
This remaps /usr/bin/python as python3, because grpcio-tools support
for Python 2 has ended. Nanopb generator still uses #!/usr/bin/env python
so it would pick Python 2 by default otherwise.

Anaconda was used in a previous pull request to attempt installing a working
combination of libraries, but it is unnecessary once the version conflict was
fixed.
2020-04-27 07:33:27 -07:00
Oliver Chang 06b6d9c8b3
Address comment from last commit. (#3714) 2020-04-27 11:30:22 +10:00
Oliver Chang 05f7678e54
bisector: ignore old_commit if it's inaccurate. (#3708) 2020-04-27 10:56:17 +10:00
Luca Boccassi e003502f26
libzmq: update maintainers, add network tests (#3710)
* libzmq: add alternative mail address and other maintainer's address

* libzmq: adjust zmq_z85_decode test

The output buffer is not fixed in size, it depends on input size and the
caller allocates it

* libzmq: add tests for handshake engine on connect/bind

Create localhost ipv4 TCP sockets to exercise libzmq's processing
of data over the network.
This connections should be rejected in the first part of the handshake
(greeting) only, so more tests should be added to further mock the
greeting and exercise deeper parts of the engine.

https://rfc.zeromq.org/spec/37/

* libzmq: fix coverage build

The combination of clang, coverage and automake is not happy at the
moment, and binaries fail to link. We don't need to build any of
the tools for these tests, so simply disable them.
Fixes: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=21872
2020-04-25 20:27:48 -07:00
Guido Vranken 24cb3468e1
[cryptofuzz] Add libtomcrypt (#3713) 2020-04-25 20:19:27 -07:00
Marco Elver 61b6f42c72
[hostap] Add missing libssl-dev dependency (#3673)
Recent builds have started failing due to libssl-dev missing --
presumably the base image no longer includes this. Fix this by
installing libssl-dev.
2020-04-24 07:25:57 -07:00
Oliver Chang e939fe3ced
bisector: Don't attempt to checkout old OSS-Fuzz revision if it does not exist. (#3707) 2020-04-24 15:37:22 +10:00
Alan Modra a6dae35933
Fix fuzz_readelf.c compile error (#3705) (#3706)
Upstream binutils commit 978c4450511 broke this target.  What's more,
the use-after-free issue had been fixed quite some time ago.  So,
don't reference symtab_shndx_list.
2020-04-24 14:14:13 +10:00
AdamKorcz d967b71245
[Leptonica] Added fuzzer with seed corpus (#3702)
* Added fuzzer with seed corpus

* Removed flag

* Added license header
2020-04-24 14:05:38 +10:00
Oliver Chang 3a6127217e
Revert "Revert "Initial integration for PcapPlusPlus (#3695)" (#3699)" (#3700)
This reverts commit 0c557971b2.
2020-04-24 13:17:17 +10:00
Guido Vranken 0804ffada6
[cryptofuzz] LibreSSL i386 build (#3701) 2020-04-23 07:52:13 -07:00
Oliver Chang 22d254a445
build_specified_commit: Make submodules work. (#3691)
Submodules weren't working correctly due to absolute paths being set.
We add a step to turn those paths to relative after copying them to
host.
2020-04-23 10:49:22 +10:00
Oliver Chang 0c557971b2
Revert "Initial integration for PcapPlusPlus (#3695)" (#3699)
This reverts commit 9495c30585.
2020-04-23 10:45:48 +10:00