internal

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2024 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Overview

Package internal contains functionality for x/vuln.

Index

Constants

View Source
const (
	// GoStdModulePath is the internal Go module path string used
	// when listing vulnerabilities in standard library.
	GoStdModulePath = "stdlib"

	// GoCmdModulePath is the internal Go module path string used
	// when listing vulnerabilities in the go command.
	GoCmdModulePath = "toolchain"

	// UnknownModulePath is a special module path for when we cannot work out
	// the module for a package.
	UnknownModulePath = "unknown-module"

	// UnknownPackagePath is a special package path for when we cannot work out
	// the packagUnknownModulePath = "unknown"
	UnknownPackagePath = "unknown-package"
)

Pseudo-module paths used for parts of the Go system. These are technically not valid module paths, so we mustn't pass them to module.EscapePath. Keep in sync with vulndb/internal/database/generate.go.

View Source
const IDDirectory = "ID"

IDDirectory is the name of the directory that contains entries listed by their IDs.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
Package client provides an interface for accessing vulnerability databases, via either HTTP or local filesystem access.
Package client provides an interface for accessing vulnerability databases, via either HTTP or local filesystem access.
Package derrors defines internal error values to categorize the different types error semantics supported by x/vuln.
Package derrors defines internal error values to categorize the different types error semantics supported by x/vuln.
Package gosym implements access to the Go symbol and line number tables embedded in Go binaries generated by the gc compilers.
Package gosym implements access to the Go symbol and line number tables embedded in Go binaries generated by the gc compilers.
Package goversion reports the Go version used to build program executables.
Package goversion reports the Go version used to build program executables.
Package govulncheck contains the JSON output structs for govulncheck.
Package govulncheck contains the JSON output structs for govulncheck.
Package vex defines the Vulnerability EXchange Format (VEX) types supported by govulncheck.
Package vex defines the Vulnerability EXchange Format (VEX) types supported by govulncheck.
Package osv implements the Go OSV vulnerability format (https://go.dev/security/vuln/database#schema), which is a subset of the OSV shared vulnerability format (https://ossf.github.io/osv-schema), with database and ecosystem-specific meanings and fields.
Package osv implements the Go OSV vulnerability format (https://go.dev/security/vuln/database#schema), which is a subset of the OSV shared vulnerability format (https://ossf.github.io/osv-schema), with database and ecosystem-specific meanings and fields.
Package sarif defines Static Analysis Results Interchange Format (SARIF) types supported by govulncheck.
Package sarif defines Static Analysis Results Interchange Format (SARIF) types supported by govulncheck.
Package semver provides shared utilities for manipulating Go semantic versions.
Package semver provides shared utilities for manipulating Go semantic versions.
Package vulncheck detects uses of known vulnerabilities in Go programs.
Package vulncheck detects uses of known vulnerabilities in Go programs.

Jump to

Keyboard shortcuts

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