-
Notifications
You must be signed in to change notification settings - Fork 97
Closed
Description
Summary
GoReSym v3.1.2 fails to parse a binary built from its own source when built with Go 1.26.
This is causing Homebrew formula test failures because the test runs GoReSym against itself.
Environment
- GoReSym:
v3.1.2 - Go:
go1.26.0 - Reproduced locally on macOS arm64
- Also seen in Homebrew CI
Reproduction
git clone --depth 1 --branch v3.1.2 https://github.com/mandiant/GoReSym.git
cd GoReSym
go version
# go version go1.26.0 ...
go build -trimpath -o goresym .
./goresym ./goresymI also tested with -ldflags='-s -w'; result is the same.
Actual result
{"error": "Failed to parse file: no valid pclntab found"}Exit code is non-zero (1).
Expected result
GoReSym should successfully parse its own binary (or at minimum not fail this way for a standard Go 1.26 binary).
Homebrew references
- CI log section: https://github.com/Homebrew/homebrew-core/actions/runs/21880985907/job/63170336098?pr=258912#step:3:11498
- PR context: go 1.26.0, go@1.25 1.25.7 (new formula) Homebrew/homebrew-core#258912
If helpful, I can provide additional output from brew test --verbose goresym.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels