claircore icon indicating copy to clipboard operation
claircore copied to clipboard

gobin: rework `go:linkname` abuse

Open hdonnay opened this issue 1 year ago • 1 comments
trafficstars

See: golang/go#67401

The gobin package currently uses this to distinguish between "error reading go dependency information" and "not a go binary". If there's some other feature of go-produced ELF or PE binaries we could use as a rule to distinguish them, that would let us (and go upstream) remove this.

hdonnay avatar May 31 '24 20:05 hdonnay