dapphub / dapptools

Dapp, Seth, Hevm, and more
https://dapp.tools
2.1k stars 325 forks source link

Fuzz Test Dictionary #645

Open d-xo opened 3 years ago

d-xo commented 3 years ago

We should keep a persistent dictionary of examples founds via fuzzing. Each time a new branch is explored we should save the calldata to the dictionary for use in future runs.

This corpus could also be used as a seed for mutation based testing to hopefully get smarter or more aggressive values out of the fuzzer.

d-xo commented 3 years ago

Some inspiration for mutations: