Skip to content

Commit

Permalink
Don't change JVM defaults while fuzzing
Browse files Browse the repository at this point in the history
  • Loading branch information
vy committed Oct 1, 2024
1 parent 2e9a659 commit ea6a94a
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions oss-fuzz-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -138,13 +138,6 @@ echo "INFO: Produced using the commit ID: $commitId"
# Switch to the script directory
cd -- "\$(dirname -- "\${BASH_SOURCE[0]}")"
# Determine JVM args
if [[ "\$@" =~ (^| )-runs=[0-9]+(\$| ) ]]; then
jvmArgs="-Xmx1900m:-Xss900k"
else
jvmArgs="-Xmx2048m:-Xss1024k"
fi
# Verify the classpath
classPath="$classPath"
echo "\$classPath" | sed 's/:/\n/g' | while read classPathFilePath; do
Expand Down Expand Up @@ -191,7 +184,6 @@ jazzer_driver \\
--agent_path=jazzer_agent_deploy.jar \\
--cp="\$classPath" \\
--target_class="$fqcn" \\
--jvm_args="\$jvmArgs" \\
\$@ \\
2>&1 | tee "\$cmdOutputFile" || {
retCode=\$?;
Expand Down

0 comments on commit ea6a94a

Please sign in to comment.