# Packages
Code generated by counterfeiter.
# Functions
GetELFHeader returns the header if the binary is and EF binary.
GetMachOHeader returns a struct with the executable header information.
GetPEHeader returns a portable executable header from the specified file.
New creates a new binary instance.
NewELFBinary opens a file and returns an ELF binary if it is one.
NewMachOBinary returns a Mach-O binary if the specified file is one.
NewPEBinary Returns a binary implementation for a Windows executable.
NewWithOptions creates a new binary with the specified options.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GOOS labels.
32 bit, little endian.
32 bit, big endian.
64 bit, little endian.
64 bit, big endian.
Universal Binary.
No description provided by the author
# Structs
Binary is the base type of the package.
ELFBinary abstracts a binary in ELF format.
ELFHeader abstracts the data we need from the elf header.
MachOBinary is an abstraction for a Mach-O executable.
MachOHeader is a structure to capture the data we need from the binary header.
Options to control the binary checker.
PEBinary is a struct that abstracts a Windows Portable Executable.
PEFileHeader captures the header information of the executable.
PEHeader captures the header information of the executable.
PEOptionalHeader we only care about the magic number to determine the binary wordsize.
# Interfaces
Header is a struct that captures the header of a binary executable.
# Type aliases
LinkMode is the enum for all available linking modes.