Versions in this module Expand all Collapse all v0 v0.25.0 Jul 12, 2018 v0.24.0 Jun 20, 2018 Changes in this version + const ARM_MAGIC_TRAMP_NUMBER + const EI_ABIVERSION + const EI_CLASS + const EI_DATA + const EI_NIDENT + const EI_OSABI + const EI_PAD + const EI_VERSION + const ELFMAG + const Sym32Size + const Sym64Size + func R_INFO(sym, typ uint32) uint64 + func R_INFO32(sym, typ uint32) uint32 + func R_SYM32(info uint32) uint32 + func R_SYM64(info uint64) uint32 + func R_TYPE32(info uint32) uint32 + func R_TYPE64(info uint64) uint32 + func ST_INFO(bind SymBind, typ SymType) uint8 + type Class byte + const ELFCLASS32 + const ELFCLASS64 + const ELFCLASSNONE + func (i Class) GoString() string + func (i Class) String() string + type Data byte + const ELFDATA2LSB + const ELFDATA2MSB + const ELFDATANONE + func (i Data) GoString() string + func (i Data) String() string + type Dyn32 struct + Tag int32 + Val uint32 + type Dyn64 struct + Tag int64 + Val uint64 + type DynFlag int + const DF_BIND_NOW + const DF_ORIGIN + const DF_STATIC_TLS + const DF_SYMBOLIC + const DF_TEXTREL + func (i DynFlag) GoString() string + func (i DynFlag) String() string + type DynTag int + const DT_BIND_NOW + const DT_DEBUG + const DT_ENCODING + const DT_FINI + const DT_FINI_ARRAY + const DT_FINI_ARRAYSZ + const DT_FLAGS + const DT_HASH + const DT_HIOS + const DT_HIPROC + const DT_INIT + const DT_INIT_ARRAY + const DT_INIT_ARRAYSZ + const DT_JMPREL + const DT_LOOS + const DT_LOPROC + const DT_NEEDED + const DT_NULL + const DT_PLTGOT + const DT_PLTREL + const DT_PLTRELSZ + const DT_PREINIT_ARRAY + const DT_PREINIT_ARRAYSZ + const DT_REL + const DT_RELA + const DT_RELAENT + const DT_RELASZ + const DT_RELENT + const DT_RELSZ + const DT_RPATH + const DT_RUNPATH + const DT_SONAME + const DT_STRSZ + const DT_STRTAB + const DT_SYMBOLIC + const DT_SYMENT + const DT_SYMTAB + const DT_TEXTREL + const DT_VERNEED + const DT_VERNEEDNUM + const DT_VERSYM + func (i DynTag) GoString() string + func (i DynTag) String() string + type File struct + Progs []*Prog + Sections []*Section + func NewFile(r io.ReaderAt) (*File, error) + func Open(name string) (*File, error) + func (f *File) Close() error + func (f *File) DWARF() (*dwarf.Data, error) + func (f *File) DynString(tag DynTag) ([]string, error) + func (f *File) ImportedLibraries() ([]string, error) + func (f *File) ImportedSymbols() ([]ImportedSymbol, error) + func (f *File) Section(name string) *Section + func (f *File) SectionByType(typ SectionType) *Section + func (f *File) Symbols() ([]Symbol, error) + type FileHeader struct + ABIVersion uint8 + ByteOrder binary.ByteOrder + Class Class + Data Data + Entry uint64 + Machine Machine + OSABI OSABI + Type Type + Version Version + type FormatError struct + func (e *FormatError) Error() string + type Header32 struct + Ehsize uint16 + Entry uint32 + Flags uint32 + Ident [EI_NIDENT]byte + Machine uint16 + Phentsize uint16 + Phnum uint16 + Phoff uint32 + Shentsize uint16 + Shnum uint16 + Shoff uint32 + Shstrndx uint16 + Type uint16 + Version uint32 + type Header64 struct + Ehsize uint16 + Entry uint64 + Flags uint32 + Ident [EI_NIDENT]byte + Machine uint16 + Phentsize uint16 + Phnum uint16 + Phoff uint64 + Shentsize uint16 + Shnum uint16 + Shoff uint64 + Shstrndx uint16 + Type uint16 + Version uint32 + type ImportedSymbol struct + Library string + Name string + Version string + type Machine uint16 + const EM_386 + const EM_486 + const EM_68HC12 + const EM_68K + const EM_860 + const EM_88K + const EM_960 + const EM_ALPHA + const EM_ALPHA_STD + const EM_ARC + const EM_ARM + const EM_COLDFIRE + const EM_FR20 + const EM_H8S + const EM_H8_300 + const EM_H8_300H + const EM_H8_500 + const EM_IA_64 + const EM_M32 + const EM_ME16 + const EM_MIPS + const EM_MIPS_RS3_LE + const EM_MIPS_RS4_BE + const EM_MIPS_X + const EM_MMA + const EM_NCPU + const EM_NDR1 + const EM_NONE + const EM_PARISC + const EM_PCP + const EM_PPC + const EM_PPC64 + const EM_RCE + const EM_RH32 + const EM_S370 + const EM_S390 + const EM_SH + const EM_SPARC + const EM_SPARC32PLUS + const EM_SPARCV9 + const EM_ST100 + const EM_STARCORE + const EM_TINYJ + const EM_TRICORE + const EM_V800 + const EM_VPP500 + const EM_X86_64 + func (i Machine) GoString() string + func (i Machine) String() string + type NType int + const NT_FPREGSET + const NT_PRPSINFO + const NT_PRSTATUS + func (i NType) GoString() string + func (i NType) String() string + type OSABI byte + const ELFOSABI_86OPEN + const ELFOSABI_AIX + const ELFOSABI_ARM + const ELFOSABI_FREEBSD + const ELFOSABI_HPUX + const ELFOSABI_HURD + const ELFOSABI_IRIX + const ELFOSABI_LINUX + const ELFOSABI_MODESTO + const ELFOSABI_NETBSD + const ELFOSABI_NONE + const ELFOSABI_NSK + const ELFOSABI_OPENBSD + const ELFOSABI_OPENVMS + const ELFOSABI_SOLARIS + const ELFOSABI_STANDALONE + const ELFOSABI_TRU64 + func (i OSABI) GoString() string + func (i OSABI) String() string + type Prog struct + func (p *Prog) Open() io.ReadSeeker + type Prog32 struct + Align uint32 + Filesz uint32 + Flags uint32 + Memsz uint32 + Off uint32 + Paddr uint32 + Type uint32 + Vaddr uint32 + type Prog64 struct + Align uint64 + Filesz uint64 + Flags uint32 + Memsz uint64 + Off uint64 + Paddr uint64 + Type uint32 + Vaddr uint64 + type ProgFlag uint32 + const PF_MASKOS + const PF_MASKPROC + const PF_R + const PF_W + const PF_X + func (i ProgFlag) GoString() string + func (i ProgFlag) String() string + type ProgHeader struct + Align uint64 + Filesz uint64 + Flags ProgFlag + Memsz uint64 + Off uint64 + Paddr uint64 + Type ProgType + Vaddr uint64 + type ProgType int + const PT_DYNAMIC + const PT_HIOS + const PT_HIPROC + const PT_INTERP + const PT_LOAD + const PT_LOOS + const PT_LOPROC + const PT_NOTE + const PT_NULL + const PT_PHDR + const PT_SHLIB + const PT_TLS + func (i ProgType) GoString() string + func (i ProgType) String() string + type R_386 int + const R_386_32 + const R_386_COPY + const R_386_GLOB_DAT + const R_386_GOT32 + const R_386_GOTOFF + const R_386_GOTPC + const R_386_JMP_SLOT + const R_386_NONE + const R_386_PC32 + const R_386_PLT32 + const R_386_RELATIVE + const R_386_TLS_DTPMOD32 + const R_386_TLS_DTPOFF32 + const R_386_TLS_GD + const R_386_TLS_GD_32 + const R_386_TLS_GD_CALL + const R_386_TLS_GD_POP + const R_386_TLS_GD_PUSH + const R_386_TLS_GOTIE + const R_386_TLS_IE + const R_386_TLS_IE_32 + const R_386_TLS_LDM + const R_386_TLS_LDM_32 + const R_386_TLS_LDM_CALL + const R_386_TLS_LDM_POP + const R_386_TLS_LDM_PUSH + const R_386_TLS_LDO_32 + const R_386_TLS_LE + const R_386_TLS_LE_32 + const R_386_TLS_TPOFF + const R_386_TLS_TPOFF32 + func (i R_386) GoString() string + func (i R_386) String() string + type R_ALPHA int + const R_ALPHA_BRADDR + const R_ALPHA_COPY + const R_ALPHA_GLOB_DAT + const R_ALPHA_GPDISP + const R_ALPHA_GPREL32 + const R_ALPHA_GPRELHIGH + const R_ALPHA_GPRELLOW + const R_ALPHA_GPVALUE + const R_ALPHA_HINT + const R_ALPHA_IMMED_BR_HI32 + const R_ALPHA_IMMED_GP_16 + const R_ALPHA_IMMED_GP_HI32 + const R_ALPHA_IMMED_LO32 + const R_ALPHA_IMMED_SCN_HI32 + const R_ALPHA_JMP_SLOT + const R_ALPHA_LITERAL + const R_ALPHA_LITUSE + const R_ALPHA_NONE + const R_ALPHA_OP_PRSHIFT + const R_ALPHA_OP_PSUB + const R_ALPHA_OP_PUSH + const R_ALPHA_OP_STORE + const R_ALPHA_REFLONG + const R_ALPHA_REFQUAD + const R_ALPHA_RELATIVE + const R_ALPHA_SREL16 + const R_ALPHA_SREL32 + const R_ALPHA_SREL64 + func (i R_ALPHA) GoString() string + func (i R_ALPHA) String() string + type R_ARM int + const R_ARM_ABS12 + const R_ARM_ABS16 + const R_ARM_ABS32 + const R_ARM_ABS8 + const R_ARM_AMP_VCALL9 + const R_ARM_COPY + const R_ARM_GLOB_DAT + const R_ARM_GNU_VTENTRY + const R_ARM_GNU_VTINHERIT + const R_ARM_GOT32 + const R_ARM_GOTOFF + const R_ARM_GOTPC + const R_ARM_JUMP_SLOT + const R_ARM_NONE + const R_ARM_PC13 + const R_ARM_PC24 + const R_ARM_PLT32 + const R_ARM_RABS32 + const R_ARM_RBASE + const R_ARM_REL32 + const R_ARM_RELATIVE + const R_ARM_RPC24 + const R_ARM_RREL32 + const R_ARM_RSBREL32 + const R_ARM_SBREL32 + const R_ARM_SWI24 + const R_ARM_THM_ABS5 + const R_ARM_THM_PC22 + const R_ARM_THM_PC8 + const R_ARM_THM_RPC22 + const R_ARM_THM_SWI8 + const R_ARM_THM_XPC22 + const R_ARM_XPC25 + func (i R_ARM) GoString() string + func (i R_ARM) String() string + type R_PPC int + const R_PPC_ADDR14 + const R_PPC_ADDR14_BRNTAKEN + const R_PPC_ADDR14_BRTAKEN + const R_PPC_ADDR16 + const R_PPC_ADDR16_HA + const R_PPC_ADDR16_HI + const R_PPC_ADDR16_LO + const R_PPC_ADDR24 + const R_PPC_ADDR32 + const R_PPC_COPY + const R_PPC_DTPMOD32 + const R_PPC_DTPREL16 + const R_PPC_DTPREL16_HA + const R_PPC_DTPREL16_HI + const R_PPC_DTPREL16_LO + const R_PPC_DTPREL32 + const R_PPC_EMB_BIT_FLD + const R_PPC_EMB_MRKREF + const R_PPC_EMB_NADDR16 + const R_PPC_EMB_NADDR16_HA + const R_PPC_EMB_NADDR16_HI + const R_PPC_EMB_NADDR16_LO + const R_PPC_EMB_NADDR32 + const R_PPC_EMB_RELSDA + const R_PPC_EMB_RELSEC16 + const R_PPC_EMB_RELST_HA + const R_PPC_EMB_RELST_HI + const R_PPC_EMB_RELST_LO + const R_PPC_EMB_SDA21 + const R_PPC_EMB_SDA2I16 + const R_PPC_EMB_SDA2REL + const R_PPC_EMB_SDAI16 + const R_PPC_GLOB_DAT + const R_PPC_GOT16 + const R_PPC_GOT16_HA + const R_PPC_GOT16_HI + const R_PPC_GOT16_LO + const R_PPC_GOT_TLSGD16 + const R_PPC_GOT_TLSGD16_HA + const R_PPC_GOT_TLSGD16_HI + const R_PPC_GOT_TLSGD16_LO + const R_PPC_GOT_TLSLD16 + const R_PPC_GOT_TLSLD16_HA + const R_PPC_GOT_TLSLD16_HI + const R_PPC_GOT_TLSLD16_LO + const R_PPC_GOT_TPREL16 + const R_PPC_GOT_TPREL16_HA + const R_PPC_GOT_TPREL16_HI + const R_PPC_GOT_TPREL16_LO + const R_PPC_JMP_SLOT + const R_PPC_LOCAL24PC + const R_PPC_NONE + const R_PPC_PLT16_HA + const R_PPC_PLT16_HI + const R_PPC_PLT16_LO + const R_PPC_PLT32 + const R_PPC_PLTREL24 + const R_PPC_PLTREL32 + const R_PPC_REL14 + const R_PPC_REL14_BRNTAKEN + const R_PPC_REL14_BRTAKEN + const R_PPC_REL24 + const R_PPC_REL32 + const R_PPC_RELATIVE + const R_PPC_SDAREL16 + const R_PPC_SECTOFF + const R_PPC_SECTOFF_HA + const R_PPC_SECTOFF_HI + const R_PPC_SECTOFF_LO + const R_PPC_TLS + const R_PPC_TPREL16 + const R_PPC_TPREL16_HA + const R_PPC_TPREL16_HI + const R_PPC_TPREL16_LO + const R_PPC_TPREL32 + const R_PPC_UADDR16 + const R_PPC_UADDR32 + func (i R_PPC) GoString() string + func (i R_PPC) String() string + type R_SPARC int + const R_SPARC_10 + const R_SPARC_11 + const R_SPARC_13 + const R_SPARC_16 + const R_SPARC_22 + const R_SPARC_32 + const R_SPARC_5 + const R_SPARC_6 + const R_SPARC_64 + const R_SPARC_7 + const R_SPARC_8 + const R_SPARC_COPY + const R_SPARC_DISP16 + const R_SPARC_DISP32 + const R_SPARC_DISP64 + const R_SPARC_DISP8 + const R_SPARC_GLOB_DAT + const R_SPARC_GLOB_JMP + const R_SPARC_GOT10 + const R_SPARC_GOT13 + const R_SPARC_GOT22 + const R_SPARC_H44 + const R_SPARC_HH22 + const R_SPARC_HI22 + const R_SPARC_HIPLT22 + const R_SPARC_HIX22 + const R_SPARC_HM10 + const R_SPARC_JMP_SLOT + const R_SPARC_L44 + const R_SPARC_LM22 + const R_SPARC_LO10 + const R_SPARC_LOPLT10 + const R_SPARC_LOX10 + const R_SPARC_M44 + const R_SPARC_NONE + const R_SPARC_OLO10 + const R_SPARC_PC10 + const R_SPARC_PC22 + const R_SPARC_PCPLT10 + const R_SPARC_PCPLT22 + const R_SPARC_PCPLT32 + const R_SPARC_PC_HH22 + const R_SPARC_PC_HM10 + const R_SPARC_PC_LM22 + const R_SPARC_PLT32 + const R_SPARC_PLT64 + const R_SPARC_REGISTER + const R_SPARC_RELATIVE + const R_SPARC_UA16 + const R_SPARC_UA32 + const R_SPARC_UA64 + const R_SPARC_WDISP16 + const R_SPARC_WDISP19 + const R_SPARC_WDISP22 + const R_SPARC_WDISP30 + const R_SPARC_WPLT30 + func (i R_SPARC) GoString() string + func (i R_SPARC) String() string + type R_X86_64 int + const R_X86_64_16 + const R_X86_64_32 + const R_X86_64_32S + const R_X86_64_64 + const R_X86_64_8 + const R_X86_64_COPY + const R_X86_64_DTPMOD64 + const R_X86_64_DTPOFF32 + const R_X86_64_DTPOFF64 + const R_X86_64_GLOB_DAT + const R_X86_64_GOT32 + const R_X86_64_GOTPCREL + const R_X86_64_GOTTPOFF + const R_X86_64_JMP_SLOT + const R_X86_64_NONE + const R_X86_64_PC16 + const R_X86_64_PC32 + const R_X86_64_PC8 + const R_X86_64_PLT32 + const R_X86_64_RELATIVE + const R_X86_64_TLSGD + const R_X86_64_TLSLD + const R_X86_64_TPOFF32 + const R_X86_64_TPOFF64 + func (i R_X86_64) GoString() string + func (i R_X86_64) String() string + type Rel32 struct + Info uint32 + Off uint32 + type Rel64 struct + Info uint64 + Off uint64 + type Rela32 struct + Addend int32 + Info uint32 + Off uint32 + type Rela64 struct + Addend int64 + Info uint64 + Off uint64 + type Section struct + func (s *Section) Data() ([]byte, error) + func (s *Section) Open() io.ReadSeeker + type Section32 struct + Addr uint32 + Addralign uint32 + Entsize uint32 + Flags uint32 + Info uint32 + Link uint32 + Name uint32 + Off uint32 + Size uint32 + Type uint32 + type Section64 struct + Addr uint64 + Addralign uint64 + Entsize uint64 + Flags uint64 + Info uint32 + Link uint32 + Name uint32 + Off uint64 + Size uint64 + Type uint32 + type SectionFlag uint32 + const SHF_ALLOC + const SHF_EXECINSTR + const SHF_GROUP + const SHF_INFO_LINK + const SHF_LINK_ORDER + const SHF_MASKOS + const SHF_MASKPROC + const SHF_MERGE + const SHF_OS_NONCONFORMING + const SHF_STRINGS + const SHF_TLS + const SHF_WRITE + func (i SectionFlag) GoString() string + func (i SectionFlag) String() string + type SectionHeader struct + Addr uint64 + Addralign uint64 + Entsize uint64 + Flags SectionFlag + Info uint32 + Link uint32 + Name string + Offset uint64 + Size uint64 + Type SectionType + type SectionIndex int + const SHN_ABS + const SHN_COMMON + const SHN_HIOS + const SHN_HIPROC + const SHN_HIRESERVE + const SHN_LOOS + const SHN_LOPROC + const SHN_LORESERVE + const SHN_UNDEF + const SHN_XINDEX + func (i SectionIndex) GoString() string + func (i SectionIndex) String() string + type SectionType uint32 + const SHT_DYNAMIC + const SHT_DYNSYM + const SHT_FINI_ARRAY + const SHT_GNU_ATTRIBUTES + const SHT_GNU_HASH + const SHT_GNU_LIBLIST + const SHT_GNU_VERDEF + const SHT_GNU_VERNEED + const SHT_GNU_VERSYM + const SHT_GROUP + const SHT_HASH + const SHT_HIOS + const SHT_HIPROC + const SHT_HIUSER + const SHT_INIT_ARRAY + const SHT_LOOS + const SHT_LOPROC + const SHT_LOUSER + const SHT_NOBITS + const SHT_NOTE + const SHT_NULL + const SHT_PREINIT_ARRAY + const SHT_PROGBITS + const SHT_REL + const SHT_RELA + const SHT_SHLIB + const SHT_STRTAB + const SHT_SYMTAB + const SHT_SYMTAB_SHNDX + func (i SectionType) GoString() string + func (i SectionType) String() string + type Sym32 struct + Info uint8 + Name uint32 + Other uint8 + Shndx uint16 + Size uint32 + Value uint32 + type Sym64 struct + Info uint8 + Name uint32 + Other uint8 + Shndx uint16 + Size uint64 + Value uint64 + type SymBind int + const STB_GLOBAL + const STB_HIOS + const STB_HIPROC + const STB_LOCAL + const STB_LOOS + const STB_LOPROC + const STB_WEAK + func ST_BIND(info uint8) SymBind + func (i SymBind) GoString() string + func (i SymBind) String() string + type SymType int + const STT_COMMON + const STT_FILE + const STT_FUNC + const STT_HIOS + const STT_HIPROC + const STT_LOOS + const STT_LOPROC + const STT_NOTYPE + const STT_OBJECT + const STT_SECTION + const STT_TLS + func ST_TYPE(info uint8) SymType + func (i SymType) GoString() string + func (i SymType) String() string + type SymVis int + const STV_DEFAULT + const STV_HIDDEN + const STV_INTERNAL + const STV_PROTECTED + func ST_VISIBILITY(other uint8) SymVis + func (i SymVis) GoString() string + func (i SymVis) String() string + type Symbol struct + Info byte + Name string + Other byte + Section SectionIndex + Size uint64 + Value uint64 + type Type uint16 + const ET_CORE + const ET_DYN + const ET_EXEC + const ET_HIOS + const ET_HIPROC + const ET_LOOS + const ET_LOPROC + const ET_NONE + const ET_REL + func (i Type) GoString() string + func (i Type) String() string + type Version byte + const EV_CURRENT + const EV_NONE + func (i Version) GoString() string + func (i Version) String() string