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 ¶
func ExtractPackagesAndSymbols ¶
func ExtractPackagesAndSymbols(bin io.ReaderAt) ([]*packages.Module, map[string][]string, *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.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.