Documentation ¶
Index ¶
- func NewStack() *stack
- type Explorer
- func (e *Explorer) Back() error
- func (e *Explorer) CreateReaderFromFile(fname string) error
- func (e *Explorer) CurrMode() string
- func (e *Explorer) CurrName() string
- func (e *Explorer) GetType() error
- func (e *Explorer) Info() string
- func (e *Explorer) ListCUs() ([]string, error)
- func (e *Explorer) ListChildren() []string
- func (e *Explorer) StepIntoChild(childName string) error
- func (e *Explorer) Up() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Explorer ¶
type Explorer struct { DwarfFile string // contains filtered or unexported fields }
Struct that mediates DWARF parsing as well as reading and writing
func NewExplorerFromFile ¶
Returns a new explorer with reader set to the specified file
func (*Explorer) CreateReaderFromFile ¶
Creates a reader within this explorer, reading the specified file
func (*Explorer) GetType ¶
Moves the context to the applicable TypeDef proxy
Creates a TypeDefProxy from the current item if it is either an entry or a VariableProxy. No action if the current item is already a TypeDefProxy.
func (*Explorer) Info ¶
Returns a string representing key info about the current entry, if there is one
func (*Explorer) ListChildren ¶
Returns a slice containing the names of each child of the current item
func (*Explorer) StepIntoChild ¶
Moves the context to the specified child of the current item
Child is specified by name
Click to show internal directories.
Click to hide internal directories.