Commit Graph

2641 Commits

Author SHA1 Message Date
Abhishek Arya 4e87bd622d
Revert "Add support for running perffuzz in infra/helper.py (#1540)" (#1578)
This reverts commit 7f26e2fd92.
2018-06-28 06:11:32 -07:00
pdknsk 8a562d5310 [qcms] move target (#1577)
* add missing (if unnecessary) compiler flag

* change wget to ADD

* don't change checkout dir

* move target to mozilla-central
2018-06-27 19:34:38 -07:00
Abhishek Arya d24dfd4971
Revert #1560 2018-06-27 08:27:13 -07:00
jonathanmetzman 0536801fd1
[skia] Use Skia's clone of SwiftShader and speculative fix for broken build (#1576)
Don't explicityly clone SwiftShader in the Dockerfile, since Skia
does that itself.
Also, make a speculative fix for a build issue where builders get
confused by the current working directory.
2018-06-26 13:23:44 -07:00
Abhishek Arya bcf3d1dfa8
Revert "[infra] Compile fuzzing engine without SANITIZER_FLAGS unless MSan is used. (#1522)" (#1574)
This reverts commit 63d9392e59.
2018-06-26 13:08:14 -07:00
YannisGuyon 5631c1b84e [libwebm] Update project.yaml (#1571) 2018-06-26 10:17:15 -07:00
jonathanmetzman f5f98cf608
Build Skia with SwiftShader (#1573)
This requires  building SwiftShader as well as changes to skia's
build. Reenables fuzzers that were disabled for AFL since we no
longer need to patch the binaries.
Also optimize invocations of git clone by adding --depth 1.
2018-06-26 10:00:23 -07:00
jonathanmetzman 9c2fe11666
Fix check for LLVMFuzzerTestOneInput (#1572) 2018-06-26 08:23:56 -07:00
Catena cyber fced18b2c7 [capstone] Fix use of variables in build.sh (#1570) 2018-06-26 06:34:00 -07:00
jonathanmetzman 5ea8600f84
Remove test_report since it isn't usable from anywhere (#1569) 2018-06-25 16:59:21 -07:00
jonathanmetzman 36e576467c
Fix bad build check. (#1568)
* Fix bad build check.

Bad build checks previously just checked that a file is an executable
ELF. This is insufficient because libraries are also executable ELFs.
Add a check that the file contains LLVMFuzzerTestOneInput, in order
to consider a fuzz target.

Also update coverage and test_report for consistency.
2018-06-25 16:35:28 -07:00
Abhishek Arya ffe166e75c
Fix #1560 2018-06-25 14:59:03 -07:00
Emmett Neyman 06ba889cd7 Add LLVM Proto Fuzzer to OSS-Fuzz (#1567) 2018-06-25 14:45:04 -07:00
pdknsk 8eeffa627f [libwebp] more targets (#1552)
* new target: advanced decoding api

* new target: animation decoding api

* new target: (de)mux API

* prefer copying dict to using options files
2018-06-25 14:17:52 -07:00
Marek Marczykowski-Górecki 9d49131473 qubes-os: disable ubsan (#1564)
input-proxy (the only fuzzer target for now) have only 1 UBSan call right
now, which doesn't make much sense to fuzz. Disable it, until
input-proxy gets more complex for that.
2018-06-25 08:35:22 -07:00
Bhargava Shastry a8b52adff6 Ovs syslog clean disable (#1558)
* Openvswitch: Disable logging only once
2018-06-25 07:24:17 -07:00
Catena cyber 7690a138a9 [capstone] Absolute paths for capstone build (#1562) 2018-06-25 06:54:34 -07:00
Catena cyber 160e518818 [capstone] Right path for capstone corpus (#1561) 2018-06-25 06:14:25 -07:00
Oliver Chang 952a758fce
Downgrade clang (#1560) 2018-06-25 14:25:35 +10:00
Bhargava Shastry 6a7cc6870b Ovs syslog disable (#1557)
* 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.

* openvswitch: OSS-Fuzz integration

* Openvswitch: Fix indenting and newlines

* Addressing comments by jonathanmetzman

* Openvswitch: Added json dict and seperated fuzzer options per target

* Openvswitch: Disables logging so that syslog is not spammed while fuzzing
2018-06-23 16:40:18 -07:00
Bhargava Shastry 6251347a95 [Openvswitch] Project integration (#1553) 2018-06-22 15:06:50 -07:00
Catena cyber c8166f85e0 [capstone] Cancel CFLAGS temporarily (#1555)
* Cancel CFLAGS for capstone python bindings
2018-06-22 07:55:13 -07:00
Eugene Kliuchnikov 097419a27b [brotli] Split compile and link actions (#1554)
Source code have to be compiled by CC, but linked with CXX.

Context: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=8976
2018-06-22 06:49:30 -07:00
urvangjoshi 6948f92282 [libaom] Add Jai to CC list. (#1549) 2018-06-21 16:41:28 -07:00
Varun Khaneja 8fff19181d Add -DSILENT -DRAR_NOCRYPT defines when compiling unrar (#1551) 2018-06-21 13:49:02 -07:00
Catena cyber 2546ac400f Precise path for capstone library (#1548) 2018-06-21 20:54:25 +10:00
Franziskus Kiefer 24c78072d0 updating primary contact (#1543)
Unfortunately Tim left the NSS team.
2018-06-20 08:02:19 -07:00
Eugene Kliuchnikov 37f1a33f2c Switch compiler CXX->CC (#1544) 2018-06-20 08:01:52 -07:00
Catena cyber df1fe75e43 Right path for capstone directory (#1545) 2018-06-20 08:01:24 -07:00
James Zern 5d4631a9fd [libaom] av1_dec_fuzzer.cc: correct ivfdec.h include (#1541)
ivfdec.h is under common/, remove the aom prefix which would require an include path to $SRC in addition to $SRC/aom for the others.
2018-06-20 08:00:55 -07:00
Max Moroz c05848b347 [infra] Set UBSAN_CALLS_THRESHOLD_FOR_NON_UBSAN_BUILD back to 200 + add an explanation (#1542). 2018-06-20 07:54:20 -07:00
Max Moroz 52fe2acc1a [infra] Fix bad build check for UBSan since we compile engines without sanitizers now (fixes #1542). 2018-06-20 07:21:54 -07:00
Abhishek Arya 7f26e2fd92
Add support for running perffuzz in infra/helper.py (#1540)
* Add support for running perffuzz in infra/helper.py
https://github.com/carolemieux/perffuzz

* Update compile_perffuzz

* Update run_fuzzer
2018-06-19 15:02:00 -07:00
Jonathan Foote 9a73c26288 [knot-dns] Fix build (#1523)
* [knot-dns] add gettext for gnutls

* [knot-dns] move gettext install to Dockerfile
2018-06-19 13:55:18 -07:00
Kevin Lubick 8d6e8e81cb [skia] Fix build after skjson refactor (#1538) 2018-06-19 12:25:20 -07:00
David G. Quintas 26d7835192 Add nanopb includes after grpc/grpc#15595 (#1536) 2018-06-18 16:43:13 -07:00
Max Moroz 9874e09f53
[infra] helper.py: support "profile" command for a single fuzz target with arbitrary corpus location. (#1535)
* [infra] helper.py: support "profile" command for a single fuzz target with arbitrary corpus location.

* Address review feedback.

* Update code_coverage.md page.
2018-06-18 14:19:48 -07:00
Alex Gaynor d48b11f529 [infra] helper.py: rewrite conditional to be more readable and idiomatic (#1534)
* Rewerite conditional to be more readable and idiomatic

* In fact, simplify further
2018-06-18 11:13:36 -07:00
Max Moroz 6d72d18132 [infra] helper.py profile: do not append project name prefix to fuzz target name if it is there. 2018-06-18 10:57:09 -07:00
Max Moroz 95a3d83a69 [infra] profile: do not run fuzz targets if corpus downloading has failed. 2018-06-18 10:44:42 -07:00
Max Moroz 63d9392e59
[infra] Compile fuzzing engine without SANITIZER_FLAGS unless MSan is used. (#1522)
* [infra] Compile fuzzing engine without SANITIZER_FLAGS unless MSan is used.

* Use an additional FUZZING_ENGINE_SANITIZER_FLAGS variable and simplify the script

* Use $FUZZING_ENGINE_SANITIZER_FLAGS in compile_libfuzzer.
2018-06-18 10:10:01 -07:00
Tobias Brunner ec4f54c40d [strongswan] Add Andreas to list of CCs (#1526) 2018-06-18 07:26:07 -07:00
Catena cyber 105940c2d9 Builds capstone corpus automatically (#1527)
* Builds capstone corpus automatically

* Capstone vorpus ugly fix
2018-06-18 07:24:19 -07:00
Eugene Kliuchnikov 92b7d40f84 Update brotli build script (#1528)
Brotli fuzzer is being converted to C99 in google/brotli#686
2018-06-18 07:22:10 -07:00
Federico G. Schwindt 0c62f16cd5 [varnish] Add Project (#1524) 2018-06-17 20:02:24 -07:00
Max Moroz 883cdcf3b0
[infra] Fix helper.py as per feedback from @evverx + fix issues from #1519. (#1520)
* [infra] Fix helper.py as per feedback from @evverx + fix issues from #1519.

* Remove stuff from local testing

* Suppress unnecessary output from GSUtil.
2018-06-15 10:44:18 -07:00
Alex Gaynor 82108f6083 Refs #799 -- use python to listdir instead of shelling out to find (#1519) 2018-06-15 08:20:27 -07:00
Evgeny Vereshchagin 817dbf76ca [systemd] add evverx's gmail address (#1518)
It turns out that some things are much easier to do when
a gmail account is used.
2018-06-15 06:19:03 -07:00
Max Moroz 20e55ce3b1
[infra] Enable clange code coverage reports generation for local runs. (#1494)
* [infra] Enable clange code coverage reports generation for local runs.

* Use runner image and move corpus management to the helper.py
.

* Clean up, delete unnecessary stuff, add comments.

* Run fuzz targets in parallel. Do not exit in case of an error.

* Address review feedback, except of the threading thing.

* Fix a typo.

* Use ThreadPool implementatino available in standard python2.7 package.

* Add dry run support + no corpus download option.

* Fix flags handling + add log output in case of an error.

* Append arguments for fuzz target instead of replacing them.

* Remove dry run functionality as it currently errors out after two runs.

* Fix some spacing in the code.

* Update documentation regarding new code coverage script.
2018-06-14 15:00:46 -07:00
Alex Gaynor 0eb8fca03f [mercurial] Enable msan (#1516) 2018-06-14 10:21:37 -07:00