|
|
@ -657,10 +657,10 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { |
|
|
|
grpc_test_only_set_metadata_hash_seed(0); |
|
|
|
grpc_test_only_set_metadata_hash_seed(0); |
|
|
|
if (squelch) gpr_set_log_function(dont_log); |
|
|
|
if (squelch) gpr_set_log_function(dont_log); |
|
|
|
input_stream inp = {data, data + size}; |
|
|
|
input_stream inp = {data, data + size}; |
|
|
|
grpc_resolve_address = my_resolve_address; |
|
|
|
|
|
|
|
grpc_tcp_client_connect_impl = my_tcp_client_connect; |
|
|
|
grpc_tcp_client_connect_impl = my_tcp_client_connect; |
|
|
|
gpr_now_impl = now_impl; |
|
|
|
gpr_now_impl = now_impl; |
|
|
|
grpc_init(); |
|
|
|
grpc_init(); |
|
|
|
|
|
|
|
grpc_resolve_address = my_resolve_address; |
|
|
|
|
|
|
|
|
|
|
|
GPR_ASSERT(g_channel == NULL); |
|
|
|
GPR_ASSERT(g_channel == NULL); |
|
|
|
GPR_ASSERT(g_server == NULL); |
|
|
|
GPR_ASSERT(g_server == NULL); |
|
|
|