package
0.0.0-20210624183419-6d058f5e1da6
Repository: https://github.com/decomp/exp.git
Documentation: pkg.go.dev
# 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.
# 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.