Commit Graph

2738 Commits

Author SHA1 Message Date
Max Moroz 6c6934dc8b
Revert "[infra] also pass dictionaries when `afl` or `honggfuzz` is used as a fuzzing engine (#1925)" (#1927)
This reverts commit 56fc756fc9.
2018-11-06 08:00:43 -08:00
Evgeny Vereshchagin 56fc756fc9 [infra] also pass dictionaries when `afl` or `honggfuzz` is used as a fuzzing engine (#1925)
Currently, dictionaries are taken into account only when `libfuzzer` is
used as a fuzzing engine (and also apparently `none` but I'm not sure what it is).
This patch makes it possible to make use of dictionaries with other fuzzing
engines too. I didn't touch the code handling options passed to libFuzzer
so as not to break anything :-)
2018-11-06 07:52:24 -08:00
Franziskus Kiefer f1b27ccd1e Update project.yaml (#1926)
Adding CC for NSS contributor.
2018-11-06 06:14:11 -08:00
Tim Rühsen 16fcc34ac8 [libpsl] Fix build: convert PSL to NFC (#1924) 2018-11-04 14:50:45 -08:00
Caolán McNamara 46b1adfd89 libreoffice build requires en_US.UTF-8 locale now (#1923) 2018-11-04 08:45:21 -08:00
Abhishek Arya d29c322809
Revert "Update requests version 2.2.0" (#1921)
* Revert "Update requests version (#1913)"

This reverts commit 96fce46d4a.
2018-11-03 07:40:30 -07:00
Bhargava Shastry eb52530096 xz: Add the xz/lzma decompressor to oss-fuzz (#1919) 2018-11-02 16:51:39 -07:00
Varun Khaneja 5cca3a6d07 [unrar] Fuzz unrar v5.6.8 before merging that to master (#1920) 2018-11-02 16:44:21 -07:00
htuch 991bf32f47 envoy: use Bazel to build corpora. (#1917)
* envoy: use Bazel to build corpora.

Rather than scraping this out of the source tree, build each corpus
under Bazel. The advantage is that we can now support synthesized
corpora, e.g. automated generation from unit tests.

Signed-off-by: Harvey Tuch <htuch@google.com>

* Review feedback.

Signed-off-by: Harvey Tuch <htuch@google.com>
2018-11-02 07:41:32 -07:00
jonathanmetzman 96fce46d4a
Update requests version (#1913) 2018-10-30 13:16:15 -07:00
Paul Kehrer 7fe41e46fe add jbig clone to libtiff (#1912) 2018-10-29 14:19:56 +11:00
Bhargava Shastry ebf4501860 bzip2: Bug fixes (#1894)
* bzip2: Bug fixes; added citations

* bzip2: Bump bzip2 version to 1.0.6

* bzip2: Variable blockSize100k, workFactor, and small

* bzip2: Remove hardcoded buffer sizes; fix nZ (compressor) to point to real buffer size

* bzip: Remove ubsan from project.yaml beacuse of start-up crash google/oss-fuzz#1887
2018-10-26 06:10:57 -07:00
Behdad Esfahbod 6d82dbf32c Harfbuzz: a couple of improvements (#1908)
* [harfbuzz] Avoid zip duplicate-file-name errors

Like this:
https://oss-fuzz-build-logs.storage.googleapis.com/log-01068491-8fab-4886-8cc0-477fd26f3db1.txt

Copy all font files into one directory (ignoring duplicates), then zip.

* [harfbuzz] Remove -fno-sanitize=function

Upstream is sanitize=function clean now.
2018-10-26 11:24:24 +11:00
htuch a4c654b5ee [envoy] add jbuckland@google.com to project.yaml. (#1907)
Signed-off-by: Harvey Tuch <htuch@google.com>
2018-10-25 10:59:31 -07:00
Bhargava Shastry 830189c3c7 lzo: Fixes problems with google/oss-fuzz#1900 (#1905) 2018-10-25 07:07:38 -07:00
Kevin Lubick 0342042957 [skia] Fix the build (#1906) 2018-10-25 07:04:41 -07:00
Tristan Matthews 26af3160ad ffmpeg: disable crc checking in libogg (#1896) 2018-10-24 06:36:03 -07:00
Denis Ovsienko e829df5f36 change my Google account address (#1901)
The system does not recognize me using an alias, let's try the original
address to see if it works.
2018-10-24 06:34:50 -07:00
Abhishek Arya cf78fed63d
Revert "[lzo] Add lzo (#1862)" (#1900)
This reverts commit 754db9eb6c.
2018-10-23 14:24:54 -07:00
Bhargava Shastry 754db9eb6c [lzo] Add lzo (#1862)
* lzo: Add lzo out-of-source

* lzo: Change maintainer of Docker image

* lzo: Add decompress target

* lzo: Update build script

* lzo: Fix build script

* lzo: Bail out if size==0 in decompress test

* Adding a seed file to lzo_decompress_target_seed

This commit adds a minimal lzo seed as a seed for the lzo_decompress_target. Still results in a heap-buffer-overflow at the moment.

* lzo: Switch to safer decompressor (HT @viniul) that does not crash and remove assertion

* lzo: Remove buggy addition (from OvS) to this PR

* Add more decompression targets to decompress_target

This commit adds more decompression targets to decompress_target.c. The target function is chosen based on the first byte of the data given by libfuzzer.

* Make decomp func ptr static, fix minor bug in func ptr init, and fix include paths in build script
2018-10-23 07:22:41 -07:00
Peter Wu f2b4a02601 [wireshark] fix build, simplify build configuration (#1895)
Since Wireshark v2.9.0rc0-2266-g7e88bb5e53, building fuzzing binaries is
better integrated in the Wireshark build system. While that change was
supposed to be backwards compatible, unfortunately the resulting fuzzer
binaries are dynamically linked due to how cmake caches library paths.
The very first cmake invocation must be invoked with -DOSS_FUZZ=ON.

Changes:
- Use ninja for better control of parallel linker jobs.
- Installing files (make install) is no longer needed.
- Avoid setting a long list of cmake options (BUILD_xxx=OFF).
- Remove fortify comment, it does not belong here.
- Remove lemon workaround, it is fixed since v2.9.0rc0-2273-gbb2caa2a9f.
2018-10-22 09:11:59 -07:00
Ebrahim Byagowi 82ba771507 [harfbuzz] Add my another account (#1897)
My right-having login account in Chromium bug tracker is this one and I am
constantly switching between the accounts.
2018-10-22 08:38:46 -07:00
Catena cyber cc0d4c8ab3 Gnupg uses separate fuzz targets (#1898) 2018-10-22 08:37:44 -07:00
Max Moroz 66f8069ff1 [infra] Use -pthread instead of -Wl,-lpthread (fixes #1886). 2018-10-22 07:24:42 -07:00
Oliver Chang 5e0f589440
Add FAQ entry about specs of builders and fuzzing VMs (#1885) 2018-10-22 17:40:58 +11:00
pdknsk 5053f1c289 firefox: unsubscribe myself (#1891) 2018-10-21 09:15:55 -07:00
Bhargava Shastry c6a08db58c bzip2: Add bzip2 to oss-fuzz (#1887) 2018-10-19 13:54:15 -07:00
Mihai Maruseac 36d4c69e69 Fix typo in build.sh for grpc (#1888)
Was looking through this script to see what needs to be done for tensorflow and found this typo. Small fix, just to improve readability of script (or being too pedantic)
2018-10-19 09:32:16 -07:00
Janne Grunau 767bd6c4e8 dav1d updates (#1883)
* dav1d: fetch seed corpus over https

* dav1d: use debugoptimized build instead of debug

* dav1d: add undefined behavior sanitizer

* dav1d: extend auto_cc list
2018-10-17 18:38:47 -07:00
Catena cyber 51e638b3d3 [gnupg] Limit size of inputs for gnupg import fuzz target (#1871)
* Limit size of inputs for gnupg import fuzz target

And adds the targets out of the diff

* Removes option limiting size for gnupg target import

As it is done in the target itself

* Removes max length options for fuzz targets in gnupg
2018-10-17 10:41:44 -07:00
Kevin Lubick ea855f048a [skia] Add more image codec fuzzers (#1882) 2018-10-17 06:42:10 -07:00
Ebrahim Byagowi 274b597587 [harfbuzz] Add a new place for looking for seeds (#1879)
Regarding https://github.com/harfbuzz/harfbuzz/pull/1258
2018-10-16 15:10:21 -07:00
Catena cyber 8607c4705b [libpcap] Adds people to libpcap ccs (#1878) 2018-10-16 08:03:37 -07:00
Oliver Chang 8a7d744e7e
harfbuzz: disable function,vptr in CXXFLAGS also 2018-10-16 10:04:53 +11:00
Nelson Elhage 1e4d186ed3 libgit2: Let fuzzers user internal headers (#1875) 2018-10-15 13:54:48 +11:00
Tim Rühsen 1734af5dca [wget] Use code from master branch (#1874) 2018-10-15 11:18:37 +11:00
Catena cyber 5884cad7db Do not use thread in openssl for ecc-diff-fuzzer (#1872) 2018-10-14 10:03:11 -07:00
Behdad Esfahbod d0f6761b98 [harfbuzz] Disable UBSan vptr again, since we still build with -fno-rtti (#1873) 2018-10-14 10:02:49 -07:00
Catena cyber fc4da53b77 [libpcap] Add project (#1756)
Adds libpcap project
2018-10-12 12:33:44 -07:00
pdknsk 7f8c385c8f [glib] GLib: integrate into build system (#1866)
* integrate into build system

* remove options file

* address review comment
2018-10-12 09:17:31 -07:00
James Zern e7c5398b61 code_coverage.md: fix coverage tool invocations (#1870)
s/profile/coverage/
2018-10-12 17:16:51 +11:00
Behdad Esfahbod 8d7039abee Update Harfbuzz settings (#1869)
* [harfbuzz] Remove UBSan exemptions

We are clean on all sanitizers now.

* [harfbuz] Seed corpus from more fonts

* [harfbuzz] Share seed corpus amongst the two sanitizers

Is this really what those archives are for?  Or just for archival?

* [harfbuzz] Remove hb-subset-get-codepoints-fuzzer

Folded into hb-subset-fuzzer upstream.
2018-10-12 13:50:04 +11:00
Max Moroz fdd28c42e9
[infra] Add srcmap step to code coverage job (follow-up #1547). (#1868) 2018-10-11 13:52:49 -07:00
Kevin Lubick 93eec08bbc Add Polyutils fuzz target (#1867) 2018-10-11 07:20:30 -07:00
Augie Fackler 8e87c896e2 mercurial: disable msan, hopefully only for a while (#1865)
Our new fuzzer requires CPython, and I'm getting extremely
confusing (and implausible-looking based on reading of CPython source)
msan issues, so let's disable msan for this project for now.
2018-10-10 07:03:23 -07:00
Alex Gaynor 0584bccf21 [spidermonkey] Fixed spidermonkey build by temporarily disabling cranelift (#1864) 2018-10-09 11:11:04 -07:00
Max Moroz 5c263869ae
[infra] Fix missing linking dependencies for coverage build (#1858). (#1863) 2018-10-09 11:04:03 -07:00
YannisGuyon 3c1aba15b5 [libwebp] webp_enc_dec: Limit alpha_quality to 99 when method is 6 (#1860)
webp_enc_dec: Limit alpha_quality to 99 when method is 6

The target fuzz_webp_enc_dec with asan crashes (timeout)
during encoding with heavy alpha compression.
Clamp alpha compression parameters for images bigger than 16*16.
Bug report 10838
2018-10-08 10:08:49 -07:00
Guido Vranken 2e867a3f6e [bignum-fuzzer] Add ARM e-mail address. Disable AFL (#1859)
* bignum-fuzzer: add ARM e-mail to auto_ccs

* bignum-fuzzer: only use libFuzzer, not AFL
2018-10-08 10:07:27 -07:00
Janne Grunau 2cb18963e8 [dav1d] add dav1d project (#1855)
dav1d is an AV1 decoder

http://www.jbkempf.com/blog/post/2018/Introducing-dav1d

Mozilla is planning to use the decoder in Firefox
https://bugzilla.mozilla.org/show_bug.cgi?id=1493397
2018-10-07 15:45:31 -07:00