diff options
author | Fabian Meumertzheim <meumertzheim@code-intelligence.com> | 2021-05-27 16:46:45 +0200 |
---|---|---|
committer | Fabian Meumertzheim <fabian@meumertzhe.im> | 2021-05-27 17:18:31 +0200 |
commit | 7f9f12da971ae7090c5da394b4569b100cde2068 (patch) | |
tree | 23d2c549af9f35cf0ae009501a7bcea7a418288a /repositories.bzl | |
parent | c50121bf574fb21b660422be0b4231359cdce5b0 (diff) | |
download | jazzer-api-7f9f12da971ae7090c5da394b4569b100cde2068.tar.gz |
Pass quoted arguments to child processes
libFuzzer does not quote the arguments it passes to child processes during merge
and fork, which leads to arguments being lost if passing multiple jvm_args with
delimiter ';'.
This commit adds a libFuzzer patch that properly quotes all arguments as well as
a test that fails if quoting is not appropriate.
Diffstat (limited to 'repositories.bzl')
-rw-r--r-- | repositories.bzl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/repositories.bzl b/repositories.bzl index bb0cda17..379d3bef 100644 --- a/repositories.bzl +++ b/repositories.bzl @@ -131,6 +131,9 @@ def jazzer_dependencies(): http_archive, name = "jazzer_libfuzzer", build_file = "@jazzer//third_party:libFuzzer.BUILD", + patches = [ + "@jazzer//third_party:libFuzzer-quote-command-args.patch", + ], sha256 = "bb9245e3749a40fcc3dbf5d24d6ff3b41965066f2081b26c47815585a2a5d81b", strip_prefix = "llvm-project-jazzer-10f9541ad4a15f2e4efad991bef33d99e16fad90", url = "https://github.com/CodeIntelligenceTesting/llvm-project-jazzer/archive/10f9541ad4a15f2e4efad991bef33d99e16fad90.tar.gz", |