buildinfo

package
v0.0.0-...-4eb9d72 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2023 License: BSD-3-Clause Imports: 15 Imported by: 0

README

This code is a copied and slightly modified subset of go/src/debug/buildinfo.

It contains logic for parsing Go binary files for the purpose of extracting module dependency and symbol table information.

Logic added by vulncheck is located in files with "additions_" prefix.

Within the originally named files, changed or added logic is annotated with a comment starting with "Addition:".

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractPackagesAndSymbols

func ExtractPackagesAndSymbols(bin io.ReaderAt) ([]*packages.Module, map[string][]string, *debug.BuildInfo, error)

ExtractPackagesAndSymbols extracts the symbols, packages, their associated module versions from a Go binary, and Go version used to build the binary.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL