]> git.feebdaed.xyz Git - 0xmirror/go.git/commit
debug/elf: make check for empty symbol section consistent for 64-bit and 32-bit binaries
authorAditya Sirish A Yelgundhalli <ayelgundhall@bloomberg.net>
Wed, 10 Sep 2025 02:34:03 +0000 (02:34 +0000)
committerGopher Robot <gobot@golang.org>
Mon, 1 Dec 2025 15:29:29 +0000 (07:29 -0800)
commiteec1afeb28522df37c78c29506ae89233bbce4e9
treea538fae74bb1dfaf52b8e7d07a986654e3ca89b2
parent3f94f3d4b2f03a913de3f5a737bad793418e751f
debug/elf: make check for empty symbol section consistent for 64-bit and 32-bit binaries

The check for whether a binary's symbols section is empty is
inconsistent across the 32-bit and 64-bit flows.

Change-Id: I1abc235320a53cf957cfb83c9e7bcad6e52bc529
GitHub-Last-Rev: f264915ca2964ad8f34ce1deee4f42c2f9dc21bf
GitHub-Pull-Request: golang/go#75334
Reviewed-on: https://go-review.googlesource.com/c/go/+/702195
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
src/debug/elf/file.go