Ai
1 Star 0 Fork 0

github_repo/grpc-gateway

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
fuzzit.sh 739 Bytes
一键复制 编辑 原始数据 按行查看 历史
Johan Brandhorst 提交于 2020-03-11 17:25 +08:00 . Move httprule back into the public API
#!/bin/bash
set -xe
# We use fuzzit fork until go-fuzz will support go-modules
mkdir -p /go/src/github.com/dvyukov
cd /go/src/github.com/dvyukov
git clone https://github.com/fuzzitdev/go-fuzz
cd go-fuzz
go get ./...
go build ./...
#go get -v -u ./protoc-gen-grpc-gateway/httprule
cd /src/grpc-gateway
go-fuzz-build -libfuzzer -o parse-http-rule.a ./protoc-gen-grpc-gateway/httprule
clang-9 -fsanitize=fuzzer parse-http-rule.a -o parse-http-rule
wget -q -O fuzzit https://github.com/fuzzitdev/fuzzit/releases/download/v2.4.29/fuzzit_Linux_x86_64
chmod a+x fuzzit
if [ -z "CIRCLE_PULL_REQUEST" ]; then
TYPE="fuzzing"
else
TYPE="local-regression"
fi
./fuzzit create job --type ${TYPE} grpc-gateway/parse-http-rule parse-http-rule
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/github_repo/grpc-gateway.git
git@gitee.com:github_repo/grpc-gateway.git
github_repo
grpc-gateway
grpc-gateway
master

搜索帮助