SYMBOL INDEX (2379 symbols across 345 files) FILE: cmd/osv-reporter/main.go function splitLastArg (line 32) | func splitLastArg(args []string) []string { function run (line 40) | func run(args []string, stdout, stderr io.Writer) int { function main (line 265) | func main() { FILE: cmd/osv-reporter/main_test.go function Test_splitLastArg (line 8) | func Test_splitLastArg(t *testing.T) { FILE: cmd/osv-scanner/fix/command.go type strategy (line 35) | type strategy constant strategyInPlace (line 38) | strategyInPlace strategy = "in-place" constant strategyRelax (line 39) | strategyRelax strategy = "relax" constant strategyOverride (line 40) | strategyOverride strategy = "override" constant vulnCategory (line 46) | vulnCategory = "Vulnerability Selection Options:" constant upgradeCategory (line 47) | upgradeCategory = "Dependency Upgrade Options:" constant autoModeCategory (line 48) | autoModeCategory = "non-interactive options:" type osvFixOptions (line 51) | type osvFixOptions struct function Command (line 65) | func Command(stdout, stderr io.Writer, _ *http.Client) *cli.Command { function action (line 233) | func action(ctx context.Context, cmd *cli.Command, stdout, stderr io.Wri... FILE: cmd/osv-scanner/fix/command_test.go function matchFile (line 16) | func matchFile(t *testing.T, file string) { function TestCommand (line 25) | func TestCommand(t *testing.T) { function TestCommand_OfflineDatabase (line 134) | func TestCommand_OfflineDatabase(t *testing.T) { function parseFlags (line 173) | func parseFlags(t *testing.T, flags []string, arguments []string) (*cli.... function Test_parseUpgradeConfig (line 198) | func Test_parseUpgradeConfig(t *testing.T) { FILE: cmd/osv-scanner/fix/interactive.go function interactiveMode (line 14) | func interactiveMode(ctx context.Context, opts osvFixOptions) error { FILE: cmd/osv-scanner/fix/model.go type model (line 24) | type model struct method setTermSize (line 80) | func (m *model) setTermSize(w, h int) { method getBorderStyles (line 106) | func (m *model) getBorderStyles() (lipgloss.Style, lipgloss.Style) { method Init (line 124) | func (m model) Init() tea.Cmd { method Update (line 128) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 144) | func (m model) View() tea.View { function newModel (line 53) | func newModel(ctx context.Context, opts osvFixOptions, cl client.Resolut... function errorAndExit (line 119) | func errorAndExit(m model, err error) (tea.Model, tea.Cmd) { type modelState (line 169) | type modelState interface type inPlaceResolutionMsg (line 180) | type inPlaceResolutionMsg struct function doInPlaceResolution (line 186) | func doInPlaceResolution(ctx context.Context, cl client.ResolutionClient... type doRelockMsg (line 201) | type doRelockMsg struct function doRelock (line 206) | func doRelock(ctx context.Context, cl client.ResolutionClient, m manif.M... function doInitialRelock (line 221) | func doInitialRelock(ctx context.Context, opts osvFixOptions) tea.Msg { type infoStringView (line 237) | type infoStringView method Update (line 239) | func (s infoStringView) Update(tea.Msg) (tui.ViewModel, tea.Cmd) { ret... method View (line 240) | func (s infoStringView) View() string { ret... method Resize (line 241) | func (s infoStringView) Resize(int, int) {} function resolutionErrorView (line 245) | func resolutionErrorView(res *resolution.Result, errs []resolution.NodeE... type writeMsg (line 268) | type writeMsg struct FILE: cmd/osv-scanner/fix/noninteractive.go function autoInPlace (line 25) | func autoInPlace(ctx context.Context, opts osvFixOptions, maxUpgrades in... function autoChooseInPlacePatches (line 66) | func autoChooseInPlacePatches(res remediation.InPlaceResult, maxUpgrades... function autoRelax (line 125) | func autoRelax(ctx context.Context, opts osvFixOptions, maxUpgrades int)... function autoChooseRelaxPatches (line 221) | func autoChooseRelaxPatches(diffs []resolution.Difference, maxUpgrades i... function autoOverride (line 261) | func autoOverride(ctx context.Context, opts osvFixOptions, maxUpgrades i... function autoChooseOverridePatches (line 346) | func autoChooseOverridePatches(diffs []resolution.Difference, maxUpgrade... function sortVulns (line 411) | func sortVulns(vulns []vulnOutput) { function makeResultVuln (line 417) | func makeResultVuln(vuln resolution.Vulnerability) vulnOutput { function populateResultVulns (line 439) | func populateResultVulns(outputResult *fixOutput, res *resolution.Result... function removeVulnIntroducingPatches (line 479) | func removeVulnIntroducingPatches(patches []resolution.Difference) []res... FILE: cmd/osv-scanner/fix/output.go type fixOutput (line 14) | type fixOutput struct type vulnOutput (line 24) | type vulnOutput struct type patchOutput (line 31) | type patchOutput struct type packageOutput (line 38) | type packageOutput struct type updatePackageOutput (line 44) | type updatePackageOutput struct type errorOutput (line 52) | type errorOutput struct function printResult (line 64) | func printResult(outputResult fixOutput, opts osvFixOptions) error { function outputText (line 72) | func outputText(_ io.Writer, out fixOutput) error { function outputJSON (line 139) | func outputJSON(w io.Writer, out fixOutput) error { FILE: cmd/osv-scanner/fix/regen_lockfile.go function regenerateLockfileCmd (line 10) | func regenerateLockfileCmd(ctx context.Context, opts osvFixOptions) (*ex... FILE: cmd/osv-scanner/fix/state-choose-in-place-patches.go type stateChooseInPlacePatches (line 14) | type stateChooseInPlacePatches struct method Init (line 26) | func (st *stateChooseInPlacePatches) Init(m model) tea.Cmd { method Update (line 51) | func (st *stateChooseInPlacePatches) Update(m model, msg tea.Msg) (tea... method View (line 100) | func (st *stateChooseInPlacePatches) View(_ model) string { method InfoView (line 108) | func (st *stateChooseInPlacePatches) InfoView() string { method updateTableRows (line 113) | func (st *stateChooseInPlacePatches) updateTableRows(m model) { method toggleSelection (line 142) | func (st *stateChooseInPlacePatches) toggleSelection(idx int) { method currentInfoView (line 148) | func (st *stateChooseInPlacePatches) currentInfoView() (view tui.ViewM... method Resize (line 156) | func (st *stateChooseInPlacePatches) Resize(w, h int) { method ResizeInfo (line 162) | func (st *stateChooseInPlacePatches) ResizeInfo(w, h int) { method IsInfoFocused (line 168) | func (st *stateChooseInPlacePatches) IsInfoFocused() bool { FILE: cmd/osv-scanner/fix/state-choose-strategy.go type stateChooseStrategy (line 17) | type stateChooseStrategy struct method Init (line 45) | func (st *stateChooseStrategy) Init(m model) tea.Cmd { method Update (line 96) | func (st *stateChooseStrategy) Update(m model, msg tea.Msg) (tea.Model... method UpdateTextFocus (line 156) | func (st *stateChooseStrategy) UpdateTextFocus() { method IsInfoFocused (line 168) | func (st *stateChooseStrategy) IsInfoFocused() bool { method currentInfoView (line 172) | func (st *stateChooseStrategy) currentInfoView() (view tui.ViewModel, ... method parseInput (line 189) | func (st *stateChooseStrategy) parseInput(m model) (tea.Model, tea.Cmd) { method View (line 238) | func (st *stateChooseStrategy) View(m model) string { method InfoView (line 327) | func (st *stateChooseStrategy) InfoView() string { method Resize (line 332) | func (st *stateChooseStrategy) Resize(_, _ int) {} method ResizeInfo (line 334) | func (st *stateChooseStrategy) ResizeInfo(w, h int) { constant stateChooseInfo (line 33) | stateChooseInfo = iota constant stateChooseErrors (line 34) | stateChooseErrors constant stateChooseInPlace (line 35) | stateChooseInPlace constant stateChooseRelock (line 36) | stateChooseRelock constant stateChooseDepth (line 37) | stateChooseDepth constant stateChooseSeverity (line 38) | stateChooseSeverity constant stateChooseDev (line 39) | stateChooseDev constant stateChooseApplyCriteria (line 40) | stateChooseApplyCriteria constant stateChooseQuit (line 41) | stateChooseQuit constant stateChooseEnd (line 42) | stateChooseEnd FILE: cmd/osv-scanner/fix/state-in-place-result.go type stateInPlaceResult (line 16) | type stateInPlaceResult struct method Init (line 39) | func (st *stateInPlaceResult) Init(m model) tea.Cmd { method Update (line 72) | func (st *stateInPlaceResult) Update(m model, msg tea.Msg) (tea.Model,... method currentInfoView (line 133) | func (st *stateInPlaceResult) currentInfoView() (view tui.ViewModel, c... method parseInput (line 152) | func (st *stateInPlaceResult) parseInput(m model) (tea.Model, tea.Cmd) { method View (line 176) | func (st *stateInPlaceResult) View(m model) string { method InfoView (line 245) | func (st *stateInPlaceResult) InfoView() string { method Resize (line 250) | func (st *stateInPlaceResult) Resize(_, _ int) {} method ResizeInfo (line 252) | func (st *stateInPlaceResult) ResizeInfo(w, h int) { method IsInfoFocused (line 258) | func (st *stateInPlaceResult) IsInfoFocused() bool { method write (line 263) | func (st *stateInPlaceResult) write(m model) tea.Msg { constant stateInPlaceFixed (line 30) | stateInPlaceFixed = iota constant stateInPlaceRemain (line 31) | stateInPlaceRemain constant stateInPlaceChoice (line 32) | stateInPlaceChoice constant stateInPlaceWrite (line 33) | stateInPlaceWrite constant stateInPlaceRelock (line 34) | stateInPlaceRelock constant stateInPlaceQuit (line 35) | stateInPlaceQuit constant stateInPlaceEnd (line 36) | stateInPlaceEnd FILE: cmd/osv-scanner/fix/state-initialize.go type stateInitialize (line 12) | type stateInitialize struct method Init (line 16) | func (st *stateInitialize) Init(m model) tea.Cmd { method Update (line 37) | func (st *stateInitialize) Update(m model, msg tea.Msg) (tea.Model, te... method View (line 81) | func (st *stateInitialize) View(m model) string { method InfoView (line 108) | func (st *stateInitialize) InfoView() string { return "" } method Resize (line 109) | func (st *stateInitialize) Resize(_, _ int) {} method ResizeInfo (line 110) | func (st *stateInitialize) ResizeInfo(_, _ int) {} method IsInfoFocused (line 111) | func (st *stateInitialize) IsInfoFocused() bool { return false } FILE: cmd/osv-scanner/fix/state-relock-result.go type stateRelockResult (line 19) | type stateRelockResult struct method getEffectiveCursor (line 52) | func (st *stateRelockResult) getEffectiveCursor() int { method setEffectiveCursor (line 71) | func (st *stateRelockResult) setEffectiveCursor(pos int) { method getPatchIndex (line 83) | func (st *stateRelockResult) getPatchIndex() int { method Init (line 87) | func (st *stateRelockResult) Init(m model) tea.Cmd { method Update (line 113) | func (st *stateRelockResult) Update(m model, msg tea.Msg) (tea.Model, ... method currentInfoView (line 207) | func (st *stateRelockResult) currentInfoView() (view tui.ViewModel, ca... method buildPatchInfoViews (line 228) | func (st *stateRelockResult) buildPatchInfoViews(m model) { method parseInput (line 265) | func (st *stateRelockResult) parseInput(m model) (tea.Model, tea.Cmd) { method relaxChoice (line 293) | func (st *stateRelockResult) relaxChoice(m model) (model, tea.Cmd) { method View (line 334) | func (st *stateRelockResult) View(m model) string { method InfoView (line 466) | func (st *stateRelockResult) InfoView() string { method patchCompatible (line 473) | func (st *stateRelockResult) patchCompatible(idx int) bool { method Resize (line 494) | func (st *stateRelockResult) Resize(w, _ int) { method ResizeInfo (line 498) | func (st *stateRelockResult) ResizeInfo(w, h int) { method IsInfoFocused (line 505) | func (st *stateRelockResult) IsInfoFocused() bool { method write (line 510) | func (st *stateRelockResult) write(m model) tea.Msg { constant stateRelockRemain (line 40) | stateRelockRemain = iota constant stateRelockUnfixable (line 41) | stateRelockUnfixable constant stateRelockErrors (line 42) | stateRelockErrors constant stateRelockPatches (line 43) | stateRelockPatches constant stateRelockApply (line 44) | stateRelockApply constant stateRelockWrite (line 45) | stateRelockWrite constant stateRelockQuit (line 46) | stateRelockQuit constant stateRelockEnd (line 47) | stateRelockEnd function relockUnfixableVulns (line 242) | func relockUnfixableVulns(diffs []resolution.Difference) []*resolution.V... function diffString (line 450) | func diffString(diff resolution.Difference) string { type relockPatchMsg (line 543) | type relockPatchMsg struct function doComputeRelockPatches (line 549) | func doComputeRelockPatches(ctx context.Context, cl client.ResolutionCli... FILE: cmd/osv-scanner/fix/testmain_test.go function TestMain (line 15) | func TestMain(m *testing.M) { FILE: cmd/osv-scanner/internal/cmd/helpers.go function getCustomHelpTemplate (line 14) | func getCustomHelpTemplate() string { function getAllCommands (line 55) | func getAllCommands(commands []*cli.Command) []string { function warnIfCommandAmbiguous (line 81) | func warnIfCommandAmbiguous(command, defaultCommand string, stderr io.Wr... function insertDefaultCommand (line 91) | func insertDefaultCommand(args []string, commands []*cli.Command, defaul... FILE: cmd/osv-scanner/internal/cmd/helpers_test.go function Test_insertDefaultCommand (line 14) | func Test_insertDefaultCommand(t *testing.T) { FILE: cmd/osv-scanner/internal/cmd/run.go function Run (line 26) | func Run(args []string, stdout, stderr io.Writer, client *http.Client, c... FILE: cmd/osv-scanner/internal/cmd/testmain_test.go function TestMain (line 9) | func TestMain(m *testing.M) { FILE: cmd/osv-scanner/internal/helper/callanalysis_parser.go function CreateCallAnalysisStates (line 10) | func CreateCallAnalysisStates(enabledCallAnalysis []string, disabledCall... FILE: cmd/osv-scanner/internal/helper/callanalysis_parser_test.go function TestCreateCallAnalysisStates (line 8) | func TestCreateCallAnalysisStates(t *testing.T) { FILE: cmd/osv-scanner/internal/helper/flags.go type allowedLicencesFlag (line 24) | type allowedLicencesFlag struct method Get (line 28) | func (g *allowedLicencesFlag) Get() any { method Set (line 32) | func (g *allowedLicencesFlag) Set(value string) error { method IsBoolFlag (line 44) | func (g *allowedLicencesFlag) IsBoolFlag() bool { method String (line 48) | func (g *allowedLicencesFlag) String() string { function BuildCommonScanFlags (line 53) | func BuildCommonScanFlags(defaultExtractors []string) []cli.Flag { FILE: cmd/osv-scanner/internal/helper/getters.go function GetScanLicensesAllowlist (line 13) | func GetScanLicensesAllowlist(cmd *cli.Command) ([]string, error) { function GetCommonScannerActions (line 35) | func GetCommonScannerActions(cmd *cli.Command, scanLicensesAllowlist []s... function GetExperimentalScannerActions (line 52) | func GetExperimentalScannerActions(cmd *cli.Command, client *http.Client... FILE: cmd/osv-scanner/internal/helper/misc.go function ServeHTML (line 25) | func ServeHTML(outputPath string) { function PrintResult (line 42) | func PrintResult(stdout, stderr io.Writer, outputPath, format string, di... FILE: cmd/osv-scanner/internal/testcmd/case.go type Case (line 11) | type Case struct method findFirstValueOfFlag (line 24) | func (c Case) findFirstValueOfFlag(f string) string { FILE: cmd/osv-scanner/internal/testcmd/copy.go function copyFile (line 11) | func copyFile(from, to string) (string, error) { function CopyFileFlagTo (line 31) | func CopyFileFlagTo(t *testing.T, tc Case, flagName string, dir string) ... FILE: cmd/osv-scanner/internal/testcmd/git.go function SetupGitFixtures (line 11) | func SetupGitFixtures() (func(), error) { FILE: cmd/osv-scanner/internal/testcmd/run.go function fetchCommandsToTest (line 27) | func fetchCommandsToTest() []cmd.CommandBuilder { function run (line 46) | func run(t *testing.T, tc Case) (string, string) { function RunAndNormalize (line 63) | func RunAndNormalize(t *testing.T, tc Case) (string, string) { function RunAndMatchSnapshots (line 84) | func RunAndMatchSnapshots(t *testing.T, tc Case) { function normalizeJSON (line 96) | func normalizeJSON(t *testing.T, jsonInput string, jsonReplaceRules ...t... function normalizeDirScanOrder (line 114) | func normalizeDirScanOrder(t *testing.T, input string) string { function normalizeUUID (line 159) | func normalizeUUID(t *testing.T, input string) string { FILE: cmd/osv-scanner/internal/testcmd/vcr.go function determineRecorderMode (line 22) | func determineRecorderMode() recorder.Mode { type withHeadersTripper (line 44) | type withHeadersTripper struct method RoundTrip (line 49) | func (wht withHeadersTripper) RoundTrip(request *http.Request) (*http.... function WithTestNameHeader (line 61) | func WithTestNameHeader(t *testing.T, client http.Client) *http.Client { type withoutID (line 71) | type withoutID struct function marshalCassettes (line 78) | func marshalCassettes(in any) (out []byte, err error) { function InsertCassette (line 109) | func InsertCassette(t *testing.T) *http.Client { function sortCassetteInteractions (line 181) | func sortCassetteInteractions(t *testing.T, path string) { function matcher (line 206) | func matcher(r *http.Request, i cassette.Request) bool { function matchBody (line 237) | func matchBody(r *http.Request, i cassette.Request) bool { FILE: cmd/osv-scanner/main.go function main (line 13) | func main() { FILE: cmd/osv-scanner/main_test.go function Test_run (line 11) | func Test_run(t *testing.T) { function Test_run_SubCommands (line 38) | func Test_run_SubCommands(t *testing.T) { FILE: cmd/osv-scanner/mcp/command.go function Command (line 35) | func Command(_, _ io.Writer, _ *http.Client) *cli.Command { type scanVulnerableDependenciesInput (line 53) | type scanVulnerableDependenciesInput struct function action (line 59) | func action(ctx context.Context, cmd *cli.Command) error { function handleScan (line 117) | func handleScan(_ context.Context, _ *mcp.CallToolRequest, input *scanVu... type getVulnerabilityDetailsInput (line 169) | type getVulnerabilityDetailsInput struct function handleVulnIDRetrieval (line 173) | func handleVulnIDRetrieval(ctx context.Context, _ *mcp.CallToolRequest, ... type ignoreVulnerabilityInput (line 206) | type ignoreVulnerabilityInput struct function handleIgnoreVulnerability (line 216) | func handleIgnoreVulnerability(_ context.Context, _ *mcp.CallToolRequest... function handleScanDepsPrompt (line 229) | func handleScanDepsPrompt(_ context.Context, _ *mcp.GetPromptRequest) (*... FILE: cmd/osv-scanner/mcp/integration_test.go function TestIntegration_MCP_SSE_Subprocess (line 25) | func TestIntegration_MCP_SSE_Subprocess(t *testing.T) { function buildTestBinary (line 115) | func buildTestBinary(t *testing.T) string { function findFreePort (line 144) | func findFreePort(t *testing.T) string { function startMCPServer (line 160) | func startMCPServer(t *testing.T, ctx context.Context, binPath, addr str... function connectMCPClient (line 177) | func connectMCPClient(t *testing.T, ctx context.Context, baseURL string)... function waitForServer (line 196) | func waitForServer(t *testing.T, url string) { FILE: cmd/osv-scanner/mcp/stats.go type fileOpenedLogger (line 11) | type fileOpenedLogger struct method AfterExtractorRun (line 19) | func (c *fileOpenedLogger) AfterExtractorRun(_ string, extractorstats ... FILE: cmd/osv-scanner/mcp/testdata/go-project/main.go function main (line 7) | func main() { FILE: cmd/osv-scanner/mcp/testmain_test.go function TestMain (line 14) | func TestMain(m *testing.M) { FILE: cmd/osv-scanner/scan/command.go constant sourceSubCommand (line 13) | sourceSubCommand = "source" constant DefaultSubcommand (line 15) | DefaultSubcommand = sourceSubCommand function Command (line 19) | func Command(stdout, stderr io.Writer, client *http.Client) *cli.Command { FILE: cmd/osv-scanner/scan/command_test.go function TestCommand_SubCommands (line 10) | func TestCommand_SubCommands(t *testing.T) { FILE: cmd/osv-scanner/scan/image/command.go function Command (line 22) | func Command(stdout, stderr io.Writer, client *http.Client) *cli.Command { function action (line 40) | func action(_ context.Context, cmd *cli.Command, stdout, stderr io.Write... FILE: cmd/osv-scanner/scan/image/command_test.go function TestCommand_ExplicitExtractors_WithDefaults (line 14) | func TestCommand_ExplicitExtractors_WithDefaults(t *testing.T) { function TestCommand_ExplicitExtractors_WithoutDefaults (line 78) | func TestCommand_ExplicitExtractors_WithoutDefaults(t *testing.T) { function TestCommand_Docker (line 147) | func TestCommand_Docker(t *testing.T) { function TestCommand_OCIImage (line 216) | func TestCommand_OCIImage(t *testing.T) { function TestCommand_OCIImage_JSONFormat (line 376) | func TestCommand_OCIImage_JSONFormat(t *testing.T) { function TestCommand_HtmlFile (line 512) | func TestCommand_HtmlFile(t *testing.T) { FILE: cmd/osv-scanner/scan/image/testdata/java-fixture/app/src/main/java/com/mycompany/app/App.java class App (line 7) | public class App method main (line 9) | public static void main( String[] args ) FILE: cmd/osv-scanner/scan/image/testdata/package-tracing-fixture/main.go function main (line 9) | func main() { FILE: cmd/osv-scanner/scan/image/testdata/python-fixture/main.py function main (line 1) | def main(): FILE: cmd/osv-scanner/scan/image/testdata/test-image-with-deprecated/src/main.rs function main (line 3) | fn main() { FILE: cmd/osv-scanner/scan/image/testmain_test.go function TestMain (line 15) | func TestMain(m *testing.M) { FILE: cmd/osv-scanner/scan/source/command.go function Command (line 21) | func Command(stdout, stderr io.Writer, client *http.Client) *cli.Command { function action (line 88) | func action(_ context.Context, cmd *cli.Command, stdout, stderr io.Write... FILE: cmd/osv-scanner/scan/source/command_test.go function TestCommand (line 14) | func TestCommand(t *testing.T) { function TestCommand_Config_UnusedIgnores (line 385) | func TestCommand_Config_UnusedIgnores(t *testing.T) { function TestCommand_JavareachArchive (line 418) | func TestCommand_JavareachArchive(t *testing.T) { function TestCommand_ExplicitExtractors_WithDefaults (line 453) | func TestCommand_ExplicitExtractors_WithDefaults(t *testing.T) { function TestCommand_ExplicitExtractors_WithoutDefaults (line 592) | func TestCommand_ExplicitExtractors_WithoutDefaults(t *testing.T) { function TestCommand_CallAnalysis (line 744) | func TestCommand_CallAnalysis(t *testing.T) { function TestCommand_LockfileWithExplicitParseAs (line 790) | func TestCommand_LockfileWithExplicitParseAs(t *testing.T) { function TestCommand_GithubActions (line 967) | func TestCommand_GithubActions(t *testing.T) { function TestCommand_LocalDatabases (line 1003) | func TestCommand_LocalDatabases(t *testing.T) { function TestCommand_LocalDatabases_AlwaysOffline (line 1092) | func TestCommand_LocalDatabases_AlwaysOffline(t *testing.T) { function TestCommand_CommitSupport (line 1123) | func TestCommand_CommitSupport(t *testing.T) { function TestCommand_Licenses (line 1154) | func TestCommand_Licenses(t *testing.T) { function TestCommand_Transitive (line 1263) | func TestCommand_Transitive(t *testing.T) { function TestCommand_MoreLockfiles (line 1361) | func TestCommand_MoreLockfiles(t *testing.T) { function TestCommandNonGit (line 1425) | func TestCommandNonGit(t *testing.T) { function TestCommand_HtmlFile (line 1455) | func TestCommand_HtmlFile(t *testing.T) { function TestCommand_HtmlFile_Deprecated (line 1476) | func TestCommand_HtmlFile_Deprecated(t *testing.T) { function TestCommand_WithDetector_OnLinux (line 1497) | func TestCommand_WithDetector_OnLinux(t *testing.T) { function TestCommand_WithDetector_OffLinux (line 1573) | func TestCommand_WithDetector_OffLinux(t *testing.T) { function TestCommand_Filter (line 1649) | func TestCommand_Filter(t *testing.T) { function TestCommand_FlagDeprecatedPackages (line 1668) | func TestCommand_FlagDeprecatedPackages(t *testing.T) { FILE: cmd/osv-scanner/scan/source/testdata/call-analysis-go-project-all-uncalled/main.go function main (line 11) | func main() { FILE: cmd/osv-scanner/scan/source/testdata/call-analysis-go-project/main.go function main (line 12) | func main() { FILE: cmd/osv-scanner/scan/source/testmain_test.go function TestMain (line 15) | func TestMain(m *testing.M) { FILE: cmd/osv-scanner/scan/testmain_test.go function TestMain (line 15) | func TestMain(m *testing.M) { FILE: cmd/osv-scanner/testmain_test.go function TestMain (line 17) | func TestMain(m *testing.M) { FILE: cmd/osv-scanner/update/command.go function Command (line 23) | func Command(_, _ io.Writer, _ *http.Client) *cli.Command { type updateOptions (line 62) | type updateOptions struct function action (line 71) | func action(ctx context.Context, cmd *cli.Command) error { FILE: cmd/osv-scanner/update/command_test.go function TestCommand (line 11) | func TestCommand(t *testing.T) { FILE: cmd/osv-scanner/update/testmain_test.go function TestMain (line 14) | func TestMain(m *testing.M) { FILE: internal/cachedregexp/regex.go function MustCompile (line 11) | func MustCompile(exp string) *regexp.Regexp { function Compile (line 22) | func Compile(exp string) (*regexp.Regexp, error) { FILE: internal/ci/testmain_test.go function TestMain (line 9) | func TestMain(m *testing.M) { FILE: internal/ci/utility.go function LoadVulnResults (line 12) | func LoadVulnResults(path string) (models.VulnerabilityResults, error) { FILE: internal/ci/utility_test.go function parseTime (line 16) | func parseTime(t *testing.T, str string) time.Time { function TestLoadVulnResults (line 27) | func TestLoadVulnResults(t *testing.T) { FILE: internal/ci/vulnerability_result_diff.go function DiffVulnerabilityResults (line 11) | func DiffVulnerabilityResults(oldRes, newRes models.VulnerabilityResults... function initializeCaches (line 71) | func initializeCaches(oldRes models.VulnerabilityResults) (map[models.So... function DiffVulnerabilityResultsByOccurrences (line 107) | func DiffVulnerabilityResultsByOccurrences(oldRes, newRes models.Vulnera... FILE: internal/ci/vulnerability_result_diff_test.go function TestDiffVulnerabilityResults (line 11) | func TestDiffVulnerabilityResults(t *testing.T) { function TestDiffVulnerabilityByUniqueVulnCountResults (line 87) | func TestDiffVulnerabilityByUniqueVulnCountResults(t *testing.T) { FILE: internal/clients/clientimpl/licensematcher/licensematcher.go constant maxConcurrentRequests (line 19) | maxConcurrentRequests = 1000 type DepsDevLicenseMatcher (line 24) | type DepsDevLicenseMatcher struct method MatchLicenses (line 28) | func (matcher *DepsDevLicenseMatcher) MatchLicenses(ctx context.Contex... method makeVersionRequest (line 59) | func (matcher *DepsDevLicenseMatcher) makeVersionRequest(ctx context.C... function versionQuery (line 102) | func versionQuery(system depsdevpb.System, name string, version string) ... FILE: internal/clients/clientimpl/localmatcher/localmatcher.go constant zippedDBRemoteHost (line 20) | zippedDBRemoteHost = "https://osv-vulnerabilities.storage.googleapis.com" constant envKeyLocalDBCacheDirectory (line 21) | envKeyLocalDBCacheDirectory = "OSV_SCANNER_LOCAL_DB_CACHE_DIRECTORY" type LocalMatcher (line 25) | type LocalMatcher struct method MatchVulnerabilities (line 50) | func (matcher *LocalMatcher) MatchVulnerabilities(ctx context.Context,... method LoadEcosystem (line 108) | func (matcher *LocalMatcher) LoadEcosystem(ctx context.Context, eco os... method loadDBFromCache (line 114) | func (matcher *LocalMatcher) loadDBFromCache(ctx context.Context, eco ... function NewLocalMatcher (line 35) | func NewLocalMatcher(localDBPath string, userAgent string, downloadDB bo... function setupLocalDBDirectory (line 156) | func setupLocalDBDirectory(localDBPath string) (string, error) { FILE: internal/clients/clientimpl/localmatcher/zip.go type ZipDB (line 27) | type ZipDB struct method fetchZip (line 92) | func (db *ZipDB) fetchZip(ctx context.Context) (*os.File, error) { method loadZipFile (line 192) | func (db *ZipDB) loadZipFile(zipFile *zip.File, names []string) { method load (line 233) | func (db *ZipDB) load(ctx context.Context, names []string) error { function fetchRemoteArchiveCRC32CHash (line 48) | func fetchRemoteArchiveCRC32CHash(ctx context.Context, url string) (uint... function fetchLocalArchiveCRC32CHash (line 82) | func fetchLocalArchiveCRC32CHash(f *os.File) (uint32, error) { function mightAffectPackagesBytes (line 165) | func mightAffectPackagesBytes(content []byte, names []string) bool { function NewZippedDB (line 267) | func NewZippedDB(ctx context.Context, dbBasePath, name, url, userAgent s... function VulnerabilitiesAffectingPackage (line 296) | func VulnerabilitiesAffectingPackage(allVulns []*osvschema.Vulnerability... FILE: internal/clients/clientimpl/localmatcher/zip_test.go constant userAgent (line 27) | userAgent = "osv-scanner_test/" + version.OSVVersion function expectDBToHaveOSVs (line 29) | func expectDBToHaveOSVs( function cacheWrite (line 50) | func cacheWrite(t *testing.T, storedAt string, cache []byte) { function cacheWriteBad (line 65) | func cacheWriteBad(t *testing.T, storedAt string, contents string) { function createZipServer (line 80) | func createZipServer(t *testing.T, handler http.HandlerFunc) *httptest.S... function computeCRC32CHash (line 90) | func computeCRC32CHash(t *testing.T, data []byte) string { function writeOSVsZip (line 98) | func writeOSVsZip(t *testing.T, w http.ResponseWriter, osvs map[string]*... function zipOSVs (line 108) | func zipOSVs(t *testing.T, osvs map[string]*osvschema.Vulnerability) []b... function determineStoredAtPath (line 138) | func determineStoredAtPath(dbBasePath, name string) string { function TestNewZippedDB_Offline_WithoutCache (line 142) | func TestNewZippedDB_Offline_WithoutCache(t *testing.T) { function TestNewZippedDB_Offline_WithCache (line 158) | func TestNewZippedDB_Offline_WithCache(t *testing.T) { function TestNewZippedDB_BadZip (line 195) | func TestNewZippedDB_BadZip(t *testing.T) { function TestNewZippedDB_UnsupportedProtocol (line 211) | func TestNewZippedDB_UnsupportedProtocol(t *testing.T) { function TestNewZippedDB_Online_WithoutCache (line 223) | func TestNewZippedDB_Online_WithoutCache(t *testing.T) { function TestNewZippedDB_Online_WithoutCacheAndNoHashHeader (line 258) | func TestNewZippedDB_Online_WithoutCacheAndNoHashHeader(t *testing.T) { function TestNewZippedDB_Online_WithSameCache (line 293) | func TestNewZippedDB_Online_WithSameCache(t *testing.T) { function TestNewZippedDB_Online_WithDifferentCache (line 334) | func TestNewZippedDB_Online_WithDifferentCache(t *testing.T) { function TestNewZippedDB_Online_WithCacheButBadHeadResponse (line 375) | func TestNewZippedDB_Online_WithCacheButBadHeadResponse(t *testing.T) { function TestNewZippedDB_Online_WithCacheButBadHashHeader (line 397) | func TestNewZippedDB_Online_WithCacheButBadHashHeader(t *testing.T) { function TestNewZippedDB_Online_WithCacheButNoHashHeader (line 427) | func TestNewZippedDB_Online_WithCacheButNoHashHeader(t *testing.T) { function TestNewZippedDB_Online_WithBadCache (line 455) | func TestNewZippedDB_Online_WithBadCache(t *testing.T) { function TestNewZippedDB_Online_WithBadGetResponse (line 488) | func TestNewZippedDB_Online_WithBadGetResponse(t *testing.T) { function TestNewZippedDB_FileChecks (line 510) | func TestNewZippedDB_FileChecks(t *testing.T) { function TestNewZippedDB_WithSpecificPackages (line 539) | func TestNewZippedDB_WithSpecificPackages(t *testing.T) { FILE: internal/clients/clientimpl/osvmatcher/cachedosvmatcher.go type CachedOSVMatcher (line 29) | type CachedOSVMatcher struct method MatchVulnerabilities (line 39) | func (matcher *CachedOSVMatcher) MatchVulnerabilities(ctx context.Cont... method doQueries (line 66) | func (matcher *CachedOSVMatcher) doQueries(ctx context.Context, invs [... FILE: internal/clients/clientimpl/osvmatcher/osvmatcher.go constant maxConcurrentRequests (line 22) | maxConcurrentRequests = 1000 type OSVMatcher (line 38) | type OSVMatcher struct method MatchVulnerabilities (line 65) | func (matcher *OSVMatcher) MatchVulnerabilities(ctx context.Context, p... function New (line 46) | func New(initialQueryTimeout time.Duration, userAgent string, httpClient... function pkgToQuery (line 135) | func pkgToQuery(pkg *extractor.Package) *api.Query { function pkgsToQueries (line 179) | func pkgsToQueries(pkgs []*extractor.Package) []*api.Query { FILE: internal/clients/clientimpl/osvmatcher/osvmatcher_test.go function TestOSVMatcher_MatchVulnerabilities (line 16) | func TestOSVMatcher_MatchVulnerabilities(t *testing.T) { FILE: internal/clients/clientinterfaces/licensematcher.go type LicenseMatcher (line 10) | type LicenseMatcher interface FILE: internal/clients/clientinterfaces/vulnerabilitymatcher.go type VulnerabilityMatcher (line 10) | type VulnerabilityMatcher interface FILE: internal/cmdlogger/fmt.go function Debugf (line 10) | func Debugf(msg string, args ...any) { function Infof (line 15) | func Infof(msg string, args ...any) { function Warnf (line 20) | func Warnf(msg string, args ...any) { function Errorf (line 25) | func Errorf(msg string, args ...any) { FILE: internal/cmdlogger/handler.go type Handler (line 15) | type Handler struct method SendEverythingToStderr (line 31) | func (c *Handler) SendEverythingToStderr() { method SetLevel (line 35) | func (c *Handler) SetLevel(level slog.Leveler) { method writer (line 39) | func (c *Handler) writer(level slog.Level) io.Writer { method Enabled (line 47) | func (c *Handler) Enabled(ctx context.Context, level slog.Level) bool { method Handle (line 59) | func (c *Handler) Handle(ctx context.Context, record slog.Record) error { method SetHasErrored (line 84) | func (c *Handler) SetHasErrored() { method HasErrored (line 90) | func (c *Handler) HasErrored() bool { method HasErroredBecauseInvalidConfig (line 96) | func (c *Handler) HasErroredBecauseInvalidConfig() bool { method WithAttrs (line 100) | func (c *Handler) WithAttrs(a []slog.Attr) slog.Handler { method WithGroup (line 107) | func (c *Handler) WithGroup(g string) slog.Handler { function New (line 116) | func New(stdout, stderr io.Writer) CmdLogger { function NewOverride (line 124) | func NewOverride(overrideHandler slog.Handler) CmdLogger { FILE: internal/cmdlogger/interface.go type CmdLogger (line 5) | type CmdLogger interface function SendEverythingToStderr (line 19) | func SendEverythingToStderr() { FILE: internal/cmdlogger/level.go function Levels (line 15) | func Levels() []string { function ParseLevel (line 19) | func ParseLevel(text string) (slog.Level, error) { FILE: internal/cmdlogger/level_test.go function TestParseVerbosityLevel_GivenValidLevels (line 10) | func TestParseVerbosityLevel_GivenValidLevels(t *testing.T) { function TestParseVerbosityLevel_GivenInvalidLevels (line 33) | func TestParseVerbosityLevel_GivenInvalidLevels(t *testing.T) { FILE: internal/cmdlogger/scalibr.go type ScalibrAdapter (line 12) | type ScalibrAdapter struct method Errorf (line 16) | func (s *ScalibrAdapter) Errorf(format string, args ...any) { method Error (line 20) | func (s *ScalibrAdapter) Error(args ...any) { method Warnf (line 24) | func (s *ScalibrAdapter) Warnf(format string, args ...any) { method Warn (line 28) | func (s *ScalibrAdapter) Warn(args ...any) { method Infof (line 32) | func (s *ScalibrAdapter) Infof(format string, args ...any) { method Info (line 36) | func (s *ScalibrAdapter) Info(args ...any) { method Debugf (line 40) | func (s *ScalibrAdapter) Debugf(format string, args ...any) { method Debug (line 44) | func (s *ScalibrAdapter) Debug(args ...any) { FILE: internal/cmdlogger/static.go function SetHasErrored (line 5) | func SetHasErrored() { function HasErrored (line 17) | func HasErrored() bool { function SetLevel (line 27) | func SetLevel(level slog.Leveler) { FILE: internal/config/config.go type Config (line 15) | type Config struct method UnusedIgnoredVulns (line 78) | func (c *Config) UnusedIgnoredVulns() []*IgnoreEntry { method ShouldIgnore (line 90) | func (c *Config) ShouldIgnore(vulnID string) (bool, *IgnoreEntry) { method filterPackageVersionEntries (line 100) | func (c *Config) filterPackageVersionEntries(pkg *extractor.Package, c... method ShouldIgnorePackage (line 113) | func (c *Config) ShouldIgnorePackage(pkg *extractor.Package) (bool, Pa... method ShouldIgnorePackageVulnerabilities (line 120) | func (c *Config) ShouldIgnorePackageVulnerabilities(pkg *extractor.Pac... method ShouldOverridePackageLicense (line 129) | func (c *Config) ShouldOverridePackageLicense(pkg *extractor.Package) ... method warnAboutDuplicates (line 145) | func (c *Config) warnAboutDuplicates() { type IgnoreEntry (line 24) | type IgnoreEntry struct method MarkAsUsed (line 32) | func (ie *IgnoreEntry) MarkAsUsed() { type PackageOverrideEntry (line 36) | type PackageOverrideEntry struct method matches (line 49) | func (e PackageOverrideEntry) matches(pkg *extractor.Package) bool { type Vulnerability (line 69) | type Vulnerability struct type License (line 73) | type License struct function shouldIgnoreTimestamp (line 135) | func shouldIgnoreTimestamp(ignoreUntil time.Time) bool { FILE: internal/config/config_internal_test.go function normalizeFilePaths (line 21) | func normalizeFilePaths(t *testing.T, output string) string { function Test_normalizeConfigLoadPath (line 27) | func Test_normalizeConfigLoadPath(t *testing.T) { function Test_tryLoadConfig (line 106) | func Test_tryLoadConfig(t *testing.T) { function TestTryLoadConfig_UnknownKeys (line 190) | func TestTryLoadConfig_UnknownKeys(t *testing.T) { function TestConfig_ShouldIgnore (line 246) | func TestConfig_ShouldIgnore(t *testing.T) { function TestConfig_ShouldIgnorePackage (line 360) | func TestConfig_ShouldIgnorePackage(t *testing.T) { function TestConfig_ShouldIgnorePackageVulnerabilities (line 870) | func TestConfig_ShouldIgnorePackageVulnerabilities(t *testing.T) { function TestConfig_ShouldOverridePackageLicense (line 958) | func TestConfig_ShouldOverridePackageLicense(t *testing.T) { FILE: internal/config/manager.go type Manager (line 14) | type Manager struct method UseOverride (line 25) | func (m *Manager) UseOverride(configPath string) error { method Get (line 36) | func (m *Manager) Get(targetPath string) Config { method GetUnusedIgnoreEntries (line 70) | func (m *Manager) GetUnusedIgnoreEntries() map[string][]*IgnoreEntry { function normalizeConfigLoadPath (line 93) | func normalizeConfigLoadPath(target string) (string, error) { function tryLoadConfig (line 112) | func tryLoadConfig(configPath string) (Config, error) { FILE: internal/datasource/cache.go constant cacheExpiry (line 12) | cacheExpiry = 6 * time.Hour function gobMarshal (line 14) | func gobMarshal(v any) ([]byte, error) { function gobUnmarshal (line 26) | func gobUnmarshal(b []byte, v any) error { type requestCacheCall (line 31) | type requestCacheCall struct type RequestCache (line 38) | type RequestCache struct function NewRequestCache (line 44) | func NewRequestCache[K comparable, V any]() *RequestCache[K, V] { method Get (line 53) | func (rq *RequestCache[K, V]) Get(key K, fn func() (V, error)) (V, error) { method GetMap (line 96) | func (rq *RequestCache[K, V]) GetMap() map[K]V { method SetMap (line 104) | func (rq *RequestCache[K, V]) SetMap(m map[K]V) { FILE: internal/datasource/cache_test.go function TestRequestCache (line 12) | func TestRequestCache(t *testing.T) { function TestRequestCacheSetMap (line 58) | func TestRequestCacheSetMap(t *testing.T) { FILE: internal/datasource/http_auth.go type HTTPAuthMethod (line 17) | type HTTPAuthMethod constant AuthBasic (line 20) | AuthBasic HTTPAuthMethod = iota constant AuthBearer (line 21) | AuthBearer constant AuthDigest (line 22) | AuthDigest type HTTPAuthentication (line 28) | type HTTPAuthentication struct method Get (line 51) | func (auth *HTTPAuthentication) Get(ctx context.Context, httpClient *h... method authIndex (line 141) | func (auth *HTTPAuthentication) authIndex(wwwAuth []string, authScheme... method addBasic (line 148) | func (auth *HTTPAuthentication) addBasic(req *http.Request) bool { method addBearer (line 165) | func (auth *HTTPAuthentication) addBearer(req *http.Request) bool { method addDigest (line 175) | func (auth *HTTPAuthentication) addDigest(req *http.Request, challenge... method parseChallenge (line 251) | func (auth *HTTPAuthentication) parseChallenge(challenge string) map[s... method cnonce (line 287) | func (auth *HTTPAuthentication) cnonce() string { FILE: internal/datasource/http_auth_test.go type mockTransport (line 11) | type mockTransport struct method RoundTrip (line 17) | func (mt *mockTransport) RoundTrip(req *http.Request) (*http.Response,... function TestHTTPAuthentication (line 32) | func TestHTTPAuthentication(t *testing.T) { FILE: internal/datasource/insights.go type CachedInsightsClient (line 16) | type CachedInsightsClient struct method GetPackage (line 79) | func (c *CachedInsightsClient) GetPackage(ctx context.Context, in *pb.... method GetVersion (line 85) | func (c *CachedInsightsClient) GetVersion(ctx context.Context, in *pb.... method GetRequirements (line 91) | func (c *CachedInsightsClient) GetRequirements(ctx context.Context, in... type packageKey (line 28) | type packageKey struct function makePackageKey (line 33) | func makePackageKey(k *pb.PackageKey) packageKey { type versionKey (line 40) | type versionKey struct function makeVersionKey (line 46) | func makeVersionKey(k *pb.VersionKey) versionKey { function NewCachedInsightsClient (line 54) | func NewCachedInsightsClient(addr string, userAgent string) (*CachedInsi... FILE: internal/datasource/insights_cache.go type depsdevAPICache (line 10) | type depsdevAPICache struct function protoMarshalCache (line 17) | func protoMarshalCache[K comparable, V proto.Message](protoMap map[K]V) ... function protoUnmarshalCache (line 30) | func protoUnmarshalCache[K comparable, V any, PV interface { method GobEncode (line 46) | func (c *CachedInsightsClient) GobEncode() ([]byte, error) { method GobDecode (line 74) | func (c *CachedInsightsClient) GobDecode(b []byte) error { FILE: internal/datasource/insightsalpha.go function NewInsightsAlphaClient (line 13) | func NewInsightsAlphaClient(addr string, userAgent string) (pb.InsightsC... FILE: internal/datasource/maven_registry.go constant MavenCentral (line 22) | MavenCentral = "https://repo.maven.apache.org/maven2" type MavenRegistryAPIClient (line 26) | type MavenRegistryAPIClient struct method WithoutRegistries (line 77) | func (m *MavenRegistryAPIClient) WithoutRegistries() *MavenRegistryAPI... method AddRegistry (line 87) | func (m *MavenRegistryAPIClient) AddRegistry(registry MavenRegistry) e... method GetRegistries (line 105) | func (m *MavenRegistryAPIClient) GetRegistries() (registries []MavenRe... method GetProject (line 114) | func (m *MavenRegistryAPIClient) GetProject(ctx context.Context, group... method GetVersions (line 159) | func (m *MavenRegistryAPIClient) GetVersions(ctx context.Context, grou... method getProject (line 175) | func (m *MavenRegistryAPIClient) getProject(ctx context.Context, regis... method getVersionMetadata (line 190) | func (m *MavenRegistryAPIClient) getVersionMetadata(ctx context.Contex... method getArtifactMetadata (line 202) | func (m *MavenRegistryAPIClient) getArtifactMetadata(ctx context.Conte... method get (line 213) | func (m *MavenRegistryAPIClient) get(ctx context.Context, auth *HTTPAu... type response (line 37) | type response struct type MavenRegistry (line 42) | type MavenRegistry struct function NewMavenRegistryAPIClient (line 52) | func NewMavenRegistryAPIClient(registry MavenRegistry) (*MavenRegistryAP... function NewMavenDecoder (line 245) | func NewMavenDecoder(reader io.Reader) *xml.Decoder { FILE: internal/datasource/maven_registry_cache.go type mavenRegistryCache (line 7) | type mavenRegistryCache struct method GobEncode (line 12) | func (m *MavenRegistryAPIClient) GobEncode() ([]byte, error) { method GobDecode (line 29) | func (m *MavenRegistryAPIClient) GobDecode(b []byte) error { FILE: internal/datasource/maven_registry_test.go function TestMavenRegistryAPIClient_GetProject (line 12) | func TestMavenRegistryAPIClient_GetProject(t *testing.T) { function TestGetProjectSnapshot (line 41) | func TestGetProjectSnapshot(t *testing.T) { function TestGetArtifactMetadata (line 95) | func TestGetArtifactMetadata(t *testing.T) { function TestGetVersionMetadata (line 143) | func TestGetVersionMetadata(t *testing.T) { function TestMultipleRegistry (line 211) | func TestMultipleRegistry(t *testing.T) { FILE: internal/datasource/maven_settings.go type MavenSettingsXML (line 18) | type MavenSettingsXML struct type MavenSettingsXMLServer (line 22) | type MavenSettingsXMLServer struct function ParseMavenSettings (line 28) | func ParseMavenSettings(path string) MavenSettingsXML { function globalMavenSettingsFile (line 70) | func globalMavenSettingsFile() string { function userMavenSettingsFile (line 91) | func userMavenSettingsFile() string { function MakeMavenAuth (line 103) | func MakeMavenAuth(globalSettings, userSettings MavenSettingsXML) map[st... FILE: internal/datasource/maven_settings_test.go function TestParseMavenSettings (line 11) | func TestParseMavenSettings(t *testing.T) { function TestMakeMavenAuth (line 43) | func TestMakeMavenAuth(t *testing.T) { FILE: internal/datasource/npm_registry.go type NpmRegistryAPIClient (line 17) | type NpmRegistryAPIClient struct method Versions (line 52) | func (c *NpmRegistryAPIClient) Versions(ctx context.Context, pkg strin... method Dependencies (line 73) | func (c *NpmRegistryAPIClient) Dependencies(ctx context.Context, pkg, ... method FullJSON (line 86) | func (c *NpmRegistryAPIClient) FullJSON(ctx context.Context, pkg, vers... method get (line 90) | func (c *NpmRegistryAPIClient) get(ctx context.Context, urlComponents ... method getPackageDetails (line 111) | func (c *NpmRegistryAPIClient) getPackageDetails(ctx context.Context, ... type npmRegistryPackageDetails (line 29) | type npmRegistryPackageDetails struct function NewNpmRegistryAPIClient (line 35) | func NewNpmRegistryAPIClient(workdir string) (*NpmRegistryAPIClient, err... type NpmRegistryVersions (line 47) | type NpmRegistryVersions struct type NpmRegistryDependencies (line 64) | type NpmRegistryDependencies struct function jsonToStringSlice (line 136) | func jsonToStringSlice(v gjson.Result) []string { function jsonToStringMap (line 149) | func jsonToStringMap(v gjson.Result) map[string]string { FILE: internal/datasource/npm_registry_cache.go type npmRegistryCache (line 9) | type npmRegistryCache struct method GobEncode (line 15) | func (c *NpmRegistryAPIClient) GobEncode() ([]byte, error) { method GobDecode (line 36) | func (c *NpmRegistryAPIClient) GobDecode(b []byte) error { FILE: internal/datasource/npm_registry_test.go function TestNpmRegistryClient (line 16) | func TestNpmRegistryClient(t *testing.T) { FILE: internal/datasource/npmrc.go type NpmrcConfig (line 19) | type NpmrcConfig function loadNpmrc (line 21) | func loadNpmrc(workdir string) (NpmrcConfig, error) { function envVarNpmrc (line 88) | func envVarNpmrc() ([]byte, error) { function builtinNpmrc (line 112) | func builtinNpmrc() string { type NpmRegistryAuths (line 133) | type NpmRegistryAuths method GetAuth (line 135) | func (auths NpmRegistryAuths) GetAuth(uri string) *HTTPAuthentication { function urlPathEscapeLower (line 165) | func urlPathEscapeLower(s string) string { type NpmRegistryConfig (line 172) | type NpmRegistryConfig struct method MakeRequest (line 188) | func (r NpmRegistryConfig) MakeRequest(ctx context.Context, httpClient... function LoadNpmRegistryConfig (line 177) | func LoadNpmRegistryConfig(workdir string) (NpmRegistryConfig, error) { function ParseNpmRegistryInfo (line 217) | func ParseNpmRegistryInfo(npmrc NpmrcConfig) NpmRegistryConfig { FILE: internal/datasource/npmrc_test.go function createTempNpmrc (line 19) | func createTempNpmrc(t *testing.T, filename string) string { function writeToNpmrc (line 32) | func writeToNpmrc(t *testing.T, file string, lines ...string) { type testNpmrcFiles (line 46) | type testNpmrcFiles struct function makeBlankNpmrcFiles (line 52) | func makeBlankNpmrcFiles(t *testing.T) testNpmrcFiles { function checkNpmRegistryRequest (line 63) | func checkNpmRegistryRequest(t *testing.T, config datasource.NpmRegistry... function TestLoadNpmRegistryConfig_WithNoRegistries (line 86) | func TestLoadNpmRegistryConfig_WithNoRegistries(t *testing.T) { function TestLoadNpmRegistryConfig_WithAuth (line 103) | func TestLoadNpmRegistryConfig_WithAuth(t *testing.T) { function TestLoadNpmRegistryConfig_WithOverrides (line 128) | func TestLoadNpmRegistryConfig_WithOverrides(t *testing.T) { function TestNpmRegistryAuths (line 183) | func TestNpmRegistryAuths(t *testing.T) { FILE: internal/depsdev/depsdev.go constant DepsdevAPI (line 12) | DepsdevAPI = "api.deps.dev:443" FILE: internal/grouper/grouper.go function hasAliasIntersection (line 13) | func hasAliasIntersection(v1, v2 IDAliases) bool { function Group (line 25) | func Group(vulns []IDAliases) []models.GroupInfo { FILE: internal/grouper/grouper_models.go type IDAliases (line 11) | type IDAliases struct function ConvertVulnerabilityToIDAliases (line 16) | func ConvertVulnerabilityToIDAliases(c []*osvschema.Vulnerability) []IDA... FILE: internal/grouper/grouper_test.go function TestGroup (line 11) | func TestGroup(t *testing.T) { FILE: internal/identifiers/identifiers.go function MostUpstreamsOrder (line 12) | func MostUpstreamsOrder(a, b *osvschema.Vulnerability) int { function prefixOrder (line 22) | func prefixOrder(prefix string) int { function prefixOrderForDescription (line 38) | func prefixOrderForDescription(prefix string) int { function idSort (line 49) | func idSort(a, b string, prefixOrd func(string) int) int { function IDSortFunc (line 63) | func IDSortFunc(a, b string) int { function IDSortFuncForDescription (line 68) | func IDSortFuncForDescription(a, b string) int { FILE: internal/identifiers/identifiers_test.go function Test_idSortFunc (line 8) | func Test_idSortFunc(t *testing.T) { function Test_idSortFuncUsage (line 46) | func Test_idSortFuncUsage(t *testing.T) { FILE: internal/imodels/imodels.go function toCachedPackageInfo (line 36) | func toCachedPackageInfo(pkg *extractor.Package) *models.PackageInfo { function Name (line 63) | func Name(pkg *extractor.Package) string { function Ecosystem (line 111) | func Ecosystem(pkg *extractor.Package) osvecosystem.Parsed { function Version (line 138) | func Version(pkg *extractor.Package) string { function Location (line 167) | func Location(pkg *extractor.Package) string { function Commit (line 171) | func Commit(pkg *extractor.Package) string { function SourceType (line 179) | func SourceType(pkg *extractor.Package) models.SourceType { function DepGroups (line 197) | func DepGroups(pkg *extractor.Package) []string { function OSPackageName (line 205) | func OSPackageName(pkg *extractor.Package) string { FILE: internal/imodels/imodels_test.go function Test_Name (line 10) | func Test_Name(t *testing.T) { FILE: internal/imodels/results/scanresults.go type ScanResults (line 13) | type ScanResults struct FILE: internal/output/cyclonedx.go function PrintCycloneDXResults (line 15) | func PrintCycloneDXResults(vulnResult *models.VulnerabilityResults, cycl... FILE: internal/output/cyclonedx_test.go function testCycloneDXResults (line 12) | func testCycloneDXResults(t *testing.T, version models.CycloneDXVersion,... function TestPrintCycloneDXResults (line 25) | func TestPrintCycloneDXResults(t *testing.T) { FILE: internal/output/form.go function Form (line 4) | func Form(count int, singular, plural string) string { FILE: internal/output/form_test.go function TestForm (line 9) | func TestForm(t *testing.T) { FILE: internal/output/githubannotation.go function createSourceRemediationTable (line 14) | func createSourceRemediationTable(source models.PackageSource, groupedFi... function createDeprecationTable (line 40) | func createDeprecationTable(source models.PackageSource) (table.Writer, ... function PrintGHAnnotationReport (line 60) | func PrintGHAnnotationReport(vulnResult *models.VulnerabilityResults, ou... FILE: internal/output/githubannotation_test.go function TestPrintGHAnnotationReport_WithVulnerabilities (line 11) | func TestPrintGHAnnotationReport_WithVulnerabilities(t *testing.T) { function TestPrintGHAnnotationReport_WithLicenseViolations (line 28) | func TestPrintGHAnnotationReport_WithLicenseViolations(t *testing.T) { function TestPrintGHAnnotationReport_WithMixedIssues (line 45) | func TestPrintGHAnnotationReport_WithMixedIssues(t *testing.T) { FILE: internal/output/helpers_test.go type outputTestCaseArgs (line 18) | type outputTestCaseArgs struct type outputTestCase (line 22) | type outputTestCase struct type pkginfo (line 29) | type pkginfo struct function resolvePURLType (line 40) | func resolvePURLType(eco string) string { function newPackageInfo (line 53) | func newPackageInfo(source string, pi pkginfo) models.PackageInfo { function testOutputWithVulnerabilities (line 74) | func testOutputWithVulnerabilities(t *testing.T, run outputTestRunner) { function testOutputWithLicenseViolations (line 1359) | func testOutputWithLicenseViolations(t *testing.T, run outputTestRunner) { function testOutputWithMixedIssues (line 2044) | func testOutputWithMixedIssues(t *testing.T, run outputTestRunner) { FILE: internal/output/html.go constant TemplateDir (line 15) | TemplateDir = "html/*" function uniqueIndex (line 24) | func uniqueIndex(index *int) func() int { function formatSlice (line 31) | func formatSlice(slice []string) string { function formatLicense (line 35) | func formatLicense(slice []models.License) string { function formatRating (line 44) | func formatRating(rating severity.Rating) string { type VulnTableEntryArgument (line 48) | type VulnTableEntryArgument struct function buildVulnTableEntryArgument (line 53) | func buildVulnTableEntryArgument(element VulnResult, isHidden bool) Vuln... function hasOSResult (line 60) | func hasOSResult(ecosystems []EcosystemResult) bool { function PrintHTMLResults (line 70) | func PrintHTMLResults(vulnResult *models.VulnerabilityResults, outputWri... FILE: internal/output/html/script.js function toggleDetails (line 4) | function toggleDetails(summaryID) { function quickFilterByLayer (line 14) | function quickFilterByLayer(DiffID, layerCommand) { function showBaseImageLayer (line 21) | function showBaseImageLayer(imageID) { function showPackageDetails (line 33) | function showPackageDetails(detailsId) { function openVulnInNewTab (line 43) | function openVulnInNewTab(inputString) { function closeVulnTab (line 112) | function closeVulnTab(inputString) { function openTab (line 133) | function openTab(activeTabId) { function hideAllFilterOptions (line 145) | function hideAllFilterOptions() { function toggleFilter (line 153) | function toggleFilter(input) { function showAndHideParentSections (line 166) | function showAndHideParentSections() { function showAllVulns (line 215) | function showAllVulns() { function applyFilters (line 225) | function applyFilters(selectedTypeFilterValue, selectedLayerFilterValue) { function applyTypeFilter (line 233) | function applyTypeFilter(selectedValue) { function applyLayerFilter (line 259) | function applyLayerFilter(selectedLayerID) { function updateTypeFilterText (line 273) | function updateTypeFilterText() { function resetFilterText (line 320) | function resetFilterText() { function resetSearchText (line 355) | function resetSearchText() { function resetTypeCheckbox (line 363) | function resetTypeCheckbox() { FILE: internal/output/html_test.go function TestPrintHTMLResults_WithVulnerabilities (line 10) | func TestPrintHTMLResults_WithVulnerabilities(t *testing.T) { function TestPrintHTMLResults_WithLicenseViolations (line 25) | func TestPrintHTMLResults_WithLicenseViolations(t *testing.T) { function TestPrintHTMLResults_WithMixedIssues (line 40) | func TestPrintHTMLResults_WithMixedIssues(t *testing.T) { FILE: internal/output/machinejson.go function PrintJSONResults (line 11) | func PrintJSONResults(vulnResult *models.VulnerabilityResults, outputWri... FILE: internal/output/machinejson_test.go function TestPrintJSONResults_WithVulnerabilities (line 11) | func TestPrintJSONResults_WithVulnerabilities(t *testing.T) { function TestPrintJSONResults_WithLicenseViolations (line 28) | func TestPrintJSONResults_WithLicenseViolations(t *testing.T) { function TestPrintJSONResults_WithMixedIssues (line 45) | func TestPrintJSONResults_WithMixedIssues(t *testing.T) { FILE: internal/output/markdowntable.go function PrintMarkdownTableResults (line 14) | func PrintMarkdownTableResults(vulnResult *models.VulnerabilityResults, ... FILE: internal/output/markdowntable_test.go function TestPrintMarkdownTableResults_WithVulnerabilities (line 11) | func TestPrintMarkdownTableResults_WithVulnerabilities(t *testing.T) { function TestPrintMarkdownTableResults_WithLicenseViolations (line 24) | func TestPrintMarkdownTableResults_WithLicenseViolations(t *testing.T) { function TestPrintMarkdownTableResults_WithMixedIssues (line 37) | func TestPrintMarkdownTableResults_WithMixedIssues(t *testing.T) { FILE: internal/output/output_result.go type Result (line 25) | type Result struct type EcosystemResult (line 38) | type EcosystemResult struct type SourceResult (line 45) | type SourceResult struct type PackageResult (line 56) | type PackageResult struct type VulnResult (line 76) | type VulnResult struct type ImageInfo (line 89) | type ImageInfo struct type LicenseSummary (line 95) | type LicenseSummary struct type PackageContainerInfo (line 102) | type PackageContainerInfo struct type BaseImageGroupInfo (line 108) | type BaseImageGroupInfo struct type LayerInfo (line 115) | type LayerInfo struct type VulnTypeSummary (line 123) | type VulnTypeSummary struct type VulnCount (line 131) | type VulnCount struct method Add (line 641) | func (v *VulnCount) Add(other VulnCount) { type SeverityCount (line 139) | type SeverityCount struct method Add (line 648) | func (c *SeverityCount) Add(other SeverityCount) { type AnalysisCount (line 148) | type AnalysisCount struct method Add (line 657) | func (c *AnalysisCount) Add(other AnalysisCount) { type FixableCount (line 154) | type FixableCount struct method Add (line 663) | func (c *FixableCount) Add(other FixableCount) { type VulnAnalysisType (line 159) | type VulnAnalysisType method String (line 668) | func (vt VulnAnalysisType) String() string { constant VulnTypeRegular (line 162) | VulnTypeRegular VulnAnalysisType = iota constant VulnTypeUncalled (line 163) | VulnTypeUncalled constant VulnTypeUnimportant (line 164) | VulnTypeUnimportant constant UnfixedDescription (line 167) | UnfixedDescription = "No fix available" constant VersionUnsupported (line 168) | VersionUnsupported = "N/A" function PrintResults (line 175) | func PrintResults(vulnResult *models.VulnerabilityResults, outputWriter ... function BuildResults (line 188) | func BuildResults(vulnResult *models.VulnerabilityResults) Result { function buildResult (line 214) | func buildResult(ecosystemMap map[string][]SourceResult, resultCount Vul... function populateResultWithImageMetadata (line 275) | func populateResultWithImageMetadata(result *Result, imageMetadata model... function buildBaseImages (line 344) | func buildBaseImages(baseImages [][]models.BaseImageDetails) []BaseImage... function buildLayers (line 356) | func buildLayers(layerMetadata []models.LayerMetadata) []LayerInfo { function processSource (line 369) | func processSource(packageSource models.PackageSource) map[string]Source... function processPackage (line 460) | func processPackage(vulnPkg models.PackageVulns) PackageResult { function processVulnGroups (line 496) | func processVulnGroups(vulnPkg models.PackageVulns) (map[string]VulnResu... function updateVuln (line 539) | func updateVuln(vulnMap map[string]VulnResult, vulnPkg models.PackageVul... function getVulnList (line 554) | func getVulnList(vulnMap map[string]VulnResult) []VulnResult { function getNextFixVersion (line 570) | func getNextFixVersion(allAffected []*osvschema.Affected, installedVersi... function calculatePackageFixedVersion (line 605) | func calculatePackageFixedVersion(ecosystem string, allVulns []VulnResul... function getFilteredVulnReasons (line 681) | func getFilteredVulnReasons(vulns []VulnResult) string { function getBaseImageName (line 699) | func getBaseImageName(baseImageInfo BaseImageGroupInfo) string { function increaseSeverityCount (line 707) | func increaseSeverityCount(severityCount SeverityCount, severityType sev... function isOSEcosystem (line 724) | func isOSEcosystem(ecosystem string) bool { function getVulnTypeSummary (line 734) | func getVulnTypeSummary(result []EcosystemResult) VulnTypeSummary { function getPackageTypeCount (line 753) | func getPackageTypeCount(result []EcosystemResult) AnalysisCount { function calculateCount (line 768) | func calculateCount(regularVulnList, hiddenVulnList []VulnResult) VulnCo... function formatLayerCommand (line 788) | func formatLayerCommand(command string) []string { function cleanupSpaces (line 805) | func cleanupSpaces(s string) string { function printSummary (line 813) | func printSummary(result Result, out io.Writer) { function printPkgDeprecatedSummary (line 839) | func printPkgDeprecatedSummary(result Result, out io.Writer) { function getInstalledVersionOrCommit (line 845) | func getInstalledVersionOrCommit(pkg PackageResult) string { function isOSResult (line 854) | func isOSResult(sourceType models.SourceType) bool { function containsOSResult (line 858) | func containsOSResult(result Result) bool { function ecosystemHasRegVuln (line 870) | func ecosystemHasRegVuln(ecosystem EcosystemResult) bool { function removeVariants (line 880) | func removeVariants(ecosystem string) string { function formatHiddenVulnsPrompt (line 889) | func formatHiddenVulnsPrompt(hiddenVulns int) string { function GetContainerScanningHeader (line 893) | func GetContainerScanningHeader(result Result) string { FILE: internal/output/output_result_test.go function TestPrintOutputResults_WithVulnerabilities (line 11) | func TestPrintOutputResults_WithVulnerabilities(t *testing.T) { FILE: internal/output/result.go type pkgWithSource (line 19) | type pkgWithSource struct type pkgSourceSet (line 25) | type pkgSourceSet method StableKeys (line 28) | func (pss *pkgSourceSet) StableKeys() []pkgWithSource { method MarshalJSON (line 49) | func (pss *pkgSourceSet) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 59) | func (pss *pkgSourceSet) UnmarshalJSON(data []byte) error { function mustGetWorkingDirectory (line 74) | func mustGetWorkingDirectory() string { function groupFixedVersions (line 85) | func groupFixedVersions(flattened []models.VulnerabilityFlattened) map[s... type groupedSARIFFinding (line 115) | type groupedSARIFFinding struct method UnmarshalJSON (line 129) | func (g *groupedSARIFFinding) UnmarshalJSON(data []byte) error { method MarshalJSON (line 166) | func (g *groupedSARIFFinding) MarshalJSON() ([]byte, error) { function mapIDsToGroupedSARIFFinding (line 205) | func mapIDsToGroupedSARIFFinding(vulnResults *models.VulnerabilityResult... FILE: internal/output/result_test.go function Test_groupFixedVersions (line 10) | func Test_groupFixedVersions(t *testing.T) { function Test_mapIDsToGroupedSARIFFinding (line 49) | func Test_mapIDsToGroupedSARIFFinding(t *testing.T) { FILE: internal/output/sarif.go type HelpTemplateData (line 26) | type HelpTemplateData struct type FixedPkgTableData (line 36) | type FixedPkgTableData struct type VulnDescription (line 41) | type VulnDescription struct constant SARIFTemplate (line 50) | SARIFTemplate = ` function createSARIFAffectedPkgTable (line 104) | func createSARIFAffectedPkgTable(pkgWithSrc []pkgWithSource) table.Writer { function createSARIFFixedPkgTable (line 141) | func createSARIFFixedPkgTable(fixedPkgTableData []FixedPkgTableData) tab... function stripGitHubWorkspace (line 161) | func stripGitHubWorkspace(path string) string { function createSARIFFingerprint (line 179) | func createSARIFFingerprint(vulnID string, artifactPath string, pkg mode... function createSARIFHelpText (line 191) | func createSARIFHelpText(gv *groupedSARIFFinding) string { function PrintSARIFReport (line 253) | func PrintSARIFReport(vulnResult *models.VulnerabilityResults, outputWri... FILE: internal/output/sarif_fingerprint_test.go function Test_createSARIFFingerprint (line 22) | func Test_createSARIFFingerprint(t *testing.T) { function Test_createSARIFFingerprint_DifferentInputs (line 52) | func Test_createSARIFFingerprint_DifferentInputs(t *testing.T) { FILE: internal/output/sarif_internal_test.go function Test_createSARIFHelpText (line 9) | func Test_createSARIFHelpText(t *testing.T) { FILE: internal/output/sarif_test.go function TestPrintSARIFReport (line 14) | func TestPrintSARIFReport(t *testing.T) { function TestPrintSARIFReport_WithVulnerabilities (line 53) | func TestPrintSARIFReport_WithVulnerabilities(t *testing.T) { function TestPrintSARIFReport_WithLicenseViolations (line 74) | func TestPrintSARIFReport_WithLicenseViolations(t *testing.T) { function TestPrintSARIFReport_WithMixedIssues (line 95) | func TestPrintSARIFReport_WithMixedIssues(t *testing.T) { function buildJSONSarifReport (line 116) | func buildJSONSarifReport(t *testing.T, res *models.VulnerabilityResults... FILE: internal/output/sbom/cyclonedx_1_4.go function ToCycloneDX14Bom (line 10) | func ToCycloneDX14Bom(uniquePackages map[string]models.PackageVulns) *cy... FILE: internal/output/sbom/cyclonedx_1_5.go function ToCycloneDX15Bom (line 8) | func ToCycloneDX15Bom(uniquePackages map[string]models.PackageVulns) *cy... FILE: internal/output/sbom/cyclonedx_1_6.go function ToCycloneDX16Bom (line 8) | func ToCycloneDX16Bom(uniquePackages map[string]models.PackageVulns) *cy... FILE: internal/output/sbom/cyclonedx_common.go function buildCycloneDXBom (line 14) | func buildCycloneDXBom(uniquePackages map[string]models.PackageVulns) *c... function fillLicenses (line 55) | func fillLicenses(component *cyclonedx.Component, packageDetail models.P... function addVulnerabilities (line 68) | func addVulnerabilities(vulnerabilities map[string]cyclonedx.Vulnerabili... function addDeprecatedProperty (line 92) | func addDeprecatedProperty(component *cyclonedx.Component, packageDetail... function formatDateIfExists (line 105) | func formatDateIfExists(ts *timestamppb.Timestamp) string { function buildCredits (line 117) | func buildCredits(vulnerability *osvschema.Vulnerability) *cyclonedx.Cre... function buildAffectedPackages (line 132) | func buildAffectedPackages(vulnerability *osvschema.Vulnerability) *[]cy... function buildRatings (line 149) | func buildRatings(vulnerability *osvschema.Vulnerability) *[]cyclonedx.V... function buildReferences (line 161) | func buildReferences(vulnerability *osvschema.Vulnerability) *[]cycloned... function buildAdvisories (line 174) | func buildAdvisories(vulnerability *osvschema.Vulnerability) *[]cycloned... FILE: internal/output/sbom/models.go type CycloneDXBomCreator (line 16) | type CycloneDXBomCreator constant cycloneDx14Schema (line 19) | cycloneDx14Schema = "http://cyclonedx.org/schema/bom-1.4.schema.json" constant cycloneDx15Schema (line 20) | cycloneDx15Schema = "http://cyclonedx.org/schema/bom-1.5.schema.json" constant cycloneDx16Schema (line 21) | cycloneDx16Schema = "http://cyclonedx.org/schema/bom-1.6.schema.json" constant libraryComponentType (line 24) | libraryComponentType = "library" FILE: internal/output/spdx.go function PrintSPDXResults (line 13) | func PrintSPDXResults(vulnResult *models.VulnerabilityResults, outputWri... FILE: internal/output/spdx_test.go function normalizeSPDXOutput (line 13) | func normalizeSPDXOutput(t *testing.T, str string) string { function TestPrintSPDXResults_WithVulnerabilities (line 23) | func TestPrintSPDXResults_WithVulnerabilities(t *testing.T) { function TestPrintSPDXResults_WithLicenseViolations (line 40) | func TestPrintSPDXResults_WithLicenseViolations(t *testing.T) { function TestPrintSPDXResults_WithMixedIssues (line 57) | func TestPrintSPDXResults_WithMixedIssues(t *testing.T) { FILE: internal/output/table.go constant OSVBaseVulnerabilityURL (line 22) | OSVBaseVulnerabilityURL = "https://osv.dev/" function PrintTableResults (line 25) | func PrintTableResults(vulnResult *models.VulnerabilityResults, outputWr... function newTable (line 65) | func newTable(outputWriter io.Writer, terminalWidth int) table.Writer { function tableBuilder (line 82) | func tableBuilder(outputTable table.Writer, result Result, showAllVulns ... function printSummaryResult (line 114) | func printSummaryResult(result Result, outputWriter io.Writer, terminalW... function printLicenseSummary (line 262) | func printLicenseSummary(licenseSummary LicenseSummary, outputWriter io.... type tbInnerResponse (line 274) | type tbInnerResponse struct function tableBuilderInner (line 279) | func tableBuilderInner(result Result, vulnAnalysisType VulnAnalysisType)... function MaxSeverity (line 366) | func MaxSeverity(group models.GroupInfo, pkg models.PackageVulns) string { function buildLicenseSummaryTable (line 386) | func buildLicenseSummaryTable(outputWriter io.Writer, terminalWidth int,... function licenseSummaryTableBuilder (line 395) | func licenseSummaryTableBuilder(outputTable table.Writer, vulnResult *mo... function buildLicenseViolationsTable (line 404) | func buildLicenseViolationsTable(outputWriter io.Writer, terminalWidth i... function licenseViolationsTableBuilder (line 414) | func licenseViolationsTableBuilder(outputTable table.Writer, vulnResult ... function buildDeprecatedPackagesTable (line 443) | func buildDeprecatedPackagesTable(outputWriter io.Writer, terminalWidth ... function deprecatedPackagesTableBuilder (line 453) | func deprecatedPackagesTableBuilder(outputTable table.Writer, vulnResult... function formatBinaryPackages (line 478) | func formatBinaryPackages(slice []string) string { FILE: internal/output/table_test.go function TestPrintTableResults_StandardTerminalWidth_WithVulnerabilities (line 12) | func TestPrintTableResults_StandardTerminalWidth_WithVulnerabilities(t *... function TestPrintTableResults_StandardTerminalWidth_WithLicenseViolations (line 25) | func TestPrintTableResults_StandardTerminalWidth_WithLicenseViolations(t... function TestPrintTableResults_StandardTerminalWidth_WithMixedIssues (line 38) | func TestPrintTableResults_StandardTerminalWidth_WithMixedIssues(t *test... function TestPrintTableResults_LongTerminalWidth_WithVulnerabilities (line 51) | func TestPrintTableResults_LongTerminalWidth_WithVulnerabilities(t *test... function TestPrintTableResults_LongTerminalWidth_WithLicenseViolations (line 64) | func TestPrintTableResults_LongTerminalWidth_WithLicenseViolations(t *te... function TestPrintTableResults_LongTerminalWidth_WithMixedIssues (line 77) | func TestPrintTableResults_LongTerminalWidth_WithMixedIssues(t *testing.... function TestPrintTableResults_NoTerminalWidth_WithVulnerabilities (line 90) | func TestPrintTableResults_NoTerminalWidth_WithVulnerabilities(t *testin... function TestPrintTableResults_NoTerminalWidth_WithLicenseViolations (line 103) | func TestPrintTableResults_NoTerminalWidth_WithLicenseViolations(t *test... function TestPrintTableResults_NoTerminalWidth_WithMixedIssues (line 116) | func TestPrintTableResults_NoTerminalWidth_WithMixedIssues(t *testing.T) { FILE: internal/output/testmain_test.go function TestMain (line 9) | func TestMain(m *testing.M) { FILE: internal/output/vertical.go function PrintVerticalResults (line 14) | func PrintVerticalResults(vulnResult *models.VulnerabilityResults, outpu... function printVerticalLicenseSummary (line 57) | func printVerticalLicenseSummary(licenseSummary LicenseSummary, out io.W... function printVerticalLicenseViolations (line 66) | func printVerticalLicenseViolations(source SourceResult, out io.Writer) { function printVerticalPkgDeprecatedSummary (line 108) | func printVerticalPkgDeprecatedSummary(source SourceResult, out io.Write... function printBaseImages (line 123) | func printBaseImages(imageResult ImageInfo, out io.Writer) { function printVerticalHeader (line 154) | func printVerticalHeader(result SourceResult, out io.Writer) { function printVerticalPackageContainerInfo (line 164) | func printVerticalPackageContainerInfo(pkg PackageResult, out io.Writer) { function printVerticalVulnerabilitiesCountSummary (line 173) | func printVerticalVulnerabilitiesCountSummary(count int, printingCalled ... function printVerticalVulnerabilitiesForPackages (line 197) | func printVerticalVulnerabilitiesForPackages(packages []PackageResult, o... function printVerticalVulnerabilities (line 250) | func printVerticalVulnerabilities(sourceResult SourceResult, isContainer... function truncate (line 288) | func truncate(str string, limit int) string { function describe (line 313) | func describe(vulnerability VulnResult) string { FILE: internal/output/vertical_test.go function TestPrintVerticalResults_WithVulnerabilities (line 12) | func TestPrintVerticalResults_WithVulnerabilities(t *testing.T) { function TestPrintVerticalResults_WithLicenseViolations (line 25) | func TestPrintVerticalResults_WithLicenseViolations(t *testing.T) { function TestPrintVerticalResults_WithMixedIssues (line 38) | func TestPrintVerticalResults_WithMixedIssues(t *testing.T) { FILE: internal/remediation/in_place.go type InPlacePatch (line 24) | type InPlacePatch struct type InPlaceResult (line 30) | type InPlaceResult struct method VulnCount (line 48) | func (r InPlaceResult) VulnCount() VulnCount { type VulnCount (line 35) | type VulnCount struct method Total (line 44) | func (vc VulnCount) Total() int { function ComputeInPlacePatches (line 111) | func ComputeInPlacePatches(ctx context.Context, cl client.ResolutionClie... function findFixedVersion (line 219) | func findFixedVersion(ctx context.Context, cl client.DependencyClient, p... type inPlaceVulnsNodesResult (line 237) | type inPlaceVulnsNodesResult struct function inPlaceVulnsNodes (line 243) | func inPlaceVulnsNodes(ctx context.Context, m clientinterfaces.Vulnerabi... function buildConstraintSet (line 299) | func buildConstraintSet(sys semver.System, requiredVers []string) (semve... function dependenciesSatisfied (line 329) | func dependenciesSatisfied(ctx context.Context, cl client.DependencyClie... FILE: internal/remediation/in_place_test.go function parseInPlaceFixture (line 20) | func parseInPlaceFixture(t *testing.T, universePath, vulnPath, lockfileP... function checkInPlaceResults (line 42) | func checkInPlaceResults(t *testing.T, res remediation.InPlaceResult) { function TestComputeInPlacePatches (line 107) | func TestComputeInPlacePatches(t *testing.T) { FILE: internal/remediation/override.go type overridePatch (line 22) | type overridePatch struct function ComputeOverridePatches (line 32) | func ComputeOverridePatches(ctx context.Context, cl client.ResolutionCli... function overridePatchVulns (line 124) | func overridePatchVulns(ctx context.Context, cl client.ResolutionClient,... function getVersionsGreater (line 254) | func getVersionsGreater(ctx context.Context, cl client.DependencyClient,... function patchManifest (line 289) | func patchManifest(patches []overridePatch, m manifest.Manifest) (manife... FILE: internal/remediation/override_test.go function TestComputeOverridePatches (line 11) | func TestComputeOverridePatches(t *testing.T) { FILE: internal/remediation/relax.go function ComputeRelaxPatches (line 16) | func ComputeRelaxPatches(ctx context.Context, cl client.ResolutionClient... function tryRelaxRemediate (line 77) | func tryRelaxRemediate( function reqsToRelax (line 118) | func reqsToRelax(ctx context.Context, cl resolve.Client, res *resolution... FILE: internal/remediation/relax/npm.go type NpmRelaxer (line 12) | type NpmRelaxer struct method Relax (line 14) | func (r NpmRelaxer) Relax(ctx context.Context, cl resolve.Client, req ... FILE: internal/remediation/relax/npm_test.go function TestRelaxNpm (line 11) | func TestRelaxNpm(t *testing.T) { FILE: internal/remediation/relax/relax.go type RequirementRelaxer (line 21) | type RequirementRelaxer interface function GetRelaxer (line 28) | func GetRelaxer(ecosystem resolve.System) (RequirementRelaxer, error) { FILE: internal/remediation/relax_test.go function TestComputeRelaxPatches (line 10) | func TestComputeRelaxPatches(t *testing.T) { FILE: internal/remediation/remediation.go function SupportsRelax (line 16) | func SupportsRelax(m manifest.ReadWriter) bool { function SupportsOverride (line 25) | func SupportsOverride(m manifest.ReadWriter) bool { function SupportsInPlace (line 34) | func SupportsInPlace(l lockfile.ReadWriter) bool { type Options (line 43) | type Options struct method MatchVuln (line 56) | func (opts Options) MatchVuln(v resolution.Vulnerability) bool { method matchID (line 72) | func (opts Options) matchID(v resolution.Vulnerability, ids []string) ... method matchSeverity (line 86) | func (opts Options) matchSeverity(v resolution.Vulnerability) bool { method matchDepth (line 102) | func (opts Options) matchDepth(v resolution.Vulnerability) bool { FILE: internal/remediation/remediation_test.go function TestMatchVuln (line 12) | func TestMatchVuln(t *testing.T) { FILE: internal/remediation/suggest/maven.go type MavenSuggester (line 18) | type MavenSuggester struct method Suggest (line 23) | func (ms *MavenSuggester) Suggest(ctx context.Context, cl resolve.Clie... function suggestMavenVersion (line 75) | func suggestMavenVersion(ctx context.Context, cl resolve.Client, req res... FILE: internal/remediation/suggest/maven_test.go function depTypeWithOrigin (line 23) | func depTypeWithOrigin(origin string) dep.Type { function mavenReqKey (line 30) | func mavenReqKey(t *testing.T, name, artifactType, classifier string) ma... function TestMavenSuggester_Suggest (line 51) | func TestMavenSuggester_Suggest(t *testing.T) { function Test_suggestMavenVersion (line 368) | func Test_suggestMavenVersion(t *testing.T) { function TestSuggestVersion_Guava (line 429) | func TestSuggestVersion_Guava(t *testing.T) { function TestSuggestVersion_Commons (line 487) | func TestSuggestVersion_Commons(t *testing.T) { FILE: internal/remediation/suggest/suggest.go type Options (line 14) | type Options struct type PatchSuggester (line 21) | type PatchSuggester interface function GetSuggester (line 28) | func GetSuggester(system resolve.System) (PatchSuggester, error) { FILE: internal/remediation/testhelpers_test.go function parseRemediationFixture (line 18) | func parseRemediationFixture(t *testing.T, universePath, vulnPath, manif... function checkRemediationResults (line 47) | func checkRemediationResults(t *testing.T, res []resolution.Difference) { FILE: internal/remediation/testmain_test.go function TestMain (line 9) | func TestMain(m *testing.M) { FILE: internal/remediation/upgrade/config.go type Config (line 10) | type Config method Set (line 19) | func (c Config) Set(pkg string, level Level) bool { method SetDefault (line 29) | func (c Config) SetDefault(level Level) bool { method Get (line 35) | func (c Config) Get(pkg string) Level { function NewConfig (line 12) | func NewConfig() Config { function ParseUpgradeConfig (line 44) | func ParseUpgradeConfig(specs []string) Config { FILE: internal/remediation/upgrade/config_test.go function configSetExpect (line 9) | func configSetExpect(t *testing.T, config upgrade.Config, pkg string, le... function configSetDefaultExpect (line 17) | func configSetDefaultExpect(t *testing.T, config upgrade.Config, level u... function configGetExpect (line 25) | func configGetExpect(t *testing.T, config upgrade.Config, pkg string, wa... function TestConfig (line 32) | func TestConfig(t *testing.T) { FILE: internal/remediation/upgrade/level.go type Level (line 7) | type Level method Allows (line 17) | func (level Level) Allows(diff semver.Diff) bool { constant Major (line 10) | Major Level = iota constant Minor (line 11) | Minor constant Patch (line 12) | Patch constant None (line 13) | None FILE: internal/remediation/upgrade/level_test.go function TestLevelAllows (line 11) | func TestLevelAllows(t *testing.T) { FILE: internal/reporter/cyclonedx.go type cycloneDXReporter (line 12) | type cycloneDXReporter struct method PrintResult (line 17) | func (r *cycloneDXReporter) PrintResult(vulnerabilityResults *models.V... FILE: internal/reporter/format.go function Format (line 12) | func Format() []string { function newResultPrinter (line 16) | func newResultPrinter(format string, writer io.Writer, terminalWidth int... FILE: internal/reporter/gh-annotations_reporter.go type ghAnnotationsReporter (line 10) | type ghAnnotationsReporter struct method PrintResult (line 14) | func (r *ghAnnotationsReporter) PrintResult(vulnResult *models.Vulnera... FILE: internal/reporter/html_reporter.go type htmlReporter (line 10) | type htmlReporter struct method PrintResult (line 14) | func (r *htmlReporter) PrintResult(vulnResult *models.VulnerabilityRes... FILE: internal/reporter/json_reporter.go type jsonReporter (line 10) | type jsonReporter struct method PrintResult (line 14) | func (r *jsonReporter) PrintResult(vulnResult *models.VulnerabilityRes... FILE: internal/reporter/reporter.go type resultPrinter (line 10) | type resultPrinter interface function PrintResult (line 16) | func PrintResult( FILE: internal/reporter/reporter_test.go function TestPrintResult (line 11) | func TestPrintResult(t *testing.T) { function TestPrintResult_UnsupportedFormatter (line 24) | func TestPrintResult_UnsupportedFormatter(t *testing.T) { FILE: internal/reporter/sarif_reporter.go type sarifReporter (line 10) | type sarifReporter struct method PrintResult (line 14) | func (r *sarifReporter) PrintResult(vulnResult *models.VulnerabilityRe... FILE: internal/reporter/spdx.go type spdxReporter (line 10) | type spdxReporter struct method PrintResult (line 14) | func (r *spdxReporter) PrintResult(vulnResult *models.VulnerabilityRes... FILE: internal/reporter/table_reporter.go type tableReporter (line 12) | type tableReporter struct method PrintResult (line 20) | func (r *tableReporter) PrintResult(vulnResult *models.VulnerabilityRe... FILE: internal/reporter/vertical_reporter.go type verticalReporter (line 13) | type verticalReporter struct method PrintResult (line 20) | func (r *verticalReporter) PrintResult(vulnResult *models.Vulnerabilit... FILE: internal/resolution/client/client.go type ResolutionClient (line 19) | type ResolutionClient struct type DependencyClient (line 24) | type DependencyClient interface type Registry (line 34) | type Registry function PreFetch (line 37) | func PreFetch(ctx context.Context, c DependencyClient, requirements []re... FILE: internal/resolution/client/depsdev_client.go constant depsDevCacheExt (line 11) | depsDevCacheExt = ".resolve.deps" type DepsDevClient (line 14) | type DepsDevClient struct method AddRegistries (line 29) | func (d *DepsDevClient) AddRegistries(_ []Registry) error { return nil } method WriteCache (line 31) | func (d *DepsDevClient) WriteCache(path string) error { method LoadCache (line 41) | func (d *DepsDevClient) LoadCache(path string) error { function NewDepsDevClient (line 20) | func NewDepsDevClient(addr string, userAgent string) (*DepsDevClient, er... FILE: internal/resolution/client/helper.go function GraphToInventory (line 10) | func GraphToInventory(g *resolve.Graph) []*extractor.Package { FILE: internal/resolution/client/maven_registry_client.go constant mavenRegistryCacheExt (line 18) | mavenRegistryCacheExt = ".resolve.maven" type MavenRegistryClient (line 20) | type MavenRegistryClient struct method Version (line 33) | func (c *MavenRegistryClient) Version(ctx context.Context, vk resolve.... method Versions (line 67) | func (c *MavenRegistryClient) Versions(ctx context.Context, pk resolve... method Requirements (line 94) | func (c *MavenRegistryClient) Requirements(ctx context.Context, vk res... method MatchingVersions (line 141) | func (c *MavenRegistryClient) MatchingVersions(ctx context.Context, vk... method AddRegistries (line 154) | func (c *MavenRegistryClient) AddRegistries(registries []Registry) err... method WriteCache (line 168) | func (c *MavenRegistryClient) WriteCache(path string) error { method LoadCache (line 178) | func (c *MavenRegistryClient) LoadCache(path string) error { function NewMavenRegistryClient (line 24) | func NewMavenRegistryClient(registry string) (*MavenRegistryClient, erro... FILE: internal/resolution/client/npm_registry_client.go constant npmRegistryCacheExt (line 23) | npmRegistryCacheExt = ".resolve.npm" type NpmRegistryClient (line 25) | type NpmRegistryClient struct method Version (line 62) | func (c *NpmRegistryClient) Version(ctx context.Context, vk resolve.Ve... method Versions (line 70) | func (c *NpmRegistryClient) Versions(ctx context.Context, pk resolve.P... method Requirements (line 95) | func (c *NpmRegistryClient) Requirements(ctx context.Context, vk resol... method MatchingVersions (line 190) | func (c *NpmRegistryClient) MatchingVersions(ctx context.Context, vk r... method AddRegistries (line 231) | func (c *NpmRegistryClient) AddRegistries(_ []Registry) error { return... method WriteCache (line 233) | func (c *NpmRegistryClient) WriteCache(path string) error { method LoadCache (line 243) | func (c *NpmRegistryClient) LoadCache(path string) error { function NewNpmRegistryClient (line 33) | func NewNpmRegistryClient(workdir string) (*NpmRegistryClient, error) { function isNpmBundle (line 225) | func isNpmBundle(pk resolve.PackageKey) bool { FILE: internal/resolution/client/override_client.go type OverrideClient (line 11) | type OverrideClient struct method AddVersion (line 27) | func (c *OverrideClient) AddVersion(v resolve.Version, deps []resolve.... method Version (line 42) | func (c *OverrideClient) Version(ctx context.Context, vk resolve.Versi... method Versions (line 52) | func (c *OverrideClient) Versions(ctx context.Context, pk resolve.Pack... method Requirements (line 60) | func (c *OverrideClient) Requirements(ctx context.Context, vk resolve.... method MatchingVersions (line 68) | func (c *OverrideClient) MatchingVersions(ctx context.Context, vk reso... function NewOverrideClient (line 19) | func NewOverrideClient(c DependencyClient) *OverrideClient { FILE: internal/resolution/clienttest/mock_resolution_client.go type ResolutionUniverse (line 21) | type ResolutionUniverse struct type VulnerabilityMatcher (line 26) | type VulnerabilityMatcher struct method UnmarshalJSON (line 32) | func (vm *VulnerabilityMatcher) UnmarshalJSON(data []byte) error { method MatchVulnerabilities (line 52) | func (vm *VulnerabilityMatcher) MatchVulnerabilities(_ context.Context... type mockDependencyClient (line 61) | type mockDependencyClient struct method LoadCache (line 65) | func (mdc mockDependencyClient) LoadCache(string) error ... method WriteCache (line 66) | func (mdc mockDependencyClient) WriteCache(string) error ... method AddRegistries (line 67) | func (mdc mockDependencyClient) AddRegistries(_ []client.Registry) err... function NewMockResolutionClient (line 69) | func NewMockResolutionClient(t *testing.T, universeYaml, vulnJSON string... FILE: internal/resolution/dependency_subgraph.go type GraphNode (line 15) | type GraphNode struct type DependencySubgraph (line 22) | type DependencySubgraph struct method IsDevOnly (line 92) | func (ds *DependencySubgraph) IsDevOnly(groups map[manifest.Requiremen... method ConstrainingSubgraph (line 152) | func (ds *DependencySubgraph) ConstrainingSubgraph(ctx context.Context... function ComputeSubgraphs (line 31) | func ComputeSubgraphs(g *resolve.Graph, nodes []resolve.NodeID) []*Depen... FILE: internal/resolution/dependency_subgraph_test.go function TestDependencySubgraph (line 17) | func TestDependencySubgraph(t *testing.T) { function TestConstrainingSubgraph (line 51) | func TestConstrainingSubgraph(t *testing.T) { function TestSubgraphIsDevOnly (line 142) | func TestSubgraphIsDevOnly(t *testing.T) { function checkSubgraphVersions (line 190) | func checkSubgraphVersions(t *testing.T, sg *resolution.DependencySubgra... function checkSubgraphEdges (line 212) | func checkSubgraphEdges(t *testing.T, sg *resolution.DependencySubgraph) { function checkSubgraphNodesReachable (line 274) | func checkSubgraphNodesReachable(t *testing.T, sg *resolution.Dependency... function checkSubgraphDistances (line 304) | func checkSubgraphDistances(t *testing.T, sg *resolution.DependencySubgr... FILE: internal/resolution/depfile/depfile.go type DepFile (line 13) | type DepFile interface type NestedDepFile (line 27) | type NestedDepFile interface type LocalFile (line 33) | type LocalFile struct method Open (line 40) | func (f LocalFile) Open(path string) (NestedDepFile, error) { method Path (line 48) | func (f LocalFile) Path() string { return f.path } function OpenLocalDepFile (line 50) | func OpenLocalDepFile(path string) (NestedDepFile, error) { FILE: internal/resolution/lockfile/lockfile.go type DependencyPatch (line 15) | type DependencyPatch struct type ReadWriter (line 21) | type ReadWriter interface function Overwrite (line 31) | func Overwrite(rw ReadWriter, filename string, patches []DependencyPatch... function GetReadWriter (line 52) | func GetReadWriter(pathToLockfile string) (ReadWriter, error) { FILE: internal/resolution/lockfile/npm.go type NpmReadWriter (line 18) | type NpmReadWriter struct method System (line 20) | func (NpmReadWriter) System() resolve.System { return resolve.NPM } method Read (line 76) | func (rw NpmReadWriter) Read(file depfile.DepFile) (*resolve.Graph, er... method findDependencyNode (line 160) | func (rw NpmReadWriter) findDependencyNode(node *npmNodeModule, depNam... method reVersionAliasedDeps (line 172) | func (rw NpmReadWriter) reVersionAliasedDeps(deps map[string]npmDepend... method Write (line 180) | func (rw NpmReadWriter) Write(original depfile.DepFile, output io.Writ... type npmLockDependency (line 22) | type npmLockDependency struct type npmLockPackage (line 33) | type npmLockPackage struct type npmLockfile (line 51) | type npmLockfile struct type npmDependencyVersionSpec (line 59) | type npmDependencyVersionSpec struct type npmNodeModule (line 64) | type npmNodeModule struct method IsAliased (line 72) | func (n npmNodeModule) IsAliased() bool { FILE: internal/resolution/lockfile/npm_test.go function TestNpmReadV2 (line 17) | func TestNpmReadV2(t *testing.T) { function TestNpmReadV1 (line 68) | func TestNpmReadV1(t *testing.T) { function TestNpmReadTypeOrder (line 115) | func TestNpmReadTypeOrder(t *testing.T) { function TestNpmWrite (line 158) | func TestNpmWrite(t *testing.T) { FILE: internal/resolution/lockfile/npm_v1.go method nodesFromDependencies (line 23) | func (rw NpmReadWriter) nodesFromDependencies(lockJSON npmLockfile, mani... method computeDependenciesRecursive (line 68) | func (rw NpmReadWriter) computeDependenciesRecursive(g *resolve.Graph, p... method modifyPackageLockDependencies (line 106) | func (rw NpmReadWriter) modifyPackageLockDependencies(lockJSON string, p... method modifyPackageLockDependenciesRecurse (line 114) | func (rw NpmReadWriter) modifyPackageLockDependenciesRecurse(lockJSON, p... FILE: internal/resolution/lockfile/npm_v2.go method nodesFromPackages (line 25) | func (rw NpmReadWriter) nodesFromPackages(lockJSON npmLockfile) (*resolv... method makeNodeModuleDeps (line 149) | func (rw NpmReadWriter) makeNodeModuleDeps(pkg npmLockPackage, includeDe... method packageNamesByNodeModuleDepth (line 178) | func (rw NpmReadWriter) packageNamesByNodeModuleDepth(packages map[strin... method modifyPackageLockPackages (line 193) | func (rw NpmReadWriter) modifyPackageLockPackages(lockJSON string, patch... method updatePackage (line 222) | func (rw NpmReadWriter) updatePackage(jsonText, jsonPath, packageName, n... FILE: internal/resolution/lockfile/testmain_test.go function TestMain (line 9) | func TestMain(m *testing.M) { FILE: internal/resolution/manifest/manifest.go type Manifest (line 18) | type Manifest struct method System (line 33) | func (m Manifest) System() resolve.System { method Clone (line 37) | func (m Manifest) Clone() Manifest { function newManifest (line 27) | func newManifest() Manifest { type DependencyPatch (line 48) | type DependencyPatch struct type Patch (line 57) | type Patch struct type ReadWriter (line 63) | type ReadWriter interface function Overwrite (line 75) | func Overwrite(rw ReadWriter, filename string, p Patch) error { function GetReadWriter (line 96) | func GetReadWriter(pathToManifest string, registry string) (ReadWriter, ... type RequirementKey (line 110) | type RequirementKey struct function MakeRequirementKey (line 116) | func MakeRequirementKey(requirement resolve.RequirementVersion) Requirem... FILE: internal/resolution/manifest/maven.go function mavenRequirementKey (line 23) | func mavenRequirementKey(requirement resolve.RequirementVersion) Require... type MavenReadWriter (line 37) | type MavenReadWriter struct method System (line 41) | func (MavenReadWriter) System() resolve.System { return resolve.Maven } method Read (line 72) | func (m MavenReadWriter) Read(df depfile.DepFile) (Manifest, error) { method Write (line 295) | func (MavenReadWriter) Write(df depfile.DepFile, w io.Writer, patch Pa... function NewMavenReadWriter (line 43) | func NewMavenReadWriter(registry string) (MavenReadWriter, error) { type MavenManifestSpecific (line 52) | type MavenManifestSpecific struct type PropertyWithOrigin (line 60) | type PropertyWithOrigin struct type DependencyWithOrigin (line 66) | type DependencyWithOrigin struct function addRequirements (line 174) | func addRequirements(reqs []resolve.RequirementVersion, groups map[Requi... function buildPropertiesWithOrigins (line 187) | func buildPropertiesWithOrigins(project maven.Project, originPrefix stri... function buildOriginalRequirements (line 208) | func buildOriginalRequirements(project maven.Project, originPrefix strin... function makeRequirementVersion (line 261) | func makeRequirementVersion(dependency maven.Dependency, origin string) ... function mavenOrigin (line 281) | func mavenOrigin(list ...string) string { type MavenPatches (line 384) | type MavenPatches struct type MavenPatch (line 389) | type MavenPatch struct type MavenDependencyPatches (line 397) | type MavenDependencyPatches method addPatch (line 401) | func (m MavenDependencyPatches) addPatch(changedDep DependencyPatch, e... type MavenPropertyPatches (line 432) | type MavenPropertyPatches function parentPathFromOrigin (line 436) | func parentPathFromOrigin(origin string) (string, string) { function buildPatches (line 449) | func buildPatches(patches []DependencyPatch, specific MavenManifestSpeci... function originalDependency (line 537) | func originalDependency(patch DependencyPatch, origDeps []DependencyWith... function generatePropertyPatches (line 560) | func generatePropertyPatches(s1, s2 string) (map[string]string, bool) { function generatePropertyPatchesAux (line 569) | func generatePropertyPatchesAux(s1, s2 string, patches map[string]string... function projectStartElement (line 593) | func projectStartElement(raw string) string { type dependencyManagement (line 607) | type dependencyManagement struct type dependency (line 611) | type dependency struct function makeDependency (line 619) | func makeDependency(patch MavenPatch) dependency { function compareDependency (line 633) | func compareDependency(d1, d2 dependency) int { function write (line 650) | func write(raw string, w io.Writer, patches MavenPatches) error { function writeProject (line 729) | func writeProject(w io.Writer, enc *internalxml.Encoder, raw, prefix, id... function indentation (line 867) | func indentation(raw string) string { function writeDependency (line 890) | func writeDependency(w io.Writer, enc *internalxml.Encoder, raw string, ... function writeString (line 976) | func writeString(enc *internalxml.Encoder, raw string, values map[string... FILE: internal/resolution/manifest/maven_test.go function depTypeWithOrigin (line 27) | func depTypeWithOrigin(origin string) dep.Type { function mavenReqKey (line 34) | func mavenReqKey(t *testing.T, name, artifactType, classifier string) Re... function TestMavenReadWrite (line 55) | func TestMavenReadWrite(t *testing.T) { function TestMavenWrite (line 425) | func TestMavenWrite(t *testing.T) { function TestMavenWriteDM (line 534) | func TestMavenWriteDM(t *testing.T) { function Test_buildPatches (line 599) | func Test_buildPatches(t *testing.T) { function Test_generatePropertyPatches (line 947) | func Test_generatePropertyPatches(t *testing.T) { FILE: internal/resolution/manifest/npm.go function npmRequirementKey (line 18) | func npmRequirementKey(requirement resolve.RequirementVersion) Requireme... type NpmReadWriter (line 29) | type NpmReadWriter struct method System (line 31) | func (NpmReadWriter) System() resolve.System { return resolve.NPM } method Read (line 48) | func (rw NpmReadWriter) Read(f depfile.DepFile) (Manifest, error) { method makeNPMReqVer (line 197) | func (rw NpmReadWriter) makeNPMReqVer(pkg, ver string) resolve.Require... method Write (line 238) | func (NpmReadWriter) Write(r depfile.DepFile, w io.Writer, patch Patch... type PackageJSON (line 33) | type PackageJSON struct function SplitNPMAlias (line 314) | func SplitNPMAlias(v string) (name, version string) { FILE: internal/resolution/manifest/npm_test.go function aliasType (line 16) | func aliasType(t *testing.T, aliasedName string) dep.Type { function npmVK (line 24) | func npmVK(t *testing.T, name, version string, versionType resolve.Versi... function npmReqKey (line 36) | func npmReqKey(t *testing.T, name, knownAs string) manifest.RequirementK... function TestNpmRead (line 54) | func TestNpmRead(t *testing.T) { function TestNpmWorkspaceRead (line 116) | func TestNpmWorkspaceRead(t *testing.T) { function TestNpmWrite (line 216) | func TestNpmWrite(t *testing.T) { FILE: internal/resolution/manifest/testmain_test.go function TestMain (line 9) | func TestMain(m *testing.M) { FILE: internal/resolution/resolve.go type Vulnerability (line 21) | type Vulnerability struct method IsDirect (line 30) | func (rv Vulnerability) IsDirect() bool { type Result (line 40) | type Result struct method Errors (line 52) | func (res *Result) Errors() []NodeError { method computeVulns (line 211) | func (res *Result) computeVulns(ctx context.Context, cl client.Resolut... method FilterVulns (line 256) | func (res *Result) FilterVulns(matchFn func(Vulnerability) bool) { method CalculateDiff (line 275) | func (res *Result) CalculateDiff(other *Result) Difference { type NodeError (line 47) | type NodeError struct function getResolver (line 66) | func getResolver(sys resolve.System, cl resolve.Client) (resolve.Resolve... type ResolveOpts (line 77) | type ResolveOpts struct function Resolve (line 81) | func Resolve(ctx context.Context, cl client.ResolutionClient, m manifest... function resolvePostProcess (line 122) | func resolvePostProcess(ctx context.Context, cl client.ResolutionClient,... type Difference (line 266) | type Difference struct method Compare (line 346) | func (a Difference) Compare(b Difference) int { FILE: internal/resolution/resolve_test.go function checkResult (line 16) | func checkResult(t *testing.T, result *resolution.Result) { function TestResolve (line 41) | func TestResolve(t *testing.T) { FILE: internal/resolution/testmain_test.go function TestMain (line 9) | func TestMain(m *testing.M) { FILE: internal/resolution/util/depsdev.go function VKToPackageInfo (line 24) | func VKToPackageInfo(vk resolve.VersionKey) *extractor.Package { FILE: internal/scalibrenricher/govulncheck/source/govulncheck.go constant Name (line 39) | Name = "enricher/reachability/govulncheck/source" type Enricher (line 43) | type Enricher struct method Name (line 46) | func (e *Enricher) Name() string { method Version (line 51) | func (e *Enricher) Version() int { method Requirements (line 56) | func (e *Enricher) Requirements() *plugin.Capabilities { method RequiredPlugins (line 64) | func (e *Enricher) RequiredPlugins() []string { method Enrich (line 73) | func (e *Enricher) Enrich(ctx context.Context, input *enricher.ScanInp... method addSignals (line 117) | func (e *Enricher) addSignals(inv *inventory.Inventory, idToFindings m... method runGovulncheck (line 142) | func (e *Enricher) runGovulncheck(ctx context.Context, absModDir strin... function NewEnricher (line 68) | func NewEnricher() Enricher { type osvHandler (line 165) | type osvHandler struct method Finding (line 169) | func (h *osvHandler) Finding(f *Finding) { function handleJSON (line 173) | func handleJSON(from io.Reader, to *osvHandler) error { function New (line 189) | func New() enricher.Enricher { FILE: internal/scalibrenricher/govulncheck/source/govulncheck_test.go constant testdata (line 31) | testdata = "./testdata" constant reachableVulnID (line 32) | reachableVulnID = "GO-2023-1558" constant unreachableVulnID (line 33) | unreachableVulnID = "GO-2021-0053" function TestEnricher (line 35) | func TestEnricher(t *testing.T) { function setupPackages (line 72) | func setupPackages() []*extractor.Package { function setupPackageVulns (line 105) | func setupPackageVulns() []*inventory.PackageVuln { FILE: internal/scalibrenricher/govulncheck/source/result.go type Message (line 9) | type Message struct type Finding (line 17) | type Finding struct type Frame (line 52) | type Frame struct type Position (line 81) | type Position struct FILE: internal/scalibrenricher/govulncheck/source/testdata/main.go function main (line 12) | func main() { FILE: internal/scalibrextract/filesystem/vendored/testdata/thirdparty/zlib/adler32.c function uLong (line 61) | uLong ZEXPORT adler32_z(uLong adler, const Bytef *buf, z_size_t len) { function uLong (line 128) | uLong ZEXPORT adler32(uLong adler, const Bytef *buf, uInt len) { function local (line 133) | local uLong adler32_combine_(uLong adler1, uLong adler2, z_off64_t len2) { function uLong (line 158) | uLong ZEXPORT adler32_combine(uLong adler1, uLong adler2, z_off_t len2) { function uLong (line 162) | uLong ZEXPORT adler32_combine64(uLong adler1, uLong adler2, z_off64_t le... FILE: internal/scalibrextract/filesystem/vendored/testdata/thirdparty/zlib/compress.c function compress2 (line 22) | int ZEXPORT compress2(Bytef *dest, uLongf *destLen, const Bytef *source, function compress (line 63) | int ZEXPORT compress(Bytef *dest, uLongf *destLen, const Bytef *source, function uLong (line 72) | uLong ZEXPORT compressBound(uLong sourceLen) { FILE: internal/scalibrextract/filesystem/vendored/testdata/thirdparty/zlib/crc32.c type Z_U8 (line 91) | typedef Z_U8 z_word_t; type Z_U4 (line 95) | typedef Z_U4 z_word_t; function local (line 113) | local z_word_t byte_swap(z_word_t word) { function local (line 155) | local z_crc_t multmodp(z_crc_t a, z_crc_t b) { function local (line 176) | local z_crc_t x2nmodp(z_off64_t n, unsigned k) { type once_t (line 216) | typedef struct once_s once_t; type once_s (line 225) | struct once_s { function local (line 236) | local void once(once_t *state, void (*init)(void)) { type once_s (line 251) | struct once_s { function local (line 259) | local int test_and_set(int volatile *flag) { function local (line 268) | local void once(once_t *state, void (*init)(void)) { function local (line 310) | local void make_crc_table(void) { function local (line 477) | local void write_table(FILE *out, const z_crc_t FAR *table, int k) { function local (line 490) | local void write_table32hi(FILE *out, const z_word_t FAR *table, int k) { function local (line 506) | local void write_table64(FILE *out, const z_word_t FAR *table, int k) { function main (line 516) | int main(void) { function local (line 528) | local void braid(z_crc_t ltl[][256], z_word_t big[][256], int n, int w) { function z_crc_t (line 549) | const z_crc_t FAR * ZEXPORT get_crc_table(void) { function crc32_z (line 575) | unsigned long ZEXPORT crc32_z(unsigned long crc, const unsigned char FAR... function local (line 676) | local z_crc_t crc_word(z_word_t data) { function local (line 683) | local z_word_t crc_word_big(z_word_t data) { function crc32_z (line 694) | unsigned long ZEXPORT crc32_z(unsigned long crc, const unsigned char FAR... function crc32 (line 1015) | unsigned long ZEXPORT crc32(unsigned long crc, const unsigned char FAR *... function uLong (line 1021) | uLong ZEXPORT crc32_combine64(uLong crc1, uLong crc2, z_off64_t len2) { function uLong (line 1029) | uLong ZEXPORT crc32_combine(uLong crc1, uLong crc2, z_off_t len2) { function uLong (line 1034) | uLong ZEXPORT crc32_combine_gen64(z_off64_t len2) { function uLong (line 1042) | uLong ZEXPORT crc32_combine_gen(z_off_t len2) { function uLong (line 1047) | uLong ZEXPORT crc32_combine_op(uLong crc1, uLong crc2, uLong op) { FILE: internal/scalibrextract/filesystem/vendored/testdata/thirdparty/zlib/deflate.c type block_state (line 63) | typedef enum { type block_state (line 70) | typedef block_state (*compress_func)(deflate_state *s, int flush); type config (line 98) | typedef struct config_s { function local (line 187) | local void slide_hash(deflate_state *s) { function read_buf (line 218) | local unsigned read_buf(z_streamp strm, Bytef *buf, unsigned size) { function local (line 251) | local void fill_window(deflate_state *s) { function deflateInit_ (line 371) | int ZEXPORT deflateInit_(z_streamp strm, int level, const char *version, function deflateInit2_ (line 379) | int ZEXPORT deflateInit2_(z_streamp strm, int level, int method, function local (line 523) | local int deflateStateCheck(z_streamp strm) { function deflateSetDictionary (line 544) | int ZEXPORT deflateSetDictionary(z_streamp strm, const Bytef *dictionary, function deflateGetDictionary (line 610) | int ZEXPORT deflateGetDictionary(z_streamp strm, Bytef *dictionary, function local (line 667) | local void lm_init(deflate_state *s) { function deflateReset (line 689) | int ZEXPORT deflateReset(z_streamp strm) { function deflateSetHeader (line 699) | int ZEXPORT deflateSetHeader(z_streamp strm, gz_headerp head) { function deflatePending (line 707) | int ZEXPORT deflatePending(z_streamp strm, unsigned *pending, int *bits) { function deflatePrime (line 717) | int ZEXPORT deflatePrime(z_streamp strm, int bits, int value) { function deflateParams (line 740) | int ZEXPORT deflateParams(z_streamp strm, int level, int strategy) { function deflateTune (line 785) | int ZEXPORT deflateTune(z_streamp strm, int good_length, int max_lazy, function uLong (line 822) | uLong ZEXPORT deflateBound(z_streamp strm, uLong sourceLen) { function local (line 892) | local void putShortMSB(deflate_state *s, uInt b) { function local (line 903) | local void flush_pending(z_streamp strm) { function deflate (line 934) | int ZEXPORT deflate(z_streamp strm, int flush) { function deflateEnd (line 1246) | int ZEXPORT deflateEnd(z_streamp strm) { function deflateCopy (line 1270) | int ZEXPORT deflateCopy(z_streamp dest, z_streamp source) { function local (line 1331) | local uInt longest_match(deflate_state *s, IPos cur_match) { function local (line 1479) | local uInt longest_match(deflate_state *s, IPos cur_match) { function local (line 1540) | local void check_match(deflate_state *s, IPos start, IPos match, int len... function local (line 1602) | local block_state deflate_stored(deflate_state *s, int flush) { function local (line 1786) | local block_state deflate_fast(deflate_state *s, int flush) { function local (line 1885) | local block_state deflate_slow(deflate_state *s, int flush) { function local (line 2013) | local block_state deflate_rle(deflate_state *s, int flush) { function local (line 2084) | local block_state deflate_huff(deflate_state *s, int flush) { FILE: internal/scalibrextract/filesystem/vendored/testdata/thirdparty/zlib/deflate.h type ct_data (line 68) | typedef struct ct_data_s { type static_tree_desc (line 84) | typedef struct static_tree_desc_s static_tree_desc; type tree_desc (line 86) | typedef struct tree_desc_s { type ush (line 92) | typedef ush Pos; type Pos (line 93) | typedef Pos FAR Posf; type IPos (line 94) | typedef unsigned IPos; type deflate_state (line 100) | typedef struct internal_state { FILE: internal/scalibrextract/filesystem/vendored/testdata/thirdparty/zlib/examples/enough.c type uintmax_t (line 115) | typedef uintmax_t big_t; type uintmax_t (line 117) | typedef uintmax_t code_t; type tab (line 118) | struct tab { // type for been-here check type string_t (line 174) | typedef struct { function local (line 181) | local void string_clear(string_t *s) { function local (line 187) | local void string_init(string_t *s) { function local (line 195) | local void string_free(string_t *s) { function local (line 204) | local void string_printf(string_t *s, char *fmt, ...) { type tab (line 233) | struct tab function local (line 237) | local inline size_t map(int syms, int left, int len) { function local (line 244) | local void cleanup(void) { function local (line 261) | local big_t count(int syms, int left, int len) { function local (line 308) | local int been_here(int syms, int left, int len, int mem, int rem) { function local (line 361) | local void examine(int syms, int left, int len, int mem, int rem) { function local (line 454) | local void enough(int syms) { function main (line 498) | int main(int argc, char **argv) { FILE: internal/scalibrextract/filesystem/vendored/testdata/thirdparty/zlib/examples/fitblk.c function local (line 62) | local void quit(char *why) function local (line 73) | local int partcompress(FILE *in, z_streamp def) function local (line 96) | local int recompress(z_streamp inf, z_streamp def) function main (line 127) | int main(int argc, char **argv) FILE: internal/scalibrextract/filesystem/vendored/testdata/thirdparty/zlib/examples/gun.c type ind (line 81) | struct ind { function in (line 89) | local unsigned in(void *in_desc, z_const unsigned char **buf) type outd (line 119) | struct outd { function local (line 131) | local int out(void *out_desc, unsigned char *buf, unsigned len) function local (line 200) | local int lunpipe(unsigned have, z_const unsigned char *next, struct ind... function local (line 383) | local int gunpipe(z_stream *strm, int infile, int outfile) function local (line 517) | local void copymeta(char *from, char *to) function local (line 548) | local int gunzip(z_stream *strm, char *inname, char *outname, int test) function main (line 631) | int main(int argc, char **argv) FILE: internal/scalibrextract/filesystem/vendored/testdata/thirdparty/zlib/examples/gzappend.c function local (line 93) | local void bye(char *msg1, char *msg2) function gcd (line 102) | local unsigned gcd(unsigned a, unsigned b) function local (line 123) | local void rotate(unsigned char *list, unsigned len, unsigned rot) type file (line 170) | typedef struct { function local (line 180) | local int readin(file *in) function local (line 192) | local int readmore(file *in) function local (line 202) | local void skip(file *in, unsigned n) function read4 (line 223) | unsigned long read4(file *in) function local (line 235) | local void gzheader(file *in) function local (line 259) | local int gzscan(char *name, z_stream *strm, int level) function local (line 388) | local void gztack(char *name, int gd, z_stream *strm, int last) function main (line 466) | int main(int argc, char **argv) FILE: internal/scalibrextract/filesystem/vendored/testdata/thirdparty/zlib/examples/gzjoin.c function local (line 66) | local int bail(char *why1, char *why2) type bin (line 78) | typedef struct { function local (line 87) | local void bclose(bin *in) function local (line 100) | local bin *bopen(char *name) function local (line 121) | local int bload(bin *in) function bget4 (line 145) | local unsigned long bget4(bin *in) function local (line 157) | local void bskip(bin *in, unsigned skip) function local (line 204) | local void gzhead(bin *in) function local (line 245) | local void put4(unsigned long val, FILE *out) function local (line 254) | local void zpull(z_streamp strm, bin *in) function local (line 265) | local void gzinit(unsigned long *crc, unsigned long *tot, FILE *out) function local (line 279) | local void gzcopy(char *name, int clr, unsigned long *crc, unsigned long... function main (line 427) | int main(int argc, char **argv) FILE: internal/scalibrextract/filesystem/vendored/testdata/thirdparty/zlib/examples/gzlog.c type uint (line 242) | typedef unsigned int uint; type ulong (line 243) | typedef unsigned long ulong; type log (line 289) | struct log { function local (line 348) | local int log_lock(struct log *log) function local (line 372) | local void log_touch(struct log *log) function local (line 384) | local int log_check(struct log *log) function local (line 396) | local void log_unlock(struct log *log) function local (line 410) | local int log_head(struct log *log) function local (line 437) | local int log_mark(struct log *log, int op) function local (line 462) | local int log_last(struct log *log, int last) function local (line 501) | local int log_append(struct log *log, unsigned char *data, size_t len) function local (line 571) | local int log_replace(struct log *log) function local (line 608) | local int log_compress(struct log *log, unsigned char *data, size_t len) function local (line 718) | local void log_log(struct log *log, int op, char *record) function local (line 738) | local int log_recover(struct log *log, int op) function local (line 798) | local void log_close(struct log *log) function local (line 815) | local int log_open(struct log *log) function gzlog (line 867) | gzlog *gzlog_open(char *path) function gzlog_compress (line 910) | int gzlog_compress(gzlog *logd) function gzlog_write (line 997) | int gzlog_write(gzlog *logd, void *data, size_t len) function gzlog_close (line 1044) | int gzlog_close(gzlog *logd) FILE: internal/scalibrextract/filesystem/vendored/testdata/thirdparty/zlib/examples/gzlog.h type gzlog (line 52) | typedef void gzlog; FILE: internal/scalibrextract/filesystem/vendored/testdata/thirdparty/zlib/examples/gznorm.c function local (line 36) | local char *aprintf(char *fmt, ...) { function local (line 86) | local int gzip_normalize(FILE *in, FILE *out, char **err) { function main (line 458) | int main(void) { FILE: internal/scalibrextract/filesystem/vendored/testdata/thirdparty/zlib/examples/zpipe.c function def (line 36) | int def(FILE *source, FILE *dest, int level) function inf (line 92) | int inf(FILE *source, FILE *dest) function zerr (line 151) | void zerr(int ret) function main (line 176) | int main(int argc, char **argv) FILE: internal/scalibrextract/filesystem/vendored/testdata/thirdparty/zlib/examples/zran.c function deflate_index_free (line 68) | void deflate_index_free(struct deflate_index *index) { type deflate_index (line 79) | struct deflate_index type deflate_index (line 79) | struct deflate_index type deflate_index (line 84) | struct deflate_index function deflate_index_build (line 132) | int deflate_index_build(FILE *in, off_t span, struct deflate_index **bui... function append_bits (line 252) | static inline void append_bits(unsigned value, int bits, function inflatePreface (line 276) | static int inflatePreface(z_stream *strm, int bits, int value) { function deflate_index_extract (line 330) | ptrdiff_t deflate_index_extract(FILE *in, struct deflate_index *index, function main (line 466) | int main(int argc, char **argv) { FILE: internal/scalibrextract/filesystem/vendored/testdata/thirdparty/zlib/examples/zran.h type point_t (line 10) | typedef struct point { type deflate_index (line 18) | struct deflate_index { type deflate_index (line 34) | struct deflate_index type deflate_index (line 47) | struct deflate_index type deflate_index (line 51) | struct deflate_index FILE: internal/scalibrextract/filesystem/vendored/testdata/thirdparty/zlib/gzclose.c function gzclose (line 11) | int ZEXPORT gzclose(gzFile file) { FILE: internal/scalibrextract/filesystem/vendored/testdata/thirdparty/zlib/gzguts.h type gz_state (line 169) | typedef struct { type gz_state (line 202) | typedef gz_state FAR *gz_statep; FILE: internal/scalibrextract/filesystem/vendored/testdata/thirdparty/zlib/gzlib.c function local (line 69) | local void gz_reset(gz_statep state) { function local (line 85) | local gzFile gz_open(const void *path, int fd, const char *mode) { function gzFile (line 260) | gzFile ZEXPORT gzopen(const char *path, const char *mode) { function gzFile (line 265) | gzFile ZEXPORT gzopen64(const char *path, const char *mode) { function gzFile (line 270) | gzFile ZEXPORT gzdopen(int fd, const char *mode) { function gzFile (line 288) | gzFile ZEXPORT gzopen_w(const wchar_t *path, const char *mode) { function gzbuffer (line 294) | int ZEXPORT gzbuffer(gzFile file, unsigned size) { function gzrewind (line 318) | int ZEXPORT gzrewind(gzFile file) { function z_off64_t (line 339) | z_off64_t ZEXPORT gzseek64(gzFile file, z_off64_t offset, int whence) { function z_off_t (line 412) | z_off_t ZEXPORT gzseek(gzFile file, z_off_t offset, int whence) { function z_off64_t (line 420) | z_off64_t ZEXPORT gztell64(gzFile file) { function z_off_t (line 435) | z_off_t ZEXPORT gztell(gzFile file) { function z_off64_t (line 443) | z_off64_t ZEXPORT gzoffset64(gzFile file) { function z_off_t (line 464) | z_off_t ZEXPORT gzoffset(gzFile file) { function gzeof (line 472) | int ZEXPORT gzeof(gzFile file) { function gzclearerr (line 505) | void ZEXPORT gzclearerr(gzFile file) { function gz_error (line 529) | void ZLIB_INTERNAL gz_error(gz_statep state, int err, const char *msg) { function gz_intmax (line 571) | unsigned ZLIB_INTERNAL gz_intmax(void) { FILE: internal/scalibrextract/filesystem/vendored/testdata/thirdparty/zlib/gzread.c function local (line 12) | local int gz_load(gz_statep state, unsigned char *buf, unsigned len, function local (line 43) | local int gz_avail(gz_statep state) { function local (line 76) | local int gz_look(gz_statep state) { function local (line 156) | local int gz_decomp(gz_statep state) { function local (line 208) | local int gz_fetch(gz_statep state) { function local (line 236) | local int gz_skip(gz_statep state, z_off64_t len) { function local (line 268) | local z_size_t gz_read(gz_statep state, voidp buf, z_size_t len) { function gzread (line 345) | int ZEXPORT gzread(gzFile file, voidp buf, unsigned len) { function z_size_t (line 377) | z_size_t ZEXPORT gzfread(voidp buf, z_size_t size, z_size_t nitems, gzFi... function gzgetc (line 408) | int ZEXPORT gzgetc(gzFile file) { function gzgetc_ (line 433) | int ZEXPORT gzgetc_(gzFile file) { function gzungetc (line 438) | int ZEXPORT gzungetc(int c, gzFile file) { function gzdirect (line 559) | int ZEXPORT gzdirect(gzFile file) { function gzclose_r (line 577) | int ZEXPORT gzclose_r(gzFile file) { FILE: internal/scalibrextract/filesystem/vendored/testdata/thirdparty/zlib/gzwrite.c function local (line 11) | local int gz_init(gz_statep state) { function local (line 65) | local int gz_comp(gz_statep state, int flush) { function local (line 143) | local int gz_zero(gz_statep state, z_off64_t len) { function local (line 173) | local z_size_t gz_write(gz_statep state, voidpc buf, z_size_t len) { function gzwrite (line 237) | int ZEXPORT gzwrite(gzFile file, voidpc buf, unsigned len) { function z_size_t (line 261) | z_size_t ZEXPORT gzfwrite(voidpc buf, z_size_t size, z_size_t nitems, function gzputc (line 287) | int ZEXPORT gzputc(gzFile file, int c) { function gzputs (line 332) | int ZEXPORT gzputs(gzFile file, const char *s) { function gzvprintf (line 359) | int ZEXPORTVA gzvprintf(gzFile file, const char *format, va_list va) { function gzprintf (line 430) | int ZEXPORTVA gzprintf(gzFile file, const char *format, ...) { function gzprintf (line 443) | int ZEXPORTVA gzprintf(gzFile file, const char *format, int a1, int a2, ... function gzflush (line 528) | int ZEXPORT gzflush(gzFile file, int flush) { function gzsetparams (line 557) | int ZEXPORT gzsetparams(gzFile file, int level, int strategy) { function gzclose_w (line 595) | int ZEXPORT gzclose_w(gzFile file) { FILE: internal/scalibrextract/filesystem/vendored/testdata/thirdparty/zlib/infback.c function inflateBackInit_ (line 25) | int ZEXPORT inflateBackInit_(z_streamp strm, int windowBits, function local (line 76) | local void fixedtables(struct inflate_state FAR *state) { function inflateBack (line 242) | int ZEXPORT inflateBack(z_streamp strm, in_func in, void FAR *in_desc, function inflateBackEnd (line 621) | int ZEXPORT inflateBackEnd(z_streamp strm) { FILE: internal/scalibrextract/filesystem/vendored/testdata/thirdparty/zlib/inffast.c function inflate_fast (line 50) | void ZLIB_INTERNAL inflate_fast(z_streamp strm, unsigned start) { FILE: internal/scalibrextract/filesystem/vendored/testdata/thirdparty/zlib/inflate.c function local (line 94) | local int inflateStateCheck(z_streamp strm) { function inflateResetKeep (line 106) | int ZEXPORT inflateResetKeep(z_streamp strm) { function inflateReset (line 130) | int ZEXPORT inflateReset(z_streamp strm) { function inflateReset2 (line 141) | int ZEXPORT inflateReset2(z_streamp strm, int windowBits) { function inflateInit2_ (line 178) | int ZEXPORT inflateInit2_(z_streamp strm, int windowBits, function inflateInit_ (line 218) | int ZEXPORT inflateInit_(z_streamp strm, const char *version, function inflatePrime (line 223) | int ZEXPORT inflatePrime(z_streamp strm, int bits, int value) { function local (line 252) | local void fixedtables(struct inflate_state FAR *state) { function makefixed (line 314) | void makefixed(void) function local (line 368) | local int updatewindow(z_streamp strm, const Bytef *end, unsigned copy) { type inflate_state (line 591) | struct inflate_state type inflate_state (line 614) | struct inflate_state type inflate_state (line 1267) | struct inflate_state type inflate_state (line 1270) | struct inflate_state type inflate_state (line 1280) | struct inflate_state type inflate_state (line 1284) | struct inflate_state type inflate_state (line 1300) | struct inflate_state type inflate_state (line 1306) | struct inflate_state type inflate_state (line 1331) | struct inflate_state type inflate_state (line 1335) | struct inflate_state type inflate_state (line 1380) | struct inflate_state type inflate_state (line 1384) | struct inflate_state type inflate_state (line 1432) | struct inflate_state type inflate_state (line 1435) | struct inflate_state type inflate_state (line 1440) | struct inflate_state type inflate_state (line 1441) | struct inflate_state type inflate_state (line 1448) | struct inflate_state type inflate_state (line 1451) | struct inflate_state type inflate_state (line 1452) | struct inflate_state type inflate_state (line 1466) | struct inflate_state type internal_state (line 1479) | struct internal_state type inflate_state (line 1484) | struct inflate_state type inflate_state (line 1487) | struct inflate_state type inflate_state (line 1499) | struct inflate_state type inflate_state (line 1502) | struct inflate_state type inflate_state (line 1511) | struct inflate_state type inflate_state (line 1515) | struct inflate_state type inflate_state (line 1522) | struct inflate_state type inflate_state (line 1524) | struct inflate_state FILE: internal/scalibrextract/filesystem/vendored/testdata/thirdparty/zlib/inflate.h type inflate_mode (line 20) | typedef enum { type inflate_state (line 82) | struct inflate_state { FILE: internal/scalibrextract/filesystem/vendored/testdata/thirdparty/zlib/inftrees.c function inflate_table (line 32) | int ZLIB_INTERNAL inflate_table(codetype type, unsigned short FAR *lens, FILE: internal/scalibrextract/filesystem/vendored/testdata/thirdparty/zlib/inftrees.h type code (line 24) | typedef struct { type codetype (line 54) | typedef enum { FILE: internal/scalibrextract/filesystem/vendored/testdata/thirdparty/zlib/test/example.c function myfree (line 44) | void myfree(void *q, void *p) { function test_compress (line 60) | void test_compress(Byte *compr, uLong comprLen, Byte *uncompr, function test_gzio (line 84) | void test_gzio(const char *fname, Byte *uncompr, uLong uncomprLen) { function test_deflate (line 166) | void test_deflate(Byte *compr, uLong comprLen) { function test_inflate (line 201) | void test_inflate(Byte *compr, uLong comprLen, Byte *uncompr, function test_large_deflate (line 240) | void test_large_deflate(Byte *compr, uLong comprLen, Byte *uncompr, function test_large_inflate (line 293) | void test_large_inflate(Byte *compr, uLong comprLen, Byte *uncompr, function test_flush (line 332) | void test_flush(Byte *compr, uLong *comprLen) { function test_sync (line 367) | void test_sync(Byte *compr, uLong comprLen, Byte *uncompr, uLong uncompr... function test_dict_deflate (line 407) | void test_dict_deflate(Byte *compr, uLong comprLen) { function test_dict_inflate (line 441) | void test_dict_inflate(Byte *compr, uLong comprLen, Byte *uncompr, function main (line 490) | int main(int argc, char *argv[]) { FILE: internal/scalibrextract/filesystem/vendored/testdata/thirdparty/zlib/test/infcover.c type mem_item (line 56) | struct mem_item { type mem_zone (line 63) | struct mem_zone { function local (line 71) | local void *mem_alloc(void *mem, unsigned count, unsigned size) function local (line 112) | local void mem_free(void *mem, void *ptr) function local (line 158) | local void mem_setup(z_stream *strm) function local (line 176) | local void mem_limit(z_stream *strm, size_t limit) function local (line 184) | local void mem_used(z_stream *strm, char *prefix) function local (line 192) | local void mem_high(z_stream *strm, char *prefix) function local (line 200) | local void mem_done(z_stream *strm, char *prefix) function local (line 284) | local void inf(char *hex, char *what, unsigned step, int win, unsigned len, function local (line 350) | local void cover_support(void) function local (line 388) | local void cover_wrap(void) function pull (line 447) | local unsigned pull(void *desc, unsigned char **buf) function local (line 463) | local int push(void *desc, unsigned char *buf, unsigned len) function local (line 471) | local void cover_back(void) function local (line 508) | local int try(char *hex, char *id, int err) function local (line 582) | local void cover_inflate(void) function local (line 618) | local void cover_trees(void) function local (line 642) | local void cover_fast(void) function main (line 662) | int main(void) FILE: internal/scalibrextract/filesystem/vendored/testdata/thirdparty/zlib/test/minigzip.c function pwinerror (line 119) | static void pwinerror (s) function myfree (line 157) | void myfree(void *q, void *p) { type gzFile_s (line 162) | struct gzFile_s { function gzFile (line 170) | gzFile gz_open(const char *path, int fd, const char *mode) { function gzFile (line 204) | gzFile gzopen(const char *path, const char *mode) { function gzFile (line 208) | gzFile gzdopen(int fd, const char *mode) { function gzwrite (line 212) | int gzwrite(gzFile gz, const void *buf, unsigned len) { function gzread (line 230) | int gzread(gzFile gz, void *buf, unsigned len) { function gzclose (line 261) | int gzclose(gzFile gz) { function error (line 298) | void error(const char *msg) { function gz_compress_mmap (line 308) | int gz_compress_mmap(FILE *in, gzFile out) { function gz_compress (line 341) | void gz_compress(FILE *in, gzFile out) { function gz_uncompress (line 369) | void gz_uncompress(gzFile in, FILE *out) { function file_compress (line 393) | void file_compress(char *file, char *mode) { function file_uncompress (line 429) | void file_uncompress(char *file) { function main (line 487) | int main(int argc, char *argv[]) { FILE: internal/scalibrextract/filesystem/vendored/testdata/thirdparty/zlib/trees.c type static_tree_desc_s (line 117) | struct static_tree_desc_s { function bi_reverse (line 154) | local unsigned bi_reverse(unsigned code, int len) { function local (line 166) | local void bi_flush(deflate_state *s) { function local (line 181) | local void bi_windup(deflate_state *s) { function local (line 202) | local void gen_codes(ct_data *tree, int max_code, ushf *bl_count) { function local (line 252) | local void send_bits(deflate_state *s, int value, int length) { function local (line 294) | local void tr_static_init(void) { function gen_trees_header (line 387) | void gen_trees_header(void) { function local (line 439) | local void init_block(deflate_state *s) { function _tr_init (line 455) | void ZLIB_INTERNAL _tr_init(deflate_state *s) { function local (line 507) | local void pqdownheap(deflate_state *s, ct_data *tree, int k) { function local (line 538) | local void gen_bitlen(deflate_state *s, tree_desc *desc) { function local (line 625) | local void build_tree(deflate_state *s, tree_desc *desc) { function local (line 710) | local void scan_tree(deflate_state *s, ct_data *tree, int max_code) { function local (line 751) | local void send_tree(deflate_state *s, ct_data *tree, int max_code) { function local (line 798) | local int build_bl_tree(deflate_state *s) { function local (line 831) | local void send_all_trees(deflate_state *s, int lcodes, int dcodes, function _tr_stored_block (line 858) | void ZLIB_INTERNAL _tr_stored_block(deflate_state *s, charf *buf, function _tr_flush_bits (line 878) | void ZLIB_INTERNAL _tr_flush_bits(deflate_state *s) { function _tr_align (line 886) | void ZLIB_INTERNAL _tr_align(deflate_state *s) { function local (line 898) | local void compress_block(deflate_state *s, const ct_data *ltree, function local (line 955) | local int detect_data_type(deflate_state *s) { function _tr_tally (line 1084) | int ZLIB_INTERNAL _tr_tally(deflate_state *s, unsigned dist, unsigned lc) { FILE: internal/scalibrextract/filesystem/vendored/testdata/thirdparty/zlib/uncompr.c function uncompress2 (line 27) | int ZEXPORT uncompress2(Bytef *dest, uLongf *destLen, const Bytef *source, function uncompress (line 82) | int ZEXPORT uncompress(Bytef *dest, uLongf *destLen, const Bytef *source, FILE: internal/scalibrextract/filesystem/vendored/testdata/thirdparty/zlib/zconf.h type z_size_t (line 245) | typedef unsigned long long z_size_t; type z_size_t (line 247) | typedef unsigned long z_size_t; type z_size_t (line 252) | typedef unsigned NO_SIZE_T z_size_t; type z_size_t (line 255) | typedef size_t z_size_t; type z_size_t (line 257) | typedef unsigned long z_size_t; type Byte (line 401) | typedef unsigned char Byte; type uInt (line 403) | typedef unsigned int uInt; type uLong (line 404) | typedef unsigned long uLong; type Byte (line 410) | typedef Byte FAR Bytef; type charf (line 412) | typedef char FAR charf; type intf (line 413) | typedef int FAR intf; type uInt (line 414) | typedef uInt FAR uIntf; type uLong (line 415) | typedef uLong FAR uLongf; type Byte (line 422) | typedef Byte const *voidpc; type Byte (line 423) | typedef Byte FAR *voidpf; type Byte (line 424) | typedef Byte *voidp; type Z_U4 (line 439) | typedef Z_U4 z_crc_t; type z_crc_t (line 441) | typedef unsigned long z_crc_t; FILE: internal/scalibrextract/filesystem/vendored/testdata/thirdparty/zlib/zlib.h type voidpf (line 81) | typedef voidpf (*alloc_func)(voidpf opaque, uInt items, uInt size); type internal_state (line 84) | struct internal_state type z_stream (line 86) | typedef struct z_stream_s { type z_stream (line 108) | typedef z_stream FAR *z_streamp; type gz_header (line 114) | typedef struct gz_header_s { type gz_header (line 131) | typedef gz_header FAR *gz_headerp; type gzFile_s (line 1305) | struct gzFile_s type gzFile_s (line 1837) | struct gzFile_s { FILE: internal/scalibrextract/filesystem/vendored/testdata/thirdparty/zlib/zutil.c function uLong (line 31) | uLong ZEXPORT zlibCompileFlags(void) { function z_error (line 122) | void ZLIB_INTERNAL z_error(char *m) { function zmemcpy (line 145) | void ZLIB_INTERNAL zmemcpy(Bytef* dest, const Bytef* source, uInt len) { function zmemcmp (line 152) | int ZLIB_INTERNAL zmemcmp(const Bytef* s1, const Bytef* s2, uInt len) { function zmemzero (line 161) | void ZLIB_INTERNAL zmemzero(Bytef* dest, uInt len) { type ptr_table (line 189) | typedef struct ptr_table_s { function voidpf (line 202) | voidpf ZLIB_INTERNAL zcalloc(voidpf opaque, unsigned items, unsigned siz... function zcfree (line 227) | void ZLIB_INTERNAL zcfree(voidpf opaque, voidpf ptr) { function voidpf (line 263) | voidpf ZLIB_INTERNAL zcalloc(voidpf opaque, uInt items, uInt size) { function zcfree (line 268) | void ZLIB_INTERNAL zcfree(voidpf opaque, voidpf ptr) { function voidpf (line 286) | voidpf ZLIB_INTERNAL zcalloc(voidpf opaque, unsigned items, unsigned siz... function zcfree (line 292) | void ZLIB_INTERNAL zcfree(voidpf opaque, voidpf ptr) { FILE: internal/scalibrextract/filesystem/vendored/testdata/thirdparty/zlib/zutil.h type uch (line 39) | typedef unsigned char uch; type uch (line 40) | typedef uch FAR uchf; type ush (line 41) | typedef unsigned short ush; type ush (line 42) | typedef ush FAR ushf; type ulg (line 43) | typedef unsigned long ulg; FILE: internal/scalibrextract/filesystem/vendored/vendored.go constant Name (line 56) | Name = "filesystem/vendored" constant determineVersionThreshold (line 61) | determineVersionThreshold = 0.15 constant maxDetermineVersionFiles (line 62) | maxDetermineVersionFiles = 10000 type Config (line 65) | type Config struct type Extractor (line 72) | type Extractor struct method Name (line 85) | func (e *Extractor) Name() string { return Name } method Version (line 88) | func (e *Extractor) Version() int { return 0 } method Requirements (line 91) | func (e *Extractor) Requirements() *plugin.Capabilities { method FileRequired (line 98) | func (e *Extractor) FileRequired(fapi filesystem.FileAPI) bool { method Extract (line 118) | func (e *Extractor) Extract(ctx context.Context, input *filesystem.Sca... method ToPURL (line 143) | func (e *Extractor) ToPURL(_ *extractor.Package) *purl.PackageURL { method Ecosystem (line 148) | func (e *Extractor) Ecosystem(_ *extractor.Package) string { method queryDetermineVersions (line 152) | func (e *Extractor) queryDetermineVersions(ctx context.Context, repoDi... method Configure (line 222) | func (e *Extractor) Configure(config Config) { function New (line 80) | func New(_ *cpb.PluginConfig) (filesystem.Extractor, error) { type configurable (line 218) | type configurable interface function Configure (line 229) | func Configure(plug plugin.Plugin, config Config) { FILE: internal/scalibrextract/filesystem/vendored/vendored_test.go function TestExtractor_FileRequired (line 20) | func TestExtractor_FileRequired(t *testing.T) { function TestExtractor_Extract (line 96) | func TestExtractor_Extract(t *testing.T) { FILE: internal/scalibrextract/language/javascript/nodemodules/extractor.go constant Name (line 17) | Name = "javascript/nodemodules" type Extractor (line 20) | type Extractor struct method Name (line 30) | func (e Extractor) Name() string { return Name } method Version (line 33) | func (e Extractor) Version() int { return 0 } method Requirements (line 36) | func (e Extractor) Requirements() *plugin.Capabilities { method FileRequired (line 41) | func (e Extractor) FileRequired(fapi filesystem.FileAPI) bool { method Extract (line 46) | func (e Extractor) Extract(ctx context.Context, input *filesystem.Scan... function New (line 25) | func New(_ *cpb.PluginConfig) (filesystem.Extractor, error) { FILE: internal/scalibrextract/language/osv/osvscannerjson/extractor.go constant Name (line 20) | Name = "osv/osvscannerjson" type Extractor (line 24) | type Extractor struct method Name (line 27) | func (e Extractor) Name() string { return Name } method Version (line 30) | func (e Extractor) Version() int { return 0 } method Requirements (line 33) | func (e Extractor) Requirements() *plugin.Capabilities { method FileRequired (line 43) | func (e Extractor) FileRequired(fapi filesystem.FileAPI) bool { method Extract (line 48) | func (e Extractor) Extract(_ context.Context, input *filesystem.ScanIn... function New (line 37) | func New(_ *cpb.PluginConfig) (filesystem.Extractor, error) { FILE: internal/scalibrextract/language/osv/osvscannerjson/extractor_test.go function TestExtractor_Extract (line 14) | func TestExtractor_Extract(t *testing.T) { FILE: internal/scalibrextract/language/osv/osvscannerjson/metadata.go type Metadata (line 6) | type Metadata struct FILE: internal/scalibrextract/vcs/gitcommitdirect/extractor.go constant Name (line 15) | Name = "vcs/gitcommitdirect" type Extractor (line 20) | type Extractor struct method Name (line 32) | func (e *Extractor) Name() string { return Name } method Version (line 35) | func (e *Extractor) Version() int { return 0 } method Requirements (line 38) | func (e *Extractor) Requirements() *plugin.Capabilities { method Extract (line 42) | func (e *Extractor) Extract(_ context.Context, _ *standalone.ScanInput... function New (line 25) | func New(commits []string) standalone.Extractor { FILE: internal/scalibrextract/vcs/gitrepo/extractor.go constant Name (line 20) | Name = "vcs/gitrepo" type Extractor (line 25) | type Extractor struct method Name (line 71) | func (e *Extractor) Name() string { return Name } method Version (line 74) | func (e *Extractor) Version() int { return 0 } method Requirements (line 77) | func (e *Extractor) Requirements() *plugin.Capabilities { method FileRequired (line 84) | func (e *Extractor) FileRequired(fapi filesystem.FileAPI) bool { method Extract (line 99) | func (e *Extractor) Extract(_ context.Context, input *filesystem.ScanI... method ToPURL (line 134) | func (e *Extractor) ToPURL(_ *extractor.Package) *purl.PackageURL { method Ecosystem (line 139) | func (e *Extractor) Ecosystem(_ *extractor.Package) string { function getCommitSHA (line 27) | func getCommitSHA(repo *git.Repository) (string, error) { function getSubmodules (line 36) | func getSubmodules(repo *git.Repository) (submodules []*git.SubmoduleSta... function createCommitQueryInventory (line 56) | func createCommitQueryInventory(commit string, location string) *extract... function New (line 66) | func New(_ *cpb.PluginConfig) (filesystem.Extractor, error) { FILE: internal/scalibrextract/vcs/gitrepo/extractor_test.go function TestExtractor_Extract (line 16) | func TestExtractor_Extract(t *testing.T) { FILE: internal/scalibrplugin/presets.go function baseImageEnricher (line 178) | func baseImageEnricher(_ *cpb.PluginConfig) (enricher.Enricher, error) { FILE: internal/scalibrplugin/resolve.go function resolveFromName (line 19) | func resolveFromName(name string, cfg *cpb.PluginConfig) (plugin.Plugin,... function Resolve (line 42) | func Resolve(enabledPlugins []string, disabledPlugins []string, cfg *cpb... function filterPluginsMissingRequiredPlugins (line 107) | func filterPluginsMissingRequiredPlugins(pluginStatues map[string]bool, ... FILE: internal/scalibrplugin/resolve_test.go function TestResolve (line 41) | func TestResolve(t *testing.T) { function TestResolve_Detectors (line 187) | func TestResolve_Detectors(t *testing.T) { function TestResolve_RequiredPlugins (line 357) | func TestResolve_RequiredPlugins(t *testing.T) { function TestResolve_AllPresets (line 442) | func TestResolve_AllPresets(t *testing.T) { function TestResolve_Extractors (line 469) | func TestResolve_Extractors(t *testing.T) { function TestResolve_Detectors_Presets (line 654) | func TestResolve_Detectors_Presets(t *testing.T) { function TestResolve_Extractors_Presets (line 675) | func TestResolve_Extractors_Presets(t *testing.T) { function TestResolve_Enrichers_Presets (line 696) | func TestResolve_Enrichers_Presets(t *testing.T) { function TestResolve_Annotators_Presets (line 717) | func TestResolve_Annotators_Presets(t *testing.T) { FILE: internal/scalibrplugin/testmain_test.go function TestMain (line 9) | func TestMain(m *testing.M) { FILE: internal/sourceanalysis/go.go function goAnalysis (line 23) | func goAnalysis(pkgs []models.PackageVulns, source models.SourceInfo) { function matchAnalysisWithPackageVulns (line 64) | func matchAnalysisWithPackageVulns(pkgs []models.PackageVulns, idToFindi... function vulnHasImportsField (line 104) | func vulnHasImportsField(vuln *osvschema.Vulnerability, pkg *models.Pack... function fillNotImportedAnalysisInfo (line 129) | func fillNotImportedAnalysisInfo(vulnsByID map[string]*osvschema.Vulnera... function runGovulncheck (line 139) | func runGovulncheck(moddir string, vulns []*osvschema.Vulnerability, goV... type osvHandler (line 194) | type osvHandler struct method Finding (line 198) | func (h *osvHandler) Finding(f *govulncheck.Finding) { function handleJSON (line 202) | func handleJSON(from io.Reader, to *osvHandler) error { FILE: internal/sourceanalysis/go_test.go function Test_matchAnalysisWithPackageVulns (line 11) | func Test_matchAnalysisWithPackageVulns(t *testing.T) { function Test_matchEmptyAnalysisWithPackageVulns (line 23) | func Test_matchEmptyAnalysisWithPackageVulns(t *testing.T) { FILE: internal/sourceanalysis/govulncheck/result.go type Message (line 9) | type Message struct type Finding (line 17) | type Finding struct type Frame (line 52) | type Frame struct type Position (line 81) | type Position struct FILE: internal/sourceanalysis/integration_test.go function Test_runGovulncheck (line 16) | func Test_runGovulncheck(t *testing.T) { FILE: internal/sourceanalysis/rust.go constant RustFlagsEnv (line 32) | RustFlagsEnv = "RUSTFLAGS=-C opt-level=3 -C debuginfo=1 -C embed-bit... constant RustLibExtension (line 33) | RustLibExtension = ".rcgu.o/" function rustAnalysis (line 36) | func rustAnalysis(pkgs []models.PackageVulns, source models.SourceInfo) { function functionsFromDWARF (line 133) | func functionsFromDWARF(readAt io.ReaderAt) (map[string]struct{}, error) { function extractRlibArchive (line 183) | func extractRlibArchive(rlibPath string) (bytes.Buffer, error) { function rustBuildSource (line 228) | func rustBuildSource(source models.SourceInfo) ([]string, error) { function cleanRustFunctionSymbols (line 286) | func cleanRustFunctionSymbols(val string) string { FILE: internal/sourceanalysis/rust_test.go function Test_extractRlibArchive (line 15) | func Test_extractRlibArchive(t *testing.T) { function Test_functionsFromDWARF (line 42) | func Test_functionsFromDWARF(t *testing.T) { function Test_rustBuildSource (line 66) | func Test_rustBuildSource(t *testing.T) { FILE: internal/sourceanalysis/sourceanalysis.go function vulnsFromAllPkgs (line 11) | func vulnsFromAllPkgs(pkgs []models.PackageVulns) ([]*osvschema.Vulnerab... function Run (line 28) | func Run(source models.SourceInfo, pkgs []models.PackageVulns, callAnaly... FILE: internal/sourceanalysis/testdata/go-integration/test-project/main.go function main (line 12) | func main() { FILE: internal/sourceanalysis/testdata/rust/rust-project/src/main.rs function main (line 1) | fn main() { function test_func (line 6) | fn test_func() { FILE: internal/sourceanalysis/testmain_test.go function TestMain (line 9) | func TestMain(m *testing.M) { FILE: internal/spdx/gen.go type License (line 16) | type License struct function main (line 20) | func main() { FILE: internal/spdx/satisfies.go type node (line 13) | type node interface type nodeBranch (line 20) | type nodeBranch struct method satisfiedBy (line 26) | func (n nodeBranch) satisfiedBy(licenses []string) bool { type nodeLeaf (line 40) | type nodeLeaf struct method satisfiedBy (line 44) | func (n nodeLeaf) satisfiedBy(licenses []string) bool { type tokens (line 58) | type tokens struct method peek (line 63) | func (ts *tokens) peek() string { method next (line 72) | func (ts *tokens) next() string { method nextAndIsNextNextValid (line 91) | func (ts *tokens) nextAndIsNextNextValid() (string, error) { method isNextValid (line 98) | func (ts *tokens) isNextValid(cur string) error { function tokenise (line 126) | func tokenise(license models.License) tokens { function parse (line 157) | func parse(tokens *tokens) (node, error) { function parseOr (line 161) | func parseOr(tokens *tokens) (node, error) { function parseAnd (line 188) | func parseAnd(tokens *tokens) (node, error) { function parseExpression (line 215) | func parseExpression(tokens *tokens) (node, error) { function Satisfies (line 253) | func Satisfies(license models.License, allowlist []string) (bool, error) { FILE: internal/spdx/satisfies_test.go function namer (line 11) | func namer(t *testing.T, license models.License, licenses []string, expe... function TestSatisfies (line 23) | func TestSatisfies(t *testing.T) { function TestSatisfies_Invalid (line 330) | func TestSatisfies_Invalid(t *testing.T) { FILE: internal/spdx/verify.go function Unrecognized (line 7) | func Unrecognized(licenses []string) (unrecognized []string) { FILE: internal/spdx/verify_test.go function TestUnrecognized (line 10) | func TestUnrecognized(t *testing.T) { FILE: internal/testlogger/handler.go type Handler (line 25) | type Handler struct method getLogger (line 29) | func (tl *Handler) getLogger() cmdlogger.CmdLogger { method AddInstance (line 45) | func (tl *Handler) AddInstance(logger cmdlogger.CmdLogger) { method Delete (line 57) | func (tl *Handler) Delete() { method SendEverythingToStderr (line 66) | func (tl *Handler) SendEverythingToStderr() { method SetLevel (line 70) | func (tl *Handler) SetLevel(level slog.Leveler) { method Enabled (line 74) | func (tl *Handler) Enabled(ctx context.Context, level slog.Level) bool { method Handle (line 78) | func (tl *Handler) Handle(ctx context.Context, record slog.Record) err... method SetHasErrored (line 109) | func (tl *Handler) SetHasErrored() { method HasErrored (line 115) | func (tl *Handler) HasErrored() bool { method HasErroredBecauseInvalidConfig (line 121) | func (tl *Handler) HasErroredBecauseInvalidConfig() bool { method WithAttrs (line 125) | func (tl *Handler) WithAttrs(attrs []slog.Attr) slog.Handler { method WithGroup (line 129) | func (tl *Handler) WithGroup(g string) slog.Handler { function New (line 135) | func New() *Handler { function getCallerInstance (line 153) | func getCallerInstance() string { FILE: internal/testlogger/markers.go constant BeginDirectoryScan (line 9) | BeginDirectoryScan = "---Begin Directory Scan---" constant EndDirectoryScan (line 10) | EndDirectoryScan = "---End Directory Scan---" function BeginDirScanMarker (line 14) | func BeginDirScanMarker() { function EndDirScanMarker (line 21) | func EndDirScanMarker() { FILE: internal/testutility/fixture.go function load (line 14) | func load(t *testing.T, path string, windowsReplacements map[string]stri... function LoadJSONFixture (line 30) | func LoadJSONFixture[V any](t *testing.T, path string) V { function LoadJSONFixtureWithWindowsReplacements (line 38) | func LoadJSONFixtureWithWindowsReplacements[V any]( function LoadVulnMapFixture (line 57) | func LoadVulnMapFixture(t *testing.T, path string) map[string]*osvschema... FILE: internal/testutility/jsonreplace.go type JSONReplaceRule (line 13) | type JSONReplaceRule struct function expandArrayPaths (line 105) | func expandArrayPaths(t *testing.T, jsonInput string, path string) []str... function ReplaceJSONInput (line 145) | func ReplaceJSONInput(t *testing.T, jsonInput string, path string, repla... FILE: internal/testutility/jsonreplace_test.go function Test_replaceJSONInput (line 15) | func Test_replaceJSONInput(t *testing.T) { function Test_replaceJSONInput_More (line 410) | func Test_replaceJSONInput_More(t *testing.T) { FILE: internal/testutility/mock_http.go type MockHTTPServer (line 13) | type MockHTTPServer struct method SetResponse (line 35) | func (m *MockHTTPServer) SetResponse(t *testing.T, path string, respon... method SetResponseFromFile (line 44) | func (m *MockHTTPServer) SetResponseFromFile(t *testing.T, path string... method SetAuthorization (line 57) | func (m *MockHTTPServer) SetAuthorization(t *testing.T, auth string) { method ServeHTTP (line 65) | func (m *MockHTTPServer) ServeHTTP(w http.ResponseWriter, r *http.Requ... function NewMockHTTPServer (line 25) | func NewMockHTTPServer(t *testing.T) *MockHTTPServer { FILE: internal/testutility/normalize.go function normalizeFilePathsOnOutput (line 17) | func normalizeFilePathsOnOutput(t *testing.T, output string) string { function normalizeFilePaths (line 47) | func normalizeFilePaths(t *testing.T, output string) string { function normalizeRootDirectory (line 54) | func normalizeRootDirectory(t *testing.T, str string) string { function normalizeUserCacheDirectory (line 71) | func normalizeUserCacheDirectory(t *testing.T, str string) string { function normalizeTempDirectory (line 89) | func normalizeTempDirectory(t *testing.T, str string) string { function normalizeErrors (line 105) | func normalizeErrors(t *testing.T, str string) string { function removeUntestableLines (line 119) | func removeUntestableLines(t *testing.T, str string) string { function normalizeSnapshot (line 129) | func normalizeSnapshot(t *testing.T, str string) string { function pathWithoutRoot (line 146) | func pathWithoutRoot(t *testing.T, str string) string { FILE: internal/testutility/snapshot.go type Snapshot (line 10) | type Snapshot struct method WithWindowsReplacements (line 21) | func (s Snapshot) WithWindowsReplacements(replacements map[string]stri... method WithCRLFReplacement (line 29) | func (s Snapshot) WithCRLFReplacement() Snapshot { method MatchJSON (line 37) | func (s Snapshot) MatchJSON(t *testing.T, got any) { method MatchText (line 50) | func (s Snapshot) MatchText(t *testing.T, got string) { function NewSnapshot (line 15) | func NewSnapshot() Snapshot { FILE: internal/testutility/utility.go function GetCurrentWorkingDirectory (line 18) | func GetCurrentWorkingDirectory(t *testing.T) string { function applyWindowsReplacements (line 30) | func applyWindowsReplacements(content string, replacements map[string]st... function CleanSnapshots (line 41) | func CleanSnapshots(m *testing.M) { function Skip (line 56) | func Skip(t *testing.T, args ...any) { function isThisTestRunTarget (line 66) | func isThisTestRunTarget(t *testing.T) bool { function IsAcceptanceTesting (line 76) | func IsAcceptanceTesting() bool { function SkipIfNotAcceptanceTesting (line 84) | func SkipIfNotAcceptanceTesting(t *testing.T, reason string) { function SkipIfShort (line 94) | func SkipIfShort(t *testing.T) { function ValueIfOnWindows (line 102) | func ValueIfOnWindows(win, or string) string { function fixedLengthTempDir (line 110) | func fixedLengthTempDir(parent string) (string, error) { function CreateTestDir (line 123) | func CreateTestDir(t *testing.T) string { FILE: internal/thirdparty/ar/reader.go constant HeaderByteSize (line 34) | HeaderByteSize = 60 constant ArSignature (line 35) | ArSignature = "!\n" type Header (line 38) | type Header struct type slicer (line 43) | type slicer method next (line 45) | func (sp *slicer) next(n int) []byte { type Reader (line 71) | type Reader struct method Next (line 92) | func (rd *Reader) Next() (*Header, error) { method Read (line 102) | func (rd *Reader) Read(b []byte) (n int, err error) { method skipUnread (line 115) | func (rd *Reader) skipUnread() error { method readHeader (line 128) | func (rd *Reader) readHeader() (*Header, error) { function NewReader (line 78) | func NewReader(r io.Reader) (*Reader, error) { function byteToString (line 148) | func byteToString(b []byte) string { function byteToDecimal (line 152) | func byteToDecimal(b []byte) int { FILE: internal/thirdparty/xml/atom_test.go function ParseTime (line 44) | func ParseTime(str string) time.Time { function NewText (line 52) | func NewText(text string) Text { FILE: internal/thirdparty/xml/marshal.go constant Header (line 23) | Header = `` + "\n" function Marshal (line 80) | func Marshal(v any) ([]byte, error) { type Marshaler (line 108) | type Marshaler interface type MarshalerAttr (line 123) | type MarshalerAttr interface function MarshalIndent (line 130) | func MarshalIndent(v any, prefix, indent string) ([]byte, error) { type Encoder (line 144) | type Encoder struct method Indent (line 158) | func (enc *Encoder) Indent(prefix, indent string) { method Encode (line 169) | func (enc *Encoder) Encode(v any) error { method EncodeElement (line 184) | func (enc *Encoder) EncodeElement(v any, start StartElement) error { method EncodeToken (line 210) | func (enc *Encoder) EncodeToken(t Token) error { method Flush (line 318) | func (enc *Encoder) Flush() error { method Close (line 325) | func (enc *Encoder) Close() error { function NewEncoder (line 149) | func NewEncoder(w io.Writer) *Encoder { function isValidDirective (line 278) | func isValidDirective(dir Directive) bool { type printer (line 329) | type printer struct method createAttrPrefix (line 348) | func (p *printer) createAttrPrefix(url string) string { method deleteAttrPrefix (line 408) | func (p *printer) deleteAttrPrefix(prefix string) { method markPrefix (line 413) | func (p *printer) markPrefix() { method popPrefix (line 417) | func (p *printer) popPrefix() { method marshalValue (line 436) | func (p *printer) marshalValue(val reflect.Value, finfo *fieldInfo, st... method marshalAttr (line 592) | func (p *printer) marshalAttr(start *StartElement, name Name, val refl... method marshalInterface (line 698) | func (p *printer) marshalInterface(val Marshaler, start StartElement) ... method marshalTextInterface (line 718) | func (p *printer) marshalTextInterface(val encoding.TextMarshaler, sta... method writeStart (line 731) | func (p *printer) writeStart(start *StartElement) error { method writeEnd (line 781) | func (p *printer) writeEnd(name Name, empty bool) error { method marshalSimple (line 807) | func (p *printer) marshalSimple(typ reflect.Type, val reflect.Value) (... method marshalStruct (line 858) | func (p *printer) marshalStruct(tinfo *typeInfo, val reflect.Value) er... method Write (line 1014) | func (p *printer) Write(b []byte) (n int, err error) { method WriteString (line 1025) | func (p *printer) WriteString(s string) (n int, err error) { method WriteByte (line 1036) | func (p *printer) WriteByte(c byte) error { method Close (line 1049) | func (p *printer) Close() error { method cachedWriteError (line 1064) | func (p *printer) cachedWriteError() error { method writeIndent (line 1069) | func (p *printer) writeIndent(depthDelta int) { function defaultStart (line 677) | func defaultStart(typ reflect.Type, finfo *fieldInfo, startTemplate *Sta... function indirect (line 848) | func indirect(vf reflect.Value) reflect.Value { type parentStack (line 1100) | type parentStack struct method trim (line 1108) | func (s *parentStack) trim(parents []string) error { method push (line 1125) | func (s *parentStack) push(parents []string) error { type UnsupportedTypeError (line 1137) | type UnsupportedTypeError struct method Error (line 1141) | func (e *UnsupportedTypeError) Error() string { function isEmptyValue (line 1145) | func isEmptyValue(v reflect.Value) bool { FILE: internal/thirdparty/xml/marshal_test.go type DriveType (line 20) | type DriveType constant HyperDrive (line 23) | HyperDrive DriveType = iota constant ImprobabilityDrive (line 24) | ImprobabilityDrive type Passenger (line 27) | type Passenger struct type Ship (line 32) | type Ship struct type NamedType (line 43) | type NamedType type Port (line 45) | type Port struct type Domain (line 52) | type Domain struct type Book (line 59) | type Book struct type Event (line 64) | type Event struct type Movie (line 69) | type Movie struct type Pi (line 74) | type Pi struct type Universe (line 79) | type Universe struct type Particle (line 84) | type Particle struct type Departure (line 89) | type Departure struct type SecretAgent (line 94) | type SecretAgent struct type NestedItems (line 101) | type NestedItems struct type NestedOrder (line 107) | type NestedOrder struct type MixedNested (line 114) | type MixedNested struct type NilTest (line 122) | type NilTest struct type Service (line 128) | type Service struct type EmbedA (line 138) | type EmbedA struct type EmbedB (line 145) | type EmbedB struct type EmbedC (line 150) | type EmbedC struct type embedD (line 157) | type embedD struct type NameCasing (line 162) | type NameCasing struct type NamePrecedence (line 170) | type NamePrecedence struct type XMLNameWithTag (line 178) | type XMLNameWithTag struct type XMLNameWithoutTag (line 183) | type XMLNameWithoutTag struct type NameInField (line 188) | type NameInField struct type AttrTest (line 192) | type AttrTest struct type AttrsTest (line 202) | type AttrsTest struct type OmitAttrTest (line 213) | type OmitAttrTest struct type OmitFieldTest (line 224) | type OmitFieldTest struct type AnyTest (line 236) | type AnyTest struct type AnyOmitTest (line 242) | type AnyOmitTest struct type AnySliceTest (line 248) | type AnySliceTest struct type AnyHolder (line 254) | type AnyHolder struct type RecurseA (line 259) | type RecurseA struct type RecurseB (line 264) | type RecurseB struct type PresenceTest (line 269) | type PresenceTest struct type IgnoreTest (line 273) | type IgnoreTest struct type MyBytes (line 277) | type MyBytes type Data (line 279) | type Data struct type Plain (line 285) | type Plain struct type MyInt (line 289) | type MyInt type EmbedInt (line 291) | type EmbedInt struct type Strings (line 295) | type Strings struct type PointerFieldsTest (line 299) | type PointerFieldsTest struct type ChardataEmptyTest (line 307) | type ChardataEmptyTest struct type PointerAnonFields (line 312) | type PointerAnonFields struct type MyMarshalerTest (line 317) | type MyMarshalerTest struct method MarshalXML (line 322) | func (m *MyMarshalerTest) MarshalXML(e *Encoder, start StartElement) e... type MyMarshalerAttrTest (line 329) | type MyMarshalerAttrTest struct method MarshalXMLAttr (line 334) | func (m *MyMarshalerAttrTest) MarshalXMLAttr(name Name) (Attr, error) { method UnmarshalXMLAttr (line 338) | func (m *MyMarshalerAttrTest) UnmarshalXMLAttr(attr Attr) error { type MarshalerStruct (line 342) | type MarshalerStruct struct type InnerStruct (line 346) | type InnerStruct struct type OuterStruct (line 350) | type OuterStruct struct type OuterNamedStruct (line 355) | type OuterNamedStruct struct type OuterNamedOrderedStruct (line 361) | type OuterNamedOrderedStruct struct type OuterOuterStruct (line 367) | type OuterOuterStruct struct type NestedAndChardata (line 371) | type NestedAndChardata struct type NestedAndComment (line 376) | type NestedAndComment struct type CDataTest (line 381) | type CDataTest struct type NestedAndCData (line 385) | type NestedAndCData struct function ifaceptr (line 390) | func ifaceptr(x any) any { function stringptr (line 394) | func stringptr(x string) *string { type T1 (line 398) | type T1 struct type T2 (line 399) | type T2 struct type IndirComment (line 401) | type IndirComment struct type DirectComment (line 407) | type DirectComment struct type IfaceComment (line 413) | type IfaceComment struct type IndirChardata (line 419) | type IndirChardata struct type DirectChardata (line 425) | type DirectChardata struct type IfaceChardata (line 431) | type IfaceChardata struct type IndirCDATA (line 437) | type IndirCDATA struct type DirectCDATA (line 443) | type DirectCDATA struct type IfaceCDATA (line 449) | type IfaceCDATA struct type IndirInnerXML (line 455) | type IndirInnerXML struct type DirectInnerXML (line 461) | type DirectInnerXML struct type IfaceInnerXML (line 467) | type IfaceInnerXML struct type IndirElement (line 473) | type IndirElement struct type DirectElement (line 479) | type DirectElement struct type IfaceElement (line 485) | type IfaceElement struct type IndirOmitEmpty (line 491) | type IndirOmitEmpty struct type DirectOmitEmpty (line 497) | type DirectOmitEmpty struct type IfaceOmitEmpty (line 503) | type IfaceOmitEmpty struct type IndirAny (line 509) | type IndirAny struct type DirectAny (line 515) | type DirectAny struct type IfaceAny (line 521) | type IfaceAny struct type Generic (line 527) | type Generic struct function TestMarshal (line 1661) | func TestMarshal(t *testing.T) { type AttrParent (line 1694) | type AttrParent struct type BadAttr (line 1698) | type BadAttr struct function TestMarshalErrors (line 1758) | func TestMarshalErrors(t *testing.T) { function TestUnmarshal (line 1777) | func TestUnmarshal(t *testing.T) { function TestMarshalIndent (line 1824) | func TestMarshalIndent(t *testing.T) { type limitedBytesWriter (line 1837) | type limitedBytesWriter struct method Write (line 1842) | func (lw *limitedBytesWriter) Write(p []byte) (n int, err error) { function TestMarshalWriteErrors (line 1858) | func TestMarshalWriteErrors(t *testing.T) { function TestMarshalWriteIOErrors (line 1886) | func TestMarshalWriteIOErrors(t *testing.T) { function TestMarshalFlush (line 1896) | func TestMarshalFlush(t *testing.T) { function BenchmarkMarshal (line 1913) | func BenchmarkMarshal(b *testing.B) { function BenchmarkUnmarshal (line 1922) | func BenchmarkUnmarshal(b *testing.B) { function TestStructPointerMarshal (line 1933) | func TestStructPointerMarshal(t *testing.T) { function TestEncodeToken (line 2340) | func TestEncodeToken(t *testing.T) { function TestProcInstEncodeToken (line 2378) | func TestProcInstEncodeToken(t *testing.T) { function TestDecodeEncode (line 2395) | func TestDecodeEncode(t *testing.T) { function TestRace9796 (line 2413) | func TestRace9796(t *testing.T) { function TestIsValidDirective (line 2429) | func TestIsValidDirective(t *testing.T) { function TestSimpleUseOfEncodeToken (line 2462) | func TestSimpleUseOfEncodeToken(t *testing.T) { function TestIssue16158 (line 2493) | func TestIssue16158(t *testing.T) { type InvalidXMLName (line 2505) | type InvalidXMLName struct function TestInvalidXMLName (line 2512) | func TestInvalidXMLName(t *testing.T) { type LayerOne (line 2523) | type LayerOne struct type LayerTwo (line 2530) | type LayerTwo struct function TestMarshalZeroValue (line 2534) | func TestMarshalZeroValue(t *testing.T) { function TestClose (line 2585) | func TestClose(t *testing.T) { FILE: internal/thirdparty/xml/read.go function Unmarshal (line 133) | func Unmarshal(data []byte, v any) error { method Decode (line 139) | func (d *Decoder) Decode(v any) error { method DecodeElement (line 147) | func (d *Decoder) DecodeElement(v any, start *StartElement) error { type UnmarshalError (line 160) | type UnmarshalError method Error (line 162) | func (e UnmarshalError) Error() string { return string(e) } type Unmarshaler (line 179) | type Unmarshaler interface type UnmarshalerAttr (line 191) | type UnmarshalerAttr interface function receiverType (line 196) | func receiverType(val any) string { method unmarshalInterface (line 206) | func (d *Decoder) unmarshalInterface(val Unmarshaler, start *StartElemen... method unmarshalTextInterface (line 228) | func (d *Decoder) unmarshalTextInterface(val encoding.TextUnmarshaler) e... method unmarshalAttr (line 251) | func (d *Decoder) unmarshalAttr(val reflect.Value, attr Attr) error { constant maxUnmarshalDepth (line 314) | maxUnmarshalDepth = 10000 constant maxUnmarshalDepthWasm (line 315) | maxUnmarshalDepthWasm = 5000 method unmarshal (line 321) | func (d *Decoder) unmarshal(val reflect.Value, start *StartElement, dept... function copyValue (line 621) | func copyValue(dst reflect.Value, src []byte) (err error) { method unmarshalPath (line 694) | func (d *Decoder) unmarshalPath(tinfo *typeInfo, sv reflect.Value, paren... method Skip (line 760) | func (d *Decoder) Skip() error { FILE: internal/thirdparty/xml/read_test.go function TestUnmarshalFeed (line 20) | func TestUnmarshalFeed(t *testing.T) { constant atomFeedString (line 31) | atomFeedString = ` type Feed (line 86) | type Feed struct type Entry (line 96) | type Entry struct type Link (line 105) | type Link struct type Person (line 110) | type Person struct type Text (line 117) | type Text struct constant pathTestString (line 220) | pathTestString = ` type PathTestItem (line 242) | type PathTestItem struct type PathTestA (line 246) | type PathTestA struct type PathTestB (line 251) | type PathTestB struct type PathTestC (line 256) | type PathTestC struct type PathTestSet (line 262) | type PathTestSet struct type PathTestD (line 266) | type PathTestD struct type PathTestE (line 271) | type PathTestE struct function TestUnmarshalPaths (line 284) | func TestUnmarshalPaths(t *testing.T) { type BadPathTestA (line 296) | type BadPathTestA struct type BadPathTestB (line 302) | type BadPathTestB struct type BadPathTestC (line 308) | type BadPathTestC struct type BadPathTestD (line 313) | type BadPathTestD struct type BadPathEmbeddedA (line 318) | type BadPathEmbeddedA struct type BadPathEmbeddedB (line 322) | type BadPathEmbeddedB struct function TestUnmarshalBadPaths (line 335) | func TestUnmarshalBadPaths(t *testing.T) { constant OK (line 344) | OK = "OK" constant withoutNameTypeData (line 345) | withoutNameTypeData = ` type TestThree (line 349) | type TestThree struct function TestUnmarshalWithoutNameType (line 354) | func TestUnmarshalWithoutNameType(t *testing.T) { function TestUnmarshalAttr (line 364) | func TestUnmarshalAttr(t *testing.T) { type Tables (line 408) | type Tables struct function TestUnmarshalNS (line 468) | func TestUnmarshalNS(t *testing.T) { function TestMarshalNS (line 490) | func TestMarshalNS(t *testing.T) { type TableAttrs (line 503) | type TableAttrs struct type TAttr (line 507) | type TAttr struct function TestUnmarshalNSAttr (line 585) | func TestUnmarshalNSAttr(t *testing.T) { function TestMarshalNSAttr (line 607) | func TestMarshalNSAttr(t *testing.T) { type MyCharData (line 629) | type MyCharData struct method UnmarshalXML (line 633) | func (m *MyCharData) UnmarshalXML(d *Decoder, start StartElement) error { method UnmarshalXMLAttr (line 651) | func (m *MyCharData) UnmarshalXMLAttr(attr Attr) error { type MyAttr (line 655) | type MyAttr struct method UnmarshalXMLAttr (line 659) | func (m *MyAttr) UnmarshalXMLAttr(attr Attr) error { type MyStruct (line 666) | type MyStruct struct function TestUnmarshaler (line 674) | func TestUnmarshaler(t *testing.T) { type Pea (line 692) | type Pea struct type Pod (line 696) | type Pod struct function TestUnmarshalIntoInterface (line 701) | func TestUnmarshalIntoInterface(t *testing.T) { type X (line 719) | type X struct function TestMalformedComment (line 724) | func TestMalformedComment(t *testing.T) { type IXField (line 740) | type IXField struct function TestInvalidInnerXMLType (line 746) | func TestInvalidInnerXMLType(t *testing.T) { type Child (line 759) | type Child struct type ChildToEmbed (line 765) | type ChildToEmbed struct type Parent (line 769) | type Parent struct constant emptyXML (line 796) | emptyXML = ` function TestUnmarshalEmptyValues (line 826) | func TestUnmarshalEmptyValues(t *testing.T) { type WhitespaceValuesParent (line 915) | type WhitespaceValuesParent struct constant whitespaceValuesXML (line 939) | whitespaceValuesXML = ` function TestUnmarshalWhitespaceValues (line 966) | func TestUnmarshalWhitespaceValues(t *testing.T) { type WhitespaceAttrsParent (line 1000) | type WhitespaceAttrsParent struct constant whitespaceAttrsXML (line 1024) | whitespaceAttrsXML = ` function TestUnmarshalWhitespaceAttrs (line 1052) | func TestUnmarshalWhitespaceAttrs(t *testing.T) { function TestUnmarshalIntoNil (line 1087) | func TestUnmarshalIntoNil(t *testing.T) { function TestCVE202228131 (line 1101) | func TestCVE202228131(t *testing.T) { function TestCVE202230633 (line 1114) | func TestCVE202230633(t *testing.T) { FILE: internal/thirdparty/xml/typeinfo.go type typeInfo (line 15) | type typeInfo struct type fieldInfo (line 21) | type fieldInfo struct method value (line 350) | func (finfo *fieldInfo) value(v reflect.Value, shouldInitNilPointers b... type fieldFlags (line 29) | type fieldFlags constant fElement (line 32) | fElement fieldFlags = 1 << iota constant fAttr (line 33) | fAttr constant fCDATA (line 34) | fCDATA constant fCharData (line 35) | fCharData constant fInnerXML (line 36) | fInnerXML constant fComment (line 37) | fComment constant fAny (line 38) | fAny constant fOmitEmpty (line 40) | fOmitEmpty constant fMode (line 42) | fMode = fElement | fAttr | fCDATA | fCharData | fInnerXML | fComment | fAny constant xmlName (line 44) | xmlName = "XMLName" function getTypeInfo (line 53) | func getTypeInfo(typ reflect.Type) (*typeInfo, error) { function structFieldInfo (line 113) | func structFieldInfo(typ reflect.Type, f *reflect.StructField) (*fieldIn... function lookupXMLName (line 231) | func lookupXMLName(typ reflect.Type) (xmlname *fieldInfo) { function addFieldInfo (line 261) | func addFieldInfo(typ reflect.Type, tinfo *typeInfo, newf *fieldInfo) er... type TagPathError (line 330) | type TagPathError struct method Error (line 336) | func (e *TagPathError) Error() string { constant initNilPointers (line 341) | initNilPointers = true constant dontInitNilPointers (line 342) | dontInitNilPointers = false FILE: internal/thirdparty/xml/xml.go type SyntaxError (line 33) | type SyntaxError struct method Error (line 38) | func (e *SyntaxError) Error() string { type Name (line 47) | type Name struct type Attr (line 52) | type Attr struct type Token (line 60) | type Token type StartElement (line 63) | type StartElement struct method Copy (line 72) | func (e StartElement) Copy() StartElement { method End (line 80) | func (e StartElement) End() EndElement { type EndElement (line 85) | type EndElement struct type CharData (line 94) | type CharData struct method Copy (line 101) | func (c CharData) Copy() CharData { type Comment (line 107) | type Comment method Copy (line 110) | func (c Comment) Copy() Comment { return Comment(bytes.Clone(c)) } type ProcInst (line 113) | type ProcInst struct method Copy (line 119) | func (p ProcInst) Copy() ProcInst { type Directive (line 126) | type Directive method Copy (line 129) | func (d Directive) Copy() Directive { return Directive(bytes.Clone(d)) } function CopyToken (line 132) | func CopyToken(t Token) Token { type TokenReader (line 161) | type TokenReader interface type Decoder (line 167) | type Decoder struct method Token (line 293) | func (d *Decoder) Token() (Token, error) { method translate (line 364) | func (d *Decoder) translate(n *Name, isElementName bool) { method switchToReader (line 382) | func (d *Decoder) switchToReader(r io.Reader) { method push (line 411) | func (d *Decoder) push(kind int) *stack { method pop (line 424) | func (d *Decoder) pop() *stack { method pushEOF (line 437) | func (d *Decoder) pushEOF() { method popEOF (line 463) | func (d *Decoder) popEOF() bool { method pushElement (line 472) | func (d *Decoder) pushElement(name Name) { method pushNs (line 479) | func (d *Decoder) pushNs(local string, url string, ok bool) { method syntaxError (line 487) | func (d *Decoder) syntaxError(msg string) error { method popElement (line 497) | func (d *Decoder) popElement(t *EndElement) bool { method autoClose (line 541) | func (d *Decoder) autoClose(t Token) (Token, bool) { method RawToken (line 563) | func (d *Decoder) RawToken() (Token, error) { method rawToken (line 570) | func (d *Decoder) rawToken() (Token, error) { method attrval (line 880) | func (d *Decoder) attrval() []byte { method space (line 916) | func (d *Decoder) space() (diff []byte) { method getc (line 936) | func (d *Decoder) getc() (b byte, ok bool) { method InputOffset (line 963) | func (d *Decoder) InputOffset() int64 { method InputPos (line 970) | func (d *Decoder) InputPos() (line, column int) { method savedOffset (line 976) | func (d *Decoder) savedOffset() int { method mustgetc (line 988) | func (d *Decoder) mustgetc() (b byte, ok bool) { method ungetc (line 998) | func (d *Decoder) ungetc(b byte) { method text (line 1019) | func (d *Decoder) text(quote int, cdata bool) ([]byte, []byte) { method nsname (line 1212) | func (d *Decoder) nsname() (name Name, ok bool) { method name (line 1231) | func (d *Decoder) name() (s string, ok bool) { method readName (line 1249) | func (d *Decoder) readName(buf *bytes.Buffer) (ok bool) { function NewDecoder (line 240) | func NewDecoder(r io.Reader) *Decoder { function NewTokenDecoder (line 252) | func NewTokenDecoder(t TokenReader) *Decoder { constant xmlURL (line 356) | xmlURL = "http://www.w3.org/XML/1998/namespace" constant xmlnsPrefix (line 357) | xmlnsPrefix = "xmlns" constant xmlPrefix (line 358) | xmlPrefix = "xml" type stack (line 398) | type stack struct constant stkStart (line 406) | stkStart = iota constant stkNs (line 407) | stkNs constant stkEOF (line 408) | stkEOF function isInCharacterRange (line 1201) | func isInCharacterRange(r rune) (inrange bool) { function isNameByte (line 1279) | func isNameByte(c byte) bool { function isName (line 1286) | func isName(s []byte) bool { function isNameString (line 1310) | func isNameString(s string) bool { function EscapeText (line 1960) | func EscapeText(w io.Writer, s []byte) error { function escapeText (line 1966) | func escapeText(w io.Writer, s []byte, escape bool) error { method EscapeString (line 2014) | func (p *printer) EscapeString(s string, escape bool) { function Escape (line 2057) | func Escape(w io.Writer, s []byte) { function emitCDATA (line 2069) | func emitCDATA(w io.Writer, s []byte) error { function procInst (line 2102) | func procInst(param, s string) string { FILE: internal/thirdparty/xml/xml_test.go type toks (line 17) | type toks struct method Token (line 22) | func (t *toks) Token() (Token, error) { function TestDecodeEOF (line 34) | func TestDecodeEOF(t *testing.T) { type toksNil (line 81) | type toksNil struct method Token (line 86) | func (t *toksNil) Token() (Token, error) { function TestDecodeNilToken (line 101) | func TestDecodeNilToken(t *testing.T) { constant testInput (line 122) | testInput = ` constant testInputAltEncoding (line 215) | testInputAltEncoding = ` function TestRawToken (line 275) | func TestRawToken(t *testing.T) { constant nonStrictInput (line 281) | nonStrictInput = ` function TestNonStrictRawToken (line 328) | func TestNonStrictRawToken(t *testing.T) { type downCaser (line 334) | type downCaser struct method ReadByte (line 339) | func (d *downCaser) ReadByte() (c byte, err error) { method Read (line 347) | func (d *downCaser) Read(p []byte) (int, error) { function TestRawTokenAltEncoding (line 352) | func TestRawTokenAltEncoding(t *testing.T) { function TestRawTokenAltEncodingNoConverter (line 363) | func TestRawTokenAltEncodingNoConverter(t *testing.T) { function testRawToken (line 386) | func testRawToken(t *testing.T, d *Decoder, raw string, rawTokens []Toke... function TestNestedDirectives (line 464) | func TestNestedDirectives(t *testing.T) { function TestToken (line 478) | func TestToken(t *testing.T) { function TestSyntax (line 493) | func TestSyntax(t *testing.T) { function TestInputLinePos (line 505) | func TestInputLinePos(t *testing.T) { type allScalars (line 544) | type allScalars struct constant testScalarsInput (line 590) | testScalarsInput = ` function TestAllScalars (line 613) | func TestAllScalars(t *testing.T) { type item (line 625) | type item struct function TestIssue569 (line 629) | func TestIssue569(t *testing.T) { function TestUnquotedAttrs (line 639) | func TestUnquotedAttrs(t *testing.T) { function TestValuelessAttrs (line 659) | func TestValuelessAttrs(t *testing.T) { function TestCopyTokenCharData (line 686) | func TestCopyTokenCharData(t *testing.T) { function TestCopyTokenStartElement (line 699) | func TestCopyTokenStartElement(t *testing.T) { function TestCopyTokenComment (line 715) | func TestCopyTokenComment(t *testing.T) { function TestSyntaxErrorLineNum (line 728) | func TestSyntaxErrorLineNum(t *testing.T) { function TestTrailingRawToken (line 743) | func TestTrailingRawToken(t *testing.T) { function TestTrailingToken (line 754) | func TestTrailingToken(t *testing.T) { function TestEntityInsideCDATA (line 765) | func TestEntityInsideCDATA(t *testing.T) { function TestDisallowedCharacters (line 791) | func TestDisallowedCharacters(t *testing.T) { function TestIsInCharacterRange (line 810) | func TestIsInCharacterRange(t *testing.T) { function TestProcInstEncoding (line 842) | func TestProcInstEncoding(t *testing.T) { function TestDirectivesWithComments (line 872) | func TestDirectivesWithComments(t *testing.T) { type errWriter (line 887) | type errWriter struct method Write (line 889) | func (errWriter) Write(p []byte) (n int, err error) { return 0, fmt.Er... function TestEscapeTextIOErrors (line 891) | func TestEscapeTextIOErrors(t *testing.T) { function TestEscapeTextInvalidChar (line 900) | func TestEscapeTextInvalidChar(t *testing.T) { function TestIssue5880 (line 915) | func TestIssue5880(t *testing.T) { function TestIssue8535 (line 926) | func TestIssue8535(t *testing.T) { function TestEncodeXMLNS (line 947) | func TestEncodeXMLNS(t *testing.T) { function encodeXMLNS1 (line 970) | func encodeXMLNS1() ([]byte, error) { function encodeXMLNS2 (line 982) | func encodeXMLNS2() ([]byte, error) { function encodeXMLNS3 (line 992) | func encodeXMLNS3() ([]byte, error) { function encodeXMLNS4 (line 1005) | func encodeXMLNS4() ([]byte, error) { function TestIssue11405 (line 1016) | func TestIssue11405(t *testing.T) { function TestIssue12417 (line 1037) | func TestIssue12417(t *testing.T) { function TestIssue7113 (line 1069) | func TestIssue7113(t *testing.T) { function TestIssue20396 (line 1124) | func TestIssue20396(t *testing.T) { function TestIssue20685 (line 1158) | func TestIssue20685(t *testing.T) { function tokenMap (line 1193) | func tokenMap(mapping func(t Token) Token) func(TokenReader) TokenReader { type mapper (line 1202) | type mapper struct method Token (line 1207) | func (m mapper) Token() (Token, error) { function TestNewTokenDecoderIdempotent (line 1215) | func TestNewTokenDecoderIdempotent(t *testing.T) { function TestWrapDecoder (line 1223) | func TestWrapDecoder(t *testing.T) { type tokReader (line 1257) | type tokReader struct method Token (line 1259) | func (tokReader) Token() (Token, error) { type Failure (line 1263) | type Failure struct method UnmarshalXML (line 1265) | func (Failure) UnmarshalXML(*Decoder, StartElement) error { function TestTokenUnmarshaler (line 1269) | func TestTokenUnmarshaler(t *testing.T) { function testRoundTrip (line 1280) | func testRoundTrip(t *testing.T, input string) { function TestRoundTrip (line 1325) | func TestRoundTrip(t *testing.T) { function TestParseErrors (line 1335) | func TestParseErrors(t *testing.T) { constant testInputHTMLAutoClose (line 1388) | testInputHTMLAutoClose = ` function BenchmarkHTMLAutoClose (line 1398) | func BenchmarkHTMLAutoClose(b *testing.B) { function TestHTMLAutoClose (line 1418) | func TestHTMLAutoClose(t *testing.T) { FILE: internal/tui/dependency-graph.go type chainGraphNode (line 13) | type chainGraphNode struct method subString (line 105) | func (c *chainGraphNode) subString(isVuln bool) (string, int) { type ChainGraph (line 21) | type ChainGraph struct method String (line 85) | func (c ChainGraph) String() string { function subgraphEdges (line 25) | func subgraphEdges(sg *resolution.DependencySubgraph, direct resolve.Nod... function FindChainGraphs (line 46) | func FindChainGraphs(subgraphs []*resolution.DependencySubgraph) []Chain... FILE: internal/tui/in-place-info.go type inPlaceInfo (line 16) | type inPlaceInfo struct method Resize (line 102) | func (ip *inPlaceInfo) Resize(w, h int) { method Update (line 112) | func (ip *inPlaceInfo) Update(msg tea.Msg) (ViewModel, tea.Cmd) { method View (line 135) | func (ip *inPlaceInfo) View() string { function NewInPlaceInfo (line 27) | func NewInPlaceInfo(res remediation.InPlaceResult) *inPlaceInfo { FILE: internal/tui/relock-info.go type relockInfo (line 15) | type relockInfo struct method Resize (line 66) | func (r *relockInfo) Resize(w, h int) { method Update (line 74) | func (r *relockInfo) Update(msg tea.Msg) (ViewModel, tea.Cmd) { method View (line 115) | func (r *relockInfo) View() string { function NewRelockInfo (line 23) | func NewRelockInfo(change resolution.Difference) *relockInfo { FILE: internal/tui/severity.go function RenderSeverity (line 27) | func RenderSeverity(severities []*osvschema.Severity) string { function RenderSeverityShort (line 37) | func RenderSeverityShort(severities []*osvschema.Severity) string { FILE: internal/tui/styles.go constant ViewMinHeight (line 25) | ViewMinHeight = 20 constant ViewVPad (line 26) | ViewVPad = 1 constant ViewMinWidth (line 28) | ViewMinWidth = 60 constant ViewWidthPct (line 29) | ViewWidthPct = 0.4 constant ViewHPad (line 30) | ViewHPad = 2 FILE: internal/tui/tui.go type KeyMap (line 15) | type KeyMap struct method ShortHelp (line 26) | func (k KeyMap) ShortHelp() []key.Binding { method FullHelp (line 30) | func (k KeyMap) FullHelp() [][]key.Binding { function NewSpinner (line 72) | func NewSpinner() spinner.Model { function RenderSelectorOption (line 81) | func RenderSelectorOption( type ViewModel (line 101) | type ViewModel interface type ViewModelCloseMsg (line 108) | type ViewModelCloseMsg struct FILE: internal/tui/vuln-info.go type vulnInfo (line 20) | type vulnInfo struct method Resize (line 76) | func (v *vulnInfo) Resize(w, h int) { method Update (line 86) | func (v *vulnInfo) Update(msg tea.Msg) (ViewModel, tea.Cmd) { method View (line 130) | func (v *vulnInfo) View() string { method detailsOnlyView (line 183) | func (v *vulnInfo) detailsOnlyView() string { method graphOnlyView (line 203) | func (v *vulnInfo) graphOnlyView() string { method headingStyle (line 218) | func (v *vulnInfo) headingStyle(idx int) lipgloss.Style { method fallbackDetails (line 226) | func (v *vulnInfo) fallbackDetails(width int) string { function NewVulnInfo (line 46) | func NewVulnInfo(vuln *resolution.Vulnerability) *vulnInfo { FILE: internal/tui/vuln-list.go type vulnList (line 20) | type vulnList struct method preambleHeight (line 87) | func (v *vulnList) preambleHeight() int { method Resize (line 95) | func (v *vulnList) Resize(w, h int) { method Update (line 104) | func (v *vulnList) Update(msg tea.Msg) (ViewModel, tea.Cmd) { method View (line 132) | func (v *vulnList) View() string { method Blur (line 144) | func (v *vulnList) Blur() { method Focus (line 149) | func (v *vulnList) Focus() { function NewVulnList (line 33) | func NewVulnList(vulns []*resolution.Vulnerability, preamble string) *vu... type vulnListItem (line 155) | type vulnListItem struct method FilterValue (line 159) | func (v vulnListItem) FilterValue() string { type vulnListItemDelegate (line 163) | type vulnListItemDelegate struct method Height (line 167) | func (d vulnListItemDelegate) Height() int { r... method Spacing (line 168) | func (d vulnListItemDelegate) Spacing() int { r... method Update (line 169) | func (d vulnListItemDelegate) Update(tea.Msg, *list.Model) tea.Cmd { r... method Render (line 171) | func (d vulnListItemDelegate) Render(w io.Writer, m list.Model, index ... type blurredDelegate (line 190) | type blurredDelegate struct method Render (line 194) | func (d blurredDelegate) Render(w io.Writer, m list.Model, _ int, list... FILE: internal/url/url.go function FromFilePath (line 22) | func FromFilePath(path string) (*url.URL, error) { FILE: internal/url/url_test.go function TestURLFromFilePath (line 13) | func TestURLFromFilePath(t *testing.T) { FILE: internal/utility/depgroup/devgroup.go function IsDevGroup (line 11) | func IsDevGroup(sys osvconstants.Ecosystem, groups []string) bool { FILE: internal/utility/maven/maven.go constant OriginManagement (line 19) | OriginManagement = "management" constant OriginParent (line 20) | OriginParent = "parent" constant OriginPlugin (line 21) | OriginPlugin = "plugin" constant OriginProfile (line 22) | OriginProfile = "profile" constant MaxParent (line 26) | MaxParent = 100 function MergeParents (line 37) | func MergeParents(ctx context.Context, mavenClient *datasource.MavenRegi... function ProjectKey (line 111) | func ProjectKey(proj maven.Project) maven.ProjectKey { function ParentPOMPath (line 126) | func ParentPOMPath(currentPath, relativePath string) string { function GetDependencyManagement (line 146) | func GetDependencyManagement(ctx context.Context, client *datasource.Mav... function CompareVersions (line 161) | func CompareVersions(vk resolve.VersionKey, a *semver.Version, b *semver... FILE: internal/utility/maven/maven_test.go function TestParentPOMPath (line 12) | func TestParentPOMPath(t *testing.T) { function TestCompareVersions (line 70) | func TestCompareVersions(t *testing.T) { FILE: internal/utility/purl/composer.go function FromComposer (line 10) | func FromComposer(packageInfo models.PackageInfo) (namespace string, nam... FILE: internal/utility/purl/composer_test.go function TestComposerExtraction_shouldExtractPackages (line 11) | func TestComposerExtraction_shouldExtractPackages(t *testing.T) { function TestComposerExtraction_shouldFilterPackages (line 41) | func TestComposerExtraction_shouldFilterPackages(t *testing.T) { FILE: internal/utility/purl/golang.go function FromGo (line 10) | func FromGo(packageInfo models.PackageInfo) (namespace string, name stri... FILE: internal/utility/purl/golang_test.go function TestGolangExtraction_shouldExtractPackages (line 11) | func TestGolangExtraction_shouldExtractPackages(t *testing.T) { function TestGolangExtraction_shouldFilterPackages (line 73) | func TestGolangExtraction_shouldFilterPackages(t *testing.T) { FILE: internal/utility/purl/maven.go function FromMaven (line 10) | func FromMaven(packageInfo models.PackageInfo) (namespace string, name s... FILE: internal/utility/purl/maven_test.go function TestMavenExtraction_shouldExtractPackages (line 11) | func TestMavenExtraction_shouldExtractPackages(t *testing.T) { function TestMavenExtraction_shouldFilterPackages (line 41) | func TestMavenExtraction_shouldFilterPackages(t *testing.T) { FILE: internal/utility/purl/package_grouper.go function Group (line 14) | func Group(packageSources []models.PackageSource) (map[string]models.Pac... FILE: internal/utility/purl/package_grouper_test.go function TestGroupPackageByPURL_ShouldUnifyPackages (line 13) | func TestGroupPackageByPURL_ShouldUnifyPackages(t *testing.T) { FILE: internal/utility/purl/purl.go type ParameterExtractor (line 13) | type ParameterExtractor function FromPackage (line 36) | func FromPackage(packageInfo models.PackageInfo) (*packageurl.PackageURL... FILE: internal/utility/purl/purl_to_package.go function getPURLEcosystem (line 37) | func getPURLEcosystem(pkgURL packageurl.PackageURL) osvconstants.Ecosyst... function ToPackage (line 57) | func ToPackage(purl string) (models.PackageInfo, error) { FILE: internal/utility/purl/purl_to_package_test.go function TestPURLToPackage (line 12) | func TestPURLToPackage(t *testing.T) { FILE: internal/utility/results/results.go constant ShortCommitLen (line 11) | ShortCommitLen = 8 function PkgToString (line 13) | func PkgToString(pkgInfo models.PackageInfo) string { function GetShortCommit (line 27) | func GetShortCommit(commit string) string { FILE: internal/utility/semverlike/version-semver-like.go type Components (line 15) | type Components method Fetch (line 17) | func (components *Components) Fetch(n int) *big.Int { method Cmp (line 25) | func (components *Components) Cmp(b Components) int { type Version (line 42) | type Version struct method fetchComponentsAndBuild (line 49) | func (v *Version) fetchComponentsAndBuild(maxComponents int) (Componen... function ParseSemverLikeVersion (line 68) | func ParseSemverLikeVersion(line string, maxComponents int) Version { function parseSemverLike (line 81) | func parseSemverLike(line string) Version { FILE: internal/utility/severity/severity.go type Rating (line 16) | type Rating constant CriticalRating (line 19) | CriticalRating Rating = "CRITICAL" constant HighRating (line 20) | HighRating Rating = "HIGH" constant MediumRating (line 21) | MediumRating Rating = "MEDIUM" constant LowRating (line 22) | LowRating Rating = "LOW" constant UnknownRating (line 23) | UnknownRating Rating = "UNKNOWN" function CalculateScore (line 26) | func CalculateScore(severity *osvschema.Severity) (float64, string, erro... function CalculateOverallScore (line 72) | func CalculateOverallScore(severities []*osvschema.Severity) (float64, s... function CalculateRating (line 90) | func CalculateRating(score string) (Rating, error) { FILE: internal/utility/severity/severity_test.go function TestSeverity_CalculateScore (line 11) | func TestSeverity_CalculateScore(t *testing.T) { FILE: internal/utility/vulns/vulnerabilities.go function Include (line 6) | func Include(vs []*osvschema.Vulnerability, vulnerability *osvschema.Vul... FILE: internal/utility/vulns/vulnerabilities_test.go function TestVulnerabilities_Includes (line 10) | func TestVulnerabilities_Includes(t *testing.T) { FILE: internal/utility/vulns/vulnerability.go function eventVersion (line 16) | func eventVersion(e *osvschema.Event) string { function rangeContainsVersion (line 36) | func rangeContainsVersion(ar *osvschema.Range, pkg *extractor.Package) b... function rangeAffectsVersion (line 86) | func rangeAffectsVersion(a []*osvschema.Range, pkg *extractor.Package) b... function AffectsEcosystem (line 99) | func AffectsEcosystem(v *osvschema.Vulnerability, ecosystemAffected osve... function NormalizeRepo (line 115) | func NormalizeRepo(repo string) string { function hasGitRangeForRepo (line 123) | func hasGitRangeForRepo(affected *osvschema.Affected, repo string) bool { function IsAffected (line 133) | func IsAffected(v *osvschema.Vulnerability, pkg *extractor.Package) bool { type PackageKey (line 175) | type PackageKey struct function NewPackageKey (line 182) | func NewPackageKey(pkg *osvschema.Package) PackageKey { function GetFixedVersions (line 191) | func GetFixedVersions(v *osvschema.Vulnerability) map[PackageKey][]string { FILE: internal/utility/vulns/vulnerability_test.go function expectIsAffected (line 15) | func expectIsAffected(t *testing.T, vuln *osvschema.Vulnerability, versi... function buildOSVWithAffected (line 33) | func buildOSVWithAffected(affected ...*osvschema.Affected) *osvschema.Vu... function buildEcosystemAffectsRange (line 43) | func buildEcosystemAffectsRange(events ...*osvschema.Event) *osvschema.R... function buildSemverAffectsRange (line 47) | func buildSemverAffectsRange(events ...*osvschema.Event) *osvschema.Range { function TestOSV_AffectsEcosystem (line 51) | func TestOSV_AffectsEcosystem(t *testing.T) { function TestOSV_IsAffected_AffectsWithEcosystem_DifferentEcosystem (line 126) | func TestOSV_IsAffected_AffectsWithEcosystem_DifferentEcosystem(t *testi... function TestOSV_IsAffected_AffectsWithEcosystem_SingleAffected (line 143) | func TestOSV_IsAffected_AffectsWithEcosystem_SingleAffected(t *testing.T) { function TestOSV_IsAffected_AffectsWithEcosystem_MultipleAffected (line 282) | func TestOSV_IsAffected_AffectsWithEcosystem_MultipleAffected(t *testing... function TestOSV_IsAffected_AffectsWithEcosystem_Unsorted (line 339) | func TestOSV_IsAffected_AffectsWithEcosystem_Unsorted(t *testing.T) { function TestOSV_IsAffected_AffectsWithSemver_DifferentEcosystem (line 411) | func TestOSV_IsAffected_AffectsWithSemver_DifferentEcosystem(t *testing.... function TestOSV_IsAffected_AffectsWithSemver_SingleAffected (line 428) | func TestOSV_IsAffected_AffectsWithSemver_SingleAffected(t *testing.T) { function TestOSV_IsAffected_AffectsWithSemver_MultipleAffected (line 558) | func TestOSV_IsAffected_AffectsWithSemver_MultipleAffected(t *testing.T) { function TestOSV_IsAffected_AffectsWithSemver_Unsorted (line 615) | func TestOSV_IsAffected_AffectsWithSemver_Unsorted(t *testing.T) { function TestOSV_IsAffected_OnlyVersions (line 691) | func TestOSV_IsAffected_OnlyVersions(t *testing.T) { function TestOSV_EcosystemsWithSuffix (line 710) | func TestOSV_EcosystemsWithSuffix(t *testing.T) { FILE: internal/version/version.go constant OSVVersion (line 5) | OSVVersion = "2.3.4" FILE: pkg/models/cyclonedx.go type CycloneDXVersion (line 4) | type CycloneDXVersion constant CycloneDXVersion14 (line 7) | CycloneDXVersion14 CycloneDXVersion = iota constant CycloneDXVersion15 (line 8) | CycloneDXVersion15 constant CycloneDXVersion16 (line 9) | CycloneDXVersion16 FILE: pkg/models/image.go type ImageOriginDetails (line 5) | type ImageOriginDetails struct type ImageMetadata (line 9) | type ImageMetadata struct type BaseImageDetails (line 15) | type BaseImageDetails struct type LayerMetadata (line 21) | type LayerMetadata struct FILE: pkg/models/results.go type VulnerabilityResults (line 17) | type VulnerabilityResults struct method Flatten (line 42) | func (vulns *VulnerabilityResults) Flatten() []VulnerabilityFlattened { type LicenseCount (line 25) | type LicenseCount struct type ExperimentalAnalysisConfig (line 32) | type ExperimentalAnalysisConfig struct type ExperimentalLicenseConfig (line 36) | type ExperimentalLicenseConfig struct function getGroupInfoForVuln (line 77) | func getGroupInfoForVuln(groups []GroupInfo, vulnID string) GroupInfo { type VulnerabilityFlattened (line 86) | type VulnerabilityFlattened struct method MarshalJSON (line 101) | func (v *VulnerabilityFlattened) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 139) | func (v *VulnerabilityFlattened) UnmarshalJSON(data []byte) error { type SourceType (line 168) | type SourceType constant SourceTypeUnknown (line 171) | SourceTypeUnknown SourceType = "unknown" constant SourceTypeOSPackage (line 172) | SourceTypeOSPackage SourceType = "os" constant SourceTypeProjectPackage (line 173) | SourceTypeProjectPackage SourceType = "lockfile" constant SourceTypeArtifact (line 174) | SourceTypeArtifact SourceType = "artifact" constant SourceTypeSBOM (line 175) | SourceTypeSBOM SourceType = "sbom" constant SourceTypeGit (line 176) | SourceTypeGit SourceType = "git" type SourceInfo (line 179) | type SourceInfo struct method String (line 189) | func (s SourceInfo) String() string { type Metadata (line 184) | type Metadata struct type PackageSource (line 194) | type PackageSource struct type License (line 202) | type License type PackageVulns (line 206) | type PackageVulns struct method MarshalJSON (line 219) | func (p *PackageVulns) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 260) | func (p *PackageVulns) UnmarshalJSON(data []byte) error { type GroupInfo (line 294) | type GroupInfo struct method IsCalled (line 306) | func (groupInfo *GroupInfo) IsCalled() bool { method IsGroupUnimportant (line 320) | func (groupInfo *GroupInfo) IsGroupUnimportant() bool { method IndexString (line 334) | func (groupInfo *GroupInfo) IndexString() string { type AnalysisInfo (line 339) | type AnalysisInfo struct type PackageInfo (line 344) | type PackageInfo struct FILE: pkg/models/results_test.go function TestFlatten (line 12) | func TestFlatten(t *testing.T) { FILE: pkg/osvscanner/exclude.go type excludePatterns (line 20) | type excludePatterns struct function parseExcludePatterns (line 33) | func parseExcludePatterns(patterns []string) (*excludePatterns, error) { function parseExcludeArg (line 97) | func parseExcludeArg(arg string) (string, string) { FILE: pkg/osvscanner/exclude_test.go function Test_parseExcludeArg (line 7) | func Test_parseExcludeArg(t *testing.T) { function Test_parseExcludePatterns (line 47) | func Test_parseExcludePatterns(t *testing.T) { FILE: pkg/osvscanner/filter.go function filterUnscannablePackages (line 20) | func filterUnscannablePackages(scanResults *results.ScanResults, actions... function filterNonContainerRelevantPackages (line 60) | func filterNonContainerRelevantPackages(scanResults *results.ScanResults) { function filterIgnoredPackages (line 80) | func filterIgnoredPackages(scanResults *results.ScanResults) { function filterResults (line 109) | func filterResults(vulnResults *models.VulnerabilityResults, configManag... function filterPackageVulns (line 134) | func filterPackageVulns(pkgVulns models.PackageVulns, configToUse config... FILE: pkg/osvscanner/filter_internal_test.go function Test_filterResults (line 12) | func Test_filterResults(t *testing.T) { FILE: pkg/osvscanner/internal/imagehelpers/imagehelpers.go function BuildImageMetadata (line 18) | func BuildImageMetadata(scanResults *results.ScanResults) *models.ImageM... function ExportDockerImage (line 60) | func ExportDockerImage(ctx context.Context, dockerImageName string) (str... function runCommandLogError (line 100) | func runCommandLogError(ctx context.Context, name string, args ...string... FILE: pkg/osvscanner/internal/scanners/lockfile.go function ParseLockfilePath (line 81) | func ParseLockfilePath(scanArg string) (string, string) { function ParseAsToPlugin (line 96) | func ParseAsToPlugin(parseAs string, pluginsToUse []plugin.Plugin) (file... FILE: pkg/osvscanner/invsort.go function inventorySort (line 14) | func inventorySort(a, b *extractor.Package) int { FILE: pkg/osvscanner/osvscanner.go type ScannerActions (line 40) | type ScannerActions struct type ExperimentalScannerActions (line 69) | type ExperimentalScannerActions struct type TransitiveScanningActions (line 90) | type TransitiveScanningActions struct type ExternalAccessors (line 96) | type ExternalAccessors struct function initializeExternalAccessors (line 116) | func initializeExternalAccessors(actions ScannerActions) (ExternalAccess... function DoScan (line 165) | func DoScan(actions ScannerActions) (models.VulnerabilityResults, error) { function DoContainerScan (line 239) | func DoContainerScan(actions ScannerActions) (models.VulnerabilityResult... function finalizeScanResult (line 384) | func finalizeScanResult(scanResult results.ScanResults, actions ScannerA... function buildLicenseSummary (line 416) | func buildLicenseSummary(scanResult *results.ScanResults) []models.Licen... function determineReturnErr (line 460) | func determineReturnErr(vulnResults models.VulnerabilityResults, showAll... function makeVulnRequestWithMatcher (line 502) | func makeVulnRequestWithMatcher( function overrideGoVersion (line 527) | func overrideGoVersion(scanResults *results.ScanResults) { function SetLogger (line 541) | func SetLogger(handler slog.Handler) { function inventoryIsEmpty (line 549) | func inventoryIsEmpty(i inventory.Inventory) bool { FILE: pkg/osvscanner/osvscanner_test.go function TestDoScan_LogHandlerOverride (line 17) | func TestDoScan_LogHandlerOverride(t *testing.T) { function TestDoScan (line 59) | func TestDoScan(t *testing.T) { FILE: pkg/osvscanner/scan.go function logUnsafePlugins (line 35) | func logUnsafePlugins(plugins []plugin.Plugin) { function configurePlugins (line 43) | func configurePlugins(plugins []plugin.Plugin, accessors ExternalAccesso... function getPlugins (line 53) | func getPlugins(defaultPlugins []string, accessors ExternalAccessors, ac... function countNotEnrichers (line 107) | func countNotEnrichers(plugins []plugin.Plugin) int { function scan (line 120) | func scan(accessors ExternalAccessors, actions ScannerActions) (*invento... function pathToRootMap (line 332) | func pathToRootMap(rootMap map[string][]string, path string, recursive b... function isDescendent (line 364) | func isDescendent(potentialParent, path string, recursive bool) bool { function getRootDir (line 397) | func getRootDir(path string) string { function determineOS (line 409) | func determineOS() plugin.OS { FILE: pkg/osvscanner/scan_test.go function Test_isDescendent (line 8) | func Test_isDescendent(t *testing.T) { FILE: pkg/osvscanner/stats.go type fileOpenedPrinter (line 11) | type fileOpenedPrinter struct method AfterExtractorRun (line 19) | func (c *fileOpenedPrinter) AfterExtractorRun(_ string, extractorstats... FILE: pkg/osvscanner/testmain_test.go function TestMain (line 9) | func TestMain(m *testing.M) { FILE: pkg/osvscanner/vulnerability_result.go function buildVulnerabilityResults (line 29) | func buildVulnerabilityResults( function setUncalled (line 201) | func setUncalled(pv *models.PackageVulns) { function setUnimportant (line 229) | func setUnimportant(pkg *models.PackageVulns) { function isUnimportant (line 257) | func isUnimportant(vuln *osvschema.Vulnerability) bool { FILE: pkg/osvscanner/vulnerability_result_internal_test.go function makeScanResults (line 19) | func makeScanResults() *results.ScanResults { function Test_assembleResult (line 81) | func Test_assembleResult(t *testing.T) { FILE: scripts/examples/auto_guided_remediation.py function run_fix (line 42) | def run_fix(n_patches: int, avoid_pkgs: List[str], strategy: List[str]) ... function run_loop (line 75) | def run_loop(strategy: List[str]) -> Tuple[List[str], int, int, List[str]]: FILE: scripts/generate_mock_resolution_universe/main.go constant userAgent (line 60) | userAgent = "osv-scanner_generate_mock/" + version.OSVVersion function vulnMatcher (line 62) | func vulnMatcher() clientinterfaces.VulnerabilityMatcher { function doRelockRelax (line 76) | func doRelockRelax(ddCl *client.DepsDevClient, rw manifest.ReadWriter, f... function doOverride (line 103) | func doOverride(ddCl *client.DepsDevClient, rw manifest.ReadWriter, file... function doInPlace (line 130) | func doInPlace(ddCl *client.DepsDevClient, rw lockfile.ReadWriter, filen... function getCachedVersions (line 164) | func getCachedVersions(cl *client.DepsDevClient) (map[resolve.PackageKey... type depsdevAPICache (line 196) | type depsdevAPICache struct method GobDecode (line 204) | func (t *depsdevAPICache) GobDecode(b []byte) error { function makeUniverse (line 211) | func makeUniverse(cl *client.DepsDevClient) (clienttest.ResolutionUniver... function typeString (line 314) | func typeString(t dep.Type) string { function run (line 333) | func run() error { function main (line 432) | func main() { FILE: scripts/generators/GenerateMavenVersions.java class GenerateMavenVersions (line 34) | public class GenerateMavenVersions { method isUnsupportedComparison (line 59) | public static boolean isUnsupportedComparison(String line) { method uncomment (line 63) | public static String uncomment(String line) { method downloadMavenDb (line 75) | public static String downloadMavenDb() throws IOException { method fetchPackageVersions (line 88) | public static Map> fetchPackageVersions() throws ... method loadOSVs (line 129) | public static List loadOSVs(String pathToDbZip) throws IOE... method writeToFile (line 153) | public static void writeToFile(String outfile, List lines) thr... method compareVers (line 159) | public static boolean compareVers(String version1, String op, String v... method compareVersions (line 180) | public static boolean compareVersions(List lines, String selec... method compareVersionsInFile (line 224) | public static boolean compareVersionsInFile(String filepath, String se... method generateVersionCompares (line 239) | public static List generateVersionCompares(List versio... method generatePackageCompares (line 255) | public static List generatePackageCompares(Map