Documentation ¶
Overview ¶
Package binutils provides access to the GNU binutils.
Index ¶
- type Binutils
- func (bu *Binutils) Disasm(file string, start, end uint64) ([]plugin.Inst, error)
- func (bu *Binutils) Open(name string, start, limit, offset uint64) (plugin.ObjFile, error)
- func (bu *Binutils) SetFastSymbolization(fast bool)
- func (bu *Binutils) SetTools(config string)
- func (bu *Binutils) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Binutils ¶
type Binutils struct {
// contains filtered or unexported fields
}
A Binutils implements plugin.ObjTool by invoking the GNU binutils.
func (*Binutils) Disasm ¶
Disasm returns the assembly instructions for the specified address range of a binary.
func (*Binutils) SetFastSymbolization ¶
SetFastSymbolization sets a toggle that makes binutils use fast symbolization (using nm), which is much faster than addr2line but provides only symbol name information (no file/line).
Click to show internal directories.
Click to hide internal directories.