File: libprotobuf_mutator.BUILD

package info (click to toggle)
tensorflow 2.14.1%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 359,396 kB
  • sloc: cpp: 2,418,453; python: 736,954; java: 20,254; ansic: 18,962; sh: 9,279; pascal: 7,941; objc: 1,584; xml: 988; ada: 727; cs: 273; perl: 150; makefile: 92
file content (37 lines) | stat: -rw-r--r-- 967 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
licenses(["notice"])  # Apache

exports_files(["LICENSE"])

cc_library(
    name = "libprotobuf_mutator_internals",
    srcs = [
        "src/binary_format.cc",
        "src/field_instance.h",
        "src/libfuzzer/libfuzzer_macro.cc",
        "src/libfuzzer/libfuzzer_mutator.cc",
        "src/mutator.cc",
        "src/text_format.cc",
        "src/utf8_fix.cc",
        "src/weighted_reservoir_sampler.h",
    ],
    hdrs = [
        "port/protobuf.h",
        "src/binary_format.h",
        "src/libfuzzer/libfuzzer_macro.h",
        "src/libfuzzer/libfuzzer_mutator.h",
        "src/mutator.h",
        "src/random.h",
        "src/text_format.h",
        "src/utf8_fix.h",
    ],
    includes = ["."],
    deps = ["@com_google_protobuf//:protobuf"],
)

cc_library(
    name = "libprotobuf_mutator",
    hdrs = ["src/libfuzzer/libfuzzer_macro.h"],
    includes = ["."],
    visibility = ["//visibility:public"],
    deps = [":libprotobuf_mutator_internals"],
)