Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Addr2LineEntry ¶
type Addr2LineEntry struct {
//Address in an executable or an offset in a section of a relocatable object
Address uint
//SoPath is the name of the library for which addresses should be translated
SoPath string
//Func is the name of function at Addr2LineEntry.Address in Addr2LineEntry.SoPath
Func string
//File is the name of the soure file
//in which the Func is located in Addr2LineEntry.Address of Addr2LineEntry.SoPath library.
File string
//Line is the number of line in Addr2LineEntry.File at Address
Line uint
Inline bool
}
Addr2LineEntry represents debug information for a address in the debug symbol.
func GetAddr2LineEntry ¶
func GetAddr2LineEntry(soPath string, address uint, doDemangle bool) (*Addr2LineEntry, error)
GetAddr2LineEntry function A returns a structure Addr2LineEntry with a function name and a file name line number at address in so file with a debug symbol.
Click to show internal directories.
Click to hide internal directories.