Skip to content

Commit

Permalink
institute sane limits for arbitrary-based fuzzers
Browse files Browse the repository at this point in the history
  • Loading branch information
addisoncrump committed Jul 15, 2023
1 parent 855c5c4 commit a91d953
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions fuzz/ast-fuzzers.options
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[libfuzzer]
max_len = 65536
5 changes: 4 additions & 1 deletion fuzz/oss-fuzz-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,8 @@ targets=(
ast_fuzz_match_bytes
)
for target in "${targets[@]}"; do
cp fuzz/target/x86_64-unknown-linux-gnu/release/$target $OUT/
cp "fuzz/target/x86_64-unknown-linux-gnu/release/${target}" "${OUT}/"
if [[ "$target" == ast_* ]]; then
cp fuzz/ast-fuzzers.options "${OUT}/${target}.options"
fi
done

0 comments on commit a91d953

Please sign in to comment.