From 76baf906c9789e02614014edb128e00713fefc45 Mon Sep 17 00:00:00 2001 From: Google AutoFuzz Team Date: Thu, 13 Jun 2019 11:45:53 -0400 Subject: Update BUILD with OSS-FUZZ --- BUILD | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/BUILD b/BUILD index 1d27b79..1fbdda4 100644 --- a/BUILD +++ b/BUILD @@ -356,6 +356,20 @@ cc_test( ], ) +# OSS-Fuzz test +cc_binary( + name = "file_descriptor_parsenew_fuzzer", + srcs = ["tests/file_descriptor_parsenew_fuzzer.cc"], + copts = CPPOTS + ["-fsanitizer=fuzzer,address"], + deps = [ + ":descriptor_upbproto", + ":descriptor_upbreflection", + ":upb", + ":upb_pb", + ":upb_test", + ], +) + # copybara:strip_for_google3_begin upb_proto_reflection_library( name = "descriptor_upbreflection", -- cgit v1.2.3