From 59d804ca192044f48df6a4d3c3ccb7bdc5ae7d89 Mon Sep 17 00:00:00 2001 From: Khaled Yakdan Date: Mon, 7 Feb 2022 12:51:36 +0100 Subject: [PATCH] Add Code Intelligence go114-fuzz-build fork (#7221) The patched Go versions adds a new runtime function to register 8bit counters when initializing the fuzz target. This is needed to register those counters with libfuzzer and get real edge coverage. This change is meant to be a temporary change until the Go patches are accepted upstream. Then, we will create a pull request for go114-fuzz-build --- .../base-builder/install_go_CodeIntelligenceTesting.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/base-images/base-builder/install_go_CodeIntelligenceTesting.sh b/infra/base-images/base-builder/install_go_CodeIntelligenceTesting.sh index 834d2cd17..1b72e75f2 100755 --- a/infra/base-images/base-builder/install_go_CodeIntelligenceTesting.sh +++ b/infra/base-images/base-builder/install_go_CodeIntelligenceTesting.sh @@ -31,7 +31,7 @@ mv -f /tmp/go-CodeIntelligenceTesting /root/.go # Install go114-fuzz-build with the new Go. rm -rf "$GOPATH/" mkdir -p "$GOPATH/" -go install github.com/mdempsky/go114-fuzz-build@latest +go install github.com/CodeIntelligenceTesting/go114-fuzz-build@latest ln -s "$GOPATH/bin/go114-fuzz-build" "$GOPATH/bin/go-fuzz" # Re-install ossfuzz_coverage_runner.go.