-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Add random fuzzing of inputs #16
Comments
should take some pointers from the echidna fuzzing engine which keeps a malicious input db and has what they call "constant mining" (recycles state vars and return data as input) |
oh and shrinking would be rly helpful too |
I think PropTest already has shrinking https://github.com/AltSysrq/proptest/search?q=shrink, as implemented in #44 |
Can we keep open for adding advanced features like mutation or constant mining? Or should I crate a new issue |
Yeah let's get more specific issues open for that, along with labels for each. |
ideally abstract over the backend so we can use both of the below:
https://github.com/AltSysrq/proptest
https://github.com/BurntSushi/quickcheck
instead using just the function selector as calldata, detect if the function has args and generate random inputs for N iterations
https://github.com/gakonst/dapptools-rs/blob/master/dapp/src/runner.rs#L104
The text was updated successfully, but these errors were encountered: