diff options
author | Evgenii Kliuchnikov <eustas@google.com> | 2023-07-06 11:56:38 +0000 |
---|---|---|
committer | Evgenii Kliuchnikov <eustas.ru@gmail.com> | 2023-07-10 11:43:27 +0000 |
commit | 70e7b1ae4a3f3cd0009cbcc81e66330780c16653 (patch) | |
tree | 267840d2d2224747bd84bbf8a7d7a7b75f84ff09 /c/fuzz/BUILD.bazel | |
parent | 413b098564a90a2e6cae192d30642d33a9197a39 (diff) | |
download | brotli-70e7b1ae4a3f3cd0009cbcc81e66330780c16653.zip brotli-70e7b1ae4a3f3cd0009cbcc81e66330780c16653.tar.gz brotli-70e7b1ae4a3f3cd0009cbcc81e66330780c16653.tar.bz2 |
simplify building of fuzzer
PiperOrigin-RevId: 545950923
Diffstat (limited to 'c/fuzz/BUILD.bazel')
-rw-r--r-- | c/fuzz/BUILD.bazel | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/c/fuzz/BUILD.bazel b/c/fuzz/BUILD.bazel new file mode 100644 index 0000000..7f56d96 --- /dev/null +++ b/c/fuzz/BUILD.bazel @@ -0,0 +1,12 @@ +load("@rules_fuzzing//fuzzing:cc_defs.bzl", "cc_fuzz_test") + +package(default_visibility = ["//visibility:public"]) + +licenses(["notice"]) # MIT + +# To start fuzzing run: bazel run --config=asan-libfuzzer //:fuzz_config_run +cc_fuzz_test( + name = "decode_fuzzer", + srcs = ["decode_fuzzer.c"], + deps = ["@org_brotli//:brotlidec"], +) |