aboutsummaryrefslogtreecommitdiff
path: root/agent/src/main/java/com/code_intelligence/jazzer/generated/BUILD.bazel
diff options
context:
space:
mode:
authorFabian Meumertzheim <fabian@meumertzhe.im>2021-11-11 16:57:48 +0100
committerFabian Meumertzheim <fabian@meumertzhe.im>2021-11-12 16:00:17 +0100
commitcbfdbac14dde48b8e68c0f9cb7794f6d262d584a (patch)
treeecea8500eb367d2f2fea9d73417d622f6c786ef0 /agent/src/main/java/com/code_intelligence/jazzer/generated/BUILD.bazel
parentfedcd556ffcb32294c6a4fe6e2aa1837a59ec8f6 (diff)
downloadjazzer-api-cbfdbac14dde48b8e68c0f9cb7794f6d262d584a.tar.gz
Extract JavaNoThrowMethods logic into a JaCoCo fork
The fork of JaCoCo is compatible with the exec files generated by Jazzer's dumpCoverage. This also reduces the size of the patches maintained in this repo.
Diffstat (limited to 'agent/src/main/java/com/code_intelligence/jazzer/generated/BUILD.bazel')
-rw-r--r--agent/src/main/java/com/code_intelligence/jazzer/generated/BUILD.bazel21
1 files changed, 8 insertions, 13 deletions
diff --git a/agent/src/main/java/com/code_intelligence/jazzer/generated/BUILD.bazel b/agent/src/main/java/com/code_intelligence/jazzer/generated/BUILD.bazel
index df4f6382..fceda64c 100644
--- a/agent/src/main/java/com/code_intelligence/jazzer/generated/BUILD.bazel
+++ b/agent/src/main/java/com/code_intelligence/jazzer/generated/BUILD.bazel
@@ -5,6 +5,14 @@ java_binary(
tags = ["manual"],
)
+# To regenerate the list of methods, ensure that your local JDK is as recent as possible and contains `lib/src.zip`.
+# This will be the case if you are using the release binaries of the OpenJDK or if the `openjdk-<version>-source`
+# package is installed.
+# Then, execute
+# agent/src/main/java/com/code_intelligence/jazzer/generated/update_java_no_throw_methods_list.sh
+# from the Bazel root and copy the file into
+# org.jacoco.core/src/org/jacoco/core/internal/flow/java_no_throw_methods_list.dat
+# in the CodeIntelligenceTesting/jacoco repository.
genrule(
name = "java_no_throw_methods_list",
srcs = [
@@ -30,16 +38,3 @@ genrule(
"@local_jdk//:bin/javadoc",
],
)
-
-# To regenerate the list of methods, ensure that your local JDK is as recent as possible and contains `lib/src.zip`.
-# This will be the case if you are using the release binaries of the OpenJDK or if the `openjdk-<version>-source`
-# package is installed.
-# Then, execute
-# agent/src/main/java/com/code_intelligence/jazzer/generated/update_java_no_throw_methods_list.sh
-# from the Bazel root.
-java_library(
- name = "JavaNoThrowMethods",
- srcs = ["JavaNoThrowMethods.java"],
- resources = ["java_no_throw_methods_list.dat"],
- visibility = ["//agent/src/main/java/com/code_intelligence/jazzer/instrumentor:__pkg__"],
-)