1 # Copyright 2016 gRPC authors. 2 # 3 # Licensed under the Apache License, Version 2.0 (the "License"); 4 # you may not use this file except in compliance with the License. 5 # You may obtain a copy of the License at 6 # 7 # http://www.apache.org/licenses/LICENSE-2.0 8 # 9 # Unless required by applicable law or agreed to in writing, software 10 # distributed under the License is distributed on an "AS IS" BASIS, 11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 # See the License for the specific language governing permissions and 13 # limitations under the License. 14 15 load("//bazel:grpc_build_system.bzl", "grpc_cc_library", "grpc_cc_test", "grpc_cc_binary", "grpc_package") 16 17 grpc_package(name = "test/core/end2end/fuzzers") 18 19 licenses(["notice"]) # Apache v2 20 21 load("//test/core/util:grpc_fuzzer.bzl", "grpc_fuzzer") 22 23 grpc_fuzzer( 24 name = "api_fuzzer", 25 srcs = ["api_fuzzer.cc"], 26 language = "C++", 27 corpus = "api_fuzzer_corpus", 28 size = "enormous", 29 timeout = "eternal", 30 deps = [ 31 "//:gpr", 32 "//:grpc", 33 "//test/core/end2end:ssl_test_data", 34 "//test/core/util:grpc_test_util", 35 ], 36 ) 37 38 grpc_fuzzer( 39 name = "client_fuzzer", 40 srcs = ["client_fuzzer.cc"], 41 language = "C++", 42 corpus = "client_fuzzer_corpus", 43 deps = [ 44 "//:gpr", 45 "//:grpc", 46 "//test/core/util:grpc_test_util", 47 ], 48 ) 49 50 grpc_fuzzer( 51 name = "server_fuzzer", 52 srcs = ["server_fuzzer.cc"], 53 language = "C++", 54 corpus = "server_fuzzer_corpus", 55 deps = [ 56 "//:gpr", 57 "//:grpc", 58 "//test/core/util:grpc_test_util", 59 ], 60 ) 61