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 ./goresym
I 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
If helpful, I can provide additional output from brew test --verbose goresym.
Summary
GoReSymv3.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
v3.1.2go1.26.0Reproduction
I 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
If helpful, I can provide additional output from
brew test --verbose goresym.