Skip to content

Commit 2e1c1e9

Browse files
committed
wip
Signed-off-by: Joe Isaacs <[email protected]>
1 parent 49d3ef1 commit 2e1c1e9

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

.github/workflows/fuzz.yml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -217,9 +217,11 @@ jobs:
217217
218218
**Stack Trace**:
219219
```
220-
[top 5-7 frames]
220+
[top 5-7 frames - keep in code block to prevent markdown rendering issues]
221221
```
222222
223+
Note: Keep stack traces in code blocks to prevent `#0`, `#1` from being interpreted as markdown headers.
224+
223225
**Root Cause**: [Your analysis]
224226
225227
### Summary
@@ -234,10 +236,20 @@ jobs:
234236
235237
### Reproduction
236238
237-
1. Download artifacts from: $WORKFLOW_RUN
238-
2. Run:
239+
1. Download the crash artifact from the workflow run:
240+
- **Workflow run**: $WORKFLOW_RUN
241+
- Look for the artifact named `io-fuzzing-crash-artifacts` at the bottom of the workflow run page
242+
- Download and extract the zip file
243+
244+
2. Reproduce locally:
245+
```bash
246+
# The artifact contains file_io/$CRASH_FILE
247+
cargo +nightly fuzz run file_io file_io/$CRASH_FILE
248+
```
249+
250+
3. Get full backtrace:
239251
```bash
240-
cargo +nightly fuzz run file_io fuzz/artifacts/file_io/$CRASH_FILE
252+
RUST_BACKTRACE=full cargo +nightly fuzz run file_io file_io/$CRASH_FILE
241253
```
242254
243255
---

0 commit comments

Comments
 (0)