Commit Graph

2738 Commits

Author SHA1 Message Date
Catena cyber 6666f7259c Fixe libecc build by ecc-diff-fuzzer (#1857) 2018-10-05 13:37:41 -07:00
Augie Fackler f03835210f [mercurial] Grant martinvonz@google.com access (#1856) 2018-10-05 13:16:56 -07:00
YannisGuyon b1b585f4da webp_enc_dec: Clamp slow parameters for big images (#1854)
* Add new fuzz target for encoding and misc

- Add fuzz_webp_enc_dec and adapt Dockerfile, build.sh
- Lint existing targets
- Add license headers
- Increase fuzz.dict

* webp_enc_dec: Convert input images to inline C arrays

Local files are not available on oss-fuzz servers.

* webp_enc_dec: Fix timeout by skipping crusher

The target fuzz_webp_enc_dec with msan crashes (timeout)
on a 128*128px image encoding with max compression (crusher).
Reduce crusher encoding to 16*16px and below.
Bug report 10423

* webp_enc_dec: Replace cruncher by lossy alpha encoding

The target fuzz_webp_enc_dec with msan crashes (timeout)
during encoding with max compression (cruncher).
Reduce alpha cruncher encoding to 16*16px and below.
Bug report 10634

* webp_enc_dec: Clamp slow parameters for big images

The target fuzz_webp_enc_dec with ubsan crashes (timeout)
during encoding with heavy compression. The cause can not
be easily removed without reducing performance.
Clamp compression parameters for images bigger than 16*16.
Bug report 10700
2018-10-04 13:33:12 -07:00
James Zern 72adedc68e av1_dec_fuzzer: vary thread count in range [2, 64] (#1840)
* av1_dec_fuzzer: vary thread count in range [2, 64]

use at most the first 100 bytes after skipping the file header to
calculate a hash used to create the thread count.

+ add missing includes, delete unused string.h

* av1_dec_fuzzer: use the first 32 bytes as a hash

This is the minimum required by this function as it's read and interpreted as the IVF file header

* av1_dec_fuzzer: use 1 header byte for thread count

this is less complex than using a hash and produces the same coverage, similar to:
https://github.com/ImageMagick/ImageMagick/blob/master/Magick++/fuzz/rotate_fuzzer.cc#L9-L16
https://cs.chromium.org/chromium/src/base/json/json_reader_fuzzer.cc?type=cs&q=json_reader_fuzzer&sq=package:chromium&g=0&l=20
2018-10-04 08:36:32 -07:00
Augie Fackler 91f0474ec3 mercurial: also slurp down a Python tarball (#1853)
An upcoming fuzzer need a Python install that was built with ASAN and
--without-pymalloc, so I need a tarball of Python to compile.
2018-10-04 08:35:31 -07:00
Jonathan Hui 00d6c55aa4 [openthread] enable coaps feature (#1851) 2018-10-04 17:27:36 +10:00
pdknsk 7b179a4a24 fix hg revision with uncomitted changes (#1849) 2018-10-02 10:52:49 -07:00
Max Moroz d39e0f7ea0 [infra] Restore srcmap binary back to base-builder image (follow-up #1848). 2018-10-01 23:13:59 -07:00
Abhishek Arya 4afcfab869
Revert "[infra] Remove srcmap related commands from gcb script (follow-up #1839)." (#1848)
This reverts commit f132eaf19c.
2018-10-01 22:34:05 -07:00
Max Moroz 730451d871 [infra] Update documentation (new coverage screenshots + some cleanup), follow-up #1839). 2018-10-01 08:13:41 -07:00
Max Moroz f132eaf19c [infra] Remove srcmap related commands from gcb script (follow-up #1839). 2018-10-01 08:02:38 -07:00
pdknsk c49f46fa0c [firefox] rename profile to coverage (#1841) 2018-10-01 06:43:58 -07:00
Max Moroz 7703e360de
[infra] Remove sancov and rename "profile" to "coverage". (#1839)
* [infra] Remove sancov and rename "profile" to "coverage".

* Bring coverage flags back.

* Update projects files that rely on SANITIZER="profile".
2018-10-01 06:43:21 -07:00
Mihai Maruseac 87e5fbf369 Update contact list for tensorflow (#1845)
Update contact addresses.
2018-09-27 12:17:34 -07:00
Kevin Lubick c29e9926f9 [skia] Fix build after some FuzzCommon renames (#1843)
* [skia] Fix build after some FuzzCommon renames

* Fix diff
2018-09-26 07:06:30 -07:00
Bhargava Shastry 4c01037865 [openvswitch] OvS: Refactor build.sh (#1844)
* OvS: Refactor build.sh

* OvS: Make use of corp dir name

* OvS: Revert URL in Dockerfile
2018-09-26 07:05:38 -07:00
Max Moroz 2331c308cd [infra] Use -merge=1 instead of -runs=0 for coverage (#1743, follow-up #1547). 2018-09-25 17:22:07 -07:00
Sebastian Rasmussen 02c1436e9f [mupdf] Add custom allocator to avoid having fuzzer kill process (#1830) (#1832)
This fixes oss-fuzz #5679 and oss-fuzz #7803 for the mupdf project.
2018-09-24 23:38:08 -07:00
YannisGuyon 42d2d37980 [libwebp] webp_enc_dec: Replace cruncher by lossy alpha encoding (#1838)
* Add new fuzz target for encoding and misc

- Add fuzz_webp_enc_dec and adapt Dockerfile, build.sh
- Lint existing targets
- Add license headers
- Increase fuzz.dict

* webp_enc_dec: Convert input images to inline C arrays

Local files are not available on oss-fuzz servers.

* webp_enc_dec: Fix timeout by skipping crusher

The target fuzz_webp_enc_dec with msan crashes (timeout)
on a 128*128px image encoding with max compression (crusher).
Reduce crusher encoding to 16*16px and below.
Bug report 10423

* webp_enc_dec: Replace cruncher by lossy alpha encoding

The target fuzz_webp_enc_dec with msan crashes (timeout)
during encoding with max compression (cruncher).
Reduce alpha cruncher encoding to 16*16px and below.
Bug report 10634
2018-09-24 07:09:48 -07:00
pdknsk f7fe63f804 firefox: fix build (#1837)
* simpler packaging

* fix build
2018-09-24 06:15:19 -07:00
pdknsk 9b1d911d0d [firefox] Fix profile build, enable ubsan, more (#1835)
* limit SdpParser to 25kB

* separate out mozconfig

* fix profile build

* accurate library handling

* cosmetic

* enable undefined sanitizer

* limit ContentSecurityPolicyParser to 15kB
2018-09-23 09:28:05 -07:00
pdknsk 59d86eb2e9 GLib: remove temporary fix (#1836)
* better project link

* revert #1772
2018-09-22 19:58:12 -07:00
YannisGuyon 908d4322f5 webp_enc_dec: Fix timeout by skipping crusher (#1831)
* webp_enc_dec: Fix timeout by skipping crasher

The target fuzz_webp_enc_dec with msan crashes (timeout)
on a 128*128px image encoding with max compression (crusher).
Reduce crusher encoding to 16*16px and below.
Bug report 10423
2018-09-20 08:00:35 -07:00
sebpop 7dd99e90cf [zlib-ng]: generalize creation of seed corpus (#1829)
The patch avoids listing fuzzer names in order to be able to add new upstream
fuzzers without having to worry about updating the oss-fuzz build script.
2018-09-19 17:48:15 -07:00
Max Moroz f2c2325e07 [poppler] Don't use WORKDIR $SRC (requested in #1784). 2018-09-19 13:34:04 -07:00
Max Moroz e348738942 [infra] Bump LLVM revision to r342582 to fix MSan issues. 2018-09-19 13:23:42 -07:00
Paul Dreik d6faca7235 [boost] Fix missing files in docker copy command (#1828)
* [boost] add fuzzers for boost property tree parsers

* [boost] fix missing files in Docker copy command
2018-09-19 12:13:18 -07:00
Bhargava Shastry ec8a3bff13 OvS: Add MSan (#1826) 2018-09-19 05:10:13 -07:00
Paul Dreik 88d167f9a9 [boost] add fuzzers for boost property tree parsers (#1823) 2018-09-18 18:22:25 -07:00
jonathanmetzman 018da99e99
[Skia] Speculative fix for build failure. (#1825) 2018-09-18 14:43:09 -07:00
YannisGuyon f459726693 [libwebp] Convert input images to inline C arrays (#1820)
* Add new fuzz target for encoding and misc

- Add fuzz_webp_enc_dec and adapt Dockerfile, build.sh
- Lint existing targets
- Add license headers
- Increase fuzz.dict

* webp_enc_dec: Convert input images to inline C arrays

Local files are not available on oss-fuzz servers.
2018-09-17 13:53:05 -07:00
Catena cyber 7987158a4a [unicorn] Enables unicorn project (#1822) 2018-09-17 13:49:56 -07:00
Catena cyber c025f81a01 [keystone] Adds project Keystone (#1813)
* Adds keystone project

* Uses keystone main repo

After https://github.com/keystone-engine/keystone/pull/371
2018-09-17 13:43:00 -07:00
Kevin Lubick 0742d90cab [Skia] Fix build after large refactoring (#1821) 2018-09-17 12:58:28 -07:00
James Zern 014d5b9ac6 av1_dec_fuzzer: set cfg.allow_lowbitdepth to CONFIG_LOWBITDEPTH (#1818)
If cfg.allow_lowbitdepth is 0, then seq_params->use_highbitdepth is
unconditionally set to 1 by the following code in av1_read_color_config():

seq_params->use_highbitdepth =
seq_params->bit_depth > AOM_BITS_8 || !allow_lowbitdepth;

aomdec.c sets cfg.allow_lowbitdepth to CONFIG_LOWBITDEPTH. (We usually
pass -DCONFIG_LOWBITDEPTH=1 to cmake.) Chromium defines
CONFIG_LOWBITDEPTH as 1 and sets cfg.allow_lowbitdepth to 1:
https://chromium-review.googlesource.com/c/chromium/src/+/1178938

Our fuzzing test binary should match the behavior of aomdec and Chromium.
2018-09-15 14:30:16 -07:00
James Zern 445361ce6e av1_dec_fuzzer: rm unused variables (#1816) 2018-09-15 14:29:05 -07:00
Max Moroz 04537e050a [grpc] An attempt to fix code coverage build (similar to Envoy). 2018-09-14 14:27:50 -07:00
Abhishek Arya 394edaaa80
Build broken (#1812), disable unicorn project 2018-09-13 14:24:05 -07:00
Bhargava Shastry c523a3d4d4 [OVS] add member (#1814)
* OpenvSwitch integration: First commit

* OpenvSwitch integration: Fixed typo in Dockerfile

* OpenvSwitch integration: Fixed typo in build file

* OpenvSwitch integration: Fixed issues copying dict and fuzzer opetions

* OpenvSwitch integration: Added one more target and streamlined build

* Revert "OpenvSwitch integration: Added one more target and streamlined build"

This reverts commit c5945ff8ce3d14097d15a4e8b69dbee81a3b44b9.

* Revert "Revert "OpenvSwitch integration: Added one more target and streamlined build""

This reverts commit 43127a82c0314a82185ee7755015948170cc0675.

* Revert "Revert "Revert "OpenvSwitch integration: Added one more target and streamlined build"""

This reverts commit 7fcb9a2470defb4b05d34c94bbebe9e54bca7e79.

* Revert "OpenvSwitch integration: Fixed issues copying dict and fuzzer opetions"

This reverts commit dc356a9d46ec23e966d200031f0b57e220332208.

* Revert "OpenvSwitch integration: Fixed typo in build file"

This reverts commit 83e4a95a59ffbccc8db96ad14abd21f69d3e8176.

* Revert "OpenvSwitch integration: Fixed typo in Dockerfile"

This reverts commit dcbdb2c485183448bba91c1d25682a1d8723a915.

* Revert "OpenvSwitch integration: First commit"

This reverts commit 2faf845b27d482522952f71d29c1008dc8f85c85.

* OvS: Add new member
2018-09-13 05:35:34 -07:00
YannisGuyon 36605707f3 [libwebp] Add new fuzz target for encoding and misc (#1803)
- Add fuzz_webp_enc_dec and adapt Dockerfile, build.sh
- Lint existing targets
- Add license headers
- Increase fuzz.dict
2018-09-12 15:38:48 -07:00
Catena cyber 3dfc557d41 [unicorn] Enables unicorn project (#1812)
* Unicorn nits in build.sh

* Enables unicorn project

unicorn-engine/unicorn#1007 is checked in
2018-09-12 15:16:58 -07:00
Guido Vranken 4337d0f160 [bignum-fuzzer] Revert to older Rust Nightly to fix build (#1810) 2018-09-12 12:48:32 -07:00
Max Moroz 4867091719 [infra] Code Coverage: fix build_and_run_coverage.py. 2018-09-12 07:01:21 -07:00
Max Moroz 8f687dfdad [infra] Code Coverage: update download_corpus script and revert #1798. 2018-09-11 12:26:59 -07:00
Kevin Lubick e3ab4c98ef [skia] Fix build (#1808) 2018-09-11 07:02:48 -07:00
Jonathan Hui 7cb80546c1 [openthread] update build configuration (#1804) 2018-09-10 09:43:12 -07:00
Catena cyber 09b000b9f5 [gnupg] Change mail address for gnupg project (#1806) 2018-09-10 08:56:20 -07:00
Max Moroz e6e71d0a92 [infra] Do not fail coverage job if corpus download failed (#1798, follow-up #1547). 2018-09-06 13:19:20 -07:00
Catena cyber f199b34afb [gnupg] Add diff file to oss-fuzz repo (#1795) 2018-09-06 10:55:40 -07:00
Max Moroz d9e4cea13c Revert "Add the Qt Project (#1779)". 2018-09-06 10:11:44 -07:00