Documentation uses method pe.PrettyMachineType that doesn't exist #102
Closed
Description
The documentation in README.md
mentions pe.PrettyMachineType()
which doesn't seem to exist. The relevant line is:
fmt.Printf("Machine is: 0x%x, Meaning: %s\n", pe.NtHeader.FileHeader.Machine, pe.PrettyMachineType())
Using this code as shown produces the error:
.\main.go:24:83: pe.PrettyMachineType undefined (type *pe.File has no field or method PrettyMachineType)
Metadata
Assignees
Labels
No labels