Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "GoSCA_0.4.2"
Functions ¶
This section is empty.
Types ¶
type AstFile ¶ added in v0.4.0
type Dependence ¶
func (Dependence) GetMatches ¶
func (d Dependence) GetMatches(vulDbIdxMap VulDbIdxMap) ([]string, bool)
type Imports ¶
type Imports struct {
// The path to the go package which contains .go file
PackagePaths []string
// package -> .go file paths
PackageLocationMap map[string][]string
}
func (Imports) GetImports ¶
func (i Imports) GetImports()
type VulDbIdxMap ¶
type VulnDb ¶
type VulnDb struct {
Module string `yaml:"module"`
Package string `yaml:"package"`
AdditionalPackages []VulnDb `yaml:"additional_packages"`
Versions []map[string]string `yaml:"versions"`
Description string `yaml:"description"`
//Published string `yaml:"published"`
Cves []string `yaml:"cves"`
Cvss3 []string `yaml:"cvss3"`
Severities []string `yaml:"severities"`
Symbols []string `yaml:"symbols"`
DerivedSymbols []string `yaml:"derived_symbols"`
Links link `yaml:"links"`
}
type VulnDbMap ¶
func (VulnDbMap) ReadVulnDbYaml ¶
func (vm VulnDbMap) ReadVulnDbYaml(vulnDBs map[string]string) VulDbIdxMap
Click to show internal directories.
Click to hide internal directories.