Commit Graph

905 Commits

Author SHA1 Message Date
Leo Neat 2c05fb229f [infra] Add support for Bisecting Git Commits Introducing Crashes(#3119) 2019-12-16 16:48:49 -08:00
jonathanmetzman a0b29b879f
Remove trailing whitespace (#3135) 2019-12-16 15:30:12 -08:00
Abhishek Arya 43317c9327
Revert "Enable UBSan's pointer-overflow check. (#3121)" (#3123)
This reverts commit d843ee46bd.
2019-12-13 06:48:16 -08:00
mbarbella-chromium d843ee46bd
Enable UBSan's pointer-overflow check. (#3121) 2019-12-12 20:00:13 -05:00
mbarbella-chromium 3f186c0c03
Enable UBSan's object-size check. (#3120) 2019-12-12 19:56:48 -05:00
Leo Neat 2dd2a0fdcc [infra] Add functionality to check out a specific commit for a project (#3092)
* Starting the git python API

* repo manager working with tests

* Docker repo manager working, can update image with specific commit

* Working bisection

* Formatting and linting

* Working bisection

* Specific commit checkout

* Specific commit checkout

* Removed bisector and updated helper

* remove branch bug

* Max comments

* Added tests for infer main repo

* Oliver comments

* helper.py function names change

* Oliver comments pt. 2

* Olivers comments

* Formatting updates

* Removing DockerRepoManager class

* Removing DockerRepoManager class

* Changing from copying repo to docker image to mounting repo on docker image

* Jonathan comments

* Build image from commit tests

* Oliver comments pt.3

* Oliver comments pt.4

* Linting

* Max comments pt. 2

* change check commit exists

* Max comments pt. 3

* Regex updated

* Formatting updates
2019-12-12 09:26:37 -08:00
Abhishek Arya 075af21e28
Enable enum feature for UBSan (#3102) 2019-12-11 08:17:44 -08:00
Max Moroz 66e0e37939
[infra] Install LLVM binaries in base-runner using base-clang artifacts (#3067). (#3072)
* [infra] Install LLVM binaries in base-runner using base-clang artifacts (#3067).

* add one more comment and remove MAINTAINER lines from all images
2019-11-26 10:40:58 -08:00
Max Moroz 0ca53f3c94
[infra] Update binaries in the base-runner image (#3065). (#3066) 2019-11-25 14:10:58 -08:00
mbarbella-chromium 48f8d5edc4 Enable UBSan builtin, null, returns-nonnull-attribute, and unreachable checks. (#3062) 2019-11-24 17:44:53 -08:00
Abhishek Arya 4985ddfcfe
Revert "Enable UBSan's builtin, null, and unreachable checks. (#3057)" (#3061)
This reverts commit 146316b705.
2019-11-22 13:27:04 -08:00
jonathanmetzman 5668cc422c
Install clang using git (#3060) 2019-11-22 13:21:29 -08:00
mbarbella-chromium 146316b705
Enable UBSan's builtin, null, and unreachable checks. (#3057) 2019-11-21 15:37:44 -08:00
Oliver Chang 78e191ed92
Pre-compile honggfuzz (#3045) 2019-11-20 11:04:33 +11:00
Oliver Chang b37f841dc5
remove libunwind and libblocksruntime from base-runner. (#3031)
Fixes #2947.
2019-11-13 14:40:25 +11:00
Oliver Chang 11801ba6f5
Add optimization flags to honggfuzz compilation. (#3030) 2019-11-13 13:31:15 +11:00
Oliver Chang ce39aeb200
Add additional build deps for honggfuzz. (#3026)
These will be statically linked into the hongfuzz binary.
2019-11-12 14:56:16 +11:00
Oliver Chang 98e4472c45
honggfuzz: Include libhfcommon in $LIB_FUZZING_ENGINE. (#3011) 2019-11-07 08:40:12 +11:00
jonathanmetzman af0ca618de
Get run_minijail working for i386 (#2997) 2019-11-05 07:18:25 -08:00
jonathanmetzman 1ed145d9e7
[bisect_clang] Add comment on testing (#2957) 2019-10-16 12:45:05 -07:00
Max Moroz 3dd03528b7
[infra] Use more generic approach to skip code coverage for Go projects. (#2953)
* [infra] Use more generic approach to skip code coverage for Go projects.

* address review comments
2019-10-16 07:35:22 -07:00
Max Moroz 5943ef19d4
Reland "[infra] Use fuzz target basename in the coverage script." (#2903) (#2944) 2019-10-14 09:34:30 -07:00
Max Moroz c805b49636
[infra] Add a fixed seed value to the libFuzzer command in bad_build_check. (#2943) 2019-10-14 09:34:14 -07:00
Abhishek Arya 342e8d0b42
Renable bad build check for jsoncpp_fuzzer. (#2945) 2019-10-11 17:06:18 -07:00
Abhishek Arya 45574e0197
Skip jsoncpp_fuzzer bad build check to let startup crash file. (#2941) 2019-10-11 07:24:06 -07:00
jonathanmetzman 378472cf0b
Add scripts to bisect clang commits that introduced regressions (#2849)
Add script to bisect bad clang rolls.
2019-10-03 15:35:31 -07:00
Max Moroz 099b86d384
Revert "[infra] Use fuzz target basename in the coverage script. (#2896)" (#2903)
This reverts commit 5a1d15bd9a.
2019-09-28 14:57:46 -07:00
Max Moroz 5a1d15bd9a
[infra] Use fuzz target basename in the coverage script. (#2896) 2019-09-27 13:04:49 -07:00
Max Moroz ccfb73427f
[infra] Skip code coverage job for gofuzz projects (#2714). (#2818) 2019-09-09 08:47:58 -07:00
jonathanmetzman 62c65ca878
Add SPIRV projects for blackbox fuzzing with GraphicsFuzz (#2812) 2019-09-06 13:49:09 -07:00
Max Moroz b3726e9d20
[infra] Use stable version of AFL from the upstream repo. (#2767) 2019-08-27 09:53:48 -07:00
Abhishek Arya e4bcc79247
Update builds_status.py 2019-08-23 13:44:21 -07:00
Abhishek Arya 32dd91bc40
Create storage client only once for build status updates. (#2756)
Should fix https://github.com/google/oss-fuzz/issues/2755.
2019-08-23 13:43:10 -07:00
Max Moroz b33c276c0d
[infra] Update base-builder image to support go-fuzz (#2714). (#2735)
* [infra] Update base-builder image to support go-fuzz (#2714).

* address review comments
2019-08-21 11:06:59 -07:00
Oliver Chang 018d80ed71
Fix build links on builds status page. (#2732)
Setting routeData does not work if there is no existing route set.

Also fix deploy to not cache files.
2019-08-21 11:36:18 +10:00
Ammar Askar 92d5ba8f9e [infra] Allow perma-links to project logs. Fixes #2690 (#2725) 2019-08-20 16:40:56 -07:00
Max Moroz 05a30d2ad5
[infra] Bad build check: lower UBSan calls threshold from 170 to 169. (#2692) 2019-08-13 12:50:29 -07:00
jonathanmetzman c4202c2f48
Revert "Use "x86" instead of "i386" for better name recognition. (#2685)" (#2687)
This reverts commit 0c6cc5cae8.
2019-08-12 10:54:18 -07:00
jonathanmetzman 0c6cc5cae8
Use "x86" instead of "i386" for better name recognition. (#2685)
It seems more people understand x86 than i386, use this term instead.
2019-08-12 10:35:16 -07:00
Abhishek Arya 6dd54f6381
Fix exception in updating badges on build status page 2019-08-12 09:39:42 -07:00
Ammar Askar 8776ec2327 [infra] Publish build badges on status page (#2513)
* [infra] Publish build badges on status page

* Address feedback from github PR

* Change success badge to 'fuzzing' and failing badge to 'build failing'
2019-08-12 09:25:22 -07:00
Abhishek Arya cf4af86972
Switch docs to new structure (#2663) 2019-08-07 07:37:16 -07:00
Max Moroz 12d6d31e44
[infra] Use gsutil "cp" instead of "rsync" for coverage job (#2585). (#2625) 2019-07-23 10:12:37 -07:00
jonathanmetzman e8df83fc35
[infra] Make travis deal with adding a new project or removing one (#2566)
This change causes travis to skip building a project when a project does not have build.sh file, a common scenario when a project is added (and only a project.yaml file is added) or removed.
2019-07-02 16:11:37 -07:00
jonathanmetzman c158db4df2
[infra] Remove debug code breaking bad_build_check #2555 (#2557) 2019-06-30 12:52:29 -07:00
Max Moroz 5dece89e3c
[infra] Add support for dataflow builds to the helper script and build check (#1632). (#2501)
* [infra] Add support for dataflow builds to the helper script and build check (#1632).

* Update travis config file.

* Address self-review comments and specify dataflow sanitizer for zstd as well.

* Fix fuzzing_engines in project.yaml

* Fix bad build check for DFSan.

* Use "hasattr" in helper.py to check the sanitizer argument.

* Address more review comments.

* Remove DataFlow config from zstd.

* fix a typo
2019-06-12 11:08:15 -07:00
Max Moroz 3830c427b2 [infra] Ignore return code when removing seed corpus for dataflow build. 2019-06-10 15:32:51 -07:00
Max Moroz 7250d70833
[infra] Run tests on the builder after patching MSan libraries. (#2497)
* [WORK IN PROGRESS] Debug Travis failure when doing build check for MSan build.

* Change order of "MSan patch libraries" and "build check" steps.
2019-06-10 11:18:59 -07:00
Max Moroz 1f0a33c712 [infra] Do not archive seed corpus for dataflow builds. 2019-06-10 10:00:20 -07:00
Max Moroz 3be06d5e78
[docs] Remove `-lFuzzingEngine` reference from base-builder image readme.
//cc @jonathanmetzman
2019-05-31 16:50:29 -07:00