package
0.0.0-20210624183419-6d058f5e1da6
Repository: https://github.com/decomp/exp.git
Documentation: pkg.go.dev

# Packages

Package elf provides access to Executable and Linkable Format (ELF) files.
Package pe provides access to PE (Portable Executable) files.
Package pef provides access to PEF (Preferred Executable Format) files.
Package raw provides access to raw binary executables.

# Functions

ArchFromString returns the Arch enum corresponding to s.
InsertAddr inserts the given address within the sorted slice of addresses.
Parse parses the given binary executable, reading from r.
ParseFile parses the given binary executable, reading from path.
ParseUint64 interprets the given string in base 10 or base 16 (if prefixed with `0x` or `0X`) and returns the corresponding value.
RegisterFormat registers a binary executable format for use by Parse.

# Constants

ARM_32.
ARM_64.
MIPS_32.
PowerPC_32.
PowerPC_64 big endian.
PowerPC_64 little endian.
x86_32.
x86_64.
PermR specifies that the memory is readable.
PermW specifies that the memory is writeable.
PermX specifies that the memory is executable.

# Structs

A File is a binary executable.
A Section represents a continuous section of memory.

# Type aliases

Address represents a virtual address, which may be specified in hexadecimal notation.
Addresses implements the sort.Sort interface, sorting addresses in ascending order.
Arch represents the set of machine architectures.
Perm specifies the access permissions of a segment or section in memory.
Uint64 represents a 64-bit unsigned integer, which may be specified in hexadecimal notation.