dvyukov / go-fuzz

Randomized testing for Go
Apache License 2.0
4.79k stars 279 forks source link

Add new mutation strategies #337

Open disconnect3d opened 2 years ago

disconnect3d commented 2 years ago

Hey,

We have had an internship project in Trail of Bits to improve go-fuzz recently which was done by @vfsrfs.

We are aware of the ongoing official work on native fuzzing support but since we still rely on go-fuzz we went ahead to improve its pain points and so that's why we propose this PR. Feel free to drop it if you feel it is too much or you do not want to introduce any changes in go-fuzz.

Below I am pasting the description from the original PR merged to our fork of go-fuzz (https://github.com/trailofbits/go-fuzz/pull/3).


This PR adds new mutation strategies for the inputs:

josharian commented 2 years ago

As with the other two, I'm leaving this for @thepudds to review or not as they see fit.