Skip to content

Commit

Permalink
Rename flags
Browse files Browse the repository at this point in the history
  • Loading branch information
vrabaud committed Apr 3, 2024
1 parent 5c7817b commit b038130
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/oss-fuzz/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,11 @@ then
this_dir=\$(dirname \"\$0\")
export TEST_DATA_DIRS=\$this_dir/corpus
chmod +x \$this_dir/$fuzz_basename
\$this_dir/$fuzz_basename --fuzz=$fuzz_entrypoint -- \$@
ARGS=\$*
ARGS=\$(echo \${ARGS} | sed \"s/-timeout=\\([0-9]\\+\\)/--fuzz_for=\1s/g\")
ARGS=\$(echo \${ARGS} | sed \"s/-rss_limit_mb/--rss_limit_mb/g\")
ARGS=\$(echo \${ARGS} | sed \"s/-runs=\\([0-9]\\+\\)/ /g}\")
\$this_dir/$fuzz_basename --fuzz=$fuzz_entrypoint -- \$ARGS
chmod -x \$this_dir/$fuzz_basename" > $OUT/$TARGET_FUZZER
chmod +x $OUT/$TARGET_FUZZER
done
Expand Down

0 comments on commit b038130

Please sign in to comment.