symbolizer

package
v0.0.0-...-8742a2b Latest Latest
Warning

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

Go to latest
Published: May 9, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadRodataSymbols

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

ReadRodataSymbols returns list of rodata symbols in the binary bin.

func ReadTextSymbols

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

ReadTextSymbols 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