...

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

Documentation: debug/buildinfo/testdata/go117

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

View as plain text