diff options
author | Fabian Meumertzheim <fabian@meumertzhe.im> | 2021-10-15 16:34:06 +0200 |
---|---|---|
committer | Fabian Meumertzheim <fabian@meumertzhe.im> | 2021-10-18 22:31:42 +0200 |
commit | 24069c388579f54ec9872e61efa44f5e6065f838 (patch) | |
tree | 606965512f8c1632f7f7c74d23f92f4d2b98daf9 /repositories.bzl | |
parent | 818a5033a26d45c2ba4114efc9f4bff4b222edc1 (diff) | |
download | jazzer-api-24069c388579f54ec9872e61efa44f5e6065f838.tar.gz |
BREAKING: Use OS-specific classpath separator to split jvm_args
This allows us to get rid of the libFuzzer patch to quote argv, which
breaks Windows and would have to be turned into a conditional patch
otherwise.
With this change, all argument separators use the same syntax as the
java executable on any given platform.
Collisions of ':' as an argument separator and a classpath separator
should be rare as we have our own argument to pass in the classpath.
This commit implements a rudimentary escaping mechanism to handle the
cases where this should be an issue:
* \<separator> results in a literal <separator> and no split
* \\ results in a literal backlash not interpreted as an escape
character for a subsequent <separator>
This is a breaking change, but we should rather break this now that we
haven't committed to a version 1.0 yet. The only breakage I am aware of
is easily fixed:
https://github.com/google/oss-fuzz/blob/0c1d5231de61b4166281b4d5685aa66e9f4948a8/projects/kryo/build.sh#L48
Diffstat (limited to 'repositories.bzl')
-rw-r--r-- | repositories.bzl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/repositories.bzl b/repositories.bzl index 58ef4dd5..01861cc2 100644 --- a/repositories.bzl +++ b/repositories.bzl @@ -140,7 +140,7 @@ def jazzer_dependencies(): http_archive, name = "jazzer_libfuzzer", build_file = "@jazzer//third_party:libFuzzer.BUILD", - sha256 = "1c6fd44cf6ea5f70f79fba94a86ff3cd010b9e25f2166b7d55143acd21ce6f08", - strip_prefix = "llvm-project-jazzer-b9c07e9c1e75857901808c13101c909104c413a8/compiler-rt/lib/fuzzer", - url = "https://github.com/CodeIntelligenceTesting/llvm-project-jazzer/archive/b9c07e9c1e75857901808c13101c909104c413a8.tar.gz", + sha256 = "562a00f14b634c376b1cf7dafa0192379c7d88ffbb1d7cb7a1599b302a648b69", + strip_prefix = "llvm-project-jazzer-4cace44fb775207a37ad35583b3ea0cc067f111b/compiler-rt/lib/fuzzer", + url = "https://github.com/CodeIntelligenceTesting/llvm-project-jazzer/archive/4cace44fb775207a37ad35583b3ea0cc067f111b.tar.gz", ) |