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

Implement Arbritrary for all types #40

Open
gluax opened this issue Feb 10, 2023 · 1 comment
Open

Implement Arbritrary for all types #40

gluax opened this issue Feb 10, 2023 · 1 comment
Assignees

Comments

@gluax
Copy link

gluax commented Feb 10, 2023

Building from the ground up with fuzzing in mind is always beneficial to libraries, especially ones that define their own types.

Meaning the Arbitrary trait should be implemented for all types, maybe even on the features themselves. This way, setting up libFuzzer, cargo fuzz, or AFL is easy.

The standard approach is to add a feature gate arbitrary that reveals the Arbitrary trait implementations when enabled.

@unbalancedparentheses
Copy link
Member

I like this. Let's do it. Talking with the team

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 a pull request may close this issue.

3 participants