Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoSymbols = errors.New("no symbol section")
ErrNoSymbols represents non-existence of symbol table in binaries supported by buildinfo.
Functions ¶
This section is empty.
Types ¶
type Symbol ¶
func ExtractPackagesAndSymbols ¶
func ExtractPackagesAndSymbols(bin io.ReaderAt) ([]*packages.Module, []Symbol, *debug.BuildInfo, error)
ExtractPackagesAndSymbols extracts symbols, packages, modules from bin as well as bin's metadata.
If the symbol table is not available, such as in the case of stripped binaries, returns module and binary info but without the symbol info.
Click to show internal directories.
Click to hide internal directories.