symbolizer

package
v0.0.0-...-4e6bda9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 20, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadSymbols

func ReadSymbols(bin string) (map[string][]Symbol, error)

ReadSymbols returns list of text symbols in the binary bin.

Types

type Frame

type Frame struct {
	PC     uint64
	Func   string
	File   string
	Line   int
	Inline bool
}

type Symbol

type Symbol struct {
	Addr uint64
	Size int
}

type Symbolizer

type Symbolizer struct {
	// contains filtered or unexported fields
}

func NewSymbolizer

func NewSymbolizer() *Symbolizer

func (*Symbolizer) Close

func (s *Symbolizer) Close()

func (*Symbolizer) Symbolize

func (s *Symbolizer) Symbolize(bin string, pc uint64) ([]Frame, error)

func (*Symbolizer) SymbolizeArray

func (s *Symbolizer) SymbolizeArray(bin string, pcs []uint64) ([]Frame, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL