Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Translator ¶
type Translator interface { // Address returns the address of the given symbol in the executable. Address(symbol string) uint64 // Stack returns a stack trace from the given stack bytes. PCToFunc(pc uint64) *proc.Function }
Translator translates information about an executable.
func NewTranslator ¶
func NewTranslator(path string) (Translator, error)
NewTranslator creates a new Translator for the given executable.
Click to show internal directories.
Click to hide internal directories.