Documentation ¶
Overview ¶
Package elf provides a mockable wrapper for debug/elf.
Index ¶
- type Impl
- func (*Impl) NewFile(r io.ReaderAt) (*elf.File, error)
- func (*Impl) Open(name string) (*elf.File, error)
- func (*Impl) R_INFO(sym uint32, typ uint32) uint64
- func (*Impl) R_INFO32(sym uint32, typ uint32) uint32
- func (*Impl) R_SYM32(info uint32) uint32
- func (*Impl) R_SYM64(info uint64) uint32
- func (*Impl) R_TYPE32(info uint32) uint32
- func (*Impl) R_TYPE64(info uint64) uint32
- func (*Impl) ST_BIND(info uint8) elf.SymBind
- func (*Impl) ST_INFO(bind elf.SymBind, typ elf.SymType) uint8
- func (*Impl) ST_TYPE(info uint8) elf.SymType
- func (*Impl) ST_VISIBILITY(other uint8) elf.SymVis
- type Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { NewFile(r io.ReaderAt) (*elf.File, error) Open(name string) (*elf.File, error) R_INFO(sym uint32, typ uint32) uint64 R_INFO32(sym uint32, typ uint32) uint32 R_SYM32(info uint32) uint32 R_SYM64(info uint64) uint32 R_TYPE32(info uint32) uint32 R_TYPE64(info uint64) uint32 ST_BIND(info uint8) elf.SymBind ST_INFO(bind elf.SymBind, typ elf.SymType) uint8 ST_TYPE(info uint8) elf.SymType ST_VISIBILITY(other uint8) elf.SymVis }
Click to show internal directories.
Click to hide internal directories.