diff options
-rw-r--r-- | BUILD | 17 | ||||
-rw-r--r-- | tests/corpus/README | 1 | ||||
-rw-r--r-- | tests/corpus/temp.cc | 1 |
3 files changed, 10 insertions, 9 deletions
@@ -9,7 +9,6 @@ load( "make_shell_script", "upb_amalgamation", ) - load( "//bazel:upb_proto_library.bzl", "upb_proto_library", @@ -81,23 +80,23 @@ cc_library( # give up any backward compatibility guarantees. cc_library( name = "generated_code_support__only_for_generated_code_do_not_use__i_give_permission_to_break_me", - textual_hdrs = [ - "upb/port_def.inc", - "upb/port_undef.inc", - ], hdrs = [ "upb/generated_util.h", "upb/msg.h", ], - deps = [":upb"], copts = COPTS, + textual_hdrs = [ + "upb/port_def.inc", + "upb/port_undef.inc", + ], visibility = ["//visibility:public"], + deps = [":upb"], ) upb_proto_library( name = "descriptor_upbproto", - deps = ["@com_google_protobuf//:descriptor_proto"], visibility = ["//visibility:public"], + deps = ["@com_google_protobuf//:descriptor_proto"], ) cc_library( @@ -363,12 +362,12 @@ cc_test( # OSS-Fuzz test cc_binary( - testonly = 1, name = "file_descriptor_parsenew_fuzzer", + testonly = 1, srcs = ["tests/file_descriptor_parsenew_fuzzer.cc"], copts = CPPOPTS + select({ "//conditions:default": [], - ":fuzz": ["-fsanitizer=fuzzer,address"], + ":fuzz": ["-fsanitize=fuzzer,address"], }), defines = select({ "//conditions:default": [], diff --git a/tests/corpus/README b/tests/corpus/README new file mode 100644 index 0000000..9bd8f1e --- /dev/null +++ b/tests/corpus/README @@ -0,0 +1 @@ +Corpus folder for fuzzing diff --git a/tests/corpus/temp.cc b/tests/corpus/temp.cc new file mode 100644 index 0000000..2bf1160 --- /dev/null +++ b/tests/corpus/temp.cc @@ -0,0 +1 @@ +// Hello World |