fuzzing with dvyukov/go-fuzz

This commit is contained in:
Hayden
2017-04-07 21:51:56 -07:00
parent d82edd84a2
commit b98534c112
98 changed files with 133 additions and 1 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1 @@
 

View File

@ -0,0 +1 @@


View File

@ -0,0 +1 @@


View File

@ -0,0 +1,13 @@
package exportable
import "github.com/hkparker/go-i2p/lib/common"
func Fuzz(data []byte) int {
str, _, _ := common.ReadString(data)
str.Data()
str.Length()
str, _ = common.ToI2PString(string(data))
str.Data()
str.Length()
return 0
}