Versions in this module Expand all Collapse all go1 go1.18.10 Jan 10, 2023 Changes in this version + const Magic386 + const Magic64 + const MagicAMD64 + const MagicARM + var ErrNoSymbols = errors.New("no symbol section") + type File struct + Sections []*Section + func NewFile(r io.ReaderAt) (*File, error) + func Open(name string) (*File, error) + func (f *File) Close() error + func (f *File) Section(name string) *Section + func (f *File) Symbols() ([]Sym, error) + type FileHeader struct + Bss uint32 + Entry uint64 + HdrSize uint64 + LoadAddress uint64 + Magic uint32 + PtrSize int + type Section struct + func (s *Section) Data() ([]byte, error) + func (s *Section) Open() io.ReadSeeker + type SectionHeader struct + Name string + Offset uint32 + Size uint32 + type Sym struct + Name string + Type rune + Value uint64