symtab

package
v0.37.2 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoSymbolTable

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

func NewGoSymbolTable

func NewGoSymbolTable(file string, fallback *func() SymbolTable) (*GoSymbolTable, error)

func (*GoSymbolTable) Close

func (g *GoSymbolTable) Close()

func (*GoSymbolTable) Resolve

func (g *GoSymbolTable) Resolve(addr uint64, refresh bool) Symbol

type SimpleSymbolTable

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

func NewSimpleSymbolTable

func NewSimpleSymbolTable(symbols []SimpleSymbolTableEntry) *SimpleSymbolTable

func (*SimpleSymbolTable) Rebase

func (t *SimpleSymbolTable) Rebase(base uint64)

func (*SimpleSymbolTable) Resolve

func (t *SimpleSymbolTable) Resolve(addr uint64) string

type SimpleSymbolTableEntry

type SimpleSymbolTableEntry struct {
	Entry uint64
	End   uint64
	Name  string
}

type Symbol

type Symbol struct {
	Name   string
	Module string
	Offset uint64
}

type SymbolTable

type SymbolTable interface {
	Resolve(addr uint64, refresh bool) Symbol
	Close()
}

Jump to

Keyboard shortcuts

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