Open
Description
When using the debug/pe
package to look up information about binaries, I noticed that there's a subtle API difference compared to debug/macho
and debug/elf
.
For instance, in the debug/elf
package, Machine
is defined as being able to call:
f.Machine.String()
Whereas when using the debug/pe
package, Machine
has no such definition in the FileHeader
.
It would be good to align the API of this package alongside how we do it in the other packages:
- Extract a type for
Machine
- Add a
String()
method - Add a
GoString()
method
Metadata
Metadata
Assignees
Type
Projects
Status
Accepted