Commit Graph

29 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
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 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
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 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
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
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 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 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
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
Anirudh cd8e557241 envoy: modified identification of corpus path (#1607) 2018-07-18 13:57:18 -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
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