Skip to content

Support fuzzing rich signatures beyond Fuzz(data []byte)

Compare
Choose a tag to compare
@thepudds thepudds released this 01 Aug 00:42
· 29 commits to master since this release
ad61927
  • Add support for fuzzing rich signatures, such as:

func FuzzFunc(re string, input []byte, posix bool) (bool, error)

  • Directly manage randomness for rich signatures, which also enables literal injection. This allows examples like this to be guessed within a few seconds of fuzzing:
func FuzzHardToGuessNumber(guessMe int64) {
	if guessMe == 0x123456789 {
		panic("bingo")
	}
}