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 HasSymbols ¶ added in v0.9.0
HasSymbols reports whether the specified executable or library file contains symbols (both.symtab and .dynsym).
func IsGoObjFile ¶ added in v0.11.0
IsGoObjFile checks whether the specified executable or library file is generated by Go toolchain.
func IsSymbolizableGoObjFile ¶
IsSymbolizableGoObjFile checks whether the specified executable or library file is generated by Go toolchain and has necessary symbol information attached.
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, demangler *demangle.Demangler) (DebugInfoFile, error)
NewDebugInfoFile creates a new DebugInfoFile.
Click to show internal directories.
Click to hide internal directories.