You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by vy...@apache.org on 2024/08/31 15:37:35 UTC
(logging-log4j2) 01/02: More troubleshooting aid
This is an automated email from the ASF dual-hosted git repository.
vy pushed a commit to branch fuzzing
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
commit 48afb8fe43558c8a36f3e37ff5ca3bcff4c476cf
Author: Volkan Yazıcı <vo...@yazi.ci>
AuthorDate: Sat Aug 31 17:36:57 2024 +0200
More troubleshooting aid
---
oss-fuzz-build.sh | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/oss-fuzz-build.sh b/oss-fuzz-build.sh
index 991f8291c9..61cf9450cc 100755
--- a/oss-fuzz-build.sh
+++ b/oss-fuzz-build.sh
@@ -53,7 +53,7 @@ mkdir -p "$outputDir"
cd -- "$(dirname -- "${BASH_SOURCE[0]}")"
# To contain all Maven dependencies under `$outputDir`, explicitly provide the Maven local repository.
-# I presume(!?) this helps with caching and reproducibility too.
+# `.`-prefixed files are not copied by OSS-Fuzz, don't use them!
export MAVEN_OPTS="-Dmaven.repo.local=$outputDir/m2"
# Make Maven executions scripting friendly
@@ -141,6 +141,10 @@ echo "\$classPath" | sed 's/:/\n/g' | while read classPathFilePath; do
fi
done
+# Dump some debugging aid
+export
+java -version
+
# Run the fuzzer
LD_LIBRARY_PATH="\$JVM_LD_LIBRARY_PATH":. \\
jazzer_driver \\