Versions in this module Expand all Collapse all v0 v0.1.0 Apr 3, 2022 Changes in this version + var ErrUnknownExecutable = fmt.Errorf("unknown executable format") + func Recognize(rw ReadWriterAt) (replacer.Executable, error) + type ELF struct + func NewELF(rw ReadWriterAt) (*ELF, error) + func (elf *ELF) GOARCH() string + func (elf *ELF) GoPCLnTabData() io.Reader + func (elf *ELF) GoSymTabData() io.Reader + func (elf *ELF) Offset(p *gosym.Func) int64 + func (elf *ELF) TextAddr() uint64 + type ErrNotGo string + func (e ErrNotGo) Error() string + type MachO struct + func NewMachO(rw ReadWriterAt) (*MachO, error) + func (m *MachO) GOARCH() string + func (m *MachO) GoPCLnTabData() io.Reader + func (m *MachO) GoSymTabData() io.Reader + func (m *MachO) Offset(p *gosym.Func) int64 + func (m *MachO) TextAddr() uint64 + type PE struct + func NewPE(rw ReadWriterAt) (*PE, error) + func (pe *PE) GOARCH() string + func (pe *PE) GoPCLnTabData() io.Reader + func (pe *PE) GoSymTabData() io.Reader + func (pe *PE) Offset(p *gosym.Func) int64 + func (pe *PE) TextAddr() uint64 + type ReadWriterAt interface