Skip to content

fuzz_target: make it possible to return Corpus for byte inputs #131

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

Merged
merged 1 commit into from
Mar 18, 2025

Conversation

flyingmutant
Copy link
Contributor

Previously, specifying a target with a Corpus return type forced an Arbitrary fuzz_target! overload, which in addition to being unnecessary forced verbose Debug output for &[u8], one byte per line. This could easily fill terminal scrollback buffer for non-trivial inputs.

Previously, specifying a target with a Corpus return type forced an
Arbitrary `fuzz_target!` overload, which in addition to being unnecessary
forced verbose Debug output for `&[u8]`, one byte per line. This could
easily fill terminal scrollback buffer for non-trivial inputs.
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.

Thanks!

@fitzgen fitzgen merged commit bcfa5f8 into rust-fuzz:main Mar 18, 2025
2 checks passed
@flyingmutant flyingmutant deleted the u8-corpus branch March 19, 2025 07:14
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