Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasDWARF ¶
HasDWARF reports whether the specified executable or library file contains DWARF debug information.
func HasDynsym ¶ added in v0.15.0
HasDynsym reports whether the specified executable or library file contains symbols via .dynsym.
func HasGoPclntab ¶ added in v0.15.0
IsSymbolizableGoObjFile checks whether the specified executable or library file is generated by Go toolchain and has necessary symbol information attached.
func HasSymtab ¶ added in v0.15.0
HasSymtab reports whether the specified executable or library file contains symbols via .symtab.
func ValidateFile ¶ added in v0.12.0
ValidateFile returns an error if the given object file is not valid.
func ValidateHeader ¶ added in v0.12.0
ValidateHeader returns an error if the given object file header is not valid.
Types ¶
type DebugInfoFile ¶ added in v0.8.0
type DebugInfoFile interface { // SourceLines returns the resolved source lines for a given address. SourceLines(addr uint64) ([]profile.LocationLine, error) }
DebugInfoFile is the interface implemented by symbolizers that use DWARF debug info.
func NewDebugInfoFile ¶ added in v0.8.0
NewDebugInfoFile creates a new DebugInfoFile symbolizer.