From 648061ea66c966eaf6f90084aaecdf658e0c2fee Mon Sep 17 00:00:00 2001 From: Guillermo Rey Date: Sat, 7 Feb 2026 18:50:20 +0100 Subject: [PATCH 1/5] Stop using the bazel-provided proto rules and use @protobuf's instead. This makes it possible to build with Bazel 9. --- centipede/BUILD | 3 ++- fuzztest/internal/BUILD | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/centipede/BUILD b/centipede/BUILD index db313450..cedd30d8 100644 --- a/centipede/BUILD +++ b/centipede/BUILD @@ -15,7 +15,8 @@ # Description: # Centipede: an experimental distributed fuzzing engine. -load("@rules_proto//proto:defs.bzl", "proto_library") +load("@protobuf//bazel:proto_library.bzl", "proto_library") +load("@protobuf//bazel:cc_proto_library.bzl", "cc_proto_library") load("@rules_cc//cc:cc_binary.bzl", "cc_binary") load("@rules_cc//cc:cc_library.bzl", "cc_library") load("@rules_cc//cc:cc_static_library.bzl", "cc_static_library") diff --git a/fuzztest/internal/BUILD b/fuzztest/internal/BUILD index ce749d40..e1067c00 100644 --- a/fuzztest/internal/BUILD +++ b/fuzztest/internal/BUILD @@ -15,7 +15,8 @@ load("@flatbuffers//:build_defs.bzl", "flatbuffer_library_public") load("@rules_cc//cc:cc_library.bzl", "cc_library") load("@rules_cc//cc:cc_test.bzl", "cc_test") -load("@rules_proto//proto:defs.bzl", "proto_library") +load("@protobuf//bazel:proto_library.bzl", "proto_library") +load("@protobuf//bazel:cc_proto_library.bzl", "cc_proto_library") package(default_visibility = ["@com_google_fuzztest//:__subpackages__"]) From 6a2d0f36521c898c67fda30831a45e8991ed806e Mon Sep 17 00:00:00 2001 From: Guillermo Rey Date: Sat, 7 Feb 2026 18:52:48 +0100 Subject: [PATCH 2/5] Use @fuzztest instead of @com_google_fuzztest in setup_configs.sh --- bazel/setup_configs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bazel/setup_configs.sh b/bazel/setup_configs.sh index 8a6524b1..4f0b1f31 100755 --- a/bazel/setup_configs.sh +++ b/bazel/setup_configs.sh @@ -9,7 +9,7 @@ cat < fuzztest.bazelrc +# bazel run @fuzztest//bazel:setup_configs > fuzztest.bazelrc # # And don't forget to add the following to your project's .bazelrc: # @@ -95,7 +95,7 @@ cat < Date: Sat, 7 Feb 2026 18:55:27 +0100 Subject: [PATCH 3/5] Enable the newer way of specifying assertion-mode on libc++. See https://libcxx.llvm.org/Hardening.html --- bazel/setup_configs.sh | 4 ++-- e2e_tests/functional_test.cc | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/bazel/setup_configs.sh b/bazel/setup_configs.sh index 4f0b1f31..74b25a7b 100755 --- a/bazel/setup_configs.sh +++ b/bazel/setup_configs.sh @@ -29,8 +29,8 @@ build:fuzztest-common --copt=-DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION build:fuzztest-common --copt=-UNDEBUG # Enable libc++ assertions. -# See https://libcxx.llvm.org/UsingLibcxx.html#enabling-the-safe-libc-mode -build:fuzztest-common --copt=-D_LIBCPP_ENABLE_ASSERTIONS=1 +# See https://libcxx.llvm.org/Hardening.html +build:fuzztest-common --copt=-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE EOF diff --git a/e2e_tests/functional_test.cc b/e2e_tests/functional_test.cc index 3ccbcc1c..03f75ea2 100644 --- a/e2e_tests/functional_test.cc +++ b/e2e_tests/functional_test.cc @@ -1561,7 +1561,8 @@ TEST_P(FuzzingModeCrashFindingTest, TEST_P(FuzzingModeCrashFindingTest, DereferencingEmptyOptionalTriggersLibcppAssertionsWhenEnabled) { -#if defined(_LIBCPP_VERSION) && defined(_LIBCPP_ENABLE_ASSERTIONS) +#if defined(_LIBCPP_VERSION) && \ + (defined(_LIBCPP_ENABLE_ASSERTIONS) || defined(_LIBCPP_HARDENING_MODE)) auto [status, std_out, std_err] = Run("MySuite.DereferenceEmptyOptional"); EXPECT_THAT_LOG(std_err, HasSubstr("argument 0: std::nullopt")); ExpectTargetAbort(status, std_err); From fac0c8312026e4be5d1efc54b4a7b4675f0a4b04 Mon Sep 17 00:00:00 2001 From: Guillermo Rey Date: Sat, 7 Feb 2026 19:13:43 +0100 Subject: [PATCH 4/5] git-ignore bazel-generated files and folders. --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..7f69f3af --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/bazel-* +MODULE.bazel.lock From 28464a53dfb994dc9caa5e4c7743d9e6ecf01d29 Mon Sep 17 00:00:00 2001 From: Guillermo Rey Date: Sat, 7 Feb 2026 19:16:17 +0100 Subject: [PATCH 5/5] Switch to new `@fuzztest` repo name. --- MODULE.bazel | 2 - build_defs/cc_fuzztest_grammar_library.bzl | 6 +- centipede/BUILD | 374 +++++++++---------- centipede/USER_MIGRATION.md | 4 +- centipede/dso_example/BUILD | 8 +- centipede/puzzles/BUILD | 2 +- centipede/puzzles/puzzle.bzl | 6 +- centipede/testing/BUILD | 84 ++--- centipede/testing/build_defs.bzl | 2 +- centipede/tools/BUILD | 10 +- codelab/BUILD | 4 +- common/BUILD | 16 +- domain_tests/BUILD | 86 ++--- e2e_tests/BUILD | 74 ++-- e2e_tests/testdata/BUILD | 46 +-- fuzztest/BUILD | 66 ++-- fuzztest/internal/BUILD | 102 ++--- fuzztest/internal/domains/BUILD | 90 ++--- grammar_codegen/BUILD | 12 +- grammar_codegen/generated_antlr_parser/BUILD | 2 +- tools/BUILD | 4 +- tools/minimizer.sh | 2 +- 22 files changed, 500 insertions(+), 502 deletions(-) diff --git a/MODULE.bazel b/MODULE.bazel index ea81e22d..69545ebd 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -15,8 +15,6 @@ module( name = "fuzztest", version = "head", - # TODO(lszekeres): Remove and use default name. - repo_name = "com_google_fuzztest", ) bazel_dep( diff --git a/build_defs/cc_fuzztest_grammar_library.bzl b/build_defs/cc_fuzztest_grammar_library.bzl index 633991af..f3165b1d 100644 --- a/build_defs/cc_fuzztest_grammar_library.bzl +++ b/build_defs/cc_fuzztest_grammar_library.bzl @@ -39,7 +39,7 @@ def cc_fuzztest_grammar_library(name, srcs, top_level_rule = None, insert_whites """ output_file_name = name + ".h" - cmd = "$(location @com_google_fuzztest//tools:grammar_domain_code_generator)" + \ + cmd = "$(location @fuzztest//tools:grammar_domain_code_generator)" + \ " --output_header_file_path " + "$(@D)/" + output_file_name + \ (" --insert_whitespace" if insert_whitespace else " --noinsert_whitespace") + \ " --input_grammar_files " + "`echo $(SRCS) | tr ' ' ','`" @@ -52,10 +52,10 @@ def cc_fuzztest_grammar_library(name, srcs, top_level_rule = None, insert_whites outs = [output_file_name], cmd = cmd, heuristic_label_expansion = False, - tools = ["@com_google_fuzztest//tools:grammar_domain_code_generator"], + tools = ["@fuzztest//tools:grammar_domain_code_generator"], ) cc_library( name = name, hdrs = [output_file_name], - deps = ["@com_google_fuzztest//fuzztest/internal/domains:in_grammar_impl"], + deps = ["@fuzztest//fuzztest/internal/domains:in_grammar_impl"], ) diff --git a/centipede/BUILD b/centipede/BUILD index cedd30d8..31fdd97b 100644 --- a/centipede/BUILD +++ b/centipede/BUILD @@ -63,8 +63,8 @@ cc_binary( ":util", "@abseil-cpp//absl/base:nullability", "@abseil-cpp//absl/flags:flag", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//common:remote_file", + "@fuzztest//common:logging", + "@fuzztest//common:remote_file", ], ) @@ -79,10 +79,10 @@ cc_binary( "@abseil-cpp//absl/status", "@abseil-cpp//absl/strings:str_format", "@abseil-cpp//absl/time", - "@com_google_fuzztest//common:blob_file", - "@com_google_fuzztest//common:defs", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//common:remote_file", + "@fuzztest//common:blob_file", + "@fuzztest//common:defs", + "@fuzztest//common:logging", + "@fuzztest//common:remote_file", ], ) @@ -136,7 +136,7 @@ cc_library( "@abseil-cpp//absl/container:node_hash_set", "@abseil-cpp//absl/strings", "@abseil-cpp//absl/types:span", - "@com_google_fuzztest//common:logging", + "@fuzztest//common:logging", ], ) @@ -169,8 +169,8 @@ cc_library( hdrs = ["pc_info.h"], deps = [ "@abseil-cpp//absl/types:span", - "@com_google_fuzztest//common:defs", - "@com_google_fuzztest//common:logging", + "@fuzztest//common:defs", + "@fuzztest//common:logging", ], ) @@ -182,7 +182,7 @@ cc_library( # Avoid non-trivial dependencies here, as this library will be linked to target binaries. deps = [ "@abseil-cpp//absl/types:span", - "@com_google_fuzztest//common:defs", + "@fuzztest//common:defs", ], ) @@ -216,10 +216,10 @@ cc_library( "@abseil-cpp//absl/strings:str_format", "@abseil-cpp//absl/synchronization", "@abseil-cpp//absl/types:span", - "@com_google_fuzztest//common:defs", - "@com_google_fuzztest//common:hash", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//common:remote_file", + "@fuzztest//common:defs", + "@fuzztest//common:hash", + "@fuzztest//common:logging", + "@fuzztest//common:remote_file", ], ) @@ -262,8 +262,8 @@ cc_library( "@abseil-cpp//absl/flags:parse", "@abseil-cpp//absl/flags:reflection", "@abseil-cpp//absl/strings", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//common:remote_file", + "@fuzztest//common:logging", + "@fuzztest//common:remote_file", ], ) @@ -274,7 +274,7 @@ cc_library( "@abseil-cpp//absl/base:core_headers", "@abseil-cpp//absl/functional:any_invocable", "@abseil-cpp//absl/synchronization", - "@com_google_fuzztest//common:logging", + "@fuzztest//common:logging", ], ) @@ -287,7 +287,7 @@ cc_library( "@abseil-cpp//absl/strings", "@abseil-cpp//absl/strings:str_format", "@abseil-cpp//absl/time", - "@com_google_fuzztest//common:logging", + "@fuzztest//common:logging", ], ) @@ -304,7 +304,7 @@ cc_library( "@abseil-cpp//absl/strings:str_format", "@abseil-cpp//absl/synchronization", "@abseil-cpp//absl/time", - "@com_google_fuzztest//common:logging", + "@fuzztest//common:logging", ], ) @@ -319,7 +319,7 @@ cc_library( "@abseil-cpp//absl/strings", "@abseil-cpp//absl/synchronization", "@abseil-cpp//absl/time", - "@com_google_fuzztest//common:logging", + "@fuzztest//common:logging", ], ) @@ -355,8 +355,8 @@ cc_library( "@abseil-cpp//absl/strings:str_format", "@abseil-cpp//absl/time", "@abseil-cpp//absl/types:span", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//common:remote_file", + "@fuzztest//common:logging", + "@fuzztest//common:remote_file", ], ) @@ -375,9 +375,9 @@ cc_library( ":workdir", "@abseil-cpp//absl/base:core_headers", "@abseil-cpp//absl/synchronization", - "@com_google_fuzztest//common:defs", - "@com_google_fuzztest//common:hash", - "@com_google_fuzztest//common:logging", + "@fuzztest//common:defs", + "@fuzztest//common:hash", + "@fuzztest//common:logging", ], ) @@ -396,9 +396,9 @@ cc_library( ":workdir", "@abseil-cpp//absl/container:flat_hash_map", "@abseil-cpp//absl/container:flat_hash_set", - "@com_google_fuzztest//common:defs", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//common:remote_file", + "@fuzztest//common:defs", + "@fuzztest//common:logging", + "@fuzztest//common:remote_file", ], ) @@ -425,7 +425,7 @@ cc_library( deps = [ # This target must have a minimal set of dependencies since it is # used in centipede_runner. - "@com_google_fuzztest//common:defs", + "@fuzztest//common:defs", ":shared_memory_blob_sequence", ], ) @@ -441,7 +441,7 @@ cc_library( ":feature", ":execution_metadata", ":shared_memory_blob_sequence", - "@com_google_fuzztest//common:defs", + "@fuzztest//common:defs", ], ) @@ -456,7 +456,7 @@ cc_library( ":shared_memory_blob_sequence", ":execution_metadata", ":mutation_input", - "@com_google_fuzztest//common:defs", + "@fuzztest//common:defs", ], ) @@ -467,7 +467,7 @@ cc_library( deps = [ # This target must have a minimal set of dependencies since it is # used in centipede_runner. - "@com_google_fuzztest//common:defs", + "@fuzztest//common:defs", ":execution_metadata", ], ) @@ -483,7 +483,7 @@ cc_library( ":knobs", ":mutation_input", "@abseil-cpp//absl/base:nullability", - "@com_google_fuzztest//common:defs", + "@fuzztest//common:defs", ], ) @@ -502,9 +502,9 @@ cc_library( "@abseil-cpp//absl/container:flat_hash_set", "@abseil-cpp//absl/strings", "@abseil-cpp//absl/synchronization", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//common:remote_file", - "@com_google_fuzztest//common:status_macros", + "@fuzztest//common:logging", + "@fuzztest//common:remote_file", + "@fuzztest//common:status_macros", ], ) @@ -521,9 +521,9 @@ cc_library( "@abseil-cpp//absl/container:flat_hash_map", "@abseil-cpp//absl/container:flat_hash_set", "@abseil-cpp//absl/strings", - "@com_google_fuzztest//common:defs", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//common:remote_file", + "@fuzztest//common:defs", + "@fuzztest//common:logging", + "@fuzztest//common:remote_file", ], ) @@ -538,7 +538,7 @@ cc_library( ":pc_info", "@abseil-cpp//absl/container:flat_hash_map", "@abseil-cpp//absl/container:flat_hash_set", - "@com_google_fuzztest//common:logging", + "@fuzztest//common:logging", ], ) @@ -551,7 +551,7 @@ cc_library( ":feature", ":util", "@abseil-cpp//absl/strings", - "@com_google_fuzztest//common:logging", + "@fuzztest//common:logging", ], ) @@ -572,10 +572,10 @@ cc_library( "@abseil-cpp//absl/random", "@abseil-cpp//absl/random:bit_gen_ref", "@abseil-cpp//absl/strings", - "@com_google_fuzztest//common:defs", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//common:remote_file", - "@com_google_fuzztest//common:status_macros", + "@fuzztest//common:defs", + "@fuzztest//common:logging", + "@fuzztest//common:remote_file", + "@fuzztest//common:status_macros", ], ) @@ -593,7 +593,7 @@ cc_library( "@abseil-cpp//absl/strings:str_format", "@abseil-cpp//absl/synchronization", "@abseil-cpp//absl/time", - "@com_google_fuzztest//common:logging", + "@fuzztest//common:logging", ], ) @@ -609,8 +609,8 @@ cc_library( ":symbol_table", ":util", "@abseil-cpp//absl/strings", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//common:remote_file", + "@fuzztest//common:logging", + "@fuzztest//common:remote_file", ], ) @@ -639,10 +639,10 @@ cc_library( "@abseil-cpp//absl/strings", "@abseil-cpp//absl/synchronization", "@abseil-cpp//absl/time", - "@com_google_fuzztest//common:blob_file", - "@com_google_fuzztest//common:defs", - "@com_google_fuzztest//common:hash", - "@com_google_fuzztest//common:logging", + "@fuzztest//common:blob_file", + "@fuzztest//common:defs", + "@fuzztest//common:hash", + "@fuzztest//common:logging", ], ) @@ -657,11 +657,11 @@ cc_library( "@abseil-cpp//absl/status", "@abseil-cpp//absl/time", "@abseil-cpp//absl/types:span", - "@com_google_fuzztest//common:blob_file", - "@com_google_fuzztest//common:defs", - "@com_google_fuzztest//common:hash", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//common:remote_file", + "@fuzztest//common:blob_file", + "@fuzztest//common:defs", + "@fuzztest//common:hash", + "@fuzztest//common:logging", + "@fuzztest//common:remote_file", ], ) @@ -683,7 +683,7 @@ cc_library( srcs = ["environment_flags.cc"], hdrs = ["environment_flags.h"], defines = select({ - "@com_google_fuzztest//fuzztest:disable_riegeli": ["CENTIPEDE_DISABLE_RIEGELI"], + "@fuzztest//fuzztest:disable_riegeli": ["CENTIPEDE_DISABLE_RIEGELI"], "//conditions:default": [], }), deps = [ @@ -692,7 +692,7 @@ cc_library( "@abseil-cpp//absl/flags:flag", "@abseil-cpp//absl/strings", "@abseil-cpp//absl/time", - "@com_google_fuzztest//common:logging", + "@fuzztest//common:logging", ], ) @@ -735,12 +735,12 @@ cc_library( "@abseil-cpp//absl/strings:str_format", "@abseil-cpp//absl/synchronization", "@abseil-cpp//absl/time", - "@com_google_fuzztest//common:blob_file", - "@com_google_fuzztest//common:defs", - "@com_google_fuzztest//common:hash", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//common:remote_file", - "@com_google_fuzztest//common:status_macros", + "@fuzztest//common:blob_file", + "@fuzztest//common:defs", + "@fuzztest//common:hash", + "@fuzztest//common:logging", + "@fuzztest//common:remote_file", + "@fuzztest//common:status_macros", ], ) @@ -777,14 +777,14 @@ cc_library( "@abseil-cpp//absl/strings:str_format", "@abseil-cpp//absl/time", "@abseil-cpp//absl/types:span", - "@com_google_fuzztest//common:bazel", - "@com_google_fuzztest//common:blob_file", - "@com_google_fuzztest//common:defs", - "@com_google_fuzztest//common:hash", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//common:remote_file", - "@com_google_fuzztest//common:status_macros", - "@com_google_fuzztest//fuzztest/internal:configuration", + "@fuzztest//common:bazel", + "@fuzztest//common:blob_file", + "@fuzztest//common:defs", + "@fuzztest//common:hash", + "@fuzztest//common:logging", + "@fuzztest//common:remote_file", + "@fuzztest//common:status_macros", + "@fuzztest//fuzztest/internal:configuration", ] + select({ "//conditions:default": [], }), @@ -795,7 +795,7 @@ cc_library( srcs = ["environment.cc"], hdrs = ["environment.h"], defines = select({ - "@com_google_fuzztest//fuzztest:disable_riegeli": ["CENTIPEDE_DISABLE_RIEGELI"], + "@fuzztest//fuzztest:disable_riegeli": ["CENTIPEDE_DISABLE_RIEGELI"], "//conditions:default": [], }), deps = [ @@ -808,11 +808,11 @@ cc_library( "@abseil-cpp//absl/flags:marshalling", "@abseil-cpp//absl/strings", "@abseil-cpp//absl/time", - "@com_google_fuzztest//common:defs", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//common:remote_file", - "@com_google_fuzztest//common:status_macros", - "@com_google_fuzztest//fuzztest/internal:configuration", + "@fuzztest//common:defs", + "@fuzztest//common:logging", + "@fuzztest//common:remote_file", + "@fuzztest//common:status_macros", + "@fuzztest//fuzztest/internal:configuration", ], ) @@ -837,12 +837,12 @@ cc_library( "@abseil-cpp//absl/strings", "@abseil-cpp//absl/synchronization", "@abseil-cpp//absl/time", - "@com_google_fuzztest//common:blob_file", - "@com_google_fuzztest//common:defs", - "@com_google_fuzztest//common:hash", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//common:remote_file", - "@com_google_fuzztest//common:status_macros", + "@fuzztest//common:blob_file", + "@fuzztest//common:defs", + "@fuzztest//common:hash", + "@fuzztest//common:logging", + "@fuzztest//common:remote_file", + "@fuzztest//common:status_macros", ], ) @@ -858,8 +858,8 @@ cc_library( ":stop", "@abseil-cpp//absl/status", "@abseil-cpp//absl/status:statusor", - "@com_google_fuzztest//common:defs", - "@com_google_fuzztest//common:logging", + "@fuzztest//common:defs", + "@fuzztest//common:logging", ], ) @@ -874,10 +874,10 @@ cc_library( ":mutation_input", "@abseil-cpp//absl/random", "@abseil-cpp//absl/types:span", - "@com_google_fuzztest//common:defs", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//fuzztest:domain_core", - "@com_google_fuzztest//fuzztest/internal:table_of_recent_compares", + "@fuzztest//common:defs", + "@fuzztest//common:logging", + "@fuzztest//fuzztest:domain_core", + "@fuzztest//fuzztest/internal:table_of_recent_compares", ], ) @@ -897,12 +897,12 @@ cc_library( "@abseil-cpp//absl/status:statusor", "@abseil-cpp//absl/strings", "@abseil-cpp//absl/time", - "@com_google_fuzztest//common:crashing_input_filename", - "@com_google_fuzztest//common:defs", - "@com_google_fuzztest//common:hash", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//common:remote_file", - "@com_google_fuzztest//common:status_macros", + "@fuzztest//common:crashing_input_filename", + "@fuzztest//common:defs", + "@fuzztest//common:hash", + "@fuzztest//common:logging", + "@fuzztest//common:remote_file", + "@fuzztest//common:status_macros", ], ) @@ -914,8 +914,8 @@ cc_library( ":util", "@abseil-cpp//absl/strings:str_format", "@abseil-cpp//absl/types:span", - "@com_google_fuzztest//common:defs", - "@com_google_fuzztest//common:hash", + "@fuzztest//common:defs", + "@fuzztest//common:hash", ], ) @@ -960,7 +960,7 @@ cc_library( ":runner_result", ":shared_memory_blob_sequence", "@abseil-cpp//absl/base:nullability", - "@com_google_fuzztest//common:defs", + "@fuzztest//common:defs", ], ) @@ -1038,7 +1038,7 @@ RUNNER_DEPS = [ ":runner_request", ":runner_result", ":shared_memory_blob_sequence", - "@com_google_fuzztest//common:defs", + "@fuzztest//common:defs", "@abseil-cpp//absl/base:core_headers", "@abseil-cpp//absl/base:nullability", "@abseil-cpp//absl/numeric:bits", @@ -1098,7 +1098,7 @@ cc_library( ":centipede_runner_no_main", ":mutation_input", "@abseil-cpp//absl/base:nullability", - "@com_google_fuzztest//common:defs", + "@fuzztest//common:defs", ], ) @@ -1129,11 +1129,11 @@ cc_library( "@abseil-cpp//absl/strings", "@abseil-cpp//absl/strings:str_format", "@abseil-cpp//absl/time", - "@com_google_fuzztest//common:blob_file", - "@com_google_fuzztest//common:defs", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//common:remote_file", - "@com_google_fuzztest//common:status_macros", + "@fuzztest//common:blob_file", + "@fuzztest//common:defs", + "@fuzztest//common:logging", + "@fuzztest//common:remote_file", + "@fuzztest//common:status_macros", ], ) @@ -1149,9 +1149,9 @@ cc_library( "@abseil-cpp//absl/status", "@abseil-cpp//absl/status:statusor", "@abseil-cpp//absl/strings", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//common:remote_file", - "@com_google_fuzztest//common:status_macros", + "@fuzztest//common:logging", + "@fuzztest//common:remote_file", + "@fuzztest//common:status_macros", "@protobuf", ], ) @@ -1180,7 +1180,7 @@ cc_library( "sancov_object_array.h", "sancov_state.cc", "sancov_state.h", - "@com_google_fuzztest//common:defs.h", + "@fuzztest//common:defs.h", ], hdrs = [ "sancov_runtime.h", @@ -1221,7 +1221,7 @@ cc_library( ":environment", "@abseil-cpp//absl/strings", "@abseil-cpp//absl/strings:str_format", - "@com_google_fuzztest//common:logging", + "@fuzztest//common:logging", ], ) @@ -1238,8 +1238,8 @@ cc_library( ":mutation_input", ":runner_result", ":util", - "@com_google_fuzztest//common:defs", - "@com_google_fuzztest//common:logging", + "@fuzztest//common:defs", + "@fuzztest//common:logging", ], ) @@ -1265,7 +1265,7 @@ cc_test( ":control_flow", ":pc_info", ":symbol_table", - "@com_google_fuzztest//common:test_util", + "@fuzztest//common:test_util", "@googletest//:gtest_main", ], ) @@ -1277,7 +1277,7 @@ cc_test( ":centipede_callbacks", ":environment", ":runner_result", - "@com_google_fuzztest//common:defs", + "@fuzztest//common:defs", "@googletest//:gtest_main", ], ) @@ -1288,8 +1288,8 @@ cc_test( deps = [ ":environment", "@abseil-cpp//absl/time", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//fuzztest/internal:configuration", + "@fuzztest//common:logging", + "@fuzztest//fuzztest/internal:configuration", "@googletest//:gtest_main", ], ) @@ -1341,9 +1341,9 @@ cc_test( ":thread_pool", ":util", "@abseil-cpp//absl/container:flat_hash_map", - "@com_google_fuzztest//common:defs", - "@com_google_fuzztest//common:hash", - "@com_google_fuzztest//common:logging", + "@fuzztest//common:defs", + "@fuzztest//common:hash", + "@fuzztest//common:logging", "@googletest//:gtest_main", ], ) @@ -1356,7 +1356,7 @@ cc_test( ":environment", # buildcleaner:keep ":config_util", ":environment_flags", - "@com_google_fuzztest//common:logging", + "@fuzztest//common:logging", "@googletest//:gtest_main", "@abseil-cpp//absl/flags:flag", ], @@ -1385,7 +1385,7 @@ cc_test( "@abseil-cpp//absl/flags:flag", "@abseil-cpp//absl/synchronization", "@abseil-cpp//absl/time", - "@com_google_fuzztest//common:logging", + "@fuzztest//common:logging", "@googletest//:gtest_main", ], ) @@ -1401,10 +1401,10 @@ cc_test( ":util", ":workdir", "@abseil-cpp//absl/flags:reflection", - "@com_google_fuzztest//common:blob_file", - "@com_google_fuzztest//common:defs", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//common:test_util", + "@fuzztest//common:blob_file", + "@fuzztest//common:defs", + "@fuzztest//common:logging", + "@fuzztest//common:test_util", "@googletest//:gtest_main", ], ) @@ -1420,7 +1420,7 @@ cc_test( ":rusage_stats", "@abseil-cpp//absl/flags:flag", "@abseil-cpp//absl/time", - "@com_google_fuzztest//common:logging", + "@fuzztest//common:logging", "@googletest//:gtest_main", ], ) @@ -1437,8 +1437,8 @@ cc_test( "@abseil-cpp//absl/log:log_sink_registry", "@abseil-cpp//absl/strings", "@abseil-cpp//absl/time", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//common:test_util", + "@fuzztest//common:logging", + "@fuzztest//common:test_util", "@googletest//:gtest_main", ], ) @@ -1454,8 +1454,8 @@ cc_test( ":util", ":workdir", "@abseil-cpp//absl/base:nullability", - "@com_google_fuzztest//common:defs", - "@com_google_fuzztest//common:test_util", + "@fuzztest//common:defs", + "@fuzztest//common:test_util", "@googletest//:gtest_main", ], ) @@ -1464,9 +1464,9 @@ cc_test( name = "analyze_corpora_test", srcs = ["analyze_corpora_test.cc"], data = [ - "@com_google_fuzztest//centipede/testing:test_fuzz_target", - "@com_google_fuzztest//centipede/testing:test_fuzz_target_trace_pc", - "@com_google_fuzztest//centipede/testing:threaded_fuzz_target", + "@fuzztest//centipede/testing:test_fuzz_target", + "@fuzztest//centipede/testing:test_fuzz_target_trace_pc", + "@fuzztest//centipede/testing:threaded_fuzz_target", ], deps = [ ":analyze_corpora", @@ -1474,9 +1474,9 @@ cc_test( ":environment", ":symbol_table", ":test_coverage_util", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//common:remote_file", - "@com_google_fuzztest//common:test_util", + "@fuzztest//common:logging", + "@fuzztest//common:remote_file", + "@fuzztest//common:test_util", "@googletest//:gtest_main", ], ) @@ -1496,7 +1496,7 @@ cc_test( deps = [ ":execution_metadata", ":shared_memory_blob_sequence", - "@com_google_fuzztest//common:defs", + "@fuzztest//common:defs", "@googletest//:gtest_main", ], ) @@ -1509,8 +1509,8 @@ cc_test( ":feature", ":runner_result", ":shared_memory_blob_sequence", - "@com_google_fuzztest//common:defs", - "@com_google_fuzztest//common:test_util", + "@fuzztest//common:defs", + "@fuzztest//common:test_util", "@googletest//:gtest_main", ], ) @@ -1520,7 +1520,7 @@ cc_test( srcs = ["mutation_input_test.cc"], deps = [ ":mutation_input", - "@com_google_fuzztest//common:defs", + "@fuzztest//common:defs", "@googletest//:gtest_main", ], ) @@ -1535,7 +1535,7 @@ cc_test( ":mutation_input", ":runner_cmp_trace", "@abseil-cpp//absl/container:flat_hash_set", - "@com_google_fuzztest//common:defs", + "@fuzztest//common:defs", "@googletest//:gtest_main", ], ) @@ -1568,7 +1568,7 @@ cc_test( ":mutation_input", "@abseil-cpp//absl/container:flat_hash_set", "@abseil-cpp//absl/strings", - "@com_google_fuzztest//common:defs", + "@fuzztest//common:defs", "@googletest//:gtest_main", ], ) @@ -1602,7 +1602,7 @@ cc_test( ":callstack", "@abseil-cpp//absl/base:nullability", "@abseil-cpp//absl/container:flat_hash_set", - "@com_google_fuzztest//common:defs", + "@fuzztest//common:defs", "@googletest//:gtest_main", ], ) @@ -1627,10 +1627,10 @@ cc_test( ":util", ":workdir", "@abseil-cpp//absl/types:span", - "@com_google_fuzztest//common:blob_file", - "@com_google_fuzztest//common:defs", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//common:test_util", + "@fuzztest//common:blob_file", + "@fuzztest//common:defs", + "@fuzztest//common:logging", + "@fuzztest//common:test_util", "@googletest//:gtest_main", ], ) @@ -1648,8 +1648,8 @@ cc_test( ":pc_info", ":runner_result", ":util", - "@com_google_fuzztest//common:defs", - "@com_google_fuzztest//common:test_util", + "@fuzztest//common:defs", + "@fuzztest//common:test_util", "@googletest//:gtest_main", ], ) @@ -1673,7 +1673,7 @@ cc_test( ":util", "@abseil-cpp//absl/strings", "@abseil-cpp//absl/time", - "@com_google_fuzztest//common:test_util", + "@fuzztest//common:test_util", "@googletest//:gtest_main", ], ) @@ -1692,9 +1692,9 @@ cc_test( name = "control_flow_test", srcs = ["control_flow_test.cc"], data = [ - "@com_google_fuzztest//centipede/testing:test_fuzz_target", - "@com_google_fuzztest//centipede/testing:test_fuzz_target_trace_pc", - "@com_google_fuzztest//centipede/testing:threaded_fuzz_target", + "@fuzztest//centipede/testing:test_fuzz_target", + "@fuzztest//centipede/testing:test_fuzz_target_trace_pc", + "@fuzztest//centipede/testing:threaded_fuzz_target", ], deps = [ ":binary_info", @@ -1703,8 +1703,8 @@ cc_test( ":symbol_table", ":thread_pool", "@abseil-cpp//absl/container:flat_hash_map", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//common:test_util", + "@fuzztest//common:logging", + "@fuzztest//common:test_util", "@googletest//:gtest_main", ], ) @@ -1717,7 +1717,7 @@ cc_test( ":control_flow", ":pc_info", "@abseil-cpp//absl/container:flat_hash_set", - "@com_google_fuzztest//common:logging", + "@fuzztest//common:logging", "@googletest//:gtest_main", ], ) @@ -1739,10 +1739,10 @@ cc_test( ":seed_corpus_maker_lib", ":workdir", "@abseil-cpp//absl/strings", - "@com_google_fuzztest//common:defs", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//common:remote_file", - "@com_google_fuzztest//common:test_util", + "@fuzztest//common:defs", + "@fuzztest//common:logging", + "@fuzztest//common:remote_file", + "@fuzztest//common:test_util", "@googletest//:gtest_main", ], ) @@ -1757,8 +1757,8 @@ cc_test( ":seed_corpus_maker_proto_lib", ":workdir", "@abseil-cpp//absl/strings", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//common:test_util", + "@fuzztest//common:logging", + "@fuzztest//common:test_util", "@googletest//:gtest_main", ], ) @@ -1767,9 +1767,9 @@ cc_test( name = "coverage_test", srcs = ["coverage_test.cc"], data = [ - "@com_google_fuzztest//centipede/testing:test_fuzz_target", - "@com_google_fuzztest//centipede/testing:test_fuzz_target_trace_pc", - "@com_google_fuzztest//centipede/testing:threaded_fuzz_target", + "@fuzztest//centipede/testing:test_fuzz_target", + "@fuzztest//centipede/testing:test_fuzz_target_trace_pc", + "@fuzztest//centipede/testing:threaded_fuzz_target", ], deps = [ ":binary_info", @@ -1783,7 +1783,7 @@ cc_test( ":thread_pool", ":util", "@abseil-cpp//absl/container:flat_hash_set", - "@com_google_fuzztest//common:test_util", + "@fuzztest//common:test_util", "@googletest//:gtest_main", ], ) @@ -1797,7 +1797,7 @@ cc_test( ":thread_pool", "@abseil-cpp//absl/status", "@abseil-cpp//absl/time", - "@com_google_fuzztest//common:logging", + "@fuzztest//common:logging", "@googletest//:gtest_main", ], ) @@ -1809,7 +1809,7 @@ cc_test( ":periodic_action", "@abseil-cpp//absl/synchronization", "@abseil-cpp//absl/time", - "@com_google_fuzztest//common:logging", + "@fuzztest//common:logging", "@googletest//:gtest_main", ], ) @@ -1870,9 +1870,9 @@ cc_test( "@abseil-cpp//absl/container:flat_hash_map", "@abseil-cpp//absl/strings:str_format", "@abseil-cpp//absl/time", - "@com_google_fuzztest//common:defs", - "@com_google_fuzztest//common:hash", - "@com_google_fuzztest//common:temp_dir", + "@fuzztest//common:defs", + "@fuzztest//common:hash", + "@fuzztest//common:temp_dir", "@googletest//:gtest_main", ], ) @@ -1882,7 +1882,7 @@ cc_test( srcs = ["crash_summary_test.cc"], deps = [ ":crash_summary", - "@com_google_fuzztest//common:logging", + "@fuzztest//common:logging", "@googletest//:gtest_main", ], ) @@ -1896,15 +1896,15 @@ cc_test( timeout = "long", srcs = ["centipede_test.cc"], data = [ - "@com_google_fuzztest//centipede/testing:abort_fuzz_target", - "@com_google_fuzztest//centipede/testing:async_failing_target", - "@com_google_fuzztest//centipede/testing:expensive_startup_fuzz_target", - "@com_google_fuzztest//centipede/testing:fuzz_target_with_config", - "@com_google_fuzztest//centipede/testing:fuzz_target_with_custom_mutator", - "@com_google_fuzztest//centipede/testing:hanging_fuzz_target", - "@com_google_fuzztest//centipede/testing:seeded_fuzz_target", - "@com_google_fuzztest//centipede/testing:test_fuzz_target", - "@com_google_fuzztest//centipede/testing:test_input_filter", + "@fuzztest//centipede/testing:abort_fuzz_target", + "@fuzztest//centipede/testing:async_failing_target", + "@fuzztest//centipede/testing:expensive_startup_fuzz_target", + "@fuzztest//centipede/testing:fuzz_target_with_config", + "@fuzztest//centipede/testing:fuzz_target_with_custom_mutator", + "@fuzztest//centipede/testing:hanging_fuzz_target", + "@fuzztest//centipede/testing:seeded_fuzz_target", + "@fuzztest//centipede/testing:test_fuzz_target", + "@fuzztest//centipede/testing:test_input_filter", ], deps = [ ":centipede_callbacks", @@ -1920,10 +1920,10 @@ cc_test( "@abseil-cpp//absl/container:flat_hash_set", "@abseil-cpp//absl/strings", "@abseil-cpp//absl/time", - "@com_google_fuzztest//common:defs", - "@com_google_fuzztest//common:hash", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//common:test_util", + "@fuzztest//common:defs", + "@fuzztest//common:hash", + "@fuzztest//common:logging", + "@fuzztest//common:test_util", "@googletest//:gtest_main", ], ) diff --git a/centipede/USER_MIGRATION.md b/centipede/USER_MIGRATION.md index 953ffb48..de7b9d17 100644 --- a/centipede/USER_MIGRATION.md +++ b/centipede/USER_MIGRATION.md @@ -15,6 +15,6 @@ references with the following steps: 2. In the Bazel BUILD/bzl files, replace any references of the Centipede repository `@centipede//` with the new package path - `@com_google_fuzztest//centipede` in the FuzzTest repository. E.g. + `@fuzztest//centipede` in the FuzzTest repository. E.g. `@centipede//:centipede_runner` becomes - `@com_google_fuzztest//centipede:centipede_runner`. + `@fuzztest//centipede:centipede_runner`. diff --git a/centipede/dso_example/BUILD b/centipede/dso_example/BUILD index 1a2effe0..a7f80909 100644 --- a/centipede/dso_example/BUILD +++ b/centipede/dso_example/BUILD @@ -37,7 +37,7 @@ cc_binary( linkopts = ["-ldl"], linkstatic = False, deps = [ - "@com_google_fuzztest//centipede:centipede_runner_no_main", # build-cleaner:keep + "@fuzztest//centipede:centipede_runner_no_main", # build-cleaner:keep ], ) @@ -56,10 +56,10 @@ sh_test( ":fuzz_me.so", ":main", ":main_with_dlopen", - "@com_google_fuzztest//centipede", - "@com_google_fuzztest//centipede:centipede_runner_no_main.so", + "@fuzztest//centipede", + "@fuzztest//centipede:centipede_runner_no_main.so", ], deps = [ - "@com_google_fuzztest//centipede:test_util_sh", + "@fuzztest//centipede:test_util_sh", ], ) diff --git a/centipede/puzzles/BUILD b/centipede/puzzles/BUILD index b87aad06..b95b86ad 100644 --- a/centipede/puzzles/BUILD +++ b/centipede/puzzles/BUILD @@ -24,7 +24,7 @@ load(":puzzle.bzl", "puzzle") licenses(["notice"]) -package(default_visibility = ["@com_google_fuzztest//centipede/puzzles:__subpackages__"]) +package(default_visibility = ["@fuzztest//centipede/puzzles:__subpackages__"]) # The puzzles use a simple configuration language, see run_puzzle.sh. [puzzle(name = n) for n in [ diff --git a/centipede/puzzles/puzzle.bzl b/centipede/puzzles/puzzle.bzl index 9b26d57a..01d33638 100644 --- a/centipede/puzzles/puzzle.bzl +++ b/centipede/puzzles/puzzle.bzl @@ -14,7 +14,7 @@ """BUILD rule for Centipede puzzles""" -load("@com_google_fuzztest//centipede/testing:build_defs.bzl", "centipede_fuzz_target") +load("@fuzztest//centipede/testing:build_defs.bzl", "centipede_fuzz_target") def puzzle(name): """Generates a cc_fuzz_target target instrumented with sancov and a sh script to run it. @@ -41,7 +41,7 @@ def puzzle(name): data = [ ":" + name, name + ".cc", - "@com_google_fuzztest//centipede:centipede_uninstrumented", - "@com_google_fuzztest//centipede:test_util_sh", + "@fuzztest//centipede:centipede_uninstrumented", + "@fuzztest//centipede:test_util_sh", ], ) diff --git a/centipede/testing/BUILD b/centipede/testing/BUILD index ffffb600..2ede8ffc 100644 --- a/centipede/testing/BUILD +++ b/centipede/testing/BUILD @@ -18,7 +18,7 @@ load("@rules_cc//cc:cc_shared_library.bzl", "cc_shared_library") load(":build_defs.bzl", "centipede_fuzz_target") package(default_visibility = [ - "@com_google_fuzztest//centipede:__subpackages__", + "@fuzztest//centipede:__subpackages__", ]) licenses(["notice"]) @@ -58,8 +58,8 @@ cc_binary( "@abseil-cpp//absl/base:nullability", "@abseil-cpp//absl/flags:flag", "@abseil-cpp//absl/flags:parse", - "@com_google_fuzztest//centipede:centipede_runner_no_main", - "@com_google_fuzztest//common:defs", + "@fuzztest//centipede:centipede_runner_no_main", + "@fuzztest//common:defs", ], ) @@ -82,9 +82,9 @@ cc_binary( "@abseil-cpp//absl/base:nullability", "@abseil-cpp//absl/flags:flag", "@abseil-cpp//absl/flags:parse", - "@com_google_fuzztest//centipede:centipede_runner_no_main", - "@com_google_fuzztest//centipede:mutation_input", - "@com_google_fuzztest//common:defs", + "@fuzztest//centipede:centipede_runner_no_main", + "@fuzztest//centipede:mutation_input", + "@fuzztest//common:defs", ], ) @@ -122,8 +122,8 @@ cc_binary( ], deps = [ "@abseil-cpp//absl/base:nullability", - "@com_google_fuzztest//centipede:centipede_runner_no_main", - "@com_google_fuzztest//common:defs", + "@fuzztest//centipede:centipede_runner_no_main", + "@fuzztest//common:defs", ], ) @@ -145,7 +145,7 @@ cc_binary( deps = [ "@abseil-cpp//absl/log:check", "@abseil-cpp//absl/strings", - "@com_google_fuzztest//centipede:centipede_runner_no_main", + "@fuzztest//centipede:centipede_runner_no_main", ], ) @@ -166,8 +166,8 @@ cc_binary( ], deps = [ "@abseil-cpp//absl/base:nullability", - "@com_google_fuzztest//centipede:centipede_runner_no_main", - "@com_google_fuzztest//common:defs", + "@fuzztest//centipede:centipede_runner_no_main", + "@fuzztest//common:defs", ], ) @@ -189,8 +189,8 @@ cc_binary( "@abseil-cpp//absl/base:nullability", "@abseil-cpp//absl/log:check", "@abseil-cpp//absl/strings", - "@com_google_fuzztest//centipede:centipede_runner_no_main", - "@com_google_fuzztest//common:defs", + "@fuzztest//centipede:centipede_runner_no_main", + "@fuzztest//common:defs", ], ) @@ -284,7 +284,7 @@ cc_binary( ], deps = [ ":multi_dso_target_lib", - "@com_google_fuzztest//centipede:centipede_runner", + "@fuzztest//centipede:centipede_runner", ], ) @@ -311,7 +311,7 @@ cc_binary( linkstatic = False, deps = [ ":data_only_dso_target_lib", - "@com_google_fuzztest//centipede:centipede_runner", + "@fuzztest//centipede:centipede_runner", ], ) @@ -356,9 +356,9 @@ sh_test( data = [ ":abort_fuzz_target", ":test_fuzz_target", - "@com_google_fuzztest//centipede", - "@com_google_fuzztest//centipede:test_fuzzing_util_sh", - "@com_google_fuzztest//centipede:test_util_sh", + "@fuzztest//centipede", + "@fuzztest//centipede:test_fuzzing_util_sh", + "@fuzztest//centipede:test_util_sh", ], ) @@ -368,8 +368,8 @@ sh_test( data = [ ":test_fuzz_target", ":test_fuzz_target_non_pie", - "@com_google_fuzztest//centipede", - "@com_google_fuzztest//centipede:test_util_sh", + "@fuzztest//centipede", + "@fuzztest//centipede:test_util_sh", ], ) @@ -378,7 +378,7 @@ sh_test( srcs = ["instrumentation_test.sh"], data = [ ":empty_fuzz_target", - "@com_google_fuzztest//centipede:test_util_sh", + "@fuzztest//centipede:test_util_sh", ], ) @@ -387,7 +387,7 @@ sh_test( srcs = ["dump_binary_info_test.sh"], data = [ ":multi_dso_target", - "@com_google_fuzztest//centipede:test_util_sh", + "@fuzztest//centipede:test_util_sh", ], ) @@ -396,8 +396,8 @@ sh_test( srcs = ["multi_dso_test.sh"], data = [ ":multi_dso_target", - "@com_google_fuzztest//centipede", - "@com_google_fuzztest//centipede:test_util_sh", + "@fuzztest//centipede", + "@fuzztest//centipede:test_util_sh", ], ) @@ -406,8 +406,8 @@ sh_test( srcs = ["data_only_dso_test.sh"], data = [ ":data_only_dso_target", - "@com_google_fuzztest//centipede", - "@com_google_fuzztest//centipede:test_util_sh", + "@fuzztest//centipede", + "@fuzztest//centipede:test_util_sh", ], ) @@ -416,8 +416,8 @@ sh_test( srcs = ["trace_pc_test.sh"], data = [ ":abort_fuzz_target_trace_pc", - "@com_google_fuzztest//centipede", - "@com_google_fuzztest//centipede:test_util_sh", + "@fuzztest//centipede", + "@fuzztest//centipede:test_util_sh", ], ) @@ -426,8 +426,8 @@ sh_test( srcs = ["inline_8bit_counters_test.sh"], data = [ ":abort_fuzz_target_inline_8bit_counters", - "@com_google_fuzztest//centipede", - "@com_google_fuzztest//centipede:test_util_sh", + "@fuzztest//centipede", + "@fuzztest//centipede:test_util_sh", ], ) @@ -436,8 +436,8 @@ sh_test( srcs = ["minimize_crash_test.sh"], data = [ ":minimize_me_fuzz_target", - "@com_google_fuzztest//centipede", - "@com_google_fuzztest//centipede:test_util_sh", + "@fuzztest//centipede", + "@fuzztest//centipede:test_util_sh", ], ) @@ -446,8 +446,8 @@ sh_test( srcs = ["runner_cleanup_test.sh"], data = [ ":random_rejecting_fuzz_target", - "@com_google_fuzztest//centipede", - "@com_google_fuzztest//centipede:test_util_sh", + "@fuzztest//centipede", + "@fuzztest//centipede:test_util_sh", ], ) @@ -456,8 +456,8 @@ sh_test( srcs = ["user_defined_features_test.sh"], data = [ ":user_defined_features_target", - "@com_google_fuzztest//centipede", - "@com_google_fuzztest//centipede:test_util_sh", + "@fuzztest//centipede", + "@fuzztest//centipede:test_util_sh", ], ) @@ -466,8 +466,8 @@ sh_test( srcs = ["no_startup_features_test.sh"], data = [ ":expensive_startup_fuzz_target", - "@com_google_fuzztest//centipede", - "@com_google_fuzztest//centipede:test_util_sh", + "@fuzztest//centipede", + "@fuzztest//centipede:test_util_sh", ], ) @@ -478,8 +478,8 @@ sh_test( data = [ "clusterfuzz_format_sanitized_target", "clusterfuzz_format_target", - "@com_google_fuzztest//centipede", - "@com_google_fuzztest//centipede:test_util_sh", + "@fuzztest//centipede", + "@fuzztest//centipede:test_util_sh", ], ) @@ -489,7 +489,7 @@ sh_test( data = [ ":external_target", ":external_target_server", - "@com_google_fuzztest//centipede", - "@com_google_fuzztest//centipede:test_util_sh", + "@fuzztest//centipede", + "@fuzztest//centipede:test_util_sh", ], ) diff --git a/centipede/testing/build_defs.bzl b/centipede/testing/build_defs.bzl index 15221979..90431e1d 100644 --- a/centipede/testing/build_defs.bzl +++ b/centipede/testing/build_defs.bzl @@ -167,7 +167,7 @@ def centipede_fuzz_target( native.cc_binary( name = fuzz_target, srcs = srcs or [name + ".cc"], - deps = deps + ["@com_google_fuzztest//centipede:centipede_runner"], + deps = deps + ["@fuzztest//centipede:centipede_runner"], copts = copts, linkopts = linkopts + [ "-ldl", diff --git a/centipede/tools/BUILD b/centipede/tools/BUILD index 2546bb67..d4403cca 100644 --- a/centipede/tools/BUILD +++ b/centipede/tools/BUILD @@ -27,10 +27,10 @@ cc_binary( "@abseil-cpp//absl/status", "@abseil-cpp//absl/status:statusor", "@abseil-cpp//absl/strings:string_view", - "@com_google_fuzztest//centipede:feature", - "@com_google_fuzztest//centipede:util", - "@com_google_fuzztest//common:blob_file", - "@com_google_fuzztest//common:defs", - "@com_google_fuzztest//common:logging", + "@fuzztest//centipede:feature", + "@fuzztest//centipede:util", + "@fuzztest//common:blob_file", + "@fuzztest//common:defs", + "@fuzztest//common:logging", ], ) diff --git a/codelab/BUILD b/codelab/BUILD index 08aafdf8..db032bac 100644 --- a/codelab/BUILD +++ b/codelab/BUILD @@ -32,7 +32,7 @@ cc_test( srcs = ["escaping_test.cc"], deps = [ ":escaping", - "@com_google_fuzztest//fuzztest", - "@com_google_fuzztest//fuzztest:fuzztest_gtest_main", + "@fuzztest//fuzztest", + "@fuzztest//fuzztest:fuzztest_gtest_main", ], ) diff --git a/common/BUILD b/common/BUILD index d64c4809..1ef8dffa 100644 --- a/common/BUILD +++ b/common/BUILD @@ -29,7 +29,7 @@ licenses(["notice"]) # requirements and needs to compile the file directly with specific flags. exports_files( srcs = ["defs.h"], - visibility = ["@com_google_fuzztest//centipede:__pkg__"], + visibility = ["@fuzztest//centipede:__pkg__"], ) ### Libraries @@ -51,7 +51,7 @@ cc_library( srcs = ["blob_file.cc"], hdrs = ["blob_file.h"], defines = select({ - "@com_google_fuzztest//fuzztest:disable_riegeli": ["CENTIPEDE_DISABLE_RIEGELI"], + "@fuzztest//fuzztest:disable_riegeli": ["CENTIPEDE_DISABLE_RIEGELI"], "//conditions:default": [], }), deps = [ @@ -68,7 +68,7 @@ cc_library( "@abseil-cpp//absl/strings:string_view", "@abseil-cpp//absl/time", ] + select({ - "@com_google_fuzztest//fuzztest:disable_riegeli": [], + "@fuzztest//fuzztest:disable_riegeli": [], "//conditions:default": [ "@com_google_riegeli//riegeli/base:object", "@com_google_riegeli//riegeli/base:types", @@ -88,7 +88,7 @@ cc_library( "@abseil-cpp//absl/status", "@abseil-cpp//absl/status:statusor", "@abseil-cpp//absl/strings", - "@com_google_fuzztest//fuzztest/internal:io", + "@fuzztest//fuzztest/internal:io", ], ) @@ -122,7 +122,7 @@ cc_library( srcs = ["remote_file.cc"], hdrs = ["remote_file.h"], defines = select({ - "@com_google_fuzztest//fuzztest:disable_riegeli": ["CENTIPEDE_DISABLE_RIEGELI"], + "@fuzztest//fuzztest:disable_riegeli": ["CENTIPEDE_DISABLE_RIEGELI"], "//conditions:default": [], }), deps = [ @@ -137,7 +137,7 @@ cc_library( "//conditions:default": [":remote_file_oss"], }) + select({ - "@com_google_fuzztest//fuzztest:disable_riegeli": [], + "@fuzztest//fuzztest:disable_riegeli": [], "//conditions:default": [ "@com_google_riegeli//riegeli/bytes:reader", "@com_google_riegeli//riegeli/bytes:writer", @@ -152,7 +152,7 @@ cc_library( "remote_file_oss.cc", ], defines = select({ - "@com_google_fuzztest//fuzztest:disable_riegeli": ["CENTIPEDE_DISABLE_RIEGELI"], + "@fuzztest//fuzztest:disable_riegeli": ["CENTIPEDE_DISABLE_RIEGELI"], "//conditions:default": [], }), visibility = ["//visibility:private"], @@ -165,7 +165,7 @@ cc_library( "@abseil-cpp//absl/status:statusor", "@abseil-cpp//absl/strings", ] + select({ - "@com_google_fuzztest//fuzztest:disable_riegeli": [], + "@fuzztest//fuzztest:disable_riegeli": [], "//conditions:default": [ "@com_google_riegeli//riegeli/bytes:fd_reader", "@com_google_riegeli//riegeli/bytes:fd_writer", diff --git a/domain_tests/BUILD b/domain_tests/BUILD index 623ca0fb..c7bbb8e3 100644 --- a/domain_tests/BUILD +++ b/domain_tests/BUILD @@ -33,9 +33,9 @@ cc_test( "@abseil-cpp//absl/types:optional", "@abseil-cpp//absl/types:span", "@abseil-cpp//absl/types:variant", - "@com_google_fuzztest//fuzztest:domain_core", - "@com_google_fuzztest//fuzztest/internal:serialization", - "@com_google_fuzztest//fuzztest/internal:type_support", + "@fuzztest//fuzztest:domain_core", + "@fuzztest//fuzztest/internal:serialization", + "@fuzztest//fuzztest/internal:type_support", "@googletest//:gtest_main", ], ) @@ -48,11 +48,11 @@ cc_test( "@abseil-cpp//absl/container:flat_hash_map", "@abseil-cpp//absl/random", "@abseil-cpp//absl/status", - "@com_google_fuzztest//fuzztest:domain", - "@com_google_fuzztest//fuzztest:flatbuffers", - "@com_google_fuzztest//fuzztest:fuzztest_macros", - "@com_google_fuzztest//fuzztest/internal:meta", - "@com_google_fuzztest//fuzztest/internal:test_flatbuffers_cc_fbs", + "@fuzztest//fuzztest:domain", + "@fuzztest//fuzztest:flatbuffers", + "@fuzztest//fuzztest:fuzztest_macros", + "@fuzztest//fuzztest/internal:meta", + "@fuzztest//fuzztest/internal:test_flatbuffers_cc_fbs", "@flatbuffers//:runtime_cc", "@googletest//:gtest_main", ], @@ -71,8 +71,8 @@ cc_test( "@abseil-cpp//absl/strings", "@abseil-cpp//absl/strings:string_view", "@abseil-cpp//absl/time", - "@com_google_fuzztest//fuzztest:domain", - "@com_google_fuzztest//fuzztest/internal:test_protobuf_cc_proto", + "@fuzztest//fuzztest:domain", + "@fuzztest//fuzztest/internal:test_protobuf_cc_proto", "@googletest//:gtest_main", "@protobuf", ], @@ -88,11 +88,11 @@ cc_test( "@abseil-cpp//absl/random:bit_gen_ref", "@abseil-cpp//absl/status", "@abseil-cpp//absl/time", - "@com_google_fuzztest//fuzztest:domain_core", - "@com_google_fuzztest//fuzztest/internal:serialization", - "@com_google_fuzztest//fuzztest/internal:test_protobuf_cc_proto", - "@com_google_fuzztest//fuzztest/internal:type_support", - "@com_google_fuzztest//fuzztest/internal/domains:core_domains_impl", + "@fuzztest//fuzztest:domain_core", + "@fuzztest//fuzztest/internal:serialization", + "@fuzztest//fuzztest/internal:test_protobuf_cc_proto", + "@fuzztest//fuzztest/internal:type_support", + "@fuzztest//fuzztest/internal/domains:core_domains_impl", "@googletest//:gtest_main", ], ) @@ -104,7 +104,7 @@ cc_test( ":domain_testing", "@abseil-cpp//absl/random", "@abseil-cpp//absl/random:bit_gen_ref", - "@com_google_fuzztest//fuzztest:domain_core", + "@fuzztest//fuzztest:domain_core", "@googletest//:gtest_main", ], ) @@ -118,8 +118,8 @@ cc_test( "@abseil-cpp//absl/container:flat_hash_set", "@abseil-cpp//absl/random", "@abseil-cpp//absl/strings", - "@com_google_fuzztest//fuzztest:domain_core", - "@com_google_fuzztest//fuzztest/internal:meta", + "@fuzztest//fuzztest:domain_core", + "@fuzztest//fuzztest/internal:meta", "@googletest//:gtest_main", ], ) @@ -132,8 +132,8 @@ cc_test( "@abseil-cpp//absl/container:flat_hash_map", "@abseil-cpp//absl/container:flat_hash_set", "@abseil-cpp//absl/random", - "@com_google_fuzztest//fuzztest:domain_core", - "@com_google_fuzztest//fuzztest/internal:table_of_recent_compares", + "@fuzztest//fuzztest:domain_core", + "@fuzztest//fuzztest/internal:table_of_recent_compares", "@googletest//:gtest_main", ], ) @@ -142,7 +142,7 @@ cc_library( name = "domain_testing", testonly = 1, hdrs = ["domain_testing.h"], - visibility = ["@com_google_fuzztest//:__subpackages__"], + visibility = ["@fuzztest//:__subpackages__"], deps = [ "@abseil-cpp//absl/container:flat_hash_set", "@abseil-cpp//absl/hash", @@ -150,12 +150,12 @@ cc_library( "@abseil-cpp//absl/random:bit_gen_ref", "@abseil-cpp//absl/status", "@abseil-cpp//absl/strings", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//fuzztest/internal:logging", - "@com_google_fuzztest//fuzztest/internal:meta", - "@com_google_fuzztest//fuzztest/internal:serialization", - "@com_google_fuzztest//fuzztest/internal:test_protobuf_cc_proto", - "@com_google_fuzztest//fuzztest/internal/domains:core_domains_impl", + "@fuzztest//common:logging", + "@fuzztest//fuzztest/internal:logging", + "@fuzztest//fuzztest/internal:meta", + "@fuzztest//fuzztest/internal:serialization", + "@fuzztest//fuzztest/internal:test_protobuf_cc_proto", + "@fuzztest//fuzztest/internal/domains:core_domains_impl", "@googletest//:gtest", "@protobuf", ], @@ -168,9 +168,9 @@ cc_test( ":domain_testing", "@abseil-cpp//absl/container:flat_hash_set", "@abseil-cpp//absl/random", - "@com_google_fuzztest//fuzztest:domain", - "@com_google_fuzztest//fuzztest/grammars:json_grammar", - "@com_google_fuzztest//fuzztest/internal:serialization", + "@fuzztest//fuzztest:domain", + "@fuzztest//fuzztest/grammars:json_grammar", + "@fuzztest//fuzztest/internal:serialization", "@googletest//:gtest_main", "@nlohmann_json//:json", ], @@ -183,7 +183,7 @@ cc_test( ":domain_testing", "@abseil-cpp//absl/container:flat_hash_set", "@abseil-cpp//absl/random", - "@com_google_fuzztest//fuzztest:domain", + "@fuzztest//fuzztest:domain", "@googletest//:gtest_main", "@re2", ], @@ -196,7 +196,7 @@ cc_test( ":domain_testing", "@abseil-cpp//absl/algorithm:container", "@abseil-cpp//absl/random", - "@com_google_fuzztest//fuzztest:domain_core", + "@fuzztest//fuzztest:domain_core", "@googletest//:gtest_main", ], ) @@ -211,10 +211,10 @@ cc_test( "@abseil-cpp//absl/random", "@abseil-cpp//absl/strings", "@abseil-cpp//absl/types:span", - "@com_google_fuzztest//fuzztest:domain_core", - "@com_google_fuzztest//fuzztest/internal:meta", - "@com_google_fuzztest//fuzztest/internal:serialization", - "@com_google_fuzztest//fuzztest/internal:type_support", + "@fuzztest//fuzztest:domain_core", + "@fuzztest//fuzztest/internal:meta", + "@fuzztest//fuzztest/internal:serialization", + "@fuzztest//fuzztest/internal:type_support", "@googletest//:gtest_main", ], ) @@ -229,8 +229,8 @@ cc_test( "@abseil-cpp//absl/random", "@abseil-cpp//absl/status", "@abseil-cpp//absl/strings", - "@com_google_fuzztest//fuzztest:domain_core", - "@com_google_fuzztest//fuzztest/internal:serialization", + "@fuzztest//fuzztest:domain_core", + "@fuzztest//fuzztest/internal:serialization", "@googletest//:gtest_main", ], ) @@ -241,7 +241,7 @@ cc_test( deps = [ ":domain_testing", "@abseil-cpp//absl/random", - "@com_google_fuzztest//fuzztest:domain_core", + "@fuzztest//fuzztest:domain_core", "@googletest//:gtest_main", ], ) @@ -252,7 +252,7 @@ cc_test( deps = [ ":domain_testing", "@abseil-cpp//absl/random", - "@com_google_fuzztest//fuzztest:domain_core", + "@fuzztest//fuzztest:domain_core", "@googletest//:gtest_main", ], ) @@ -266,7 +266,7 @@ cc_test( "@abseil-cpp//absl/random", "@abseil-cpp//absl/time", "@abseil-cpp//absl/types:span", - "@com_google_fuzztest//fuzztest:domain_core", + "@fuzztest//fuzztest:domain_core", "@googletest//:gtest_main", ], ) @@ -278,8 +278,8 @@ cc_test( ":domain_testing", "@abseil-cpp//absl/container:flat_hash_set", "@abseil-cpp//absl/random", - "@com_google_fuzztest//fuzztest:domain_core", - "@com_google_fuzztest//fuzztest/internal:table_of_recent_compares", + "@fuzztest//fuzztest:domain_core", + "@fuzztest//fuzztest/internal:table_of_recent_compares", "@googletest//:gtest_main", ], ) diff --git a/e2e_tests/BUILD b/e2e_tests/BUILD index 0bbdc186..61765c92 100644 --- a/e2e_tests/BUILD +++ b/e2e_tests/BUILD @@ -32,9 +32,9 @@ cc_library( "@abseil-cpp//absl/strings", "@abseil-cpp//absl/strings:string_view", "@abseil-cpp//absl/time", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//fuzztest/internal:flag_name", - "@com_google_fuzztest//fuzztest/internal:subprocess", + "@fuzztest//common:logging", + "@fuzztest//fuzztest/internal:flag_name", + "@fuzztest//fuzztest/internal:subprocess", ], ) @@ -45,16 +45,16 @@ cc_test( timeout = "long", srcs = ["functional_test.cc"], data = [ - "@com_google_fuzztest//centipede:centipede_uninstrumented", - "@com_google_fuzztest//e2e_tests/testdata:data", - "@com_google_fuzztest//e2e_tests/testdata:dynamically_registered_fuzz_tests.stripped", - "@com_google_fuzztest//e2e_tests/testdata:fuzz_tests_for_functional_testing.stripped", - "@com_google_fuzztest//e2e_tests/testdata:fuzz_tests_with_invalid_seeds.stripped", - "@com_google_fuzztest//e2e_tests/testdata:llvm_fuzzer_with_custom_mutator.stripped", - "@com_google_fuzztest//e2e_tests/testdata:unit_test_and_fuzz_tests.stripped", + "@fuzztest//centipede:centipede_uninstrumented", + "@fuzztest//e2e_tests/testdata:data", + "@fuzztest//e2e_tests/testdata:dynamically_registered_fuzz_tests.stripped", + "@fuzztest//e2e_tests/testdata:fuzz_tests_for_functional_testing.stripped", + "@fuzztest//e2e_tests/testdata:fuzz_tests_with_invalid_seeds.stripped", + "@fuzztest//e2e_tests/testdata:llvm_fuzzer_with_custom_mutator.stripped", + "@fuzztest//e2e_tests/testdata:unit_test_and_fuzz_tests.stripped", ], defines = select({ - "@com_google_fuzztest//fuzztest:use_centipede": ["FUZZTEST_USE_CENTIPEDE"], + "@fuzztest//fuzztest:use_centipede": ["FUZZTEST_USE_CENTIPEDE"], "//conditions:default": [], }), shard_count = 50, @@ -67,16 +67,16 @@ cc_test( "@abseil-cpp//absl/strings", "@abseil-cpp//absl/strings:str_format", "@abseil-cpp//absl/time", - "@com_google_fuzztest//centipede:weak_sancov_stubs", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//common:temp_dir", - "@com_google_fuzztest//fuzztest/internal:escaping", - "@com_google_fuzztest//fuzztest/internal:io", - "@com_google_fuzztest//fuzztest/internal:logging", - "@com_google_fuzztest//fuzztest/internal:printer", - "@com_google_fuzztest//fuzztest/internal:serialization", - "@com_google_fuzztest//fuzztest/internal:subprocess", - "@com_google_fuzztest//fuzztest/internal:type_support", + "@fuzztest//centipede:weak_sancov_stubs", + "@fuzztest//common:logging", + "@fuzztest//common:temp_dir", + "@fuzztest//fuzztest/internal:escaping", + "@fuzztest//fuzztest/internal:io", + "@fuzztest//fuzztest/internal:logging", + "@fuzztest//fuzztest/internal:printer", + "@fuzztest//fuzztest/internal:serialization", + "@fuzztest//fuzztest/internal:subprocess", + "@fuzztest//fuzztest/internal:type_support", "@googletest//:gtest_main", "@re2", ], @@ -88,15 +88,15 @@ cc_binary( name = "benchmark_test", testonly = 1, srcs = ["benchmark_test.cc"], - data = ["@com_google_fuzztest//e2e_tests/testdata:fuzz_tests_for_microbenchmarking.stripped"], + data = ["@fuzztest//e2e_tests/testdata:fuzz_tests_for_microbenchmarking.stripped"], deps = [ "@abseil-cpp//absl/flags:flag", "@abseil-cpp//absl/flags:parse", "@abseil-cpp//absl/strings", "@abseil-cpp//absl/strings:str_format", "@abseil-cpp//absl/time", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//fuzztest/internal:subprocess", + "@fuzztest//common:logging", + "@fuzztest//fuzztest/internal:subprocess", "@re2", ], ) @@ -107,7 +107,7 @@ cc_test( timeout = "long", srcs = ["compatibility_mode_test.cc"], data = [ - "@com_google_fuzztest//e2e_tests/testdata:fuzz_tests_for_functional_testing.stripped", + "@fuzztest//e2e_tests/testdata:fuzz_tests_for_functional_testing.stripped", ], tags = [ # Don't cache the results. @@ -120,9 +120,9 @@ cc_test( "@abseil-cpp//absl/container:flat_hash_map", "@abseil-cpp//absl/strings", "@abseil-cpp//absl/time", - "@com_google_fuzztest//common:temp_dir", - "@com_google_fuzztest//fuzztest/internal:io", - "@com_google_fuzztest//fuzztest/internal:subprocess", + "@fuzztest//common:temp_dir", + "@fuzztest//fuzztest/internal:io", + "@fuzztest//fuzztest/internal:subprocess", "@googletest//:gtest_main", ], ) @@ -133,11 +133,11 @@ cc_test( size = "large", srcs = ["corpus_database_test.cc"], data = [ - "@com_google_fuzztest//centipede:centipede_uninstrumented", - "@com_google_fuzztest//e2e_tests/testdata:fuzz_tests_for_corpus_database_testing.stripped", + "@fuzztest//centipede:centipede_uninstrumented", + "@fuzztest//e2e_tests/testdata:fuzz_tests_for_corpus_database_testing.stripped", ], local_defines = select({ - "@com_google_fuzztest//fuzztest:use_centipede": ["FUZZTEST_USE_CENTIPEDE"], + "@fuzztest//fuzztest:use_centipede": ["FUZZTEST_USE_CENTIPEDE"], "//conditions:default": [], }), tags = [ @@ -154,12 +154,12 @@ cc_test( "@abseil-cpp//absl/status:statusor", "@abseil-cpp//absl/strings", "@abseil-cpp//absl/time", - "@com_google_fuzztest//centipede:weak_sancov_stubs", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//common:temp_dir", - "@com_google_fuzztest//fuzztest/internal:escaping", - "@com_google_fuzztest//fuzztest/internal:io", - "@com_google_fuzztest//fuzztest/internal:subprocess", + "@fuzztest//centipede:weak_sancov_stubs", + "@fuzztest//common:logging", + "@fuzztest//common:temp_dir", + "@fuzztest//fuzztest/internal:escaping", + "@fuzztest//fuzztest/internal:io", + "@fuzztest//fuzztest/internal:subprocess", "@googletest//:gtest_main", ], ) diff --git a/e2e_tests/testdata/BUILD b/e2e_tests/testdata/BUILD index 8ee022ae..de938b4f 100644 --- a/e2e_tests/testdata/BUILD +++ b/e2e_tests/testdata/BUILD @@ -37,9 +37,9 @@ cc_binary( "@abseil-cpp//absl/random:distributions", "@abseil-cpp//absl/strings:str_format", "@abseil-cpp//absl/strings:string_view", - "@com_google_fuzztest//fuzztest", - "@com_google_fuzztest//fuzztest:fuzztest_gtest_main", - "@com_google_fuzztest//fuzztest/internal:test_protobuf_cc_proto", + "@fuzztest//fuzztest", + "@fuzztest//fuzztest:fuzztest_gtest_main", + "@fuzztest//fuzztest/internal:test_protobuf_cc_proto", ], ) @@ -56,9 +56,9 @@ cc_binary( "@abseil-cpp//absl/strings", "@abseil-cpp//absl/time", "@abseil-cpp//absl/types:span", - "@com_google_fuzztest//fuzztest", - "@com_google_fuzztest//fuzztest:fuzztest_gtest_main", - "@com_google_fuzztest//fuzztest/internal:test_protobuf_cc_proto", + "@fuzztest//fuzztest", + "@fuzztest//fuzztest:fuzztest_gtest_main", + "@fuzztest//fuzztest/internal:test_protobuf_cc_proto", "@protobuf", "@re2", ], @@ -92,13 +92,13 @@ cc_binary( "@abseil-cpp//absl/strings:str_format", "@abseil-cpp//absl/time", "@abseil-cpp//absl/types:span", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//fuzztest", - "@com_google_fuzztest//fuzztest:flatbuffers", - "@com_google_fuzztest//fuzztest:fuzztest_gtest_main", - "@com_google_fuzztest//fuzztest:googletest_fixture_adapter", - "@com_google_fuzztest//fuzztest/internal:test_flatbuffers_cc_fbs", - "@com_google_fuzztest//fuzztest/internal:test_protobuf_cc_proto", + "@fuzztest//common:logging", + "@fuzztest//fuzztest", + "@fuzztest//fuzztest:flatbuffers", + "@fuzztest//fuzztest:fuzztest_gtest_main", + "@fuzztest//fuzztest:googletest_fixture_adapter", + "@fuzztest//fuzztest/internal:test_flatbuffers_cc_fbs", + "@fuzztest//fuzztest/internal:test_protobuf_cc_proto", "@protobuf", "@re2", ], @@ -111,8 +111,8 @@ cc_binary( testonly = 1, srcs = ["fuzz_tests_with_invalid_seeds.cc"], deps = [ - "@com_google_fuzztest//fuzztest", - "@com_google_fuzztest//fuzztest:fuzztest_gtest_main", + "@fuzztest//fuzztest", + "@fuzztest//fuzztest:fuzztest_gtest_main", ], ) @@ -121,8 +121,8 @@ cc_binary( testonly = 1, srcs = ["dynamically_registered_fuzz_tests.cc"], deps = [ - "@com_google_fuzztest//fuzztest", - "@com_google_fuzztest//fuzztest:fuzztest_gtest_main", + "@fuzztest//fuzztest", + "@fuzztest//fuzztest:fuzztest_gtest_main", ], ) @@ -131,8 +131,8 @@ cc_binary( testonly = 1, srcs = ["unit_test_and_fuzz_tests.cc"], deps = [ - "@com_google_fuzztest//fuzztest", - "@com_google_fuzztest//fuzztest:fuzztest_gtest_main", + "@fuzztest//fuzztest", + "@fuzztest//fuzztest:fuzztest_gtest_main", ], ) @@ -141,8 +141,8 @@ cc_binary( testonly = 1, srcs = ["fuzz_tests_for_corpus_database_testing.cc"], deps = [ - "@com_google_fuzztest//fuzztest", - "@com_google_fuzztest//fuzztest:fuzztest_gtest_main", + "@fuzztest//fuzztest", + "@fuzztest//fuzztest:fuzztest_gtest_main", ], ) @@ -151,7 +151,7 @@ cc_binary( testonly = 1, srcs = ["llvm_fuzzer_with_custom_mutator.cc"], deps = [ - "@com_google_fuzztest//fuzztest:llvm_fuzzer_main", - "@com_google_fuzztest//fuzztest:llvm_fuzzer_wrapper", + "@fuzztest//fuzztest:llvm_fuzzer_main", + "@fuzztest//fuzztest:llvm_fuzzer_wrapper", ], ) diff --git a/fuzztest/BUILD b/fuzztest/BUILD index ad8e66de..c45003b7 100644 --- a/fuzztest/BUILD +++ b/fuzztest/BUILD @@ -80,11 +80,11 @@ cc_library( "@abseil-cpp//absl/status:statusor", "@abseil-cpp//absl/strings", "@abseil-cpp//absl/strings:string_view", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//fuzztest/internal:logging", - "@com_google_fuzztest//fuzztest/internal:registration", - "@com_google_fuzztest//fuzztest/internal:registry", - "@com_google_fuzztest//fuzztest/internal:runtime", + "@fuzztest//common:logging", + "@fuzztest//fuzztest/internal:logging", + "@fuzztest//fuzztest/internal:registration", + "@fuzztest//fuzztest/internal:registry", + "@fuzztest//fuzztest/internal:runtime", ], ) @@ -95,8 +95,8 @@ cc_test( ":fuzztest_macros", "@abseil-cpp//absl/status", "@abseil-cpp//absl/strings", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//common:temp_dir", + "@fuzztest//common:logging", + "@fuzztest//common:temp_dir", "@googletest//:gtest_main", ], ) @@ -108,7 +108,7 @@ cc_library( deps = [ "@abseil-cpp//absl/debugging:failure_signal_handler", "@abseil-cpp//absl/debugging:symbolize", - "@com_google_fuzztest//fuzztest:init_fuzztest", + "@fuzztest//fuzztest:init_fuzztest", "@googletest//:gtest", ], ) @@ -128,13 +128,13 @@ cc_library( "@abseil-cpp//absl/strings", "@abseil-cpp//absl/strings:str_format", "@abseil-cpp//absl/time", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//fuzztest/internal:configuration", - "@com_google_fuzztest//fuzztest/internal:flag_name", - "@com_google_fuzztest//fuzztest/internal:googletest_adaptor", - "@com_google_fuzztest//fuzztest/internal:io", - "@com_google_fuzztest//fuzztest/internal:registry", - "@com_google_fuzztest//fuzztest/internal:runtime", + "@fuzztest//common:logging", + "@fuzztest//fuzztest/internal:configuration", + "@fuzztest//fuzztest/internal:flag_name", + "@fuzztest//fuzztest/internal:googletest_adaptor", + "@fuzztest//fuzztest/internal:io", + "@fuzztest//fuzztest/internal:registry", + "@fuzztest//fuzztest/internal:runtime", "@googletest//:gtest", ], alwayslink = True, @@ -167,9 +167,9 @@ cc_library( "@abseil-cpp//absl/random", "@abseil-cpp//absl/random:bit_gen_ref", "@abseil-cpp//absl/synchronization", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//fuzztest/internal:io", - "@com_google_fuzztest//fuzztest/internal/domains:core_domains_impl", + "@fuzztest//common:logging", + "@fuzztest//fuzztest/internal:io", + "@fuzztest//fuzztest/internal/domains:core_domains_impl", ], alwayslink = True, ) @@ -179,9 +179,9 @@ cc_library( hdrs = ["domain.h"], deps = [ ":domain_core", - "@com_google_fuzztest//fuzztest/internal/domains:domains_impl", - "@com_google_fuzztest//fuzztest/internal/domains:in_regexp_impl", - "@com_google_fuzztest//fuzztest/internal/domains:protobuf_domain_impl", + "@fuzztest//fuzztest/internal/domains:domains_impl", + "@fuzztest//fuzztest/internal/domains:in_regexp_impl", + "@fuzztest//fuzztest/internal/domains:protobuf_domain_impl", ], ) @@ -197,15 +197,15 @@ cc_library( "@abseil-cpp//absl/status:statusor", "@abseil-cpp//absl/strings:string_view", "@abseil-cpp//absl/types:span", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//fuzztest/internal:any", - "@com_google_fuzztest//fuzztest/internal:logging", - "@com_google_fuzztest//fuzztest/internal:meta", - "@com_google_fuzztest//fuzztest/internal:printer", - "@com_google_fuzztest//fuzztest/internal:serialization", - "@com_google_fuzztest//fuzztest/internal:type_support", - "@com_google_fuzztest//fuzztest/internal/domains:core_domains_impl", - "@com_google_fuzztest//fuzztest/internal/domains:utf", + "@fuzztest//common:logging", + "@fuzztest//fuzztest/internal:any", + "@fuzztest//fuzztest/internal:logging", + "@fuzztest//fuzztest/internal:meta", + "@fuzztest//fuzztest/internal:printer", + "@fuzztest//fuzztest/internal:serialization", + "@fuzztest//fuzztest/internal:type_support", + "@fuzztest//fuzztest/internal/domains:core_domains_impl", + "@fuzztest//fuzztest/internal/domains:utf", ], ) @@ -213,7 +213,7 @@ cc_library( name = "flatbuffers", hdrs = ["flatbuffers.h"], deps = [ - "@com_google_fuzztest//fuzztest/internal/domains:flatbuffers_domain_impl", + "@fuzztest//fuzztest/internal/domains:flatbuffers_domain_impl", ], ) @@ -229,7 +229,7 @@ cc_library( "@abseil-cpp//absl/numeric:int128", "@abseil-cpp//absl/random:bit_gen_ref", "@abseil-cpp//absl/types:span", - "@com_google_fuzztest//fuzztest/internal:register_fuzzing_mocks", + "@fuzztest//fuzztest/internal:register_fuzzing_mocks", ], ) @@ -238,7 +238,7 @@ cc_library( testonly = True, hdrs = ["googletest_fixture_adapter.h"], deps = [ - "@com_google_fuzztest//fuzztest/internal:fixture_driver", + "@fuzztest//fuzztest/internal:fixture_driver", "@googletest//:gtest", ], ) diff --git a/fuzztest/internal/BUILD b/fuzztest/internal/BUILD index e1067c00..27580048 100644 --- a/fuzztest/internal/BUILD +++ b/fuzztest/internal/BUILD @@ -18,7 +18,7 @@ load("@rules_cc//cc:cc_test.bzl", "cc_test") load("@protobuf//bazel:proto_library.bzl", "proto_library") load("@protobuf//bazel:cc_proto_library.bzl", "cc_proto_library") -package(default_visibility = ["@com_google_fuzztest//:__subpackages__"]) +package(default_visibility = ["@fuzztest//:__subpackages__"]) licenses(["notice"]) @@ -28,7 +28,7 @@ cc_library( deps = [ ":logging", ":meta", - "@com_google_fuzztest//common:logging", + "@fuzztest//common:logging", ], ) @@ -72,23 +72,23 @@ cc_library( "@abseil-cpp//absl/strings:string_view", "@abseil-cpp//absl/time", "@abseil-cpp//absl/types:span", - "@com_google_fuzztest//centipede:centipede_callbacks", - "@com_google_fuzztest//centipede:centipede_default_callbacks", - "@com_google_fuzztest//centipede:centipede_interface", - "@com_google_fuzztest//centipede:centipede_runner_no_main", - "@com_google_fuzztest//centipede:environment", - "@com_google_fuzztest//centipede:execution_metadata", - "@com_google_fuzztest//centipede:fuzztest_mutator", - "@com_google_fuzztest//centipede:mutation_input", - "@com_google_fuzztest//centipede:runner_result", - "@com_google_fuzztest//centipede:stop", - "@com_google_fuzztest//centipede:workdir", - "@com_google_fuzztest//common:defs", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//common:remote_file", - "@com_google_fuzztest//common:temp_dir", - "@com_google_fuzztest//fuzztest/internal:serialization", - "@com_google_fuzztest//fuzztest/internal/domains:core_domains_impl", + "@fuzztest//centipede:centipede_callbacks", + "@fuzztest//centipede:centipede_default_callbacks", + "@fuzztest//centipede:centipede_interface", + "@fuzztest//centipede:centipede_runner_no_main", + "@fuzztest//centipede:environment", + "@fuzztest//centipede:execution_metadata", + "@fuzztest//centipede:fuzztest_mutator", + "@fuzztest//centipede:mutation_input", + "@fuzztest//centipede:runner_result", + "@fuzztest//centipede:stop", + "@fuzztest//centipede:workdir", + "@fuzztest//common:defs", + "@fuzztest//common:logging", + "@fuzztest//common:remote_file", + "@fuzztest//common:temp_dir", + "@fuzztest//fuzztest/internal:serialization", + "@fuzztest//fuzztest/internal/domains:core_domains_impl", ], ) @@ -104,7 +104,7 @@ cc_library( "@abseil-cpp//absl/strings", "@abseil-cpp//absl/strings:str_format", "@abseil-cpp//absl/time", - "@com_google_fuzztest//fuzztest/internal/domains:core_domains_impl", + "@fuzztest//fuzztest/internal/domains:core_domains_impl", ] + select({ "//conditions:default": [], }), @@ -120,7 +120,7 @@ cc_library( "@abseil-cpp//absl/strings", "@abseil-cpp//absl/strings:string_view", "@abseil-cpp//absl/time", - "@com_google_fuzztest//common:logging", + "@fuzztest//common:logging", ], ) @@ -153,7 +153,7 @@ cc_library( srcs = ["coverage.cc"], hdrs = ["coverage.h"], defines = select({ - "@com_google_fuzztest//fuzztest:use_centipede": ["FUZZTEST_USE_CENTIPEDE"], + "@fuzztest//fuzztest:use_centipede": ["FUZZTEST_USE_CENTIPEDE"], "//conditions:default": [], }), deps = [ @@ -163,7 +163,7 @@ cc_library( "@abseil-cpp//absl/base:core_headers", "@abseil-cpp//absl/strings:str_format", "@abseil-cpp//absl/types:span", - "@com_google_fuzztest//common:logging", + "@fuzztest//common:logging", ], ) @@ -189,7 +189,7 @@ cc_library( "@abseil-cpp//absl/status", "@abseil-cpp//absl/strings:str_format", "@abseil-cpp//absl/types:span", - "@com_google_fuzztest//fuzztest/internal/domains:core_domains_impl", + "@fuzztest//fuzztest/internal/domains:core_domains_impl", ], ) @@ -204,8 +204,8 @@ cc_test( ":registration", "@abseil-cpp//absl/functional:any_invocable", "@abseil-cpp//absl/types:span", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//fuzztest:domain_core", + "@fuzztest//common:logging", + "@fuzztest//fuzztest:domain_core", "@googletest//:gtest_main", ], ) @@ -231,11 +231,11 @@ cc_library( "@abseil-cpp//absl/strings", "@abseil-cpp//absl/strings:str_format", "@abseil-cpp//absl/strings:string_view", - "@com_google_fuzztest//common:crashing_input_filename", - "@com_google_fuzztest//common:logging", + "@fuzztest//common:crashing_input_filename", + "@fuzztest//common:logging", "@googletest//:gtest", ] + select({ - "@com_google_fuzztest//fuzztest:use_centipede": [":centipede_adaptor"], + "@fuzztest//fuzztest:use_centipede": [":centipede_adaptor"], "//conditions:default": [], }), ) @@ -253,10 +253,10 @@ cc_library( "@abseil-cpp//absl/strings:string_view", "@abseil-cpp//absl/time", "@abseil-cpp//absl/types:span", - "@com_google_fuzztest//common:blob_file", - "@com_google_fuzztest//common:defs", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//common:remote_file", + "@fuzztest//common:blob_file", + "@fuzztest//common:defs", + "@fuzztest//common:logging", + "@fuzztest//common:remote_file", ] + select({ "//conditions:default": [], }), @@ -270,11 +270,11 @@ cc_test( "@abseil-cpp//absl/status", "@abseil-cpp//absl/strings", "@abseil-cpp//absl/time", - "@com_google_fuzztest//common:blob_file", - "@com_google_fuzztest//common:defs", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//common:temp_dir", - "@com_google_fuzztest//fuzztest:fuzztest_core", + "@fuzztest//common:blob_file", + "@fuzztest//common:defs", + "@fuzztest//common:logging", + "@fuzztest//common:temp_dir", + "@fuzztest//fuzztest:fuzztest_core", "@googletest//:gtest_main", ], ) @@ -287,7 +287,7 @@ cc_library( "@abseil-cpp//absl/base:core_headers", "@abseil-cpp//absl/strings", "@abseil-cpp//absl/synchronization", - "@com_google_fuzztest//common:logging", + "@fuzztest//common:logging", ], ) @@ -315,7 +315,7 @@ cc_library( "@abseil-cpp//absl/functional:function_ref", "@abseil-cpp//absl/random:distributions", "@abseil-cpp//absl/types:span", - "@com_google_fuzztest//common:logging", + "@fuzztest//common:logging", ], ) @@ -330,8 +330,8 @@ cc_library( "@abseil-cpp//absl/status", "@abseil-cpp//absl/strings:str_format", "@abseil-cpp//absl/types:span", - "@com_google_fuzztest//fuzztest:domain_core", - "@com_google_fuzztest//fuzztest/internal/domains:core_domains_impl", + "@fuzztest//fuzztest:domain_core", + "@fuzztest//fuzztest/internal/domains:core_domains_impl", ], ) @@ -348,7 +348,7 @@ cc_library( "@abseil-cpp//absl/functional:function_ref", "@abseil-cpp//absl/strings:string_view", ] + select({ - "@com_google_fuzztest//fuzztest:use_centipede": [":centipede_adaptor"], + "@fuzztest//fuzztest:use_centipede": [":centipede_adaptor"], "//conditions:default": [], }), ) @@ -384,9 +384,9 @@ cc_library( "@abseil-cpp//absl/strings:str_format", "@abseil-cpp//absl/time", "@abseil-cpp//absl/types:span", - "@com_google_fuzztest//common:bazel", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//fuzztest/internal/domains:core_domains_impl", + "@fuzztest//common:bazel", + "@fuzztest//common:logging", + "@fuzztest//fuzztest/internal/domains:core_domains_impl", ], ) @@ -399,7 +399,7 @@ cc_test( ":test_protobuf_cc_proto", "@abseil-cpp//absl/strings", "@abseil-cpp//absl/time", - "@com_google_fuzztest//fuzztest:domain_core", + "@fuzztest//fuzztest:domain_core", "@googletest//:gtest_main", ], ) @@ -435,7 +435,7 @@ cc_library( "@abseil-cpp//absl/random", "@abseil-cpp//absl/strings", "@abseil-cpp//absl/types:span", - "@com_google_fuzztest//common:logging", + "@fuzztest//common:logging", ], ) @@ -495,7 +495,7 @@ cc_library( "@abseil-cpp//absl/strings", "@abseil-cpp//absl/time", "@abseil-cpp//absl/types:span", - "@com_google_fuzztest//common:logging", + "@fuzztest//common:logging", ], ) @@ -554,7 +554,7 @@ cc_library( "@abseil-cpp//absl/strings", "@abseil-cpp//absl/strings:str_format", "@abseil-cpp//absl/time", - "@com_google_fuzztest//fuzztest/internal/domains:absl_helpers", + "@fuzztest//fuzztest/internal/domains:absl_helpers", ], ) @@ -570,7 +570,7 @@ cc_test( "@abseil-cpp//absl/strings", "@abseil-cpp//absl/strings:str_format", "@abseil-cpp//absl/time", - "@com_google_fuzztest//fuzztest:domain", + "@fuzztest//fuzztest:domain", "@googletest//:gtest_main", "@protobuf", ], diff --git a/fuzztest/internal/domains/BUILD b/fuzztest/internal/domains/BUILD index dc4c9a4b..ab41435e 100644 --- a/fuzztest/internal/domains/BUILD +++ b/fuzztest/internal/domains/BUILD @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -package(default_visibility = ["@com_google_fuzztest//:__subpackages__"]) +package(default_visibility = ["@fuzztest//:__subpackages__"]) licenses(["notice"]) @@ -21,8 +21,8 @@ cc_library( hdrs = ["absl_helpers.h"], deps = [ "@abseil-cpp//absl/time", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//fuzztest/internal:logging", + "@fuzztest//common:logging", + "@fuzztest//fuzztest/internal:logging", ], ) @@ -69,16 +69,16 @@ cc_library( "@abseil-cpp//absl/strings:str_format", "@abseil-cpp//absl/time", "@abseil-cpp//absl/types:span", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//fuzztest:fuzzing_bit_gen", - "@com_google_fuzztest//fuzztest/internal:any", - "@com_google_fuzztest//fuzztest/internal:logging", - "@com_google_fuzztest//fuzztest/internal:meta", - "@com_google_fuzztest//fuzztest/internal:printer", - "@com_google_fuzztest//fuzztest/internal:serialization", - "@com_google_fuzztest//fuzztest/internal:status", - "@com_google_fuzztest//fuzztest/internal:table_of_recent_compares", - "@com_google_fuzztest//fuzztest/internal:type_support", + "@fuzztest//common:logging", + "@fuzztest//fuzztest:fuzzing_bit_gen", + "@fuzztest//fuzztest/internal:any", + "@fuzztest//fuzztest/internal:logging", + "@fuzztest//fuzztest/internal:meta", + "@fuzztest//fuzztest/internal:printer", + "@fuzztest//fuzztest/internal:serialization", + "@fuzztest//fuzztest/internal:status", + "@fuzztest//fuzztest/internal:table_of_recent_compares", + "@fuzztest//fuzztest/internal:type_support", ], ) @@ -96,13 +96,13 @@ cc_library( "@abseil-cpp//absl/status", "@abseil-cpp//absl/strings", "@abseil-cpp//absl/strings:str_format", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//fuzztest/internal:any", - "@com_google_fuzztest//fuzztest/internal:logging", - "@com_google_fuzztest//fuzztest/internal:meta", - "@com_google_fuzztest//fuzztest/internal:printer", - "@com_google_fuzztest//fuzztest/internal:serialization", - "@com_google_fuzztest//fuzztest/internal:type_support", + "@fuzztest//common:logging", + "@fuzztest//fuzztest/internal:any", + "@fuzztest//fuzztest/internal:logging", + "@fuzztest//fuzztest/internal:meta", + "@fuzztest//fuzztest/internal:printer", + "@fuzztest//fuzztest/internal:serialization", + "@fuzztest//fuzztest/internal:type_support", ], ) @@ -123,10 +123,10 @@ cc_library( "@abseil-cpp//absl/strings", "@abseil-cpp//absl/strings:string_view", "@abseil-cpp//absl/types:span", - "@com_google_fuzztest//fuzztest/internal:logging", - "@com_google_fuzztest//fuzztest/internal:meta", - "@com_google_fuzztest//fuzztest/internal:serialization", - "@com_google_fuzztest//fuzztest/internal:type_support", + "@fuzztest//fuzztest/internal:logging", + "@fuzztest//fuzztest/internal:meta", + "@fuzztest//fuzztest/internal:serialization", + "@fuzztest//fuzztest/internal:type_support", ], ) @@ -143,11 +143,11 @@ cc_library( "@abseil-cpp//absl/status:statusor", "@abseil-cpp//absl/strings", "@abseil-cpp//absl/types:span", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//fuzztest/internal:logging", - "@com_google_fuzztest//fuzztest/internal:serialization", - "@com_google_fuzztest//fuzztest/internal:status", - "@com_google_fuzztest//fuzztest/internal:type_support", + "@fuzztest//common:logging", + "@fuzztest//fuzztest/internal:logging", + "@fuzztest//fuzztest/internal:serialization", + "@fuzztest//fuzztest/internal:status", + "@fuzztest//fuzztest/internal:type_support", ], ) @@ -167,14 +167,14 @@ cc_library( "@abseil-cpp//absl/strings:string_view", "@abseil-cpp//absl/synchronization", "@abseil-cpp//absl/types:span", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//fuzztest:domain_core", - "@com_google_fuzztest//fuzztest/internal:any", - "@com_google_fuzztest//fuzztest/internal:logging", - "@com_google_fuzztest//fuzztest/internal:meta", - "@com_google_fuzztest//fuzztest/internal:serialization", - "@com_google_fuzztest//fuzztest/internal:status", - "@com_google_fuzztest//fuzztest/internal:type_support", + "@fuzztest//common:logging", + "@fuzztest//fuzztest:domain_core", + "@fuzztest//fuzztest/internal:any", + "@fuzztest//fuzztest/internal:logging", + "@fuzztest//fuzztest/internal:meta", + "@fuzztest//fuzztest/internal:serialization", + "@fuzztest//fuzztest/internal:status", + "@fuzztest//fuzztest/internal:type_support", ], ) @@ -195,12 +195,12 @@ cc_library( "@abseil-cpp//absl/strings", "@abseil-cpp//absl/strings:str_format", "@abseil-cpp//absl/synchronization", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//fuzztest:domain_core", - "@com_google_fuzztest//fuzztest/internal:any", - "@com_google_fuzztest//fuzztest/internal:meta", - "@com_google_fuzztest//fuzztest/internal:serialization", - "@com_google_fuzztest//fuzztest/internal:status", + "@fuzztest//common:logging", + "@fuzztest//fuzztest:domain_core", + "@fuzztest//fuzztest/internal:any", + "@fuzztest//fuzztest/internal:meta", + "@fuzztest//fuzztest/internal:serialization", + "@fuzztest//fuzztest/internal:status", "@flatbuffers//:runtime_cc", ], ) @@ -217,8 +217,8 @@ cc_library( "@abseil-cpp//absl/status:statusor", "@abseil-cpp//absl/strings", "@abseil-cpp//absl/strings:string_view", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//fuzztest/internal:logging", + "@fuzztest//common:logging", + "@fuzztest//fuzztest/internal:logging", "@re2", ], ) diff --git a/grammar_codegen/BUILD b/grammar_codegen/BUILD index cb49e5e1..932b5dae 100644 --- a/grammar_codegen/BUILD +++ b/grammar_codegen/BUILD @@ -17,7 +17,7 @@ load("@rules_cc//cc:cc_library.bzl", "cc_library") load("@rules_cc//cc:cc_test.bzl", "cc_test") -package(default_visibility = ["@com_google_fuzztest//tools:__pkg__"]) +package(default_visibility = ["@fuzztest//tools:__pkg__"]) licenses(["notice"]) @@ -34,8 +34,8 @@ cc_library( ":grammar_info", "@abseil-cpp//absl/strings", "@abseil-cpp//absl/strings:str_format", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//grammar_codegen/generated_antlr_parser", + "@fuzztest//common:logging", + "@fuzztest//grammar_codegen/generated_antlr_parser", ], ) @@ -49,8 +49,8 @@ cc_library( "@abseil-cpp//absl/container:flat_hash_set", "@abseil-cpp//absl/strings", "@abseil-cpp//absl/strings:str_format", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//fuzztest/internal:logging", + "@fuzztest//common:logging", + "@fuzztest//fuzztest/internal:logging", ], ) @@ -81,7 +81,7 @@ cc_test( data = [ "testdata/expected_json_grammar.h", "testdata/expected_json_grammar_with_spaces.h", - "@com_google_fuzztest//fuzztest/grammars:JSON.g4", + "@fuzztest//fuzztest/grammars:JSON.g4", ], deps = [ ":code_generation", diff --git a/grammar_codegen/generated_antlr_parser/BUILD b/grammar_codegen/generated_antlr_parser/BUILD index 884b3935..ba283c6f 100644 --- a/grammar_codegen/generated_antlr_parser/BUILD +++ b/grammar_codegen/generated_antlr_parser/BUILD @@ -16,7 +16,7 @@ load("@rules_cc//cc:cc_library.bzl", "cc_library") -package(default_visibility = ["@com_google_fuzztest//grammar_codegen:__pkg__"]) +package(default_visibility = ["@fuzztest//grammar_codegen:__pkg__"]) licenses(["notice"]) diff --git a/tools/BUILD b/tools/BUILD index 9c3e6be4..6ae9add2 100644 --- a/tools/BUILD +++ b/tools/BUILD @@ -31,7 +31,7 @@ cc_binary( deps = [ "@abseil-cpp//absl/flags:flag", "@abseil-cpp//absl/flags:parse", - "@com_google_fuzztest//common:logging", - "@com_google_fuzztest//grammar_codegen:code_generation", + "@fuzztest//common:logging", + "@fuzztest//grammar_codegen:code_generation", ], ) diff --git a/tools/minimizer.sh b/tools/minimizer.sh index 069b5ee4..31f94118 100755 --- a/tools/minimizer.sh +++ b/tools/minimizer.sh @@ -20,7 +20,7 @@ # # FUZZTEST_MINIMIZE_REPRODUCER=/tmp/reproducers/r3pr0dUc3r \ # bazel run --config=fuzztest :escaping_test \ -# --run_under=@com_google_fuzztest//tools:minimizer \ +# --run_under=@fuzztest//tools:minimizer \ # -- --fuzz=UnescapingAStringNeverTriggersUndefinedBehavior # # This will try to find smaller and smaller inputs until you manually stop the