elfutils

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2022 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasDWARF

func HasDWARF(path string) (bool, error)

HasDWARF reports whether the specified executable or library file contains DWARF debug information.

func IsSymbolizableGoObjFile

func IsSymbolizableGoObjFile(path string) (bool, error)

IsSymbolizableGoObjFile checks whether the specified executable or library file is generated by Go toolchain.

Types

type DebugInfoFile added in v0.8.0

type DebugInfoFile interface {
	// SourceLines returns the resolved source lines for a given address.
	SourceLines(addr uint64) ([]metastore.LocationLine, error)
}

func NewDebugInfoFile added in v0.8.0

func NewDebugInfoFile(path string, m *pb.Mapping, demangler *demangle.Demangler) (DebugInfoFile, error)

NewDebugInfoFile creates a new DebugInfoFile.

Jump to

Keyboard shortcuts

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