]> Cypherpunks.ru repositories - gostls13.git/commit
debug/pe: use correct pe64 test in ImportedSymbols
authorIan Lance Taylor <iant@golang.org>
Thu, 4 Aug 2022 19:05:15 +0000 (12:05 -0700)
committerGopher Robot <gobot@golang.org>
Mon, 8 Aug 2022 20:15:03 +0000 (20:15 +0000)
commitd6ccb4ead9c995ee2bff10079118bf91d1b646e9
treebf3fbe7ff3f024f75d1bf138066ae6dcc7f57cac
parenta34a97d88d9aac5f0ca8422243ea15c89fa8d880
debug/pe: use correct pe64 test in ImportedSymbols

64-bit PE is set by the optional header magic number,
not by the machine field.

Fixes #54250

Change-Id: I4d01bc08553780d5470e63f0b17bbd968323e5d1
Reviewed-on: https://go-review.googlesource.com/c/go/+/421394
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
src/debug/pe/file.go