Versions in this module Expand all Collapse all v0 v0.1.0 Sep 22, 2016 Changes in this version + const COFFSymbolSize + const IMAGE_FILE_MACHINE_AM33 + const IMAGE_FILE_MACHINE_AMD64 + const IMAGE_FILE_MACHINE_ARM + const IMAGE_FILE_MACHINE_EBC + const IMAGE_FILE_MACHINE_I386 + const IMAGE_FILE_MACHINE_IA64 + const IMAGE_FILE_MACHINE_M32R + const IMAGE_FILE_MACHINE_MIPS16 + const IMAGE_FILE_MACHINE_MIPSFPU + const IMAGE_FILE_MACHINE_MIPSFPU16 + const IMAGE_FILE_MACHINE_POWERPC + const IMAGE_FILE_MACHINE_POWERPCFP + const IMAGE_FILE_MACHINE_R4000 + const IMAGE_FILE_MACHINE_SH3 + const IMAGE_FILE_MACHINE_SH3DSP + const IMAGE_FILE_MACHINE_SH4 + const IMAGE_FILE_MACHINE_SH5 + const IMAGE_FILE_MACHINE_THUMB + const IMAGE_FILE_MACHINE_UNKNOWN + const IMAGE_FILE_MACHINE_WCEMIPSV2 + type COFFSymbol struct + Name [8]uint8 + NumberOfAuxSymbols uint8 + SectionNumber int16 + StorageClass uint8 + Type uint16 + Value uint32 + type DataDirectory struct + Size uint32 + VirtualAddress uint32 + type File struct + OptionalHeader interface{} + Sections []*Section + Symbols []*Symbol + 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) ImportedLibraries() ([]string, error) + func (f *File) ImportedSymbols() ([]string, error) + func (f *File) Section(name string) *Section + type FileHeader struct + Characteristics uint16 + Machine uint16 + NumberOfSections uint16 + NumberOfSymbols uint32 + PointerToSymbolTable uint32 + SizeOfOptionalHeader uint16 + TimeDateStamp uint32 + type FormatError struct + func (e *FormatError) Error() string + type ImportDirectory struct + FirstThunk uint32 + ForwarderChain uint32 + Name uint32 + OriginalFirstThunk uint32 + TimeDateStamp uint32 + type OptionalHeader32 struct + AddressOfEntryPoint uint32 + BaseOfCode uint32 + BaseOfData uint32 + CheckSum uint32 + DataDirectory [16]DataDirectory + DllCharacteristics uint16 + FileAlignment uint32 + ImageBase uint32 + LoaderFlags uint32 + Magic uint16 + MajorImageVersion uint16 + MajorLinkerVersion uint8 + MajorOperatingSystemVersion uint16 + MajorSubsystemVersion uint16 + MinorImageVersion uint16 + MinorLinkerVersion uint8 + MinorOperatingSystemVersion uint16 + MinorSubsystemVersion uint16 + NumberOfRvaAndSizes uint32 + SectionAlignment uint32 + SizeOfCode uint32 + SizeOfHeaders uint32 + SizeOfHeapCommit uint32 + SizeOfHeapReserve uint32 + SizeOfImage uint32 + SizeOfInitializedData uint32 + SizeOfStackCommit uint32 + SizeOfStackReserve uint32 + SizeOfUninitializedData uint32 + Subsystem uint16 + Win32VersionValue uint32 + type OptionalHeader64 struct + AddressOfEntryPoint uint32 + BaseOfCode uint32 + CheckSum uint32 + DataDirectory [16]DataDirectory + DllCharacteristics uint16 + FileAlignment uint32 + ImageBase uint64 + LoaderFlags uint32 + Magic uint16 + MajorImageVersion uint16 + MajorLinkerVersion uint8 + MajorOperatingSystemVersion uint16 + MajorSubsystemVersion uint16 + MinorImageVersion uint16 + MinorLinkerVersion uint8 + MinorOperatingSystemVersion uint16 + MinorSubsystemVersion uint16 + NumberOfRvaAndSizes uint32 + SectionAlignment uint32 + SizeOfCode uint32 + SizeOfHeaders uint32 + SizeOfHeapCommit uint64 + SizeOfHeapReserve uint64 + SizeOfImage uint32 + SizeOfInitializedData uint32 + SizeOfStackCommit uint64 + SizeOfStackReserve uint64 + SizeOfUninitializedData uint32 + Subsystem uint16 + Win32VersionValue uint32 + type Section struct + func (s *Section) Data() ([]byte, error) + func (s *Section) Open() io.ReadSeeker + type SectionHeader struct + Characteristics uint32 + Name string + NumberOfLineNumbers uint16 + NumberOfRelocations uint16 + Offset uint32 + PointerToLineNumbers uint32 + PointerToRelocations uint32 + Size uint32 + VirtualAddress uint32 + VirtualSize uint32 + type SectionHeader32 struct + Characteristics uint32 + Name [8]uint8 + NumberOfLineNumbers uint16 + NumberOfRelocations uint16 + PointerToLineNumbers uint32 + PointerToRawData uint32 + PointerToRelocations uint32 + SizeOfRawData uint32 + VirtualAddress uint32 + VirtualSize uint32 + type Symbol struct + Name string + SectionNumber int16 + StorageClass uint8 + Type uint16 + Value uint32