Commit Graph

2129 Commits

Author SHA1 Message Date
Oliver Chang e3e7c02725 [infra] msan_builder: Add custom build hooks.
Add one for pulseaudio on xenial. ubuntu patches causes build failures
with recent clang.
2017-11-27 14:52:20 -08:00
Roman Lebedev dec4d4272f [librawspeed] Undefined Sanitizer: enable unsigned-integer-overflow detection. (#1011)
As discussed in https://github.com/google/oss-fuzz/issues/682#issuecomment-347236010
2017-11-27 11:23:07 -08:00
David Tardon 43f8f7dfa5 enable MSan for dlplibs (#1010) 2017-11-27 07:23:25 -08:00
Alex Gaynor d22048a3b5 Build spidermonkey in parallel (#1005) 2017-11-23 13:12:37 -08:00
Caolán McNamara 727b1dd64f add docx corpus (#1006)
and update dependency cache
2017-11-23 13:12:22 -08:00
Oliver Chang 838e4c4d0d [infra] msan builder: one more variation of -Wl,-z,defs 2017-11-22 16:22:36 -08:00
Oliver Chang d55fcf47e7 [infra] msan builder: don't strip. 2017-11-22 14:26:44 -08:00
Oliver Chang a023ed88c7 [infra] msan builder: wrap dpkg-gensymbols. 2017-11-22 14:01:06 -08:00
Oliver Chang 0b44a69baf [infra] msan builder: disable all warnings. 2017-11-22 13:37:02 -08:00
Oliver Chang 5ccbcb82b4 [infra] More msan builder fixes.
- Removing -Wl,-z,defs doesn't always work, since they can be passed as
  -Wl,-z -Wl,defs instead.
- Add more debugging functionality.
2017-11-22 13:13:30 -08:00
Oliver Chang 308be48767 [infra] msan builder: don't print anything extra at all in compiler wrapper.
configure scripts can test for output to stderr as an indication of
error.
2017-11-22 10:14:47 -08:00
Oliver Chang 7653ee8b69 [infra] msan builder fixes.
- wrapper: print actual clang invocation to stderr instead.
- add -fPIC -fno-omit-frame-pointer to c/cxxflags
- replace -g with -gline-tables-only
2017-11-22 09:34:58 -08:00
Oliver Chang b03a098eeb
Initial MSan library builder script. (#1004) 2017-11-21 09:47:51 -08:00
Robin Alexander Richtsfeld 2dfd739d38 Clean Shell Scripts (#999)
* Clean all.sh

Double quote array expansions, otherwise they're like $* and break on spaces.

* Clean dropbear/build.sh

In POSIX sh, 'pushd' is not supported.
In POSIX sh, 'popd' is not supported.

* Clean woff2/build.sh

Iterating over ls output is fragile. Use globs.

* Clean tinyxml2/build.sh

Add shebang
2017-11-20 12:22:57 -08:00
Joshua Haberman 329e9eafb4 Added Bloaty McBloatface as an oss-fuzz project. (#1000)
* Added Bloaty McBloatface as an oss-fuzz project.

* Added fuzz corpus for Bloaty.
2017-11-20 08:01:08 -08:00
David Tardon 337187317e ofz#4303 fix another signed int overflow in boost (#996) 2017-11-18 07:24:47 -08:00
David Tardon 0a2b9c224c source repos are not needed anymore (#995) 2017-11-18 07:23:57 -08:00
Roman Lebedev 430a173d1a RawSpeed: fix build. (#997)
During introduction of more fuzz targets, i did some CMake cleanup,
namely adding of helper library. And unfortunately i did not think
about the LIB_FUZZING_ENGINE env variable, thus the oss-fuzz build
has failed.

So some more cleanup was needed
(darktable-org/rawspeed@986d605935),
and as the consequences, this small build.sh change is needed too.

I did check locally, this does fix the build.
Please merge :)
2017-11-18 07:21:59 -08:00
Varun Khaneja 6b302b9e61 Use same filename for the input file created in disk (#994)
* Use the same file name always to avoid creating new files

* Minor: formatting changes

* Use PID for the filename
2017-11-17 14:47:43 -08:00
Oliver Chang e68fd86c32
[jsc] Add more CCs 2017-11-17 14:46:15 -08:00
Matt Kwong 373c1e4c11 Compile fuzzers with Clang++ (#993) 2017-11-16 21:50:18 -08:00
Nikos Mavrogiannopoulos 2c04c55f62 added Niels from nettle, to be able to inspect logs (#987)
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
2017-11-16 07:07:17 -08:00
David Tardon 4039e9864b ubsan fix for bundled boost (#988)
* bundle mdds

* bundle boost

* ofz#2894 fix int overflow in boost
2017-11-16 07:07:02 -08:00
Varun Khaneja 5cd4d6189d [unrar] Use github repo to fetch code and remove extra dependencies (#985) 2017-11-15 14:23:37 -08:00
Max Moroz 6204899516
[infra] Use "-fsanitize=fuzzer-no-link" instead of coverage flags. (#975) 2017-11-14 07:32:06 -08:00
EdMaurer f0239ca230 use new ChakraCoreEng@microsoft.com email address (#984)
use ChakraCoreEng@ms.com instead of ChakraCore@ms.com which folks use for social media comms.
2017-11-13 20:02:01 -08:00
Kostya Serebryany 95e75738d1
llvm: add llvm-opt-fuzzer--x86_64-instcombine 2017-11-13 14:43:56 -08:00
David Tardon 0bc454039f fixes for bundled ICU (#983)
* update bundled libs

* apply ICU ubsan patch from libreoffice

This fixes a few things that are not real problems but ubsan doesn't
like them, e.g., ofz#3926 .

* ofz#3670 fix heap-buffer overflow in ICU
2017-11-13 13:46:46 -08:00
VZ 5c93c1ce19 Include submodules in wxWidgets checkout (#982)
Third party libraries are now submodules and not subdirectories, so
clone them too.
2017-11-13 10:54:36 -08:00
Varun Khaneja 44ac124768 Setup simple fuzzing for unrar. (#951)
* Get the shared library to build for unrar

* Fuzz by writing temp file and calling CmdExtract::DoExtract()

* Incorporate review feedback

* Incorporate review feedback
2017-11-13 10:48:31 -08:00
Caolán McNamara 5830f0d420 [docs] update standalone driver link (#979) 2017-11-13 07:48:42 -08:00
Abhishek Arya 259cb3849d
Increase build timeout to 10 hours (fix #978) 2017-11-12 19:40:27 -08:00
Tim Rühsen 21d1a4cfe6 [wget2] Install lzip and rsync (#976) 2017-11-11 18:47:10 -08:00
Caolán McNamara 0e6b154f09 enable ofz engine for libreoffice (#974)
Enable AFL engine for libreoffice
2017-11-10 12:33:47 -08:00
Oliver Chang b61095208a
Add auto ccs to JSC 2017-11-10 09:47:16 +11:00
Oliver Chang 2c168d424c [jsc] Statically link icu. 2017-11-09 16:35:02 +11:00
Tim Shen 336dffcf22 Add myself to libcxx's auto_ccs (#972) 2017-11-08 13:49:02 -08:00
Matt Kwong d931f210b1 Convert .c files to .cc (#970) 2017-11-08 11:53:40 -08:00
Abhishek Arya fdd0cff32a
Update build.sh 2017-11-08 07:52:56 -08:00
Caolán McNamara 320cc7899e add dif corpus (#966)
and update dependency cache
2017-11-08 06:23:00 -08:00
Oliver Chang d090e49c2e
Update Dockerfile 2017-11-08 16:21:32 +11:00
Oliver Chang 7a8c125f42
Update project.yaml 2017-11-08 16:21:15 +11:00
Oliver Chang f3579b6e53
Update project.yaml 2017-11-08 16:20:55 +11:00
Oliver Chang deeb8e41e1 Add JavaScriptCore (#925). 2017-11-08 16:13:15 +11:00
Alex Gaynor 60b347e137 Added Christian Holler to spidermonkey reports (#965) 2017-11-07 12:37:09 -08:00
Matthew Waters 4e6c1c95c4 [gstreamer] add Matthew Waters to the CC list (#963) 2017-11-07 06:56:54 -08:00
Max Moroz 2aa3451ce3 [chakra] use case sensitive email in project.yaml (#959). 2017-11-06 10:56:40 -08:00
Alex Gaynor 156843d930 Install python into the spidermonkey build env (#958) 2017-11-06 12:46:17 +11:00
Alex Gaynor 18ffe5a3cd Refs #925 -- Added build for spidermonkey (#950)
* Refs #925 -- Added build for spidermonkey

* review feedback

* Switch to the git mirror

git has --depth, which lets us speed up clones. we can switch to the hg upstream once @durin42 implements shallow clones for hg :-)

* Clone this as m-c
2017-11-06 10:48:44 +11:00
Caolán McNamara bcacae36dc add lotus 1-2-3 corpus (#957) 2017-11-05 13:20:42 -08:00