File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 1717 # The number of seconds to run the fuzz target. 300 seconds = 5 minutes.
1818 FUZZ_TIME : 300
1919
20- # Use address sanitizer in the fuzzing.
21- RUSTFLAGS : -Zsanitizer=address
22-
2320 strategy :
2421 matrix :
2522 os : ["ubuntu-24.04-arm", "ubuntu-latest"]
4239 - run : cargo install --root "${{ runner.tool_cache }}/cargo-fuzz" --version ${{ env.CARGO_FUZZ_VERSION }} cargo-fuzz --locked
4340
4441 # Build and then run the fuzz target.
45- - run : cargo fuzz build ${{ matrix.fuzz_target }}
46- - run : cargo fuzz run ${{ matrix.fuzz_target }} -- -max_total_time=${{ env.FUZZ_TIME }}
42+ - run : RUSTFLAGS=-Zsanitizer=address cargo fuzz build ${{ matrix.fuzz_target }}
43+ - run : RUSTFLAGS=-Zsanitizer=address cargo fuzz run ${{ matrix.fuzz_target }} -- -max_total_time=${{ env.FUZZ_TIME }}
4744
4845 # Upload fuzzing artifacts on failure for post-mortem debugging.
4946 - uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments