forked from envoyproxy/envoy
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request envoyproxy#27 from envoyproxy/master
sync to latest
- Loading branch information
Showing
2,282 changed files
with
113,859 additions
and
38,683 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# Envoy specific Bazel build/test options. | ||
|
||
build --workspace_status_command=bazel/get_workspace_status | ||
|
||
# Basic ASAN/UBSAN that works for gcc | ||
build:asan --define ENVOY_CONFIG_ASAN=1 | ||
build:asan --copt -fsanitize=address,undefined | ||
build:asan --linkopt -fsanitize=address,undefined | ||
build:asan --copt -fno-sanitize=vptr | ||
build:asan --linkopt -fno-sanitize=vptr | ||
build:asan --linkopt -ldl | ||
build:asan --define tcmalloc=disabled | ||
build:asan --build_tag_filters=-no_asan | ||
build:asan --test_tag_filters=-no_asan | ||
build:asan --define signal_trace=disabled | ||
build:asan --copt -DADDRESS_SANITIZER=1 | ||
|
||
# Clang ASAN/UBSAN | ||
build:clang-asan --define ENVOY_CONFIG_ASAN=1 | ||
build:clang-asan --copt -D__SANITIZE_ADDRESS__ | ||
build:clang-asan --copt -fsanitize=address,undefined | ||
build:clang-asan --linkopt -fsanitize=address,undefined | ||
build:clang-asan --copt -fno-sanitize=vptr | ||
build:clang-asan --linkopt -fno-sanitize=vptr | ||
build:clang-asan --copt -fno-sanitize-recover=all | ||
build:clang-asan --linkopt -ldl | ||
build:clang-asan --define tcmalloc=disabled | ||
build:clang-asan --build_tag_filters=-no_asan | ||
build:clang-asan --test_tag_filters=-no_asan | ||
build:clang-asan --define signal_trace=disabled | ||
build:clang-asan --copt -DADDRESS_SANITIZER=1 | ||
build:clang-asan --test_env=ASAN_SYMBOLIZER_PATH | ||
build:clang-asan --test_env=ASAN_OPTIONS=handle_abort=1:allow_addr2line=true:check_initialization_order=true:strict_init_order=true | ||
build:clang-asan --linkopt -fuse-ld=lld | ||
|
||
# Clang TSAN | ||
build:clang-tsan --define ENVOY_CONFIG_TSAN=1 | ||
build:clang-tsan --copt -fsanitize=thread | ||
build:clang-tsan --linkopt -fsanitize=thread | ||
build:clang-tsan --define tcmalloc=disabled | ||
build:clang-tsan --linkopt -fuse-ld=lld | ||
|
||
# Clang MSAN - broken today since we need to rebuild lib[std]c++ and external deps with MSAN | ||
# support (see https://github.com/envoyproxy/envoy/issues/443). | ||
build:clang-msan --define ENVOY_CONFIG_MSAN=1 | ||
build:clang-msan --copt -fsanitize=memory | ||
build:clang-msan --linkopt -fsanitize=memory | ||
build:clang-msan --define tcmalloc=disabled | ||
build:clang-msan --copt -fsanitize-memory-track-origins=2 | ||
build:clang-msan --linkopt -fuse-ld=lld | ||
|
||
# Test options | ||
test --test_env=HEAPCHECK=normal --test_env=PPROF_PATH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Checks: 'clang-diagnostic-*,clang-analyzer-*,abseil-*,bugprone-*,modernize-*,performance-*,readability-redundant-*,readability-braces-around-statements' | ||
|
||
#TODO(lizan): grow this list, fix possible warnings and make more checks as error | ||
WarningsAsErrors: 'bugprone-assert-side-effect,modernize-make-shared,modernize-make-unique,readability-redundant-smartptr-get,readability-braces-around-statements,readability-redundant-string-cstr,bugprone-use-after-move' | ||
|
||
CheckOptions: | ||
- key: bugprone-assert-side-effect.AssertMacros | ||
value: 'ASSERT' | ||
|
||
- key: bugprone-dangling-handle.HandleClasses | ||
value: 'std::basic_string_view;std::experimental::basic_string_view;absl::string_view' | ||
|
||
- key: modernize-use-auto.MinTypeNameLength | ||
value: '10' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,23 @@ | ||
/bazel-* | ||
BROWSE | ||
/build | ||
/build_* | ||
/docs/landing_source/.bundle | ||
/generated | ||
/bazel-* | ||
.cache | ||
/ci/bazel-* | ||
/ci/prebuilt/thirdparty | ||
/ci/prebuilt/thirdparty_build | ||
/test/coverage/BUILD | ||
compile_commands.json | ||
cscope.* | ||
BROWSE | ||
.deps | ||
/docs/landing_source/.bundle | ||
/generated | ||
*.pyc | ||
**/pyformat | ||
SOURCE_VERSION | ||
.cache | ||
*.sw* | ||
tags | ||
TAGS | ||
/test/coverage/BUILD | ||
.vimrc | ||
.vscode | ||
.vs | ||
.vscode |
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,20 @@ | ||
# TODO(zuercher): determine how we want to deal deal with auto-assignment | ||
# TODO(zuercher): determine how we want to deal with auto-assignment | ||
# By default, @envoyproxy/maintainers own everything. | ||
#* @envoyproxy/maintainers | ||
|
||
# dubbo_proxy extension | ||
/*/extensions/filters/network/dubbo_proxy @zyfjeff @lizan | ||
# thrift_proxy extension | ||
/*/extensions/filters/network/thrift_proxy @zuercher @brian-pane | ||
# jwt_authn http filter extension | ||
/*/extensions/filters/http/jwt_authn @qiwzhang @lizan | ||
# grpc_http1_reverse_bridge http filter extension | ||
/*/extensions/filters/http/grpc_http1_reverse_bridge @snowp | ||
# header_to_metadata extension | ||
/*/extensions/filters/http/header_to_metadata @rgs1 @zuercher | ||
# alts transport socket extension | ||
/*/extensions/transport_sockets/alts @lizan @yangminzhu | ||
/*/extensions/transport_sockets/alts @htuch @yangminzhu | ||
# sni_cluster extension | ||
/*/extensions/filters/network/sni_cluster @rshriram @lizan | ||
# tracers.datadog extension | ||
/*/extensions/tracers/datadog @cgilmour @palazzem |
Oops, something went wrong.