Skip to content

Documentation uses method pe.PrettyMachineType that doesn't exist #102

Closed
@edeca

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions