Skip to content

fuzzer: Replace local-dir corpus prep with git-based corpus management - #24110

Open
kjarosh wants to merge 1 commit into
ruffle-rs:masterfrom
kjarosh:fuzz-corpus
Open

fuzzer: Replace local-dir corpus prep with git-based corpus management#24110
kjarosh wants to merge 1 commit into
ruffle-rs:masterfrom
kjarosh:fuzz-corpus

Conversation

@kjarosh

@kjarosh kjarosh commented Jul 3, 2026

Copy link
Copy Markdown
Member

Description

Remove prepare_swf_tests_corpus which copied SWF files from a local directory pointed to by LOCAL_RUFFLE_TESTS_SWFS_DIR. Replace it with a corpus module that clones ruffle-rs/fuzz-corpus from GitHub and pulls updates if the working tree is clean and has no unpushed commits.

Also fix the parse_swf corpus key in corpuses.toml to match the actual fuzz target name.

Testing

N/A

Checklist

  • I, a human, have self-reviewed this PR and fully understand the changes within.
  • I have made or updated tests where possible.
  • All of my commits are properly scoped, compile successfully, and pass all tests.
  • This PR does not make sense to split up into smaller PRs.
  • An LLM was involved in the authoring of this code.

@kjarosh kjarosh added A-tests Area: Tests & Test Framework T-feature Type: New Feature (that Flash doesn't have) fuzzing Issues related to fuzzing: tooling or fixing crashes found by fuzzing. labels Jul 3, 2026
Remove `prepare_swf_tests_corpus` which copied SWF files from a local
directory pointed to by `LOCAL_RUFFLE_TESTS_SWFS_DIR`. Replace it with
a `corpus` module that clones `ruffle-rs/fuzz-corpus` from GitHub and
pulls updates if the working tree is clean and has no unpushed commits.

Also fix the `parse_swf` corpus key in `corpuses.toml` to match the
actual fuzz target name.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-tests Area: Tests & Test Framework fuzzing Issues related to fuzzing: tooling or fixing crashes found by fuzzing. T-feature Type: New Feature (that Flash doesn't have)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant