Projects STRLCPY redress Commits 35bd7f04
🤬
  • Go 1.18 package classification fix

    This pulls in the latest version of gore to fix edge-cases in the
    package classification logic for Go 1.18 binaries. In addition to the
    update, an additional logic was added to the mod command. If the main
    module path is empty, it uses the path found in the build info
    structure.
  • Loading...
  • TcM1911 committed 2 years ago
    35bd7f04
    1 parent ea3137d0
  • ■ ■ ■ ■
    go.mod
    skipped 11 lines
    12 12  require (
    13 13   github.com/inconshreveable/mousetrap v1.0.0 // indirect
    14 14   github.com/spf13/pflag v1.0.5 // indirect
    15  - golang.org/x/arch v0.0.0-20210923205945-b76863e36670 // indirect
     15 + golang.org/x/arch v0.0.0-20220412001346-fc48f9fe4c15 // indirect
    16 16   golang.org/x/mod v0.5.1 // indirect
    17 17  )
    18 18   
    skipped 3 lines
  • ■ ■ ■ ■ ■ ■
    go.sum
    skipped 221 lines
    222 222  github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
    223 223  github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA=
    224 224  github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
    225  -github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=
    226 225  github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
     226 +github.com/stretchr/testify v1.7.1 h1:5TQK59W5E3v0r2duFAb7P95B6hEeOyEnHRa8MjYSMTY=
    227 227  github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw=
    228 228  github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
    229 229  github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
    skipped 13 lines
    243 243  go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc=
    244 244  go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU=
    245 245  go.uber.org/zap v1.17.0/go.mod h1:MXVU+bhUf/A7Xi2HNOnopQOrmycQ5Ih87HtOu4q5SSo=
    246  -golang.org/x/arch v0.0.0-20210923205945-b76863e36670 h1:18EFjUmQOcUvxNYSkA6jO9VAiXCnxFY6NyDX0bHDmkU=
    247  -golang.org/x/arch v0.0.0-20210923205945-b76863e36670/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8=
     246 +golang.org/x/arch v0.0.0-20220412001346-fc48f9fe4c15 h1:GVfVkciLYxn5mY5EncwAe0SXUn9Rm81rRkZ0TTmn/cU=
     247 +golang.org/x/arch v0.0.0-20220412001346-fc48f9fe4c15/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8=
    248 248  golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
    249 249  golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
    250 250  golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
    skipped 315 lines
    566 566  gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
    567 567  gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
    568 568  gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
    569  -gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b h1:h8qDotaEPuJATrMmW04NCwg7v22aHH28wwpauUhK9Oo=
    570 569  gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
     570 +gopkg.in/yaml.v3 v3.0.0-20220512140231-539c8e751b99 h1:dbuHpmKjkDzSOMKAWl10QNlgaZUd3V1q99xc81tt2Kc=
    571 571  honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
    572 572  honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
    573 573  honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
    skipped 8 lines
  • ■ ■ ■ ■
    gore
    1  -[email protected]:goretk/gore.git:b697eef70b7c4cef82dac5a61453e3657e3fbe7d
     1 +[email protected]:goretk/gore.git:141f38f24c76dffd798c5cbad48d05129ce9b9b5
  • ■ ■ ■ ■ ■
    info.go
    skipped 123 lines
    124 124   
    125 125   t.AddHeader("Type", "Name", "Version", "Replaced by", "Hash")
    126 126   
    127  - t.AddLine("main", mod.Main.Path, mod.Main.Version, "", mod.Main.Sum)
     127 + // If the main path is empty, we fallback to the path in the
     128 + // build info.
     129 + mainPath := mod.Main.Path
     130 + if mainPath == "" {
     131 + mainPath = mod.Path
     132 + }
     133 + t.AddLine("main", mainPath, mod.Main.Version, "", mod.Main.Sum)
    128 134   
    129 135   for _, m := range mod.Deps {
    130 136   if m.Replace != nil {
    skipped 10 lines
Please wait...
Page is in error, reload to recover