debug/pe: Missing IMAGE_FILE_MACHINE_ARM64 machine magic constant #20849
Labels
FrozenDueToAge
help wanted
NeedsFix
The path to resolution is known, but the work has not been done.
OS-Windows
Milestone
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version go1.8.3 linux/amd64 but also checked tip.golang.org/pkg/debug/pe
What did you do?
Tried to load a arm64 linux kernel image to inspect the PE header (used to UEFI) using
pe.Open()
see https://play.golang.org/p/FFjD3r8M6N
What did you expect to see?
Loads fine
What did you see instead?
At least one of the problems is that the
IMAGE_FILE_MACHINE_ARM64
that was added with Revision 10 of the "Microsoft Portable Executable and Common Object File Format Specification" (also known pecoff.docx), constant is not defined.The text was updated successfully, but these errors were encountered: