Commit Graph

51 Commits

Author SHA1 Message Date
asraa 98fac43fe2
fix broken build (#3509)
Signed-off-by: Asra Ali <asraa@google.com>
2020-03-16 08:46:20 -07:00
Max Moroz 71f4914c45
[presubmit] Enforce language attribute in project.yaml to be always set. (#3477)
* [presubmit] Enforce language attribute in projectt.yaml to be always set.

* Update documentation, better presubmit check, new project template.

* add docstring to templates.py

* Add example values in the project.yaml template and remove python value for now

* Add "project: c++" to 256 projects

* format

* Add labels and selective_unpack sections to the presubmit check

* fix incorrect auto_ccs format in three projects

* fix nss emails after rebase
2020-03-10 11:08:01 -07:00
asraa 3a9c0784f0
add skerner (#3428)
Signed-off-by: Asra Ali <asraa@google.com>
2020-02-25 14:35:01 -08:00
asraa 5a00564e1d [envoy] Add support for dictionaries (#3247)
* Add support for dictionaries

Signed-off-by: Asra Ali <asraa@google.com>

* multiple dictionaries

Signed-off-by: Asra Ali <asraa@google.com>

* find instead of mv

Signed-off-by: Asra Ali <asraa@google.com>
2020-01-22 10:38:59 -08:00
asraa 65956add11 fix envoy build (#3166)
Signed-off-by: Asra Ali <asraa@google.com>
2019-12-26 07:17:14 -08:00
jonathanmetzman 0a5cd93182
[Envoy][Oak] Use older builder image with older clang to build (#3147) 2019-12-17 17:29:50 -08:00
antonio 0a91ae3394 Add myself to envoy project autoccs. (#3024) 2019-11-11 14:24:18 -08:00
asraa 2b13d85d0c use updated version of cmake (#2882)
Signed-off-by: Asra Ali <asraa@google.com>
2019-09-23 13:19:02 -07:00
asraa bd41f750e9 [envoy] fix coverage build (#2672)
* [envoy] fix coverage build

Signed-off-by: Asra Ali <asraa@google.com>

* oopsgit statusgit status

Signed-off-by: Asra Ali <asraa@google.com>
2019-08-09 21:00:00 -07:00
Lizan Zhou be1baac06a [envoy] fix ubsan build (#2664)
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
2019-08-07 08:41:47 -07:00
Lizan Zhou 7f239c12a6 [envoy] fix envoy fuzz build (#2615)
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
2019-07-17 21:43:41 -07:00
Lizan Zhou 3092faf7c0 [envoy] define force_libcpp=enabled (#2586)
* envoy: force_libcpp=enabled

Signed-off-by: Lizan Zhou <lizan@tetrate.io>

* fix

Signed-off-by: Lizan Zhou <lizan@tetrate.io>
2019-07-10 15:19:11 -07:00
Matt Klein 44cbbf7def Update Envoy configuration (#2486)
Update email address.
2019-06-03 15:47:10 -07:00
htuch 7b6c4674b9 [envoy] Add new project auto CCs. (#2409)
Signed-off-by: Harvey Tuch <htuch@google.com>
2019-05-13 14:54:33 -07:00
htuch af308ce292 envoy: fix build after recent clang update. (#2387)
Signed-off-by: Harvey Tuch <htuch@google.com>
2019-05-07 07:37:14 -07:00
htuch bf05a80651 envoy: remove UBSAN blacklist. (#2351)
This is no longer needed as we handle this Envoy-side. This should fix
the build that has been broken since
https://github.com/envoyproxy/envoy/pull/6610.

Signed-off-by: Harvey Tuch <htuch@google.com>
2019-04-26 09:58:44 -07:00
htuch fe3d5c4c9c envoy: blacklist some problematic external dep UBSAN. (#2242)
Fix in progress at
https://github.com/protocolbuffers/protobuf/pull/5901, we might not
update Envoy with it for a while.

Signed-off-by: Harvey Tuch <htuch@google.com>
2019-03-18 20:32:36 -07:00
Max Moroz d1cb3ca862 [envoy] Remove debug logging and add rsync for sources from /tmp. 2019-03-01 06:41:20 -08:00
Max Moroz 014f0f5e2c [envoy] Another speculative fix for coverage build. 2019-02-28 21:00:16 -08:00
Max Moroz dfd4be9f9a [envoy] Use $HOME instead of /root as Cloud Builder seems to use non-root user. 2019-02-28 14:51:57 -08:00
Max Moroz e61b75ce75 [envoy] Make sources in bazel cache under /root readable. 2019-02-28 13:27:27 -08:00
htuch 8fe16237ef envoy: coverage support for cmake_external deps. (#2182)
This now lets us visualize nghttp2 coverage.

Tested via:

python infra/helper.py build_fuzzers --sanitizer=coverage envoy
python infra/helper.py coverage envoy -- "-ignore-filename-regex=.*\.cache.*envoy_deps_cache.*"

Requires https://github.com/envoyproxy/envoy/pull/6036 to yield useful
results.

Signed-off-by: Harvey Tuch <htuch@google.com>
2019-02-25 07:07:27 -08:00
htuch 0632162890 envoy: fix ClusterFuzz build regressions. (#2135)
Envoy should build again once
https://github.com/envoyproxy/envoy/pull/5843 and this merge.

Signed-off-by: Harvey Tuch <htuch@google.com>
2019-02-05 11:10:44 -08:00
htuch d0d79130d3 [envoy] add @jmarantz and @lizan to ACL. (#2073)
Signed-off-by: Harvey Tuch <htuch@google.com>
2019-01-07 07:27:19 -08:00
htuch 8541fad5d1 [envoy] fix non-referrant symlinks in coverage build. (#1953)
Signed-off-by: Harvey Tuch <htuch@google.com>
2018-11-14 09:53:41 -08: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
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
Max Moroz 7703e360de
[infra] Remove sancov and rename "profile" to "coverage". (#1839)
* [infra] Remove sancov and rename "profile" to "coverage".

* Bring coverage flags back.

* Update projects files that rely on SANITIZER="profile".
2018-10-01 06:43:21 -07:00
Max Moroz 91b44185ac
[envoy] Fix coverage_extra_args format. 2018-09-05 14:42:52 -07:00
htuch a9ae43ef6b [envoy] coverage_extra_args to ignore external deps. (#1777)
This is necessary due to a known limitation in how Envoy's Bazel build
of external deps works.

Signed-off-by: Harvey Tuch <htuch@google.com>
2018-09-05 08:32:59 -07:00
htuch 264e323ac3 envoy: add dio@ to auto_ccs. (#1782)
Envoy maintainer who is interested in tackling some bugs.

Signed-off-by: Harvey Tuch <htuch@google.com>
2018-08-31 14:19:27 -07:00
htuch 7a3e834f68 [envoy] recover more artifacts for coverage build. (#1768)
Signed-off-by: Harvey Tuch <htuch@google.com>
2018-08-29 20:50:53 -07:00
htuch 47f5eaa947 [envoy] remove groebert@google.com from auto_ccs. (#1770)
Signed-off-by: Harvey Tuch <htuch@google.com>
2018-08-29 16:31:10 -07:00
htuch fb01b59099 envoy: cleanup bazel symlinks. (#1767)
These were doing bad things to the profile builds, with symlink chasing
resulting in pretty terrible performance.

Hopefully resolves
https://github.com/google/oss-fuzz/pull/1724#issuecomment-416322393.

Signed-off-by: Harvey Tuch <htuch@google.com>
2018-08-28 13:04:13 -07:00
htuch 07c146c61d [envoy] auto-cc update. (#1765)
* Remove Anirudh (end of GSoC)

* Add groebert@google.com.

Signed-off-by: Harvey Tuch <htuch@google.com>
2018-08-27 09:39:05 -07:00
htuch 55cb636d13 [envoy] copy sources directly to $OUT. (#1724)
Turns out we need to be in out/proc/self/cwd, not out/src/proc/self/cwd.
In #1721, I was picking up stale artifacts from manual CLI rsync.

Signed-off-by: Harvey Tuch <htuch@google.com>
2018-08-17 06:50:01 -07:00
htuch a0f3d62a94 [envoy] profile coverage support. (#1721)
Do the path mangling and symlink resolution needed to deal with Bazel.

Signed-off-by: Harvey Tuch <htuch@google.com>
2018-08-16 17:07:56 -07:00
htuch 870f29baf8 [envoy] exclude no_fuzz tagged targets. (#1712)
This will make it easier for us to control individual test targets and
exclude trivials/bad fuzzers from the Envoy GH repo.

Signed-off-by: Harvey Tuch <htuch@google.com>
2018-08-15 06:43:21 -07:00
Max Moroz 8d3e462bd6
[infra] Prevent mounting local checkout to $SRC + clean up Dockerfiles (#1699). (#1700) 2018-08-09 12:29:31 -07:00
htuch a8521a41e9 [envoy] add -lc++fs linkopt to fix build failure (#1698)
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=9700.

Signed-off-by: Harvey Tuch <htuch@google.com>
2018-08-09 11:25:15 -07:00
htuch 74e636cfee [envoy] add ninja-build to base image. (#1656)
This recently became a build-time dependency for Envoy.

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=9586.

Signed-off-by: Harvey Tuch <htuch@google.com>
2018-07-26 06:42:24 -07:00
Anirudh cd8e557241 envoy: modified identification of corpus path (#1607) 2018-07-18 13:57:18 -07:00
Anirudh 0c9d76a000 [envoy] Add Anirudh email to auto_ccs (#1622) 2018-07-17 11:18:49 -07:00
htuch 5627490d49 envoy: automatically discover fuzz targets. (#1342)
This avoids needing to manually add targets as we grow them in the Envoy
repo.

Signed-off-by: Harvey Tuch <htuch@google.com>
2018-04-19 13:48:58 -07:00
jmillikin-stripe d7764fba81 In the Envoy build, use `$CXXFLAGS` only for C++ sources. (#1199) 2018-02-27 13:20:28 -08:00
jmillikin-stripe 8859dcda5d Envoy needs Python for its C/C++ compiler wrapper. (#1185) 2018-02-23 08:55:14 +11:00
Abhishek Arya f7b62e4365
Update project.yaml 2018-02-03 22:06:44 -08:00
Abhishek Arya 83c6b4d0a3
Update project.yaml 2018-02-03 09:44:06 -08:00
Abhishek Arya 565cbbe945
Disable UBSan to get first build (#1130) 2018-02-03 08:48:55 -08:00
Abhishek Arya 2998db4fa5
Disable UBSan vptr (#1130) 2018-02-03 08:33:30 -08:00