Merge github.com:grpc/grpc into strong-includes

pull/6092/head
Craig Tiller 9 years ago
commit 9d7f22477a
  1. 134
      Makefile
  2. 24
      build.yaml
  3. 25
      src/core/ext/lb_policy/grpclb/load_balancer_api.c
  4. 4
      src/proto/grpc/testing/metrics.proto
  5. BIN
      test/core/nanopb/corpus_response/0c35544f40d428d103e9c5b969ad9cd16767b110
  6. 1
      test/core/nanopb/corpus_response/0c60ee9ed55c9af6190b132ef6636c1d2abe4540
  7. BIN
      test/core/nanopb/corpus_response/0ecb3e69889c036a86d21eb942077dc9abd649be
  8. 1
      test/core/nanopb/corpus_response/1324c95dafe597fe05f9babe92fe6fbf181c1897
  9. 1
      test/core/nanopb/corpus_response/14eb42f7423081b455820daa2c02b358315dc0fa
  10. BIN
      test/core/nanopb/corpus_response/23121c5f633db5d7c1a9f2225240754246fee513
  11. BIN
      test/core/nanopb/corpus_response/235548307ee9f2b0855fded42a871990d9ade956
  12. 1
      test/core/nanopb/corpus_response/28ed3a797da3c48c309a4ef792147f3c56cfec40
  13. BIN
      test/core/nanopb/corpus_response/2bf123dbfa1d37a04493b5662a4b3b9c147485fc
  14. 1
      test/core/nanopb/corpus_response/2d4c0908ecc0310ea234d10b6bdb4f4ca3c41dd1
  15. BIN
      test/core/nanopb/corpus_response/304e8cdc9122b709ec2c063a5c8c38489a788033
  16. BIN
      test/core/nanopb/corpus_response/324d4a2aed8bc1840fee212fd38dadec80a72ea2
  17. 1
      test/core/nanopb/corpus_response/33353a0b011901a13d010c6b165074ccdaa717ac
  18. BIN
      test/core/nanopb/corpus_response/37dfead09389fcd9b9d24ef817a0fed13d8ff2b0
  19. BIN
      test/core/nanopb/corpus_response/47879cc364be304754f6af15563ad6f9a538da41
  20. 1
      test/core/nanopb/corpus_response/49a5cef4c730ecab22712b156ddba5106f165afd
  21. 1
      test/core/nanopb/corpus_response/4bbbbb794a098deeacff73b774c30f12c54ceacb
  22. BIN
      test/core/nanopb/corpus_response/4c498ce69c8476f745693deb23272930e05cad60
  23. BIN
      test/core/nanopb/corpus_response/4fb5e3085c32e9bccac9e18343cca07017d037de
  24. 1
      test/core/nanopb/corpus_response/4fe5e46c1299e7f3e8a41dde3ae1bf1b60b4a43c
  25. BIN
      test/core/nanopb/corpus_response/670cc6bae958cb4f15e7297fe63959ac5799aa42
  26. BIN
      test/core/nanopb/corpus_response/675f3263af7d1bbb084872f2b23f6d363227e85d
  27. 1
      test/core/nanopb/corpus_response/67fe0d2acc727c8a39a707b92c6cebda9bd20986
  28. 1
      test/core/nanopb/corpus_response/6d15065785eb8f4b5f17357a520cb4815a2cb355
  29. BIN
      test/core/nanopb/corpus_response/73285d7a70d73b517648067520d921e4477dbbfa
  30. 1
      test/core/nanopb/corpus_response/747d1ed8bee4c6f0438beaf88ae76d8ef9f63da2
  31. 1
      test/core/nanopb/corpus_response/763878a34b3adeb99a03b54d09768a4451617016
  32. BIN
      test/core/nanopb/corpus_response/7b4b0c2555178333ba15203a930c88ef7e7500e7
  33. 1
      test/core/nanopb/corpus_response/7b8a91aa46e370eb61307b4998889dc89775462f
  34. BIN
      test/core/nanopb/corpus_response/7cd11836c64f98742fa7beccec5c981ef4dd62ae
  35. BIN
      test/core/nanopb/corpus_response/7d8f4f045e70e8a2cb45dc3c001504f5c2614b16
  36. 1
      test/core/nanopb/corpus_response/7e9848558fb004e14795b3ebd3e1488dcde1db8c
  37. BIN
      test/core/nanopb/corpus_response/89734c37ee267e69a6950c6d60ee541c1be5ccff
  38. 1
      test/core/nanopb/corpus_response/9034aaf45143996a2b14465c352ab0c6fa26b221
  39. 1
      test/core/nanopb/corpus_response/91e3b6a3484ab4b95cdeecc5aefe1291824060e8
  40. 1
      test/core/nanopb/corpus_response/95cd94c858e5e97f7df4a5eb7552e5e0d5ce1ec4
  41. BIN
      test/core/nanopb/corpus_response/971f42d5a4d9816145ebc9dd28ba33ed3f5860b0
  42. BIN
      test/core/nanopb/corpus_response/9db3a1854de87fd643b910aeab50553afc73e667
  43. BIN
      test/core/nanopb/corpus_response/a147873135c6c52d4da03c260a0165bc0ab1b979
  44. 1
      test/core/nanopb/corpus_response/a710eead945dabbbffa213a980c75f9463a27398
  45. 1
      test/core/nanopb/corpus_response/a72406e3ca06d941fe8e168bbf67da88a81c947b
  46. BIN
      test/core/nanopb/corpus_response/a8a62a7ebb7d68b211ae319e082575935c07d188
  47. 1
      test/core/nanopb/corpus_response/a8abd012eb59b862bf9bc1ea443d2f35a1a2e222
  48. BIN
      test/core/nanopb/corpus_response/aab56035a3533b5d83a32a439f179eb678250113
  49. 1
      test/core/nanopb/corpus_response/ac174acef2c5da26fadc7270bab9c8c4e938c463
  50. 2
      test/core/nanopb/corpus_response/acbbd60eeb76e41ce254d0fef353b92abe69c831
  51. 1
      test/core/nanopb/corpus_response/c1eed32e1e353737987da851ad760312ea8e557c
  52. 1
      test/core/nanopb/corpus_response/c4214ace2c4bab24bb356f71aedca08544baad70
  53. 1
      test/core/nanopb/corpus_response/c4f87a6290aee1acfc1f26083974ce94621fca64
  54. BIN
      test/core/nanopb/corpus_response/d285d78d3ba966b4b199453d38ead1aa36a7484f
  55. 1
      test/core/nanopb/corpus_response/df5200f371cff3cae0e1595cd86d641725f5d1ba
  56. 1
      test/core/nanopb/corpus_response/dfc66cb172919102f3ba14f6816228aa46f78154
  57. BIN
      test/core/nanopb/corpus_response/e53e789a4c175c6a2c468472f1047d0fe8db1177
  58. 1
      test/core/nanopb/corpus_response/e67fe6794e755ea801272980f2c272edb027f6dc
  59. BIN
      test/core/nanopb/corpus_response/ead61e86fedf118df8e44ed70ce002be651cf291
  60. 1
      test/core/nanopb/corpus_response/eced8b29efbdc82eb8a1d0865c5f382f0ff78446
  61. BIN
      test/core/nanopb/corpus_response/f58a9135d07ea9a5e3e710f6b3bf6d48d5942dfd
  62. BIN
      test/core/nanopb/corpus_response/f8c2c4ddd2f474b4839f13a9be862c00ab0ece77
  63. 1
      test/core/nanopb/corpus_response/faa1781e1444bba5b8c677bc5e2a38d023a1ec65
  64. 1
      test/core/nanopb/corpus_response/fccda587af845f0685275960649d8f4a45272a95
  65. 3
      test/core/nanopb/corpus_serverlist/000def12957806bb0d40005cb651d35b4cde7b4e
  66. 1
      test/core/nanopb/corpus_serverlist/0068af2acc3020f344ee84b2c8adfb90492354c3
  67. BIN
      test/core/nanopb/corpus_serverlist/009132022c3a1660b701728ac92e26baf82e8eac
  68. 2
      test/core/nanopb/corpus_serverlist/00bf0233aa1155b34a3081e4a2b7a1c9cdf8ea1e
  69. 1
      test/core/nanopb/corpus_serverlist/013197cfb12b59755b807501c6d6615859f9cd3f
  70. 1
      test/core/nanopb/corpus_serverlist/018a4332eb19f2398162317cb6ad2e8cf700dfd6
  71. 1
      test/core/nanopb/corpus_serverlist/0273d3496bf5f4594e59083ac319f8f863a15be0
  72. 3
      test/core/nanopb/corpus_serverlist/0355002521e74dcdb3a0c633338bd02ab1d85312
  73. BIN
      test/core/nanopb/corpus_serverlist/053d8d6ceeba9453c97d0ee5374db863e6f77ad4
  74. 1
      test/core/nanopb/corpus_serverlist/0628c29e3ae264f8fa08652435bb3e61afe60883
  75. 2
      test/core/nanopb/corpus_serverlist/065e91578e5359b70a668164310af6f0dd40e922
  76. 1
      test/core/nanopb/corpus_serverlist/06b4b617d5937da8a7b58aed5341dc5ef6d1bcd7
  77. 3
      test/core/nanopb/corpus_serverlist/07216a4f5934890b89d845f6256546c2681350ce
  78. 1
      test/core/nanopb/corpus_serverlist/08584e8308b7f52f0fe380358800d7f585cba89c
  79. 2
      test/core/nanopb/corpus_serverlist/085a37568e99ec5855bd96affd259921515479e8
  80. 1
      test/core/nanopb/corpus_serverlist/0903d1e9297179c18de6a3707b16f27d0d54ed67
  81. 1
      test/core/nanopb/corpus_serverlist/0aa20a75bff4e8af10330c66d288e900146f1a39
  82. 1
      test/core/nanopb/corpus_serverlist/0ae76e2b24ca999bd5e09e517aa4d88f5b5f58a4
  83. 2
      test/core/nanopb/corpus_serverlist/0c3025fdfb008a6563ea2a2bb6cbc79b8ccbf8f3
  84. BIN
      test/core/nanopb/corpus_serverlist/0d219165cd317142afa36b8b5476cc022c95c4e6
  85. 2
      test/core/nanopb/corpus_serverlist/0e053123dd6256de5aff55b0731f913de250c18e
  86. 1
      test/core/nanopb/corpus_serverlist/0e065f98325849ac05eed515865b33dba0264cd4
  87. 2
      test/core/nanopb/corpus_serverlist/0e4ff715d491c9f0b471c400b71804739b6d400a
  88. 1
      test/core/nanopb/corpus_serverlist/0ec94942046cd7e00bc058204c1d046075ca9531
  89. 1
      test/core/nanopb/corpus_serverlist/0f0e8da530eb8c924cee6985d9c3dfd93274ef8c
  90. 2
      test/core/nanopb/corpus_serverlist/0ff365225c981d74b89499d1e708684ed4d0b570
  91. 2
      test/core/nanopb/corpus_serverlist/113b1efff1677c1b9a24f89aec0c3ecc228ddf62
  92. 1
      test/core/nanopb/corpus_serverlist/11697d621eab6743ba22715722d5b23830b79075
  93. 1
      test/core/nanopb/corpus_serverlist/12463318b795c756f389bc0fb1cca9645eafef28
  94. 1
      test/core/nanopb/corpus_serverlist/12784250cf16ec999529f601ae5c5798e853d34a
  95. 1
      test/core/nanopb/corpus_serverlist/13122d08c1cee0dae6434605917d4cc6d8ea8cc5
  96. BIN
      test/core/nanopb/corpus_serverlist/148a1118649dd8aa9b4ed778efdf7c1611aa5d27
  97. 2
      test/core/nanopb/corpus_serverlist/15dea2bb5fb36a3dd5172796da66a821a32918e7
  98. 1
      test/core/nanopb/corpus_serverlist/16488fe15a7e33cb41f2b7c159c99154464b3fd3
  99. 2
      test/core/nanopb/corpus_serverlist/1870a48a3c9c1dd9027cbd85beb503b43cff6e89
  100. 2
      test/core/nanopb/corpus_serverlist/1900b6a9123667a79020319aa7fd54d230bc7073
  101. Some files were not shown because too many files have changed in this diff Show More

@ -961,6 +961,8 @@ message_compress_test: $(BINDIR)/$(CONFIG)/message_compress_test
mlog_test: $(BINDIR)/$(CONFIG)/mlog_test
multiple_server_queues_test: $(BINDIR)/$(CONFIG)/multiple_server_queues_test
murmur_hash_test: $(BINDIR)/$(CONFIG)/murmur_hash_test
nanopb_fuzzer_response_test: $(BINDIR)/$(CONFIG)/nanopb_fuzzer_response_test
nanopb_fuzzer_serverlist_test: $(BINDIR)/$(CONFIG)/nanopb_fuzzer_serverlist_test
no_server_test: $(BINDIR)/$(CONFIG)/no_server_test
resolve_address_test: $(BINDIR)/$(CONFIG)/resolve_address_test
secure_channel_create_test: $(BINDIR)/$(CONFIG)/secure_channel_create_test
@ -1114,6 +1116,8 @@ h2_uds_nosec_test: $(BINDIR)/$(CONFIG)/h2_uds_nosec_test
hpack_parser_fuzzer_test_one_entry: $(BINDIR)/$(CONFIG)/hpack_parser_fuzzer_test_one_entry
http_fuzzer_test_one_entry: $(BINDIR)/$(CONFIG)/http_fuzzer_test_one_entry
json_fuzzer_test_one_entry: $(BINDIR)/$(CONFIG)/json_fuzzer_test_one_entry
nanopb_fuzzer_response_test_one_entry: $(BINDIR)/$(CONFIG)/nanopb_fuzzer_response_test_one_entry
nanopb_fuzzer_serverlist_test_one_entry: $(BINDIR)/$(CONFIG)/nanopb_fuzzer_serverlist_test_one_entry
uri_fuzzer_test_one_entry: $(BINDIR)/$(CONFIG)/uri_fuzzer_test_one_entry
run_dep_checks:
@ -1337,6 +1341,8 @@ buildtests_c: privatelibs_c \
$(BINDIR)/$(CONFIG)/hpack_parser_fuzzer_test_one_entry \
$(BINDIR)/$(CONFIG)/http_fuzzer_test_one_entry \
$(BINDIR)/$(CONFIG)/json_fuzzer_test_one_entry \
$(BINDIR)/$(CONFIG)/nanopb_fuzzer_response_test_one_entry \
$(BINDIR)/$(CONFIG)/nanopb_fuzzer_serverlist_test_one_entry \
$(BINDIR)/$(CONFIG)/uri_fuzzer_test_one_entry \
@ -8667,6 +8673,70 @@ endif
endif
NANOPB_FUZZER_RESPONSE_TEST_SRC = \
test/core/nanopb/fuzzer_response.c \
NANOPB_FUZZER_RESPONSE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(NANOPB_FUZZER_RESPONSE_TEST_SRC))))
ifeq ($(NO_SECURE),true)
# You can't build secure targets if you don't have OpenSSL.
$(BINDIR)/$(CONFIG)/nanopb_fuzzer_response_test: openssl_dep_error
else
$(BINDIR)/$(CONFIG)/nanopb_fuzzer_response_test: $(NANOPB_FUZZER_RESPONSE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
$(E) "[LD] Linking $@"
$(Q) mkdir -p `dirname $@`
$(Q) $(LDXX) $(LDFLAGS) $(NANOPB_FUZZER_RESPONSE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -lFuzzer -o $(BINDIR)/$(CONFIG)/nanopb_fuzzer_response_test
endif
$(OBJDIR)/$(CONFIG)/test/core/nanopb/fuzzer_response.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
deps_nanopb_fuzzer_response_test: $(NANOPB_FUZZER_RESPONSE_TEST_OBJS:.o=.dep)
ifneq ($(NO_SECURE),true)
ifneq ($(NO_DEPS),true)
-include $(NANOPB_FUZZER_RESPONSE_TEST_OBJS:.o=.dep)
endif
endif
NANOPB_FUZZER_SERVERLIST_TEST_SRC = \
test/core/nanopb/fuzzer_serverlist.c \
NANOPB_FUZZER_SERVERLIST_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(NANOPB_FUZZER_SERVERLIST_TEST_SRC))))
ifeq ($(NO_SECURE),true)
# You can't build secure targets if you don't have OpenSSL.
$(BINDIR)/$(CONFIG)/nanopb_fuzzer_serverlist_test: openssl_dep_error
else
$(BINDIR)/$(CONFIG)/nanopb_fuzzer_serverlist_test: $(NANOPB_FUZZER_SERVERLIST_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
$(E) "[LD] Linking $@"
$(Q) mkdir -p `dirname $@`
$(Q) $(LDXX) $(LDFLAGS) $(NANOPB_FUZZER_SERVERLIST_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -lFuzzer -o $(BINDIR)/$(CONFIG)/nanopb_fuzzer_serverlist_test
endif
$(OBJDIR)/$(CONFIG)/test/core/nanopb/fuzzer_serverlist.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
deps_nanopb_fuzzer_serverlist_test: $(NANOPB_FUZZER_SERVERLIST_TEST_OBJS:.o=.dep)
ifneq ($(NO_SECURE),true)
ifneq ($(NO_DEPS),true)
-include $(NANOPB_FUZZER_SERVERLIST_TEST_OBJS:.o=.dep)
endif
endif
NO_SERVER_TEST_SRC = \
test/core/end2end/no_server_test.c \
@ -13696,6 +13766,70 @@ endif
endif
NANOPB_FUZZER_RESPONSE_TEST_ONE_ENTRY_SRC = \
test/core/nanopb/fuzzer_response.c \
NANOPB_FUZZER_RESPONSE_TEST_ONE_ENTRY_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(NANOPB_FUZZER_RESPONSE_TEST_ONE_ENTRY_SRC))))
ifeq ($(NO_SECURE),true)
# You can't build secure targets if you don't have OpenSSL.
$(BINDIR)/$(CONFIG)/nanopb_fuzzer_response_test_one_entry: openssl_dep_error
else
$(BINDIR)/$(CONFIG)/nanopb_fuzzer_response_test_one_entry: $(NANOPB_FUZZER_RESPONSE_TEST_ONE_ENTRY_OBJS) $(LIBDIR)/$(CONFIG)/libone_input_fuzzer.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
$(E) "[LD] Linking $@"
$(Q) mkdir -p `dirname $@`
$(Q) $(LD) $(LDFLAGS) $(NANOPB_FUZZER_RESPONSE_TEST_ONE_ENTRY_OBJS) $(LIBDIR)/$(CONFIG)/libone_input_fuzzer.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/nanopb_fuzzer_response_test_one_entry
endif
$(OBJDIR)/$(CONFIG)/test/core/nanopb/fuzzer_response.o: $(LIBDIR)/$(CONFIG)/libone_input_fuzzer.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
deps_nanopb_fuzzer_response_test_one_entry: $(NANOPB_FUZZER_RESPONSE_TEST_ONE_ENTRY_OBJS:.o=.dep)
ifneq ($(NO_SECURE),true)
ifneq ($(NO_DEPS),true)
-include $(NANOPB_FUZZER_RESPONSE_TEST_ONE_ENTRY_OBJS:.o=.dep)
endif
endif
NANOPB_FUZZER_SERVERLIST_TEST_ONE_ENTRY_SRC = \
test/core/nanopb/fuzzer_serverlist.c \
NANOPB_FUZZER_SERVERLIST_TEST_ONE_ENTRY_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(NANOPB_FUZZER_SERVERLIST_TEST_ONE_ENTRY_SRC))))
ifeq ($(NO_SECURE),true)
# You can't build secure targets if you don't have OpenSSL.
$(BINDIR)/$(CONFIG)/nanopb_fuzzer_serverlist_test_one_entry: openssl_dep_error
else
$(BINDIR)/$(CONFIG)/nanopb_fuzzer_serverlist_test_one_entry: $(NANOPB_FUZZER_SERVERLIST_TEST_ONE_ENTRY_OBJS) $(LIBDIR)/$(CONFIG)/libone_input_fuzzer.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
$(E) "[LD] Linking $@"
$(Q) mkdir -p `dirname $@`
$(Q) $(LD) $(LDFLAGS) $(NANOPB_FUZZER_SERVERLIST_TEST_ONE_ENTRY_OBJS) $(LIBDIR)/$(CONFIG)/libone_input_fuzzer.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/nanopb_fuzzer_serverlist_test_one_entry
endif
$(OBJDIR)/$(CONFIG)/test/core/nanopb/fuzzer_serverlist.o: $(LIBDIR)/$(CONFIG)/libone_input_fuzzer.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
deps_nanopb_fuzzer_serverlist_test_one_entry: $(NANOPB_FUZZER_SERVERLIST_TEST_ONE_ENTRY_OBJS:.o=.dep)
ifneq ($(NO_SECURE),true)
ifneq ($(NO_DEPS),true)
-include $(NANOPB_FUZZER_SERVERLIST_TEST_ONE_ENTRY_OBJS:.o=.dep)
endif
endif
URI_FUZZER_TEST_ONE_ENTRY_SRC = \
test/core/client_config/uri_fuzzer_test.c \

@ -1941,6 +1941,30 @@ targets:
deps:
- gpr_test_util
- gpr
- name: nanopb_fuzzer_response_test
build: fuzzer
language: c
src:
- test/core/nanopb/fuzzer_response.c
deps:
- grpc_test_util
- grpc
- gpr_test_util
- gpr
corpus_dirs:
- test/core/nanopb/corpus_response
- name: nanopb_fuzzer_serverlist_test
build: fuzzer
language: c
src:
- test/core/nanopb/fuzzer_serverlist.c
deps:
- grpc_test_util
- grpc
- gpr_test_util
- gpr
corpus_dirs:
- test/core/nanopb/corpus_serverlist
- name: no_server_test
cpu_cost: 0.1
build: test

@ -110,13 +110,15 @@ grpc_grpclb_response *grpc_grpclb_response_parse(gpr_slice encoded_response) {
grpc_grpclb_response *res = gpr_malloc(sizeof(grpc_grpclb_response));
memset(res, 0, sizeof(*res));
status = pb_decode(&stream, grpc_lb_v0_LoadBalanceResponse_fields, res);
GPR_ASSERT(status == true);
if (!status) {
grpc_grpclb_response_destroy(res);
return NULL;
}
return res;
}
grpc_grpclb_serverlist *grpc_grpclb_response_parse_serverlist(
gpr_slice encoded_response) {
grpc_grpclb_serverlist *sl = gpr_malloc(sizeof(grpc_grpclb_serverlist));
bool status;
decode_serverlist_arg arg;
pb_istream_t stream =
@ -131,15 +133,20 @@ grpc_grpclb_serverlist *grpc_grpclb_response_parse_serverlist(
res->server_list.servers.arg = &arg;
arg.first_pass = 1;
status = pb_decode(&stream, grpc_lb_v0_LoadBalanceResponse_fields, res);
GPR_ASSERT(status == true);
GPR_ASSERT(arg.num_servers > 0);
if (!status) {
grpc_grpclb_response_destroy(res);
return NULL;
}
arg.first_pass = 0;
status =
pb_decode(&stream_at_start, grpc_lb_v0_LoadBalanceResponse_fields, res);
GPR_ASSERT(status == true);
GPR_ASSERT(arg.servers != NULL);
if (!status) {
grpc_grpclb_response_destroy(res);
return NULL;
}
grpc_grpclb_serverlist *sl = gpr_malloc(sizeof(grpc_grpclb_serverlist));
sl->num_servers = arg.num_servers;
sl->servers = arg.servers;
if (res->server_list.has_expiration_interval) {
@ -150,8 +157,10 @@ grpc_grpclb_serverlist *grpc_grpclb_response_parse_serverlist(
}
void grpc_grpclb_destroy_serverlist(grpc_grpclb_serverlist *serverlist) {
size_t i;
for (i = 0; i < serverlist->num_servers; i++) {
if (serverlist == NULL) {
return;
}
for (size_t i = 0; i < serverlist->num_servers; i++) {
gpr_free(serverlist->servers[i]);
}
gpr_free(serverlist->servers);

@ -1,4 +1,4 @@
// Copyright 2015, Google Inc.
// Copyright 2015-2016, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
@ -42,7 +42,7 @@ message GaugeResponse {
string name = 1;
oneof value {
int64 long_value = 2;
double double_vale = 3;
double double_value = 3;
string string_value = 4;
}
}

@ -0,0 +1 @@
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD>;΃;<EFBFBD>)<EFBFBD>%<EFBFBD>))<EFBFBD>%<EFBFBD>)::

@ -0,0 +1 @@
(z%;:8!(Ľ;Şo!>::†©;=Č( );Ź;!ŢŘ*:):B(r''' *ţEŕh;**!!Ý****

@ -0,0 +1 @@
(z%;:8!(Ľ;Ş!>::†©;=Č( );Ź;!ŢŘ*:):B(r''' *ţEŕh;**!!Ý****

@ -0,0 +1 @@
(z!;:8!(Ľ;Şo!>::†©;=Č( );Źö;!ŢŘ*:):B(r''' *ţEŕh;**!!Ý****

@ -0,0 +1 @@
(z%;28!(Ľ;Ş!*>::†(z%;28!(Ľ;Ş!>::†ůâĺň©

@ -0,0 +1 @@
a¶(6)!á•( !!)b:'Ü:*¤();Ì0<EFBFBD>();)Ï(|)ÿ!V)'*¡!t<b߶…*!(b*()(:dVj)

@ -0,0 +1 @@
<EFBFBD><EFBFBD>'<EFBFBD>)%<EFBFBD><EFBFBD><EFBFBD><EFBFBD>):

@ -0,0 +1 @@
<EFBFBD><EFBFBD>'<EFBFBD><EFBFBD>)<EFBFBD>%<EFBFBD>):

@ -0,0 +1 @@
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ν<EFBFBD>);<EFBFBD>)<EFBFBD>

@ -0,0 +1 @@
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)<EFBFBD>;<EFBFBD>)<EFBFBD>%<EFBFBD>):

@ -0,0 +1 @@
ùâåò!Ù.!Nñrª:U:(œ;!á)*):!'i)b):þ°)'!P!:'á•***!)H:*)(àñÍ*

@ -0,0 +1 @@
<EFBFBD><EFBFBD>'<EFBFBD>)%<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD>)<EFBFBD><EFBFBD><EFBFBD>2<EFBFBD>;΃;<EFBFBD>)<EFBFBD>%<EFBFBD>):)

@ -0,0 +1 @@
z(!;:8!(¼;ªo!>::†©;=È( );<EFBFBD>ö;!ÞØ*:):B(r''' *Eàhþ;**!!Ý****

@ -0,0 +1,2 @@
½ƒ;Î)±}!;*;*°'';y©É:p +'!(S‘ð?±(¬;I:;:*:w!)èŽwÄÂ)>Å?)N!õ;)—
'

@ -0,0 +1 @@
<EFBFBD>)<EFBFBD>;<EFBFBD>)<EFBFBD>}):):\!;):bJ):'\b*

@ -0,0 +1 @@
):\bJ'!:׸¶…''*Ž;» *j:M[(…¤!yć“:)T˛P'^)(0©!e&–°<EFBFBD>(*W;Ânc''(!$)

@ -0,0 +1 @@
((³34('‰Äúx¡'¦/<EFBFBD>8(ô](:'çxR$;§'*”!(Ú(!k:(³;;*(/'-½':*:mç4'å%·Â

@ -0,0 +1 @@
(z%;28!(╪;╙!>::├╘;=( ;;)!х▐чьm!''В:)┬*:')

@ -0,0 +1 @@
(z%;28!(Ľ;Ş!*>::†(z%;28!(Ľ;Ş!>::†©©Ď

@ -0,0 +1 @@
<EFBFBD><EFBFBD>'<EFBFBD>)%<EFBFBD>'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>)<EFBFBD>;<EFBFBD>)<EFBFBD>}9:):\!;):bJ)):'\:b*

@ -0,0 +1,3 @@
 Ι=Ι<EFBFBD>
'!
Ι)='! 'οο ' ½=ο!)**Ν

@ -0,0 +1,2 @@
Ų;Ų
UõUú‰Ù( Ų;²UUú‰*Ų;²UÅÙ(Ž²'Ö!…z%)#­

@ -0,0 +1 @@
)B!B!à@)ò);'Ç“¢ƒ§'à@*::sED'tÂ'–!();!)*!­)

@ -0,0 +1 @@
<EFBFBD><EFBFBD><EFBFBD>Wo:'<EFBFBD>*#!@ :*)<EFBFBD><EFBFBD><EFBFBD>Wo:'Wo*'!@*()*()@)(!:)<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(!'

@ -0,0 +1,3 @@
!¼;@oCÙ'–((!*Ú*'‚'*')
!((š;!x!(*:)ÞNË):y
œ“)I;ô):()”o:;©ä(*(;

@ -0,0 +1 @@
2;ς•:.<ύ:* ::ƒ<EFBFBD>*<EFBFBD>):’<EFBFBD>ά:2;ς•:τ(γ**.<ύ:* ::ƒ<EFBFBD>*<EFBFBD>)!'dv!*!”Ύ(;'**:W

@ -0,0 +1,3 @@
)╜'ш╕)U!a ьГ∙оЬиЪв' и=иЪ
!'!и
)='! О  и=Ъ '):(:

@ -0,0 +1 @@
Øì÷(!½Æ)!5Sã::`…¶(<EFBFBD>p½!'e€*'U)))(:)婤;*:!p(È':Ö¶;óÑ))e);À'!;:µ

@ -0,0 +1,2 @@
Α²•W!o:'μ*#! Α::()*@:)Α|²²²Α;9!'
²Αƒ'’²

@ -0,0 +1 @@
(Õ';¤**´'Xò;)()<!*Â9*!<EFBFBD>(t;*î{R'! *:Èz!µ\ù<EFBFBD>;(U^Ò)a8ä(:Î'Çuy';**

@ -0,0 +1,2 @@
!¼+@oCÙ'–((!*Ú*'‚'*')!!¼;@oCÙ'–((!*Ú*''*' !
’Œš;!x!(*(:)ÞNËš

@ -0,0 +1 @@
ČŻőÜ!:)'*l:*\!D)…');ČŻőÜ!WŃŻČŃŻ2Ü:!:*ň)!D\ő*:l)…');W‘ŻőČŃŻÜ

@ -0,0 +1 @@
'P:*!/!;'Щ*;kЬ*!'l;А‚°Q'(јг:)'*о#в;+З»(›І(«;w'!*

@ -0,0 +1,2 @@
!]!א
״לֶ½קלֶ½‰ק( ) !!;n(!!

@ -0,0 +1,2 @@
)­'Ϋ¦)U!a Ψη•ΟψΙ<EFBFBD>Χ' Ι=Ι<EFBFBD>
'!pΙ)='! 'οο  Ι=<EFBFBD> '):(:

@ -0,0 +1 @@
P:*:!/!;'Ù*;kÜ*!'l;À‚°Ê'¼Q:)'*;#+âîÇ»(›²(«;w'!* !J;Ó**)))r

@ -0,0 +1 @@
!)fB!(j)ň !)!Z!'!*M)!:“ ó'ŘH(ă‰T('ŻfBŇ!ű)

@ -0,0 +1 @@
2;ň•:.<ý:* ::<EFBFBD>ž*Š):’ŞÜ:ô(ă**!'dv!*!”ľ(;'**W›!Řâ( !;;:/*f§¨Ça°î

@ -0,0 +1 @@
'=ο!)**Ν(()#υhΥ|'µ)T;“Υq£!(S<EFBFBD>!*(*(4!;)*A!+*'§:*<EFBFBD>;µk;'ΆΓp*!Ώ)

@ -0,0 +1,2 @@
!
(!Øìƽ‰÷(!)!°S::Ô`…Â<EFBFBD>¶(!q"!½!€e&@n;*'Un)))

@ -0,0 +1,2 @@
!¼+@kCÙ'–((!*Ú*'‚'*')!)(;!x!(*:)ÞyËNœ“)
:)I*ô):()”o:;©'(*(;

@ -0,0 +1,2 @@
)­'Ϋ¦)U!a Ψη•ΟψΙ<EFBFBD>Χ' Ι=Ι<EFBFBD>
'!I)='! 'οο  Ι=<EFBFBD> '):(:

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save