Commit Graph

1079 Commits

Author SHA1 Message Date
Mike Aizatsky 6d48c46597 [infra] inputs are string arrays 2016-12-27 11:51:30 -08:00
Mike Aizatsky 288b25b287 [infra] unwrap result object 2016-12-27 11:50:40 -08:00
Kostya Serebryany a74e294fca [freetype2] add ots seed file for the freetype2 fuzzer (#217) 2016-12-27 11:42:52 -08:00
Mike Aizatsky 7d6b4c9acf nit 2016-12-27 11:41:04 -08:00
Mike Aizatsky 3c9642ebe4 [infra] uploading status.json 2016-12-27 11:36:13 -08:00
Mike Aizatsky 15fcfa0e52 [infra] run build.sh with -eu (exit on first error, error on undefined vars) 2016-12-27 09:39:59 -08:00
Mike Aizatsky 202b73edb8 [infra] Fixing undefined variable error
@alex, forget the explanation in fd244c7b34 ))

I think this is now how it was intended:

* ${parameter-default} expands to default if parameter is not set
* -n checks if expansion is not empty
2016-12-27 09:13:07 -08:00
Mike Aizatsky fd244c7b34 Revert "Fixed inverted conditional in compile script (#215)"
This reverts commit 43e03bc035.

The initial code was right:
(http://www.tldp.org/LDP/abs/html/parameter-substitution.html)

If $BUILD_ID is defined ${BUILD_ID+} evaluates to empty string.
If $BUILD_ID is not defined, it evaluates to null string.

-z of empty string is true
-z of null string is false

(welcome to bash).

@alex
2016-12-27 09:01:20 -08:00
Max Moroz 27504e7ade Fix typos in faq.md. 2016-12-27 10:25:23 +01:00
Kostya Serebryany b270737c16 Update faq.md 2016-12-24 20:52:24 -08:00
Kostya Serebryany a7a5f8ecdd Update faq.md 2016-12-24 20:46:16 -08:00
Alex Gaynor 43e03bc035 Fixed inverted conditional in compile script (#215) 2016-12-24 11:57:01 -08:00
Abhishek Arya 453c5709c8 Update Dockerfile 2016-12-24 07:39:26 -08:00
Abhishek Arya 7176de02b3 Add test corpus from libjpeg-turbo repo 2016-12-24 07:37:23 -08:00
Kurt Roeckx 4190b47e0e openssl: call configure with --debug (#214)
Otherwise NDEBUG is set, and the asserts don't trigger.
2016-12-24 07:07:31 -08:00
Kostya Serebryany c050be7602 Update project.yaml 2016-12-23 17:30:18 -08:00
Mike Aizatsky a0e8a442b0 Update README.md 2016-12-22 10:48:28 -08:00
Mike Aizatsky 1de3d366be [infra] you can't do sh outside of node() 2016-12-21 15:40:30 -08:00
Mike Aizatsky 5a4daf8980 [infra] use $BUILD_UID if it is defined (fixes #30) (#211)
If $BUILD_UID is defined, then compile script will create a user
with a given UID and switch to it prior to calling project's build.sh.
2016-12-21 15:01:44 -08:00
Caolán McNamara aba6616a66 Integrate libreoffice (#213) 2016-12-21 14:05:33 -08:00
Caolán McNamara b57371a098 add SYS_PTRACE capability (#9 #212)
I'm finding that with e.g.

python infra/helper.py build_fuzzers libpng

all builds fail for me with...

configure:3443: checking whether we are cross compiling
configure:3451: clang -o conftest -g -fsanitize=address -fsanitize-coverage=edge,indirect-calls,8bit-counters   conftest.c  >&5
configure:3455: $? = 0
configure:3462: ./conftest
==1014==LeakSanitizer has encountered a fatal error.
==1014==HINT: For debugging, try setting environment variable LSAN_OPTIONS=verbosity=1:log_threads=1
==1014==HINT: LeakSanitizer does not work under ptrace (strace, gdb, etc)
configure:3466: $? = 1
configure:3473: error: in `/src/libpng':
configure:3475: error: cannot run C compiled programs.

with the defaults of...
CC=clang
CXX=clang++
CFLAGS=-g -fsanitize=address -fsanitize-coverage=edge,indirect-calls,8bit-counters
CXXFLAGS=-g -fsanitize=address -fsanitize-coverage=edge,indirect-calls,8bit-counters -stdlib=libc++

but adding --cap-add SYS_PTRACE makes it work
2016-12-21 12:58:01 -08:00
Mike Aizatsky 274fb853aa [infra] do not ignore zip paths (#162) 2016-12-20 14:48:19 -08:00
andrey-zelenkov a55fd5a436 Update glossary.md (#210) 2016-12-20 06:27:42 -08:00
andrey-zelenkov 4350dec38e Update glossary.md (#209) 2016-12-20 06:08:31 -08:00
Roland Knall a4a436883b Add new email to wireshark project config (#208)
Add Roland Knall to the CC list as wireshark core developer
2016-12-20 05:54:09 -08:00
Dario Lombardo 68be12fced Add new email to wireshark. (#207)
Add Dario Lombardo to the CC list as wireshark core developer.
2016-12-20 05:44:35 -08:00
inferno-chromium e6bf5e178a Update project.yaml 2016-12-19 18:16:19 -08:00
Moshe Kaplan 0f88acb939 Add Wireshark (#161)
* Add Wireshark

* Update project.yaml

* Update project.yaml

* Update project.yaml
2016-12-19 18:15:19 -08:00
Nikos Mavrogiannopoulos f533331c69 [gnutls] updated primary contact email (#204)
That is, in order to be able to access the issues opened.
2016-12-19 07:21:06 -08:00
Jack Lloyd 89b7e9c419 Update build scripts for Botan (#200)
Botan's fuzzers now have builtin maximums where necessary, instead of relying on
max len option. So the code to generate the .options files goes. Suggested by
@kcc in #150

Use corpus for the common formats, seems to help with initial coverage at least.

Disables Botan's pool allocator at build time, since it hides things from ASan.
The fuzzer driver already tries to disable it at runtime in LLVMFuzzerInitialize,
but the Clusterfuzz coverage report indicates that this init function is not
ever called, and the pool allocator ends up being used.
2016-12-16 20:03:39 -08:00
Mike Aizatsky 6a1d6b0d54 [openssl] use clang++ for linking #195 (#198) 2016-12-16 14:46:19 -08:00
Mike Aizatsky f2b8cb5508 [openssl] adding ubsan runtime to libraries for undefined sanitizer
Fixes #195.
2016-12-16 13:41:13 -08:00
Kurt Roeckx ebcac4696b Disable ubsan again (#197)
It has link errors for some unknown reason.
2016-12-16 10:46:49 -08:00
Mike Aizatsky 45206f3484 [infra] nit 2016-12-15 20:57:29 -08:00
Mike Aizatsky 0a7dd52155 [infra] overriding default libraries for msan build #59 2016-12-15 20:57:07 -08:00
Costa Tsaousis 467769a23a add netdata (#193) 2016-12-15 14:56:29 -08:00
Mike Aizatsky 1934aa4358 [openssl] forgot to copy options file in #190 2016-12-15 14:18:12 -08:00
Kurt Roeckx c63c01e0fe Openssl update (#190)
* Openssl: Enable more configure options

This enables all the options that are off by default but that we still
want to test.

* openssl: Enable undefined sanitizer.

* openssl: Add the security security contact as auto Cc

* openssl: bignum: limit to 2048 bytes
2016-12-15 14:04:03 -08:00
Mike Aizatsky e4c8ca54d6 [expat] enabling experimental memory sanitizer #59 2016-12-15 13:13:31 -08:00
inferno-chromium 250261a3f3 Update build.sh 2016-12-15 12:53:48 -08:00
inferno-chromium 36ac161d1d Update Dockerfile 2016-12-15 12:52:28 -08:00
inferno-chromium a92ee6cb92 Delete re2_fuzzer.options 2016-12-15 12:40:04 -08:00
Alex Gaynor f4121e3f61 Move the gnutls fuzzers to their own repo. (#188)
Also add two new ones.
2016-12-15 12:01:36 -08:00
Tobias Brunner 12a616fc2d Add strongSwan (#184) 2016-12-15 08:31:05 -08:00
Max Moroz 848a1dd74b [c-ares] Use the second fuzzer + its seed corpus from c-ares repo. (#185) 2016-12-15 07:48:03 -08:00
Mike Aizatsky 2de24fc520 [infra] build msan version of libcxx into /usr/msan/lib (#59). 2016-12-14 13:16:11 -08:00
inferno-chromium f22ee6eb3a Fix typo 2016-12-13 17:54:36 -08:00
Mike Aizatsky 5e02e09397 [infra] nit 2016-12-13 15:55:13 -08:00
Mike Aizatsky 74eb465532 [icu] disabling leak detection while building
There seem to be leaks in icu tools:

LD_LIBRARY_PATH=../lib:../stubdata:../tools/ctestfw:$LD_LIBRARY_PATH  ../bin/genrb --usePoolBundle -k -i ./out/build/icudt58l -s /src/icu/source/data/locales -d ./out/build/icudt58l ar.txt

=================================================================
==7719==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 64 byte(s) in 1 object(s) allocated from:
    #0 0x4d3368 in malloc /src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:64
    #1 0x5154fb in ucbuf_open /src/icu/source/tools/toolutil/ucbuf.cpp:469:36
    #2 0x50d4b3 in main /src/icu/source/tools/gendict/gendict.cpp:316:19
    #3 0x7ff77f72582f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
2016-12-13 15:31:59 -08:00
inferno-chromium 01373acf7d Rename base-debug-runner->base-runner-debug, add hooks. (#181) 2016-12-13 15:07:53 -08:00