bininfo

package
v0.0.0-...-1c93b7e Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

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.

Jump to

Keyboard shortcuts

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