File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,3 +7,4 @@ rustc-ice*
77# Fuzzing data/state.
88/fuzz /in *
99/fuzz /out *
10+ /fuzz /runs
Original file line number Diff line number Diff line change @@ -99,13 +99,13 @@ mkdir fuzz/in-foo && echo > fuzz/in-foo/empty
9999
100100# Start the fuzzing run `foo`, which should bring up the AFL++ progress TUI
101101# (see also `cargo run -p rustc_apfloat-fuzz` for extra flags available).
102- cargo afl fuzz -i fuzz/in-foo -o fuzz/out-foo target/release/rustc_apfloat-fuzz
102+ cargo afl fuzz -i fuzz/run/ in-foo -o fuzz/run /out-foo target/release/rustc_apfloat-fuzz
103103```
104104
105105To visualize the fuzzing testcases, you can use the ` decode ` subcommand:
106106
107107``` sh
108- cargo run -p rustc_apfloat-fuzz decode fuzz/out-foo/default/crashes/*
108+ cargo run -p rustc_apfloat-fuzz decode fuzz/run/ out-foo/default/crashes/*
109109```
110110
111111Note that ` cargo run ` and ` cargo afl build ` conflict, so if running the fuzzer
Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ set -euxo pipefail
99# Detect cores
1010all_cores=" $( nproc) "
1111used_cores=" $(( all_cores - 2 )) "
12- in_dir=" target /fuzz-in"
13- sync_dir=" target /fuzz-out"
12+ in_dir=" fuzz/runs /fuzz-in"
13+ sync_dir=" fuzz/runs /fuzz-out"
1414tmux_window=afl
1515
1616if [[ " $used_cores " -lt 2 ]]; then
You can’t perform that action at this time.
0 commit comments