Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consolidate some fuzzers into one #10385

Merged
merged 1 commit into from
Mar 12, 2025

Conversation

alexcrichton
Copy link
Member

This commit consolidates a number of fuzzers that we have in Wasmtime into a single fuzzer. This follows the pattern of wasm-tools's run fuzzer where the first byte in the fuzz input says which fuzzer to run and then the rest of the input is the input to the fuzzer. This is intended to improve our time-slicing on OSS-Fuzz where less important fuzzers don't hog time from the "important fuzzers" such as differential. Some minor-ish fuzzers have been folded in to this new fuzzer, but we can also always move things around as needed

This commit consolidates a number of fuzzers that we have in Wasmtime
into a single fuzzer. This follows the pattern of [wasm-tools's `run`
fuzzer][tools] where the first byte in the fuzz input says which fuzzer
to run and then the rest of the input is the input to the fuzzer. This
is intended to improve our time-slicing on OSS-Fuzz where less important
fuzzers don't hog time from the "important fuzzers" such as
`differential`. Some minor-ish fuzzers have been folded in to this new
fuzzer, but we can also always move things around as needed

[tools]: https://github.com/bytecodealliance/wasm-tools/blob/main/fuzz/fuzz_targets/run.rs
@alexcrichton alexcrichton requested a review from a team as a code owner March 12, 2025 16:23
@alexcrichton alexcrichton requested review from fitzgen and removed request for a team March 12, 2025 16:23
@alexcrichton
Copy link
Member Author

cc @abrown this is where a hook for the new assembler fuzzer would go

Copy link
Member

@fitzgen fitzgen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

@alexcrichton alexcrichton added this pull request to the merge queue Mar 12, 2025
Merged via the queue into bytecodealliance:main with commit 840f544 Mar 12, 2025
40 checks passed
@alexcrichton alexcrichton deleted the consolidate-fuzz branch March 12, 2025 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants