You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we get to newer versions of golang, we might want to update our fuzzing. The new format looks roughly like:
func FuzzParser(f *testing.F) {
f.Fuzz(func(t *testing.T, data []byte) {
original fuzz function body goes here
})
}
Then
s/return/t.Skip()/
s/panic/t.Fatal/
finally
mv fuzz.go fuzz_test.go
and import "testing"
From notes taken from twitter. TBD for some future hacker to see if all this works with corpus, etc...
The text was updated successfully, but these errors were encountered:
When we get to newer versions of golang, we might want to update our fuzzing. The new format looks roughly like:
From notes taken from twitter. TBD for some future hacker to see if all this works with corpus, etc...
The text was updated successfully, but these errors were encountered: