go-fuzz安装
2.1 使用 go get 安装
$ go get github.com/dvyukov/go-fuzz
2.2 源码安装
创建/home/xxx/gowork/src/github.com/dvyukov/目录,手动下载 zip 包上传到该目录进行安装,解压文件:
$ unzip go-fuzz-master.zip
路径是
$GOPATH/src/github.com/dvyukov/go-fuzz
$GOPATH/src/github.com/dvyukov/go-fuzz-corpus
下载的东西准备好了,执行安装:
$ go install $GOPATH/src/github.com/dvyukov/go-fuzz/go-fuzz
$ go install $GOPATH/src/github.com/dvyukov/go-fuzz/go-fuzz-build