Commit Graph

5566 Commits

Author SHA1 Message Date
Christian Brauner 24c7cf1797
projects/lxc: update mail addresses (#5510)
The other two mail addresses are aliases and so we can't use them to
access oss-fuzz.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
2021-03-25 15:13:47 -07:00
Stefan Bucur 589afcfbd1
Clarify in the new project guide that pull_images may be needed for coverage runs. (#5506) 2021-03-25 07:43:18 -07:00
Sebastian Rasmussen 84178cd28f
[ghostscript] Make stderr quiet to avoid excessive output. (#5502) 2021-03-25 14:32:59 +00:00
Evgeny Vereshchagin 0efca5f4f4
[lxc] initial integration (#5498) 2021-03-25 07:30:32 -07:00
Sebastian Rasmussen 6019f6a712
[jbig2dec] Improve custom allocator (#5503)
Previously the allocator handled small pointer values incorrectly
and prevented multiple executions (unexpectedly used when OSS-fuzz
uses LSAN to look for memory leaks). More over there were cases
where too large allocations were not caught and the allocator
needlessly kept track of peak allocation statistics.
2021-03-25 14:23:55 +00:00
Sebastian Rasmussen 919a35ae1f
[ghostscript] Copy fuzzer glue code to dir outside of git repo (#5501)
This makes it easier to build the fuzzer using a locally checked
out git repo without having to manually copy the fuzzer glue code
into the locally checked out git repo first.
2021-03-25 14:10:39 +00:00
Guido Vranken 2e183b053c
[relic] Various improvements (#5500)
- Enable i386 fuzzing
- Enable more operations (Digest, HMAC, KDF_X963, ECC_ValidatePubkey)
- Scope the calc operations in order to spend less time trying to run calculations not supported by relic
- Compile Botan module in oracle mode: makes it more likely to find discrepancies
2021-03-25 07:02:38 -07:00
Geoffroy Couprie 0282c8c495
use the fuzz directory from nom's repository (#5499)
added in 0a499cd123
2021-03-25 05:40:30 -07:00
Nigel Tao fccea98eb7
[wuffs] Don't build with -std=c99 (#5497)
MAP_ANONYMOUS, getpagesize and strnlen do not mix with c99.

Updates #32432 "wuffs: Fuzzing build failure"
2021-03-25 00:38:15 +00:00
Mihai Maruseac 6c2bed9d03
Only remove `external/org_tensorflow` if it exists (#5494)
This should fix coverage build broken again today. It seems that a
recent change in TF toolchains removed the creation of `org_tensorflow`
but it is likely that this change will be rolled back in the future.
Hence, to keep OSSFuzz working, we conditionally remove this symlink.
2021-03-24 21:23:42 +00:00
Alexander Bulekov 45dca65cb9
qemu: disable honggfuzz fuzzing (#5489)
We don't do any internal tests using honggfuzz, and our code is highly
unlikely to work with honggfuzz in the current shape. All of the
true-positive bugs seem to be libfuzzer bugs.

Lets disable honggfuzz, to avoid wasting resources. We will try to get
afl++ working, before taking another look at honggfuzz.

Signed-off-by: Alexander Bulekov <alxndr@bu.edu>
2021-03-24 14:56:27 +00:00
AdamKorcz 677e7d83f5
[vitess] Add maintainer (#5490) 2021-03-24 07:39:12 -07:00
pedro martelletto d4492a98d4
libfido2: change location of fuzz corpora (#5486) 2021-03-24 07:02:38 -07:00
Oliver Chang 1ee46825bf
build_specified_commit: Add call to fetch_all_remotes on cleanup. (#5485)
We need to redo fetch_all_remotes as we re-copy the repo from the docker
container.
2021-03-24 08:59:33 +11:00
Catena cyber 0ee8d5ba7b
[suricata] Add pcre2 as dependency (#5484) 2021-03-23 13:14:55 -07:00
jonathanmetzman 8539aadb65
[CIFuzz] Fix repo detection for repos downloaded through "go get". (#5481)
Superseeds: #5463
Fixes: #3670
2021-03-23 11:01:02 -07:00
jonathanmetzman ff8c927865
[grpc] Fix build (#5483)
Also, update base-builder version.
Fixes: #3157
2021-03-23 16:29:34 +00:00
jonathanmetzman 00ad715801
[CIFuzz] Make it possible to skip bad build check. (#5475)
This will mainly be useful for non-OSS-Fuzz users.
Though it can also be used by OSS-Fuzz users to speed things
up (very slightly in most cases).
Fixes #4377
2021-03-23 09:22:53 -07:00
jonathanmetzman 6de9a3b187
[helper] Fix handling of gsutil's 2FA (#5482)
gsutil recently started asking daily for a security key jiggle for accounts
using it. This means if we don't print stderr in real time, users won't see
why a corpus isn't downloading and helper will hang until 2FA request times out.
2021-03-23 09:14:48 -07:00
Oliver Chang e8646d25ec
Fix bisection when the original checkout is for a single branch. (#5478)
Repos cloned with `--branch BRANCH` will only track that branch, even
when we unshallow. If we provide a git SHA from another branch, it will
not be recognized.

To fix, this, we update the remote tracking config and fetch them.

For google/osv#88.
2021-03-23 14:17:37 +11:00
Catena cyber 09bdabccd4
Fixes ygot coverage build (#5476) 2021-03-22 16:36:07 -07:00
Fabian Meumertzheim 4b5cbcf91d
Mention Java/JVM support in the README (#5477) 2021-03-22 14:17:52 -07:00
jonathanmetzman e34a03385f
Delete unneeded files from cargo-fuzz install (100MB) (#5436) 2021-03-22 12:29:23 -07:00
DavidKorczynski 0413793d5e
Updated json5format for upstrem merge. (#5472) 2021-03-22 12:23:35 -07:00
jonathanmetzman 8a67befa1c
[infra/helper.py] Unittest shell base-runner-debug (#5470)
Make sure shell-base-runner-debug works.
2021-03-22 10:39:27 -07:00
Fabian Meumertzheim 54b71a17d9
[json-sanitizer] Fix dictionaries and add corpora (#5469) 2021-03-22 09:22:00 -07:00
Markus Vieth a033165b14
PCL: add another maintainer under auto_ccs (#5466) 2021-03-22 06:39:00 -07:00
Fabian Meumertzheim 38f57154d8
[jackson-core] Fix seed corpus and dictionary (#5467) 2021-03-22 06:38:02 -07:00
Fabian Meumertzheim c03d25ff4c
[fastjson2] Fix dictionary and add seed corpus (#5468) 2021-03-22 06:36:47 -07:00
Markus Vieth 6156b81488
[PCL] add other maintainers as auto_ccs (#5458) 2021-03-21 18:57:38 -07:00
Glenn Strauss cf48c3cf0f
remove reference to removed interface (#5460) 2021-03-21 18:57:16 -07:00
van Hauser c0d989a5f4
update documenation (#5462)
* output afl++ setup

* update commit id

* update afl++ commit id

* asan + cmplog fix

* update commit id

* update and enhance afl++

* update afl++ commit id, better run asan options

* fix linter

* add debug_afl script

* Update debug_afl

* Update compile_afl

* fix for karchive

* put debug_afl in the docker container

* asan poison fix

* fix asan settings for zeek

* update afl++ commit id

* fix

* update afl++ commit id

* final touches

* remove map size

* remove old comment

* llvm 13 fix

* enhance documentation

* fix capstone build.sh

* update doc

Co-authored-by: jonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com>
2021-03-21 18:56:53 -07:00
Abhishek Arya 812b837d6b
Revert "Capstone: do not use flags for corpus building (#5464)" (#5465)
This reverts commit 856b16fb93.
2021-03-21 18:56:42 -07:00
Catena cyber 856b16fb93
Capstone: do not use flags for corpus building (#5464)
* Capstone: do not use flags for corpus building

* No corpus generation with afl for capstone
2021-03-21 18:54:01 -07:00
Fabian Meumertzheim 6ca344a446
Generate badges for projects without coverage (#5459)
Generate badges also for projects with no coverage builds at all (e.g.
JVM and Python projects). For these projects, the badge only has the two
possible states "build passing" and "build failing".
2021-03-21 18:52:02 -07:00
jonathanmetzman 0fba276516
[NFC][base-builder] Fix order so comment is in right place (#5445) 2021-03-21 07:02:30 -07:00
Catena cyber 2e64b7a1cf
Wasmtime: remaps for coverage (#5392)
* Wasmtime: remaps for coverage

* right loop fixup

* Adding a comment
2021-03-20 23:34:36 -07:00
jonathanmetzman 06cfe8c8cf
[ibmswtpm2] Speculative fix for AFL++ issue. (#5451)
* [ibmswtpm2] Speculative fix for AFL++ issue.
Try to fix issue by using CC and CXX from env.

Fixes #5093

* fix
2021-03-20 23:33:10 -07:00
wjtracey 0915194f24
mv instead of cp skia build.sh artifacts (#5367)
* mv instead of cp skia build.sh artifacts

Hopefully this will reduce the footprint so skia builds begin passing the CQ again.

* Update build.sh

Return some moves to copies, since the same corpus and binary is sometimes reused, slight reordering for clarity.

* Update build.sh with mv of reused corpus
2021-03-20 23:28:35 -07:00
DavidKorczynski f20cbafaa3
nom: initial integration (#5403)
* initial integration of nom.

* Updated maintainer email.

* cleanup.
2021-03-20 19:48:41 -07:00
DavidKorczynski 9afd3b24a6
Updated the image-png fuzzer. (#5457) 2021-03-20 19:45:29 -07:00
Christian Holler (:decoder) de52eac2b0
[firefox] Fix various build problems (#5456)
* [firefox] Suppress LSan errors during build

* [firefox] Properly ignore CFLAGS/CXXFLAGS

* [firefox] Use the same Rust Nightly version as in Mozilla CI
2021-03-20 08:34:44 -07:00
jonathanmetzman 849965d539
[docs] Change wording regarding i386 fuzzing. (#5449)
Mention that only some projects will benefit.
Fixes: #4752.
2021-03-20 08:30:38 -07:00
jonathanmetzman 5792e5c529
[NFC][CIFuzz] Rename test_files to test_data and delete unneeded testcases directory (#5448) 2021-03-19 11:49:38 -07:00
van Hauser 2b4af8f24a
[AFL++] llvm 13 fix (#5454) 2021-03-19 18:45:54 +00:00
Tyson Smith 6998e8e9dc
[firefox/spidermonkey] Fix mach call and install dep (#5446) 2021-03-19 10:19:21 -07:00
jonathanmetzman cb083cb365
[base-builder] Fix temp dir deletion for atheris (#5434)
Add back /tmp dir deletion that was accidentally removed before #5344 was committed.
2021-03-19 08:36:14 -07:00
AdamKorcz adb627a017
[Liblouis] Initial integration (#4909) 2021-03-19 13:54:31 +00:00
Tyson Smith 76d5fd8698
[cairo] Add to CC list (#5431) 2021-03-19 06:42:33 -07:00
Catena cyber 58d5848b0f
Fix typo in path equilavence for golang coverage (#5444) 2021-03-19 06:34:21 -07:00