symbols

package
v0.0.0-...-239384d Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: BSD-3-Clause, CC-BY-4.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exported

func Exported(m *report.Module, p *report.Package) (_ []string, err error)

Exported returns a set of vulnerable symbols, in the vuln db format, exported by a package p from the module m.

func Patched

func Patched(module, commitHash string, r *repository) (_ map[string][]string, err error)

Patched returns symbols of module patched in commit identified by commitHash. r is the git repository containing the module.

Patched returns a map from package import paths to symbols patched in the package. Test packages and symbols are omitted.

If the commit has more than one parent, an error is returned.

func Populate

func Populate(r *report.Report, update bool) error

Populate attempts to populate the report with symbols derived from the patch link(s) in the report.

Types

This section is empty.

Jump to

Keyboard shortcuts

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