From 0f667de8315c982a7a925074fc225d06670914ff Mon Sep 17 00:00:00 2001 From: yawkat Date: Wed, 18 Dec 2024 13:53:10 +0100 Subject: [PATCH] change oss-fuzz script --- .../io/micronaut/fuzzing/jazzer/PrepareClusterFuzzTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jazzer-plugin/src/main/java/io/micronaut/fuzzing/jazzer/PrepareClusterFuzzTask.java b/jazzer-plugin/src/main/java/io/micronaut/fuzzing/jazzer/PrepareClusterFuzzTask.java index b6c0672..f499b86 100644 --- a/jazzer-plugin/src/main/java/io/micronaut/fuzzing/jazzer/PrepareClusterFuzzTask.java +++ b/jazzer-plugin/src/main/java/io/micronaut/fuzzing/jazzer/PrepareClusterFuzzTask.java @@ -43,7 +43,7 @@ public void run() throws IOException { #!/bin/bash # LLVMFuzzerTestOneInput <-- for fuzzer detection (see test_all.py) this_dir=$(dirname "$0") - exec java -cp $this_dir'/libs/*' com.code_intelligence.jazzer.Jazzer %s $@ + exec $this_dir/jazzer_driver --agent_path=$this_dir/jazzer_agent_deploy.jar --cp=$this_dir'/libs/*' %s $@ """.formatted(String.join(" ", args)); Path targetPath = getOutputDirectory().file(targetClass).get().getAsFile().toPath(); Files.writeString(targetPath, sh);