diff options
author | Fabian Meumertzheim <fabian@meumertzhe.im> | 2021-11-15 16:26:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-15 10:26:47 -0500 |
commit | 5ffd60fbad17c43a1fe1ba0e40d3fe467d989127 (patch) | |
tree | 5c1d3dc0e8418c993f6e361e6c4402e5538f9689 | |
parent | c13dcd6c7cd5bb4c2e30c260eb5d1333f7ae0b7d (diff) | |
download | bazelbuild-rules_fuzzing-5ffd60fbad17c43a1fe1ba0e40d3fe467d989127.tar.gz |
Instrument native libraries in deploy JARs (#183)
Many Java projects using native libraries add them as resources rather
than relying on Bazel to add them to the native library path. This
change ensure that these libraries are correctly instrumented for
fuzzing.
-rw-r--r-- | fuzzing/private/java_utils.bzl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fuzzing/private/java_utils.bzl b/fuzzing/private/java_utils.bzl index a0a03ac..95c05f0 100644 --- a/fuzzing/private/java_utils.bzl +++ b/fuzzing/private/java_utils.bzl @@ -282,6 +282,7 @@ Rule that creates a binary that invokes Jazzer on the specified target. doc = "The deploy jar of the fuzz target.", allow_single_file = [".jar"], mandatory = True, + cfg = fuzzing_binary_transition, ), "_allowlist_function_transition": attr.label( default = "@bazel_tools//tools/allowlists/function_transition_allowlist", |