File tree Expand file tree Collapse file tree 2 files changed +12
-10
lines changed
Expand file tree Collapse file tree 2 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 1818cd /tmp
1919
2020export GOROOT=/root/.go
21- wget https://go.dev/dl/go1.25.0 .linux-amd64.tar.gz
21+ wget https://go.dev/dl/go1.25.5 .linux-amd64.tar.gz
2222mkdir temp-go
23- tar -C temp-go/ -xzf go1.25.0 .linux-amd64.tar.gz
23+ tar -C temp-go/ -xzf go1.25.5 .linux-amd64.tar.gz
2424
2525mkdir /root/.go/
2626mv temp-go/go/* /root/.go/
@@ -38,18 +38,19 @@ if [ -f "$GOPATH/gosigfuzz/gosigfuzz.c" ]; then
3838fi
3939
4040cd /tmp
41- git clone https://github.com/AdamKorcz/go-118-fuzz-build
41+ git clone https://github.com/AdamKorcz/go-118-fuzz-build --branch=v2_2
4242cd go-118-fuzz-build
43- go build
43+ git checkout 65072595fdfb80eaedbc37db3837d82eb95ce7b2
44+ CGO_ENABLED=1 go build .
4445mv go-118-fuzz-build $GOPATH /bin/
4546
4647# Build v2 binaries
4748git checkout v2
4849go build .
4950mv go-118-fuzz-build $GOPATH /bin/go-118-fuzz-build_v2
5051pushd cmd/convertLibFuzzerTestcaseToStdLibGo
51- go build . && mv convertLibFuzzerTestcaseToStdLibGo $GOPATH /bin/
52+ CGO_ENABLED=1 go build . && mv convertLibFuzzerTestcaseToStdLibGo $GOPATH /bin/
5253popd
5354pushd cmd/addStdLibCorpusToFuzzer
54- go build . && mv addStdLibCorpusToFuzzer $GOPATH /bin/
55+ CGO_ENABLED=1 go build . && mv addStdLibCorpusToFuzzer $GOPATH /bin/
5556popd
Original file line number Diff line number Diff line change @@ -21,9 +21,9 @@ case $(uname -m) in
2121 x86_64)
2222 # Download and install Go.
2323 export GOROOT=/root/.go
24- wget https://go.dev/dl/go1.25.0 .linux-amd64.tar.gz
24+ wget https://go.dev/dl/go1.25.5 .linux-amd64.tar.gz
2525 mkdir temp-go
26- tar -C temp-go/ -xzf go1.25.0 .linux-amd64.tar.gz
26+ tar -C temp-go/ -xzf go1.25.5 .linux-amd64.tar.gz
2727
2828 mkdir $GOROOT
2929 mv temp-go/go/* /root/.go/
@@ -36,9 +36,10 @@ case $(uname -m) in
3636 cd $GOPATH /gocoverage && /root/.go/bin/go install ./...
3737 cd /root/.go/src/cmd/cover && /root/.go/bin/go build && mv cover $GOPATH /bin/gotoolcover
3838 pushd /tmp
39- git clone --depth=1 https://github.com/AdamKorcz/go-118-fuzz-build --branch=v2
39+ git clone https://github.com/AdamKorcz/go-118-fuzz-build --branch=v2_2
40+ git checkout 65072595fdfb80eaedbc37db3837d82eb95ce7b2
4041 cd go-118-fuzz-build/cmd/convertLibFuzzerTestcaseToStdLibGo
41- /root/.go/bin/go build .
42+ CGO_ENABLED=1 /root/.go/bin/go build .
4243 mv convertLibFuzzerTestcaseToStdLibGo $GOPATH /bin/
4344 popd
4445 ;;
You can’t perform that action at this time.
0 commit comments