-
Notifications
You must be signed in to change notification settings - Fork 76
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
Reversed arbitrary #44
Comments
So the idea is that this would also involve adding something like a And we would want that This seems like a nice thing to have, but I haven't totally thought through how it might play out in terms of interaction with the However, a first step that I feel is safe to make without answering all those unknowns is to add a |
@Manishearth do you have thoughts on this, and how we might integrate it smoothly into the |
I'm not really sure! I think it's possible, but it might be annoying |
This might also be useful also for providing a corpus when using structure-aware fuzzing. |
I was thinking this would be helpful for me too (I'm contemplating on using Arbitrary for something else but fuzzing, though the property of small change in input yielding small change in output sounds beneficial for my use case), as I would like a way to provide some starting inputs for the search. And generating the input bytes by hand isn't going to be exactly ergonomic 😇. I was thinking if this would be better as a separate crate (eg. |
This is my use case as well. I'd like to benefit from the wonderfully clean fuzz harnesses that Arbitrary enables without sacrificing the ability to use a seed corpus. |
I would use this for seeding purposes as well... |
I started implementing a |
see #94 |
for a use-case other than corpus seeding ... (which I really want also!!!) ... more intelligent Hmm, maybe we can cheese this without
|
Hello,
I've been toying with custom mutators in cargo-fuzz with libfuzzer and it seems to me to support changes to typed data instead of bytes, the reversed arbrirtary operation would be really helpful. Here's the interface I have implemented so far:
The mutator with typed data would be the equivalent:
Does this sound like a reasonable approach to you?
The text was updated successfully, but these errors were encountered: