Versions in this module Expand all Collapse all v0 v0.0.4 Jul 4, 2023 Changes in this version + type ISQL interface + Close func() + GetAllKernelVuln func() []common.Vulnerablity + GetProgramVulnerabilities func(*common.ExtractedFile) ([]common.Vulnerablity, error) + IsKnownFileByName func(exfile *common.ExtractedFile) bool + IsKnownFileByType func(exfile *common.ExtractedFile) bool + Open func(h, u, p, d string) bool + SearchProgramVulnerabilityTable func(common.ExtractedFile) []common.Vulnerablity + var Isql ISQL + type MySQL struct + DBPtr *sql.DB + func (mysql *MySQL) GetAllKernelVuln() (kvs []common.Vulnerablity) + func (mysql *MySQL) GetProgramVulnerabilities(exfile *common.ExtractedFile) (vlunerabilities []common.Vulnerablity, err error) + func (mysql *MySQL) IsKnownFileByName(exfile *common.ExtractedFile) bool + func (mysql *MySQL) IsKnownFileByType(exfile *common.ExtractedFile) bool + func (mysql *MySQL) Open(h, u, p, d string) bool + func (mysql *MySQL) SearchProgramVulnerabilityTable(exfile common.ExtractedFile) (vlunerabilities []common.Vulnerablity) + func (pg *MySQL) Close() + type PostgresSQL struct + DBPtr *sql.DB + func (pg *PostgresSQL) Close() + func (pg *PostgresSQL) GetAllKernelVuln() (kvs []common.Vulnerablity) + func (pg *PostgresSQL) GetProgramVulnerabilities(exfile *common.ExtractedFile) (vlunerabilities []common.Vulnerablity, err error) + func (pg *PostgresSQL) IsKnownFileByName(exfile *common.ExtractedFile) bool + func (pg *PostgresSQL) IsKnownFileByType(exfile *common.ExtractedFile) bool + func (pg *PostgresSQL) Open(h, u, p, d string) bool + func (pg *PostgresSQL) SearchProgramVulnerabilityTable(exfile common.ExtractedFile) (vlunerabilities []common.Vulnerablity)