Debian Codegraph @

src/debug/buildinfo/testdata/go117/README.md

raw
1 go117.base64 is a base64-encoded Go 1.17 hello world binary used to test
2 debug/buildinfo of pre-1.18 buildinfo encoding.
3
4 The binary is base64 encoded to hide it from security scanners that believe a
5 Go 1.17 is inherently insecure.
6
7 Generate go117.base64 with:
8
9 $ GOTOOLCHAIN=go1.17 GOOS=linux GOARCH=amd64 go build -trimpath
10 $ base64 go117 > go117.base64
11 $ rm go117
12
13 TODO(prattmic): Ideally this would be built on the fly to better cover all
14 executable formats, but then we need a network connection to download an old Go
15 toolchain.