Skip to content

Commit

Permalink
Add cargo fuzz check to make fuzz, to ensure all fuzz targets can…
Browse files Browse the repository at this point in the history
… build
  • Loading branch information
Dr-Emann committed Oct 4, 2023
1 parent 807b810 commit aabbed8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ _get_cargo_fuzz:

fuzz: _get_cargo_fuzz
cd fuzz && \
cargo fuzz check && \
ASAN_OPTIONS="detect_leaks=1 detect_stack_use_after_return=1" \
CC=clang CFLAGS=-fsanitize=address \
cargo fuzz run fuzz_ops -s address -- -max_len=10000 -rss_limit_mb=4096

0 comments on commit aabbed8

Please sign in to comment.