Commit Graph

37 Commits

Author SHA1 Message Date
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
htuch d0fc0203d2 [Envoy] Add project. (#1130)
* [Envoy] Add project.

Following the steps at
https://github.com/google/oss-fuzz/blob/master/docs/new_project_guide.md.

Signed-off-by: Harvey Tuch <htuch@google.com>

* Dockerfile review feedback.

Signed-off-by: Harvey Tuch <htuch@google.com>
2018-02-02 09:17:53 -08:00