diff options
Diffstat (limited to 'repositories.bzl')
-rw-r--r-- | repositories.bzl | 98 |
1 files changed, 55 insertions, 43 deletions
diff --git a/repositories.bzl b/repositories.bzl index 36b34443..7abffd87 100644 --- a/repositories.bzl +++ b/repositories.bzl @@ -14,69 +14,60 @@ """Contains the external dependencies required to build Jazzer (but not the examples).""" -load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") +load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_jar") load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") def jazzer_dependencies(): maybe( http_archive, name = "platforms", - sha256 = "079945598e4b6cc075846f7fd6a9d0857c33a7afc0de868c2ccb96405225135d", + sha256 = "379113459b0feaf6bfbb584a91874c065078aa673222846ac765f86661c27407", urls = [ - "https://mirror.bazel.build/github.com/bazelbuild/platforms/releases/download/0.0.4/platforms-0.0.4.tar.gz", - "https://github.com/bazelbuild/platforms/releases/download/0.0.4/platforms-0.0.4.tar.gz", + "https://mirror.bazel.build/github.com/bazelbuild/platforms/releases/download/0.0.5/platforms-0.0.5.tar.gz", + "https://github.com/bazelbuild/platforms/releases/download/0.0.5/platforms-0.0.5.tar.gz", ], ) maybe( http_archive, name = "bazel_skylib", - sha256 = "c6966ec828da198c5d9adbaa94c05e3a1c7f21bd012a0b29ba8ddbccb2c93b0d", + sha256 = "f7be3474d42aae265405a592bb7da8e171919d74c16f082a5457840f06054728", urls = [ - "https://github.com/bazelbuild/bazel-skylib/releases/download/1.1.1/bazel-skylib-1.1.1.tar.gz", - "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.1.1/bazel-skylib-1.1.1.tar.gz", + "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.2.1/bazel-skylib-1.2.1.tar.gz", + "https://github.com/bazelbuild/bazel-skylib/releases/download/1.2.1/bazel-skylib-1.2.1.tar.gz", ], ) maybe( http_archive, name = "io_bazel_rules_kotlin", - sha256 = "6cbd4e5768bdfae1598662e40272729ec9ece8b7bded8f0d2c81c8ff96dc139d", - url = "https://github.com/bazelbuild/rules_kotlin/releases/download/v1.5.0-beta-4/rules_kotlin_release.tgz", - ) - - maybe( - http_archive, - name = "com_google_glog", - repo_mapping = {"@com_github_gflags_gflags": "@jazzer_com_github_gflags_gflags"}, - sha256 = "5a39d51a6058348e6b683f5343a24d94e01c518c7a045101045e301a27efab13", - strip_prefix = "glog-a4a725d547a6c1329607db50af044c4fa329e07a", - url = "https://github.com/google/glog/archive/a4a725d547a6c1329607db50af044c4fa329e07a.tar.gz", + sha256 = "a57591404423a52bd6b18ebba7979e8cd2243534736c5c94d35c89718ea38f94", + url = "https://github.com/bazelbuild/rules_kotlin/releases/download/v1.6.0/rules_kotlin_release.tgz", ) maybe( http_archive, name = "com_google_absl", - sha256 = "5e1cbf25bf501f8e37866000a6052d02dbdd7b19a5b592251c59a4c9aa5c71ae", - strip_prefix = "abseil-cpp-f2dbd918d8d08529800eb72f23bd2829f92104a4", - url = "https://github.com/abseil/abseil-cpp/archive/f2dbd918d8d08529800eb72f23bd2829f92104a4.zip", + sha256 = "4208129b49006089ba1d6710845a45e31c59b0ab6bff9e5788a87f55c5abd602", + strip_prefix = "abseil-cpp-20220623.0", + url = "https://github.com/abseil/abseil-cpp/archive/refs/tags/20220623.0.tar.gz", ) maybe( http_archive, name = "com_github_johnynek_bazel_jar_jar", - sha256 = "97c5f862482a05f385bd8f9d28a9bbf684b0cf3fae93112ee96f3fb04d34b193", - strip_prefix = "bazel_jar_jar-171f268569384c57c19474b04aebe574d85fde0d", - url = "https://github.com/johnynek/bazel_jar_jar/archive/171f268569384c57c19474b04aebe574d85fde0d.tar.gz", + sha256 = "138a33a5c6ed9355e4411caa22f2fe45460b7e1e4468cbc29f7955367d7a001a", + strip_prefix = "bazel_jar_jar-commit-d97cfd22d47cba9a20708fa092f20348b72fb5ed", + url = "https://github.com/CodeIntelligenceTesting/bazel_jar_jar/archive/refs/tags/commit-d97cfd22d47cba9a20708fa092f20348b72fb5ed.tar.gz", ) maybe( http_archive, name = "com_github_jhalterman_typetools", build_file = Label("//third_party:typetools.BUILD"), - sha256 = "754f46de7d4c278cee2d4dba3c09ebe08fde03d0e67fc85d700611d9cdfb7868", - strip_prefix = "typetools-887153d2a9adf032fac9f145594d0a0248618d48", - url = "https://github.com/jhalterman/typetools/archive/887153d2a9adf032fac9f145594d0a0248618d48.tar.gz", + sha256 = "4e11a613aebb3c35deef58d5d942e44802da1a6c6ef7f127419261f00a0a082c", + strip_prefix = "typetools-commit-887153d2a9adf032fac9f145594d0a0248618d48", + url = "https://github.com/CodeIntelligenceTesting/typetools/archive/refs/tags/commit-887153d2a9adf032fac9f145594d0a0248618d48.tar.gz", ) maybe( @@ -91,17 +82,37 @@ def jazzer_dependencies(): maybe( http_archive, name = "fmeum_rules_jni", - sha256 = "8d685e381cb625e11fac330085de2ebc13ad497d30c4e9b09beb212f7c27e8e7", - url = "https://github.com/fmeum/rules_jni/releases/download/v0.3.0/rules_jni-v0.3.0.tar.gz", + sha256 = "47f0c566ef93fbca2fe94ae8b964d9bf2cb5b31be0efa66e9684b096e54042c1", + strip_prefix = "rules_jni-0.5.2", + url = "https://github.com/fmeum/rules_jni/archive/refs/tags/v0.5.2.tar.gz", ) maybe( - http_archive, - build_file = Label("//third_party:asm.BUILD"), - name = "jazzer_ow2_asm", - sha256 = "7b596cc584b241619911e99c5c96366fccd533b1a50b8720c151c2f74b5915e3", - strip_prefix = "asm-ASM_9_2", - url = "https://gitlab.ow2.org/asm/asm/-/archive/ASM_9_2/asm-ASM_9_2.tar.gz", + http_jar, + name = "net_bytebuddy_byte_buddy_agent", + sha256 = "25eed4301bbde3724a4bac0e7fe4a0b371c64b5fb40160b29480de3afd04efd5", + url = "https://repo1.maven.org/maven2/net/bytebuddy/byte-buddy-agent/1.12.13/byte-buddy-agent-1.12.13.jar", + ) + + maybe( + http_jar, + name = "org_ow2_asm_asm", + sha256 = "1263369b59e29c943918de11d6d6152e2ec6085ce63e5710516f8c67d368e4bc", + url = "https://repo1.maven.org/maven2/org/ow2/asm/asm/9.3/asm-9.3.jar", + ) + + maybe( + http_jar, + name = "org_ow2_asm_asm_commons", + sha256 = "a347c24732db2aead106b6e5996a015b06a3ef86e790a4f75b61761f0d2f7f39", + url = "https://repo1.maven.org/maven2/org/ow2/asm/asm-commons/9.3/asm-commons-9.3.jar", + ) + + maybe( + http_jar, + name = "org_ow2_asm_asm_tree", + sha256 = "ae629c2609f39681ef8d140a42a23800464a94f2d23e36d8f25cd10d5e4caff4", + url = "https://repo1.maven.org/maven2/org/ow2/asm/asm-tree/9.3/asm-tree-9.3.jar", ) maybe( @@ -110,9 +121,9 @@ def jazzer_dependencies(): patches = [ Label("//third_party:gflags-use-double-dash-args.patch"), ], - sha256 = "ce2931dd537eaab7dab78b25bec6136a0756ca0b2acbdab9aec0266998c0d9a7", - strip_prefix = "gflags-827c769e5fc98e0f2a34c47cef953cc6328abced", - url = "https://github.com/gflags/gflags/archive/827c769e5fc98e0f2a34c47cef953cc6328abced.tar.gz", + sha256 = "34af2f15cf7367513b352bdcd2493ab14ce43692d2dcd9dfc499492966c64dcf", + strip_prefix = "gflags-2.2.2", + url = "https://github.com/gflags/gflags/archive/refs/tags/v2.2.2.tar.gz", ) maybe( @@ -123,15 +134,16 @@ def jazzer_dependencies(): Label("//third_party:jacoco-make-probe-adapter-subclassable.patch"), Label("//third_party:jacoco-make-probe-inserter-subclassable.patch"), ], - sha256 = "4a3c65b8a8ca58ffcec77288820f557ed93125e8a0b43dd7460b776c58bb8ed9", - strip_prefix = "jacoco-0.8.7-jazzer", - url = "https://github.com/CodeIntelligenceTesting/jacoco/archive/v0.8.7-jazzer.tar.gz", + sha256 = "c603cfcc5f3d95ecda46fb369dc54c82a453bb6b640a605c3970607d10896725", + strip_prefix = "jacoco-0.8.8", + url = "https://github.com/jacoco/jacoco/archive/refs/tags/v0.8.8.tar.gz", ) maybe( http_archive, name = "jazzer_libfuzzer", build_file = Label("//third_party:libFuzzer.BUILD"), - sha256 = "efde37ab5a9e4fff67f8cd43b701be5ea5ddb74a3bc10e4d8e91a614070145c3", - url = "https://github.com/CodeIntelligenceTesting/llvm-project-jazzer/releases/download/2021-11-30/jazzer-libfuzzer-2021-11-30.tar.gz", + sha256 = "3732ff706e5d049dbc76c2078d9e3ad265c6ccbe1b9ed749ae199df0f3118aac", + strip_prefix = "llvm-project-jazzer-2022-08-12/compiler-rt/lib/fuzzer", + url = "https://github.com/CodeIntelligenceTesting/llvm-project-jazzer/archive/refs/tags/2022-08-12.tar.gz", ) |