SYMBOL INDEX (6319 symbols across 1157 files) FILE: .github/scripts/coverage.py class bcolors (line 7) | class bcolors: FILE: .github/scripts/find_cache_paths.py function find_fingerprints_and_check_dirs (line 14) | def find_fingerprints_and_check_dirs(base_dir): function parse_fingerprint_contents (line 51) | def parse_fingerprint_contents(fingerprint_content): function calculate_sha256 (line 59) | def calculate_sha256(fingerprint_contents): function calculate_file_sha256 (line 69) | def calculate_file_sha256(file_path): function show (line 77) | def show(*s: str): function main (line 81) | def main(file_path: str | None): FILE: .github/scripts/fingerprint_docker_fixtures.py function print_message (line 12) | def print_message(message): function sha256sum (line 16) | def sha256sum(filepath): function is_git_tracked_or_untracked (line 24) | def is_git_tracked_or_untracked(directory): function find_test_fixture_dirs_with_images (line 35) | def find_test_fixture_dirs_with_images(base_dir): function generate_fingerprints (line 44) | def generate_fingerprints(): function find_image_dirs (line 59) | def find_image_dirs(test_fixture_dir): FILE: .github/scripts/labeler.py function main (line 20) | def main(changed_files: str | None = None, merge_base_schema_files: str ... function add_comment (line 104) | def add_comment(comment_file_path: str, comment: str, warning: bool = Fa... function add_label (line 124) | def add_label(pr_number: str, label: str): function remove_label (line 133) | def remove_label(pr_number: str, label: str): function major_version (line 142) | def major_version(semver: str) -> int: function is_breaking_change (line 146) | def is_breaking_change(new_schema_files: set[str], latest_schema_file: s... function summarize_schema_files (line 155) | def summarize_schema_files(files: list[str]) -> list[str]: function is_ci (line 159) | def is_ci() -> bool: function get_pr_changed_files (line 163) | def get_pr_changed_files(pr_number: str) -> list[str]: function get_pr_labels (line 174) | def get_pr_labels(pr_number: str) -> list[str]: function filter_to_schema_files (line 185) | def filter_to_schema_files(list_of_files: list[str]) -> list[str]: function list_json_schema_files (line 194) | def list_json_schema_files() -> list[str]: function run (line 200) | def run(command: str, **kwargs) -> subprocess.CompletedProcess: function get_semver (line 208) | def get_semver(input_file: str) -> str: function sort_json_schema_files (line 212) | def sort_json_schema_files(files: list[str]) -> list[str]: FILE: .github/scripts/labeler_test.py class Labeler (line 9) | class Labeler(unittest.TestCase): method test_major_version (line 11) | def test_major_version(self): method test_is_breaking_change (line 15) | def test_is_breaking_change(self): method test_summarize_schema_files (line 24) | def test_summarize_schema_files(self): method test_is_ci (line 29) | def test_is_ci(self): method test_get_pr_changed_files (line 34) | def test_get_pr_changed_files(self): method test_filter_to_schema_files (line 45) | def test_filter_to_schema_files(self): method test_get_semver (line 55) | def test_get_semver(self): method test_sort_json_schema_files (line 60) | def test_sort_json_schema_files(self): FILE: cmd/syft/cli/cli.go function Application (line 20) | func Application(id clio.Identification) clio.Application { function Command (line 27) | func Command(id clio.Identification) *cobra.Command { function create (line 32) | func create(id clio.Identification, out io.Writer) (clio.Application, *c... function schemaVersion (line 64) | func schemaVersion() (string, any) { FILE: cmd/syft/cli/ui/handle_attestation.go type attestLogFrame (line 27) | type attestLogFrame struct method Init (line 176) | func (l attestLogFrame) Init() tea.Cmd { method Update (line 193) | func (l attestLogFrame) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 214) | func (l attestLogFrame) View() string { method queueNextTick (line 228) | func (l attestLogFrame) queueNextTick() tea.Cmd { method handleTick (line 238) | func (l *attestLogFrame) handleTick(msg attestLogFrameTickMsg) tea.Cmd { type attestLogFrameTickMsg (line 43) | type attestLogFrameTickMsg struct type backgroundLineReader (line 49) | type backgroundLineReader struct method read (line 134) | func (l *backgroundLineReader) read(reader io.Reader, stage *progress.... method Lines (line 163) | func (l backgroundLineReader) Lines() []string { method handleAttestationStarted (line 61) | func (m *Handler) handleAttestationStarted(e partybus.Event) []tea.Model { function newLogFrame (line 101) | func newLogFrame(reader *backgroundLineReader, prog progress.Progressabl... function newBackgroundLineReader (line 111) | func newBackgroundLineReader(wg *sync.WaitGroup, reader io.Reader, stage... FILE: cmd/syft/cli/ui/handle_attestation_test.go function TestHandler_handleAttestationStarted (line 19) | func TestHandler_handleAttestationStarted(t *testing.T) { FILE: cmd/syft/cli/ui/handle_cataloger_task.go type taskModelFactory (line 18) | type taskModelFactory type catalogerTaskModel (line 22) | type catalogerTaskModel struct method Init (line 42) | func (cts catalogerTaskModel) Init() tea.Cmd { method Update (line 46) | func (cts catalogerTaskModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 85) | func (cts catalogerTaskModel) View() string { function newCatalogerTaskTreeModel (line 27) | func newCatalogerTaskTreeModel(f taskModelFactory) *catalogerTaskModel { type newCatalogerTaskRowEvent (line 37) | type newCatalogerTaskRowEvent struct method handleCatalogerTaskStarted (line 89) | func (m *Handler) handleCatalogerTaskStarted(e partybus.Event) ([]tea.Mo... FILE: cmd/syft/cli/ui/handle_cataloger_task_test.go function TestHandler_handleCatalogerTaskStarted (line 16) | func TestHandler_handleCatalogerTaskStarted(t *testing.T) { FILE: cmd/syft/cli/ui/handle_fetch_image.go method handleFetchImage (line 12) | func (m *Handler) handleFetchImage(e partybus.Event) []tea.Model { FILE: cmd/syft/cli/ui/handle_fetch_image_test.go function TestHandler_handleFetchImage (line 17) | func TestHandler_handleFetchImage(t *testing.T) { FILE: cmd/syft/cli/ui/handle_file_indexing.go method handleFileIndexingStarted (line 12) | func (m *Handler) handleFileIndexingStarted(e partybus.Event) []tea.Model { FILE: cmd/syft/cli/ui/handle_file_indexing_test.go function TestHandler_handleFileIndexingStarted (line 17) | func TestHandler_handleFileIndexingStarted(t *testing.T) { FILE: cmd/syft/cli/ui/handle_pull_containerd_image.go type containerdPullStatus (line 24) | type containerdPullStatus interface type containerdPullProgressAdapter (line 30) | type containerdPullProgressAdapter struct method Size (line 88) | func (d containerdPullProgressAdapter) Size() int64 { method Current (line 92) | func (d containerdPullProgressAdapter) Current() int64 { method Error (line 96) | func (d containerdPullProgressAdapter) Error() error { method Stage (line 104) | func (d containerdPullProgressAdapter) Stage() string { type containerdPullStatusFormatter (line 35) | type containerdPullStatusFormatter struct method Render (line 109) | func (f containerdPullStatusFormatter) Render(pullStatus containerdPul... method formatPullPhase (line 174) | func (f containerdPullStatusFormatter) formatPullPhase(completed bool,... method layerCap (line 181) | func (f containerdPullStatusFormatter) layerCap(end bool) string { method handlePullContainerdImage (line 43) | func (m *Handler) handlePullContainerdImage(e partybus.Event) []tea.Model { function newContainerdPullProgressAdapter (line 71) | func newContainerdPullProgressAdapter(status *containerd.PullStatus) *co... function newContainerdPullStatusFormatter (line 78) | func newContainerdPullStatusFormatter() containerdPullStatusFormatter { FILE: cmd/syft/cli/ui/handle_pull_docker_image.go type dockerPullStatus (line 24) | type dockerPullStatus interface type dockerPullProgressAdapter (line 30) | type dockerPullProgressAdapter struct method Size (line 86) | func (d dockerPullProgressAdapter) Size() int64 { method Current (line 90) | func (d dockerPullProgressAdapter) Current() int64 { method Error (line 94) | func (d dockerPullProgressAdapter) Error() error { method Stage (line 102) | func (d dockerPullProgressAdapter) Stage() string { type dockerPullStatusFormatter (line 35) | type dockerPullStatusFormatter struct method Render (line 107) | func (f dockerPullStatusFormatter) Render(pullStatus dockerPullStatus)... method formatDockerPullPhase (line 172) | func (f dockerPullStatusFormatter) formatDockerPullPhase(phase docker.... method layerCap (line 192) | func (f dockerPullStatusFormatter) layerCap(end bool) string { method handlePullDockerImage (line 44) | func (m *Handler) handlePullDockerImage(e partybus.Event) []tea.Model { function newDockerPullProgressAdapter (line 68) | func newDockerPullProgressAdapter(status dockerPullStatus) *dockerPullPr... function newDockerPullStatusFormatter (line 75) | func newDockerPullStatusFormatter() dockerPullStatusFormatter { FILE: cmd/syft/cli/ui/handle_pull_docker_image_test.go type mockDockerPullStatus (line 14) | type mockDockerPullStatus struct method Complete (line 20) | func (m mockDockerPullStatus) Complete() bool { method Layers (line 24) | func (m mockDockerPullStatus) Layers() []docker.LayerID { method Current (line 28) | func (m mockDockerPullStatus) Current(id docker.LayerID) docker.LayerS... function Test_dockerPullStatusFormatter_Render (line 32) | func Test_dockerPullStatusFormatter_Render(t *testing.T) { FILE: cmd/syft/cli/ui/handle_pull_source.go method handlePullSourceStarted (line 12) | func (m *Handler) handlePullSourceStarted(e partybus.Event) []tea.Model { FILE: cmd/syft/cli/ui/handle_pull_source_test.go function TestHandler_handlePullSourceStarted (line 18) | func TestHandler_handlePullSourceStarted(t *testing.T) { FILE: cmd/syft/cli/ui/handle_read_image.go method handleReadImage (line 12) | func (m *Handler) handleReadImage(e partybus.Event) []tea.Model { FILE: cmd/syft/cli/ui/handle_read_image_test.go function TestHandler_handleReadImage (line 19) | func TestHandler_handleReadImage(t *testing.T) { FILE: cmd/syft/cli/ui/handler.go type HandlerConfig (line 21) | type HandlerConfig struct type Handler (line 26) | type Handler struct method OnMessage (line 73) | func (m *Handler) OnMessage(msg tea.Msg) { method Wait (line 79) | func (m *Handler) Wait() { function DefaultHandlerConfig (line 36) | func DefaultHandlerConfig() HandlerConfig { function New (line 42) | func New(cfg HandlerConfig) *Handler { function simpleHandler (line 67) | func simpleHandler(fn func(partybus.Event) []tea.Model) bubbly.EventHand... FILE: cmd/syft/cli/ui/new_task_progress.go method newTaskProgress (line 5) | func (m Handler) newTaskProgress(title taskprogress.Title, opts ...taskp... FILE: cmd/syft/cli/ui/util_test.go function runModel (line 11) | func runModel(t testing.TB, m tea.Model, iterations int, message tea.Msg... function flatten (line 42) | func flatten(ps ...tea.Msg) (msgs []tea.Msg) { FILE: cmd/syft/internal/clio_setup_config.go function AppClioSetupConfig (line 16) | func AppClioSetupConfig(id clio.Identification, out io.Writer) *clio.Set... FILE: cmd/syft/internal/commands/attest.go constant attestExample (line 33) | attestExample = ` {{.appName}} {{.command}} --output [FORMAT] alpine:la... constant attestSchemeHelp (line 35) | attestSchemeHelp = "\n " + schemeHelpHeader + "\n" + imageSchemeHelp constant attestHelp (line 36) | attestHelp = attestExample + attestSchemeHelp constant cosignBinName (line 37) | cosignBinName = "cosign" constant jsonFormat (line 38) | jsonFormat = "json" type attestOptions (line 41) | type attestOptions struct function Attest (line 50) | func Attest(app clio.Application) *cobra.Command { function defaultAttestOptions (line 77) | func defaultAttestOptions() attestOptions { function defaultAttestOutputOptions (line 86) | func defaultAttestOutputOptions() options.Output { function runAttest (line 102) | func runAttest(ctx context.Context, id clio.Identification, opts *attest... function writeSBOMToFormattedFile (line 133) | func writeSBOMToFormattedFile(s *sbom.SBOM, sbomFile io.Writer, opts *at... function createAttestation (line 156) | func createAttestation(sbomFilepath string, opts *attestOptions, userInp... function attestCommand (line 205) | func attestCommand(sbomFilepath string, opts *attestOptions, userInput s... function predicateType (line 234) | func predicateType(outputName string) string { function generateSBOMForAttestation (line 249) | func generateSBOMForAttestation(ctx context.Context, id clio.Identificat... function commandExists (line 279) | func commandExists(cmd string) bool { FILE: cmd/syft/internal/commands/attest_test.go function Test_writeSBOMToFormattedFile (line 27) | func Test_writeSBOMToFormattedFile(t *testing.T) { function Test_attestCommand (line 101) | func Test_attestCommand(t *testing.T) { function Test_predicateType (line 199) | func Test_predicateType(t *testing.T) { function Test_buildSBOMForAttestation (line 236) | func Test_buildSBOMForAttestation(t *testing.T) { function Test_attestCLIWiring (line 276) | func Test_attestCLIWiring(t *testing.T) { function hasAttestOpts (line 322) | func hasAttestOpts(wantOpts options.Attest) cliotestutils.AssertionFunc { FILE: cmd/syft/internal/commands/cataloger.go function Cataloger (line 11) | func Cataloger(app clio.Application) *cobra.Command { function isCapabilitiesExperimentEnabled (line 29) | func isCapabilitiesExperimentEnabled() bool { FILE: cmd/syft/internal/commands/cataloger_info.go type configFieldInfo (line 36) | type configFieldInfo struct type configInfo (line 42) | type configInfo struct type detectorPackageInfo (line 47) | type detectorPackageInfo struct type patternInfo (line 55) | type patternInfo struct type catalogerInfo (line 66) | type catalogerInfo struct type catalogerInfoOptions (line 78) | type catalogerInfoOptions struct method setNames (line 84) | func (o *catalogerInfoOptions) setNames(args []string) error { method AddFlags (line 127) | func (o *catalogerInfoOptions) AddFlags(flags clio.FlagSet) { function defaultCatalogerCapsOptions (line 131) | func defaultCatalogerCapsOptions() *catalogerInfoOptions { function CatalogerCaps (line 140) | func CatalogerCaps(app clio.Application) *cobra.Command { function runCatalogerInfo (line 158) | func runCatalogerInfo(opts *catalogerInfoOptions) error { function filterCatalogersByName (line 181) | func filterCatalogersByName(catalogers []capabilities.CatalogerEntry, na... function catalogerInfoReport (line 196) | func catalogerInfoReport(opts *catalogerInfoOptions, doc *capabilities.D... function renderCatalogerInfoJSON (line 207) | func renderCatalogerInfoJSON(doc *capabilities.Document, catalogers []ca... function isDeprecatedCataloger (line 250) | func isDeprecatedCataloger(selectors []string) bool { function convertDetectorPackages (line 260) | func convertDetectorPackages(pkgs []capabilities.DetectorPackageInfo) []... function convertParsersToPatterns (line 275) | func convertParsersToPatterns(parsers []capabilities.Parser) []patternIn... function convertDetectorsToPatterns (line 293) | func convertDetectorsToPatterns(detectors []capabilities.Detector, packa... function getConfigInfoFromDocument (line 310) | func getConfigInfoFromDocument(doc *capabilities.Document, configType st... function renderCatalogerInfoTable (line 331) | func renderCatalogerInfoTable(_ *capabilities.Document, catalogers []cap... function buildTableRowFromCapabilities (line 392) | func buildTableRowFromCapabilities(ecosystem, name, criteria string, cap... function extractBoolCapability (line 417) | func extractBoolCapability(caps capabilities.CapabilitySet, name string)... function extractStringCapability (line 433) | func extractStringCapability(caps capabilities.CapabilitySet, name strin... function extractArrayCapability (line 446) | func extractArrayCapability(caps capabilities.CapabilitySet, name string... function extractNodesCapability (line 472) | func extractNodesCapability(caps capabilities.CapabilitySet) string { function formatDepthStringArray (line 488) | func formatDepthStringArray(v []string) string { function formatDepthInterfaceArray (line 499) | func formatDepthInterfaceArray(v []interface{}) string { function hasBothDirectAndIndirect (line 514) | func hasBothDirectAndIndirect(items []string) bool { function formatCriteria (line 528) | func formatCriteria(detectors []capabilities.Detector) string { FILE: cmd/syft/internal/commands/cataloger_info_test.go function Test_isDeprecatedCataloger (line 14) | func Test_isDeprecatedCataloger(t *testing.T) { function Test_hasBothDirectAndIndirect (line 50) | func Test_hasBothDirectAndIndirect(t *testing.T) { function Test_filterCatalogersByName (line 96) | func Test_filterCatalogersByName(t *testing.T) { function Test_formatCriteria (line 159) | func Test_formatCriteria(t *testing.T) { function testDocument (line 234) | func testDocument() *capabilities.Document { function Test_catalogerInfoReport (line 246) | func Test_catalogerInfoReport(t *testing.T) { function Test_formatCriteria_wordWrapping (line 353) | func Test_formatCriteria_wordWrapping(t *testing.T) { FILE: cmd/syft/internal/commands/cataloger_list.go type catalogerListOptions (line 31) | type catalogerListOptions struct method AddFlags (line 37) | func (o *catalogerListOptions) AddFlags(flags clio.FlagSet) { function defaultCatalogerListOptions (line 43) | func defaultCatalogerListOptions() *catalogerListOptions { function CatalogerList (line 52) | func CatalogerList(app clio.Application) *cobra.Command { function runCatalogerList (line 65) | func runCatalogerList(opts *catalogerListOptions) error { function catalogerListReport (line 88) | func catalogerListReport(opts *catalogerListOptions, allTaskGroups [][]t... function flattenTaskGroups (line 120) | func flattenTaskGroups(taskGroups [][]task.Task) []task.Task { function renderCatalogerListJSON (line 128) | func renderCatalogerListJSON(tasks []task.Task, selection task.Selection... function renderCatalogerListTables (line 188) | func renderCatalogerListTables(taskGroups [][]task.Task, selection task.... function renderCatalogerListTable (line 230) | func renderCatalogerListTable(tasks []task.Task, selection task.Selectio... function formatRow (line 256) | func formatRow(name string, tags []string, selection task.Selection) tab... function formatToken (line 284) | func formatToken(token string, selection *task.TokenSelection, included ... function extractTaskInfo (line 307) | func extractTaskInfo(tasks []task.Task) ([]string, map[string][]string) { FILE: cmd/syft/internal/commands/cataloger_list_test.go type dummyTask (line 22) | type dummyTask struct method HasAllSelectors (line 27) | func (d dummyTask) HasAllSelectors(s ...string) bool { method Selectors (line 31) | func (d dummyTask) Selectors() []string { method Name (line 35) | func (d dummyTask) Name() string { method Execute (line 39) | func (d dummyTask) Execute(_ context.Context, _ file.Resolver, _ sboms... function testTasks (line 43) | func testTasks() [][]task.Task { function Test_catalogerListReport (line 76) | func Test_catalogerListReport(t *testing.T) { FILE: cmd/syft/internal/commands/commands_test.go function TestMain (line 11) | func TestMain(m *testing.M) { FILE: cmd/syft/internal/commands/convert.go constant convertExample (line 19) | convertExample = ` {{.appName}} {{.command}} img.syft.json -o spdx-json... type ConvertOptions (line 25) | type ConvertOptions struct function Convert (line 31) | func Convert(app clio.Application) *cobra.Command { function validateConvertArgs (line 58) | func validateConvertArgs(cmd *cobra.Command, args []string) error { function RunConvert (line 62) | func RunConvert(opts *ConvertOptions, userInput string) error { FILE: cmd/syft/internal/commands/packages.go function Packages (line 11) | func Packages(app clio.Application, scanCmd *cobra.Command) *cobra.Comma... FILE: cmd/syft/internal/commands/packages_test.go function Test_filterExpressionErrors_expressionErrorsHelp (line 14) | func Test_filterExpressionErrors_expressionErrorsHelp(t *testing.T) { function Test_expressionSuggestions (line 216) | func Test_expressionSuggestions(t *testing.T) { FILE: cmd/syft/internal/commands/root.go function Root (line 12) | func Root(app clio.Application, packagesCmd *cobra.Command) *cobra.Comma... FILE: cmd/syft/internal/commands/scan.go constant scanExample (line 34) | scanExample = ` {{.appName}} {{.command}} alpine:latest ... constant schemeHelpHeader (line 50) | schemeHelpHeader = "You can also explicitly specify the scheme to use:" constant imageSchemeHelp (line 51) | imageSchemeHelp = ` {{.appName}} {{.command}} docker:yourrepo/yourim... constant nonImageSchemeHelp (line 59) | nonImageSchemeHelp = ` {{.appName}} {{.command}} dir:path/to/yourproj... constant modelSchemeHelp (line 62) | modelSchemeHelp = ` {{.appName}} {{.command}} oci-model-registry:ai/l... constant scanSchemeHelp (line 64) | scanSchemeHelp = "\n " + schemeHelpHeader + "\n" + imageSchemeHelp + mo... constant scanHelp (line 66) | scanHelp = scanExample + scanSchemeHelp type scanOptions (line 69) | type scanOptions struct method PostLoad (line 110) | func (o *scanOptions) PostLoad() error { method validateLegacyOptionsNotUsed (line 114) | func (o *scanOptions) validateLegacyOptionsNotUsed() error { function defaultScanOptions (line 77) | func defaultScanOptions() *scanOptions { function Scan (line 86) | func Scan(app clio.Application) *cobra.Command { function validateScanArgs (line 157) | func validateScanArgs(cmd *cobra.Command, args []string) error { function validateArgs (line 161) | func validateArgs(cmd *cobra.Command, args []string, err string) error { function runScan (line 173) | func runScan(ctx context.Context, id clio.Identification, opts *scanOpti... function getSource (line 218) | func getSource(ctx context.Context, opts *options.Catalog, userInput str... function generateSBOM (line 260) | func generateSBOM(ctx context.Context, id clio.Identification, src sourc... function filterExpressionErrors (line 270) | func filterExpressionErrors(err error) []task.ErrInvalidExpression { function processErrors (line 281) | func processErrors(err error) []task.ErrInvalidExpression { function notifyExpressionErrors (line 305) | func notifyExpressionErrors(expErrs []task.ErrInvalidExpression) { function expressionErrorsHelp (line 314) | func expressionErrorsHelp(expErrs []task.ErrInvalidExpression) string { constant expressionHelpTemplate (line 344) | expressionHelpTemplate = " ❖ Given expression %q\n%s%s" function expressionSuggetions (line 346) | func expressionSuggetions(expErr task.ErrInvalidExpression) string { function indentMsg (line 363) | func indentMsg(msg string) string { function getExpression (line 376) | func getExpression(expErr task.ErrInvalidExpression) string { function getExplanation (line 384) | func getExplanation(expErr task.ErrInvalidExpression) string { function getHintPhrase (line 422) | func getHintPhrase(expErr task.ErrInvalidExpression) string { function trimOperation (line 446) | func trimOperation(x string) string { function allSourceProviderTags (line 450) | func allSourceProviderTags() []string { FILE: cmd/syft/internal/commands/scan_test.go function Test_scanOptions_validateLegacyOptionsNotUsed (line 11) | func Test_scanOptions_validateLegacyOptionsNotUsed(t *testing.T) { function assertErrorContains (line 62) | func assertErrorContains(contains string) assert.ErrorAssertionFunc { FILE: cmd/syft/internal/commands/update.go function applicationUpdateCheck (line 30) | func applicationUpdateCheck(id clio.Identification, check *options.Updat... function checkForApplicationUpdate (line 39) | func checkForApplicationUpdate(id clio.Identification) { function isUpdateAvailable (line 62) | func isUpdateAvailable(id clio.Identification) (bool, string, error) { function isProductionBuild (line 85) | func isProductionBuild(version string) bool { function fetchLatestApplicationVersion (line 92) | func fetchLatestApplicationVersion(id clio.Identification) (*hashiVersio... FILE: cmd/syft/internal/commands/update_test.go function TestIsUpdateAvailable (line 13) | func TestIsUpdateAvailable(t *testing.T) { function TestFetchLatestApplicationVersion (line 140) | func TestFetchLatestApplicationVersion(t *testing.T) { FILE: cmd/syft/internal/commands/utils.go function disableUI (line 12) | func disableUI(app clio.Application, out io.Writer) func(*cobra.Command,... FILE: cmd/syft/internal/constants.go constant NotProvided (line 4) | NotProvided = "[not provided]" FILE: cmd/syft/internal/options/attest.go type Attest (line 9) | type Attest struct method AddFlags (line 20) | func (o *Attest) AddFlags(flags clio.FlagSet) { method DescribeFields (line 24) | func (o *Attest) DescribeFields(descriptions clio.FieldDescriptionSet) { FILE: cmd/syft/internal/options/cache.go type Cache (line 21) | type Cache struct method DescribeFields (line 26) | func (c *Cache) DescribeFields(descriptions clio.FieldDescriptionSet) { method PostLoad (line 31) | func (c *Cache) PostLoad() error { function DefaultCache (line 68) | func DefaultCache() Cache { function defaultTTL (line 75) | func defaultTTL() time.Duration { function defaultDir (line 79) | func defaultDir() string { function durationToString (line 95) | func durationToString(duration time.Duration) string { function parseDuration (line 111) | func parseDuration(duration string) (time.Duration, error) { FILE: cmd/syft/internal/options/cache_test.go function Test_defaultDir (line 19) | func Test_defaultDir(t *testing.T) { function Test_cacheOptions (line 76) | func Test_cacheOptions(t *testing.T) { function Test_parseDuration (line 183) | func Test_parseDuration(t *testing.T) { function Test_durationToString (line 257) | func Test_durationToString(t *testing.T) { function restoreCache (line 294) | func restoreCache(t testing.TB) { function patchEnv (line 305) | func patchEnv(t testing.TB, key, value string) { FILE: cmd/syft/internal/options/catalog.go type Catalog (line 32) | type Catalog struct method ToSBOMConfig (line 93) | func (cfg Catalog) ToSBOMConfig(id clio.Identification) *syft.CreateSB... method ToSearchConfig (line 111) | func (cfg Catalog) ToSearchConfig() cataloging.SearchConfig { method ToRelationshipsConfig (line 117) | func (cfg Catalog) ToRelationshipsConfig() cataloging.RelationshipsCon... method ToComplianceConfig (line 126) | func (cfg Catalog) ToComplianceConfig() cataloging.ComplianceConfig { method ToUnknownsConfig (line 133) | func (cfg Catalog) ToUnknownsConfig() cataloging.UnknownsConfig { method ToFilesConfig (line 140) | func (cfg Catalog) ToFilesConfig() filecataloging.Config { method ToLicenseConfig (line 160) | func (cfg Catalog) ToLicenseConfig() cataloging.LicenseConfig { method ToPackagesConfig (line 167) | func (cfg Catalog) ToPackagesConfig() pkgcataloging.Config { method AddFlags (line 217) | func (cfg *Catalog) AddFlags(flags clio.FlagSet) { method DescribeFields (line 253) | func (cfg *Catalog) DescribeFields(descriptions fangs.FieldDescription... method PostLoad (line 262) | func (cfg *Catalog) PostLoad() error { function DefaultCatalog (line 71) | func DefaultCatalog() Catalog { function Flatten (line 279) | func Flatten(commaSeparatedEntries []string) []string { function FlattenAndSort (line 289) | func FlattenAndSort(commaSeparatedEntries []string) []string { function enrichmentEnabled (line 303) | func enrichmentEnabled(enrichDirectives []string, features ...string) *b... function ptr (line 346) | func ptr[T any](val T) *T { FILE: cmd/syft/internal/options/catalog_test.go function TestCatalog_PostLoad (line 10) | func TestCatalog_PostLoad(t *testing.T) { function TestFlatten (line 39) | func TestFlatten(t *testing.T) { function TestFlattenAndSort (line 85) | func TestFlattenAndSort(t *testing.T) { function Test_enrichmentEnabled (line 131) | func Test_enrichmentEnabled(t *testing.T) { FILE: cmd/syft/internal/options/cataloger_selection.go type CatalogerSelection (line 10) | type CatalogerSelection struct method AddFlags (line 22) | func (cfg *CatalogerSelection) AddFlags(flags clio.FlagSet) { method PostLoad (line 41) | func (cfg *CatalogerSelection) PostLoad() error { FILE: cmd/syft/internal/options/cataloger_selection_test.go function TestCatalogerSelection_PostLoad (line 10) | func TestCatalogerSelection_PostLoad(t *testing.T) { FILE: cmd/syft/internal/options/compliance.go type complianceConfig (line 13) | type complianceConfig struct method DescribeFields (line 26) | func (r *complianceConfig) DescribeFields(descriptions fangs.FieldDesc... method PostLoad (line 31) | func (r *complianceConfig) PostLoad() error { function defaultComplianceConfig (line 18) | func defaultComplianceConfig() complianceConfig { FILE: cmd/syft/internal/options/config.go type Config (line 6) | type Config struct method DescribeFields (line 10) | func (cfg *Config) DescribeFields(descriptions fangs.FieldDescriptionS... FILE: cmd/syft/internal/options/dotnet.go type dotnetConfig (line 8) | type dotnetConfig struct method DescribeFields (line 24) | func (o *dotnetConfig) DescribeFields(descriptions clio.FieldDescripti... function defaultDotnetConfig (line 32) | func defaultDotnetConfig() dotnetConfig { FILE: cmd/syft/internal/options/file.go type fileConfig (line 14) | type fileConfig struct method PostLoad (line 54) | func (c *fileConfig) PostLoad() error { method DescribeFields (line 66) | func (c *fileConfig) DescribeFields(descriptions clio.FieldDescription... type fileMetadata (line 20) | type fileMetadata struct type fileContent (line 25) | type fileContent struct type fileExecutable (line 30) | type fileExecutable struct function defaultFileConfig (line 34) | func defaultFileConfig() fileConfig { FILE: cmd/syft/internal/options/file_test.go function Test_fileConfig_PostLoad (line 11) | func Test_fileConfig_PostLoad(t *testing.T) { FILE: cmd/syft/internal/options/format.go type Format (line 16) | type Format struct method PostLoad (line 25) | func (o *Format) PostLoad() error { method DescribeFields (line 34) | func (o *Format) DescribeFields(descriptions clio.FieldDescriptionSet) { method Encoders (line 71) | func (o Format) Encoders() ([]sbom.FormatEncoder, error) { function DefaultFormat (line 61) | func DefaultFormat() Format { function multiLevelOption (line 82) | func multiLevelOption[T any](defaultValue T, option ...*T) *T { FILE: cmd/syft/internal/options/format_cyclonedx_json.go type FormatCyclonedxJSON (line 7) | type FormatCyclonedxJSON struct method config (line 15) | func (o FormatCyclonedxJSON) config(version string) cyclonedxjson.Enco... function DefaultFormatCyclonedxJSON (line 11) | func DefaultFormatCyclonedxJSON() FormatCyclonedxJSON { FILE: cmd/syft/internal/options/format_cyclonedx_json_test.go function TestFormatCyclonedxJSON_buildConfig (line 10) | func TestFormatCyclonedxJSON_buildConfig(t *testing.T) { function setAllToNonZero (line 20) | func setAllToNonZero(t testing.TB, structPtr any) any { function getNonZeroExampleValue (line 35) | func getNonZeroExampleValue(t testing.TB, v any, name string) any { function assertExpectedValue (line 49) | func assertExpectedValue(t *testing.T, structTy any) { FILE: cmd/syft/internal/options/format_cyclonedx_xml.go type FormatCyclonedxXML (line 7) | type FormatCyclonedxXML struct method config (line 15) | func (o FormatCyclonedxXML) config(version string) cyclonedxxml.Encode... function DefaultFormatCyclonedxXML (line 11) | func DefaultFormatCyclonedxXML() FormatCyclonedxXML { FILE: cmd/syft/internal/options/format_cyclonedx_xml_test.go function TestFormatCyclonedxXML_buildConfig (line 7) | func TestFormatCyclonedxXML_buildConfig(t *testing.T) { FILE: cmd/syft/internal/options/format_spdx_json.go type FormatSPDXJSON (line 7) | type FormatSPDXJSON struct method config (line 15) | func (o FormatSPDXJSON) config(v string) spdxjson.EncoderConfig { function DefaultFormatSPDXJSON (line 11) | func DefaultFormatSPDXJSON() FormatSPDXJSON { FILE: cmd/syft/internal/options/format_spdx_json_test.go function TestFormatSPDXJSON_buildConfig (line 7) | func TestFormatSPDXJSON_buildConfig(t *testing.T) { FILE: cmd/syft/internal/options/format_syft_json.go type FormatSyftJSON (line 7) | type FormatSyftJSON struct method config (line 18) | func (o FormatSyftJSON) config() syftjson.EncoderConfig { function DefaultFormatJSON (line 12) | func DefaultFormatJSON() FormatSyftJSON { FILE: cmd/syft/internal/options/format_syft_json_test.go function TestFormatSyftJSON_buildConfig (line 7) | func TestFormatSyftJSON_buildConfig(t *testing.T) { FILE: cmd/syft/internal/options/format_template.go type FormatTemplate (line 10) | type FormatTemplate struct method AddFlags (line 22) | func (o *FormatTemplate) AddFlags(flags clio.FlagSet) { method config (line 29) | func (o FormatTemplate) config() template.EncoderConfig { function DefaultFormatTemplate (line 16) | func DefaultFormatTemplate() FormatTemplate { FILE: cmd/syft/internal/options/golang.go type golangConfig (line 10) | type golangConfig struct method DescribeFields (line 26) | func (o *golangConfig) DescribeFields(descriptions clio.FieldDescripti... type golangMainModuleVersionConfig (line 48) | type golangMainModuleVersionConfig struct function defaultGolangConfig (line 54) | func defaultGolangConfig() golangConfig { FILE: cmd/syft/internal/options/java.go type javaConfig (line 8) | type javaConfig struct method DescribeFields (line 34) | func (o *javaConfig) DescribeFields(descriptions clio.FieldDescription... function defaultJavaConfig (line 17) | func defaultJavaConfig() javaConfig { FILE: cmd/syft/internal/options/javascript.go type javaScriptConfig (line 8) | type javaScriptConfig struct method DescribeFields (line 36) | func (o *javaScriptConfig) DescribeFields(descriptions clio.FieldDescr... function defaultJavaScriptConfig (line 18) | func defaultJavaScriptConfig() javaScriptConfig { FILE: cmd/syft/internal/options/license.go type licenseConfig (line 11) | type licenseConfig struct method DescribeFields (line 21) | func (o *licenseConfig) DescribeFields(descriptions clio.FieldDescript... method PostLoad (line 28) | func (o *licenseConfig) PostLoad() error { function defaultLicenseConfig (line 36) | func defaultLicenseConfig() licenseConfig { FILE: cmd/syft/internal/options/linux_kernel.go type linuxKernelConfig (line 8) | type linuxKernelConfig struct method DescribeFields (line 23) | func (o *linuxKernelConfig) DescribeFields(descriptions clio.FieldDesc... function defaultLinuxKernelConfig (line 12) | func defaultLinuxKernelConfig() linuxKernelConfig { FILE: cmd/syft/internal/options/nix.go type nixConfig (line 8) | type nixConfig struct method DescribeFields (line 23) | func (o *nixConfig) DescribeFields(descriptions clio.FieldDescriptionS... function defaultNixConfig (line 12) | func defaultNixConfig() nixConfig { FILE: cmd/syft/internal/options/output.go type Output (line 32) | type Output struct method PostLoad (line 53) | func (o *Output) PostLoad() error { method AddFlags (line 64) | func (o *Output) AddFlags(flags clio.FlagSet) { method DescribeFields (line 75) | func (o *Output) DescribeFields(descriptions clio.FieldDescriptionSet) { method SBOMWriter (line 84) | func (o Output) SBOMWriter() (sbom.Writer, error) { method OutputNameSet (line 113) | func (o Output) OutputNameSet() *strset.Set { function DefaultOutput (line 41) | func DefaultOutput() Output { function supportedIDs (line 123) | func supportedIDs() []sbom.FormatID { FILE: cmd/syft/internal/options/output_file.go type OutputFile (line 18) | type OutputFile struct method AddFlags (line 23) | func (o *OutputFile) AddFlags(flags clio.FlagSet) { method PostLoad (line 35) | func (o *OutputFile) PostLoad() error { method SBOMWriter (line 49) | func (o *OutputFile) SBOMWriter(f sbom.FormatEncoder) (sbom.Writer, er... function expandFilePath (line 61) | func expandFilePath(file string) (string, error) { FILE: cmd/syft/internal/options/output_test.go function Test_getEncoders (line 23) | func Test_getEncoders(t *testing.T) { function Test_EncoderCollection_ByString_IDOnly_Defaults (line 45) | func Test_EncoderCollection_ByString_IDOnly_Defaults(t *testing.T) { function Test_OutputHonorsAllowFile (line 183) | func Test_OutputHonorsAllowFile(t *testing.T) { FILE: cmd/syft/internal/options/pkg.go type packageConfig (line 8) | type packageConfig struct method DescribeFields (line 18) | func (o *packageConfig) DescribeFields(descriptions clio.FieldDescript... function defaultPackageConfig (line 28) | func defaultPackageConfig() packageConfig { FILE: cmd/syft/internal/options/python.go type pythonConfig (line 8) | type pythonConfig struct method DescribeFields (line 25) | func (o *pythonConfig) DescribeFields(descriptions clio.FieldDescripti... function defaultPythonConfig (line 18) | func defaultPythonConfig() pythonConfig { FILE: cmd/syft/internal/options/registry.go type RegistryCredentials (line 10) | type RegistryCredentials struct type registryConfig (line 21) | type registryConfig struct method PostLoad (line 33) | func (cfg *registryConfig) PostLoad() error { method DescribeFields (line 61) | func (cfg *registryConfig) DescribeFields(descriptions clio.FieldDescr... method ToOptions (line 82) | func (cfg *registryConfig) ToOptions() *image.RegistryOptions { function hasNonEmptyCredentials (line 75) | func hasNonEmptyCredentials(username, password, token, tlsCert, tlsKey s... FILE: cmd/syft/internal/options/registry_test.go function TestHasNonEmptyCredentials (line 12) | func TestHasNonEmptyCredentials(t *testing.T) { function Test_registry_ToOptions (line 72) | func Test_registry_ToOptions(t *testing.T) { FILE: cmd/syft/internal/options/relationships.go type relationshipsConfig (line 7) | type relationshipsConfig struct method DescribeFields (line 19) | func (r *relationshipsConfig) DescribeFields(descriptions fangs.FieldD... function defaultRelationshipsConfig (line 12) | func defaultRelationshipsConfig() relationshipsConfig { FILE: cmd/syft/internal/options/secret.go type secret (line 10) | type secret method PostLoad (line 18) | func (r *secret) PostLoad() error { method String (line 23) | func (r secret) String() string { FILE: cmd/syft/internal/options/source.go type sourceConfig (line 16) | type sourceConfig struct method DescribeFields (line 36) | func (o *sourceConfig) DescribeFields(descriptions clio.FieldDescripti... type fileSource (line 26) | type fileSource struct method PostLoad (line 59) | func (c *fileSource) PostLoad() error { type imageSource (line 42) | type imageSource struct method PostLoad (line 66) | func (c *imageSource) PostLoad() error { function defaultSourceConfig (line 47) | func defaultSourceConfig() sourceConfig { function checkDefaultSourceValues (line 79) | func checkDefaultSourceValues(source string) error { FILE: cmd/syft/internal/options/source_test.go function Test_fileSource_PostLoad (line 9) | func Test_fileSource_PostLoad(t *testing.T) { FILE: cmd/syft/internal/options/unknowns.go type unknownsConfig (line 8) | type unknownsConfig struct method DescribeFields (line 18) | func (o *unknownsConfig) DescribeFields(descriptions clio.FieldDescrip... function defaultUnknowns (line 24) | func defaultUnknowns() unknownsConfig { FILE: cmd/syft/internal/options/update_check.go type UpdateCheck (line 5) | type UpdateCheck struct method DescribeFields (line 15) | func (cfg *UpdateCheck) DescribeFields(descriptions fangs.FieldDescrip... function DefaultUpdateCheck (line 9) | func DefaultUpdateCheck() UpdateCheck { FILE: cmd/syft/internal/options/writer.go function makeSBOMWriter (line 32) | func makeSBOMWriter(outputs []string, defaultFile string, encoders []sbo... function parseSBOMOutputFlags (line 47) | func parseSBOMOutputFlags(outputs []string, defaultFile string, encoders... function formatVersionOptions (line 96) | func formatVersionOptions(nameVersionPairs []string) string { type sbomWriterDescription (line 137) | type sbomWriterDescription struct function newSBOMWriterDescription (line 142) | func newSBOMWriterDescription(f sbom.FormatEncoder, p string) sbomWriter... type sbomMultiWriter (line 156) | type sbomMultiWriter struct method Write (line 203) | func (m *sbomMultiWriter) Write(s sbom.SBOM) (errs error) { function newSBOMMultiWriter (line 161) | func newSBOMMultiWriter(options ...sbomWriterDescription) (_ *sbomMultiW... type sbomStreamWriter (line 214) | type sbomStreamWriter struct method Write (line 220) | func (w *sbomStreamWriter) Write(s sbom.SBOM) error { method Close (line 226) | func (w *sbomStreamWriter) Close() error { type sbomPublisher (line 234) | type sbomPublisher struct method Write (line 239) | func (w *sbomPublisher) Write(s sbom.SBOM) error { FILE: cmd/syft/internal/options/writer_test.go function Test_MakeSBOMWriter (line 16) | func Test_MakeSBOMWriter(t *testing.T) { function dummyFormat (line 53) | func dummyFormat(name string) sbom.FormatEncoder { type dummyEncoder (line 59) | type dummyEncoder struct method ID (line 63) | func (d dummyEncoder) ID() sbom.FormatID { method Aliases (line 67) | func (d dummyEncoder) Aliases() []string { method Version (line 71) | func (d dummyEncoder) Version() string { method Encode (line 75) | func (d dummyEncoder) Encode(writer io.Writer, s sbom.SBOM) error { function Test_newSBOMMultiWriter (line 79) | func Test_newSBOMMultiWriter(t *testing.T) { function Test_newSBOMWriterDescription (line 230) | func Test_newSBOMWriterDescription(t *testing.T) { function Test_formatVersionOptions (line 262) | func Test_formatVersionOptions(t *testing.T) { FILE: cmd/syft/internal/test/integration/all_layers_squashed_comparison_test.go function Test_AllLayersIncludesSquashed (line 9) | func Test_AllLayersIncludesSquashed(t *testing.T) { FILE: cmd/syft/internal/test/integration/catalog_packages_cases_test.go type testCase (line 5) | type testCase struct FILE: cmd/syft/internal/test/integration/catalog_packages_test.go function BenchmarkImagePackageCatalogers (line 19) | func BenchmarkImagePackageCatalogers(b *testing.B) { function TestPkgCoverageImage (line 40) | func TestPkgCoverageImage(t *testing.T) { function TestPkgCoverageDirectory (line 127) | func TestPkgCoverageDirectory(t *testing.T) { function assertPackages (line 180) | func assertPackages(t *testing.T, sbom sbom.SBOM, test testCase, observe... function TestPkgCoverageImage_HasEvidence (line 235) | func TestPkgCoverageImage_HasEvidence(t *testing.T) { function TestPkgCoverageDirectory_HasEvidence (line 263) | func TestPkgCoverageDirectory_HasEvidence(t *testing.T) { FILE: cmd/syft/internal/test/integration/distro_test.go function TestDistroImage (line 12) | func TestDistroImage(t *testing.T) { FILE: cmd/syft/internal/test/integration/encode_decode_cycle_test.go function TestEncodeDecodeEncodeCycleComparison (line 27) | func TestEncodeDecodeEncodeCycleComparison(t *testing.T) { FILE: cmd/syft/internal/test/integration/files_test.go function TestFileCataloging_Default (line 22) | func TestFileCataloging_Default(t *testing.T) { function TestFileCataloging_AllFiles (line 36) | func TestFileCataloging_AllFiles(t *testing.T) { function assertFileData (line 120) | func assertFileData(t testing.TB, metadata map[file.Coordinates]file.Met... FILE: cmd/syft/internal/test/integration/go_compiler_detection_test.go function TestGolangCompilerDetection (line 10) | func TestGolangCompilerDetection(t *testing.T) { FILE: cmd/syft/internal/test/integration/java_purl_test.go function TestJavaPURLs (line 12) | func TestJavaPURLs(t *testing.T) { FILE: cmd/syft/internal/test/integration/mariner_distroless_test.go function TestMarinerDistroless (line 10) | func TestMarinerDistroless(t *testing.T) { FILE: cmd/syft/internal/test/integration/node_packages_test.go function TestNpmPackageLockDirectory (line 13) | func TestNpmPackageLockDirectory(t *testing.T) { function TestYarnPackageLockDirectory (line 34) | func TestYarnPackageLockDirectory(t *testing.T) { FILE: cmd/syft/internal/test/integration/package_binary_elf_relationships_test.go function TestBinaryElfRelationships (line 13) | func TestBinaryElfRelationships(t *testing.T) { FILE: cmd/syft/internal/test/integration/package_cataloger_convention_test.go function Test_packageCatalogerExports (line 21) | func Test_packageCatalogerExports(t *testing.T) { function Test_validatePackageCatalogerExport (line 41) | func Test_validatePackageCatalogerExport(t *testing.T) { function Test_PackageCatalogerConventions (line 133) | func Test_PackageCatalogerConventions(t *testing.T) { function validatePackageCatalogerExport (line 171) | func validatePackageCatalogerExport(t *testing.T, pkg string, export exp... type exportToken (line 210) | type exportToken struct method isFunction (line 217) | func (e exportToken) isFunction() bool { method isStruct (line 221) | func (e exportToken) isStruct() bool { type exportTokenSet (line 225) | type exportTokenSet method Names (line 227) | func (s exportTokenSet) Names() *strset.Set { method Has (line 235) | func (s exportTokenSet) Has(name string) bool { method Add (line 240) | func (s exportTokenSet) Add(tokens ...exportToken) { method Remove (line 249) | func (s exportTokenSet) Remove(names ...string) { method List (line 255) | func (s exportTokenSet) List() []exportToken { function packageCatalogerExports (line 263) | func packageCatalogerExports(t *testing.T) map[string]exportTokenSet { FILE: cmd/syft/internal/test/integration/package_catalogers_represented_test.go function TestAllPackageCatalogersReachableInTasks (line 22) | func TestAllPackageCatalogersReachableInTasks(t *testing.T) { function TestAllPackageCatalogersRepresentedInSource (line 76) | func TestAllPackageCatalogersRepresentedInSource(t *testing.T) { function getCatalogerConstructors (line 92) | func getCatalogerConstructors(t *testing.T) map[string]*strset.Set { function getConstructorsFromExpectedFile (line 126) | func getConstructorsFromExpectedFile(t *testing.T, path string, info os.... function getCatalogerConstructorsFromPackage (line 150) | func getCatalogerConstructorsFromPackage(t *testing.T, path string, info... function assertAllPackageCatalogersRepresented (line 174) | func assertAllPackageCatalogersRepresented(t *testing.T, constructorsPer... function repoRoot (line 192) | func repoRoot(t testing.TB) string { function mergeConstructors (line 205) | func mergeConstructors(constructorsPerPackage map[string]*strset.Set, pa... FILE: cmd/syft/internal/test/integration/package_deduplication_test.go function TestPackageDeduplication (line 12) | func TestPackageDeduplication(t *testing.T) { FILE: cmd/syft/internal/test/integration/package_ownership_relationship_test.go function TestPackageOwnershipRelationships (line 16) | func TestPackageOwnershipRelationships(t *testing.T) { function TestPackageOwnershipExclusions (line 49) | func TestPackageOwnershipExclusions(t *testing.T) { FILE: cmd/syft/internal/test/integration/regression_apk_scanner_buffer_size_test.go function TestRegression212ApkBufferSize (line 10) | func TestRegression212ApkBufferSize(t *testing.T) { FILE: cmd/syft/internal/test/integration/regression_go_bin_scanner_arch_test.go function TestRegressionGoArchDiscovery (line 11) | func TestRegressionGoArchDiscovery(t *testing.T) { FILE: cmd/syft/internal/test/integration/regression_java_no_main_package_test.go function TestRegressionJavaNoMainPackage (line 9) | func TestRegressionJavaNoMainPackage(t *testing.T) { // Regression: http... FILE: cmd/syft/internal/test/integration/regression_java_virtualpath_test.go function TestWarCatalogedCorrectlyIfRenamed (line 13) | func TestWarCatalogedCorrectlyIfRenamed(t *testing.T) { FILE: cmd/syft/internal/test/integration/regression_photon_package_test.go function TestPhotonPackageRegression (line 12) | func TestPhotonPackageRegression(t *testing.T) { // Regression: https://... FILE: cmd/syft/internal/test/integration/regression_sbom_duplicate_relationships_test.go function TestRelationshipsUnique (line 12) | func TestRelationshipsUnique(t *testing.T) { FILE: cmd/syft/internal/test/integration/rust_audit_binary_test.go function TestRustAudit (line 10) | func TestRustAudit(t *testing.T) { FILE: cmd/syft/internal/test/integration/sbom_cataloger_test.go function TestSbomCataloger (line 11) | func TestSbomCataloger(t *testing.T) { FILE: cmd/syft/internal/test/integration/sbom_metadata_component_test.go function TestSbomMetadataComponent (line 11) | func TestSbomMetadataComponent(t *testing.T) { FILE: cmd/syft/internal/test/integration/sqlite_rpmdb_test.go function TestSqliteRpm (line 12) | func TestSqliteRpm(t *testing.T) { FILE: cmd/syft/internal/test/integration/testdata/image-go-bin-arch-coverage/app.go function main (line 14) | func main() { FILE: cmd/syft/internal/test/integration/testdata/image-java-virtualpath-regression/extract.py function slim_archive (line 9) | def slim_archive(archive, output_dir, base_path="", archive_name=""): function walk_directory_and_slim_jars (line 50) | def walk_directory_and_slim_jars(base_dir, output_dir): FILE: cmd/syft/internal/test/integration/testdata/image-pkg-coverage/pkgs/python/setup/setup.py function main (line 19) | def main(): FILE: cmd/syft/internal/test/integration/testdata/image-test-java-purls/extract.py function slim_archive (line 9) | def slim_archive(archive, output_dir, base_path="", archive_name=""): function walk_directory_and_slim_jars (line 50) | def walk_directory_and_slim_jars(base_dir, output_dir): FILE: cmd/syft/internal/test/integration/utils_test.go function catalogFixtureImage (line 19) | func catalogFixtureImage(t *testing.T, fixtureImageName string, scope so... function catalogFixtureImageWithConfig (line 32) | func catalogFixtureImageWithConfig(t *testing.T, fixtureImageName string... function catalogDirectory (line 54) | func catalogDirectory(t *testing.T, dir string, catalogerSelection ...st... function catalogDirectoryWithConfig (line 66) | func catalogDirectoryWithConfig(t *testing.T, dir string, cfg *syft.Crea... FILE: cmd/syft/internal/ui/capture.go constant defaultStdoutLogBufferSize (line 11) | defaultStdoutLogBufferSize = 1024 function CaptureStdoutToTraceLog (line 20) | func CaptureStdoutToTraceLog() func() { function capture (line 24) | func capture(target **os.File, writer io.Writer, bufSize int) func() { FILE: cmd/syft/internal/ui/capture_test.go function Test_capture (line 12) | func Test_capture(t *testing.T) { function Test_captureBufSizes (line 63) | func Test_captureBufSizes(t *testing.T) { FILE: cmd/syft/internal/ui/event_writer.go function writeEvents (line 17) | func writeEvents(out, err io.Writer, quiet bool, events ...partybus.Even... function writeReports (line 63) | func writeReports(writer io.Writer, events ...partybus.Event) error { function writeNotifications (line 85) | func writeNotifications(writer io.Writer, events ...partybus.Event) error { function writeAppUpdate (line 104) | func writeAppUpdate(writer io.Writer, events ...partybus.Event) error { FILE: cmd/syft/internal/ui/event_writer_test.go function Test_writeEvents (line 15) | func Test_writeEvents(t *testing.T) { FILE: cmd/syft/internal/ui/log_writer.go function newLogWriter (line 12) | func newLogWriter() io.Writer { type logWriter (line 18) | type logWriter struct method Write (line 23) | func (l *logWriter) Write(data []byte) (n int, err error) { FILE: cmd/syft/internal/ui/log_writer_test.go function Test_logWriter (line 13) | func Test_logWriter(t *testing.T) { type bufferLogger (line 37) | type bufferLogger struct method Tracef (line 39) | func (l *bufferLogger) Tracef(_ string, _ ...interface{}) {} method Debugf (line 41) | func (l *bufferLogger) Debugf(_ string, _ ...interface{}) {} method Infof (line 43) | func (l *bufferLogger) Infof(_ string, _ ...interface{}) {} method Warnf (line 45) | func (l *bufferLogger) Warnf(_ string, _ ...interface{}) {} method Errorf (line 47) | func (l *bufferLogger) Errorf(_ string, _ ...interface{}) {} method Trace (line 49) | func (l *bufferLogger) Trace(vals ...interface{}) { method Debug (line 53) | func (l *bufferLogger) Debug(_ ...interface{}) {} method Info (line 55) | func (l *bufferLogger) Info(_ ...interface{}) {} method Warn (line 57) | func (l *bufferLogger) Warn(vals ...interface{}) { method Error (line 61) | func (l *bufferLogger) Error(_ ...interface{}) {} method WithFields (line 63) | func (l *bufferLogger) WithFields(_ ...interface{}) logger.MessageLogg... method Nested (line 65) | func (l *bufferLogger) Nested(_ ...interface{}) logger.Logger { return... method SetOutput (line 67) | func (l *bufferLogger) SetOutput(_ io.Writer) {} method GetOutput (line 69) | func (l *bufferLogger) GetOutput() io.Writer { return nil } FILE: cmd/syft/internal/ui/no_ui.go type NoUI (line 15) | type NoUI struct method Setup (line 31) | func (n *NoUI) Setup(subscription partybus.Unsubscribable) error { method Handle (line 36) | func (n *NoUI) Handle(e partybus.Event) error { method Teardown (line 45) | func (n NoUI) Teardown(_ bool) error { function None (line 23) | func None(out io.Writer, quiet bool) *NoUI { FILE: cmd/syft/internal/ui/ui.go type UI (line 28) | type UI struct method Setup (line 52) | func (m *UI) Setup(subscription partybus.Unsubscribable) error { method Handle (line 73) | func (m *UI) Handle(e partybus.Event) error { method Teardown (line 80) | func (m *UI) Teardown(force bool) error { method Init (line 119) | func (m UI) Init() tea.Cmd { method RespondsTo (line 123) | func (m UI) RespondsTo() []partybus.EventType { method Update (line 131) | func (m *UI) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 186) | func (m UI) View() string { function New (line 41) | func New(out io.Writer, quiet bool, handlers ...bubbly.EventHandler) *UI { function runWithTimeout (line 190) | func runWithTimeout(timeout time.Duration, fn func() error) (err error) { FILE: cmd/syft/main.go constant applicationName (line 12) | applicationName = "syft" function main (line 22) | func main() { FILE: examples/create_custom_sbom/alpine_configuration_cataloger.go type alpineConfigurationCataloger (line 22) | type alpineConfigurationCataloger struct method Name (line 29) | func (m alpineConfigurationCataloger) Name() string { method Catalog (line 33) | func (m alpineConfigurationCataloger) Catalog(_ context.Context, resol... function newAlpineConfigurationCataloger (line 25) | func newAlpineConfigurationCataloger() pkg.Cataloger { function newPackage (line 57) | func newPackage(version string, metadata AlpineConfiguration, locations ... function newAlpineConfiguration (line 67) | func newAlpineConfiguration(resolver file.Resolver) (*AlpineConfiguratio... function getVersion (line 82) | func getVersion(resolver file.Resolver) (string, []file.Location, error) { function getAPKKeys (line 105) | func getAPKKeys(resolver file.Resolver) (map[string]string, []file.Locat... type AlpineConfiguration (line 129) | type AlpineConfiguration struct FILE: examples/create_custom_sbom/main.go constant defaultImage (line 21) | defaultImage = "alpine:3.19" function main (line 23) | func main() { function imageReference (line 38) | func imageReference() string { function getSource (line 46) | func getSource(input string) source.Source { function getSBOM (line 57) | func getSBOM(src source.Source) sbom.SBOM { function summarize (line 105) | func summarize(s sbom.SBOM) { function showAlpineConfiguration (line 113) | func showAlpineConfiguration(s sbom.SBOM) { FILE: examples/create_simple_sbom/main.go constant defaultImage (line 17) | defaultImage = "alpine:3.19" function main (line 19) | func main() { function imageReference (line 34) | func imageReference() string { function getSource (line 42) | func getSource(input string) source.Source { function getSBOM (line 51) | func getSBOM(src source.Source) sbom.SBOM { function formatSBOM (line 60) | func formatSBOM(s sbom.SBOM) []byte { FILE: examples/decode_sbom/main.go function main (line 16) | func main() { function sbomReader (line 40) | func sbomReader() io.Reader { FILE: examples/select_catalogers/main.go constant defaultImage (line 17) | defaultImage = "alpine:3.19" function main (line 19) | func main() { function imageReference (line 38) | func imageReference() string { function getSource (line 46) | func getSource(input string) source.Source { function getSBOM (line 55) | func getSBOM(src source.Source, defaultTags ...string) sbom.SBOM { FILE: examples/source_detection/main.go constant defaultImage (line 33) | defaultImage = "alpine:3.19" function main (line 35) | func main() { function imageReference (line 61) | func imageReference() string { function allSourceTags (line 69) | func allSourceTags() []string { FILE: examples/source_from_image/main.go constant defaultImage (line 18) | defaultImage = "alpine:3.19" function main (line 20) | func main() { function imageReference (line 39) | func imageReference() string { FILE: examples/source_from_registry/main.go function main (line 14) | func main() { FILE: internal/buffered_seek_reader.go type bufferedSeekReader (line 15) | type bufferedSeekReader struct method Read (line 29) | func (bs *bufferedSeekReader) Read(p []byte) (int, error) { method Seek (line 56) | func (bs *bufferedSeekReader) Seek(offset int64, whence int) (int64, e... method Close (line 81) | func (bs *bufferedSeekReader) Close() error { function NewBufferedSeeker (line 23) | func NewBufferedSeeker(rc io.ReadCloser) io.ReadSeekCloser { FILE: internal/buffered_seek_reader_test.go function TestBufferedSeeker_Read (line 12) | func TestBufferedSeeker_Read(t *testing.T) { function TestBufferedSeeker_Seek (line 53) | func TestBufferedSeeker_Seek(t *testing.T) { function TestBufferedSeeker_Close (line 134) | func TestBufferedSeeker_Close(t *testing.T) { FILE: internal/bus/bus.go function Set (line 22) | func Set(p partybus.Publisher) { function Get (line 26) | func Get() partybus.Publisher { function Publish (line 31) | func Publish(e partybus.Event) { FILE: internal/bus/helpers.go function Exit (line 13) | func Exit() { function ExitWithInterrupt (line 17) | func ExitWithInterrupt() { function Report (line 21) | func Report(report string) { function Notify (line 32) | func Notify(message string) { function StartCatalogerTask (line 39) | func StartCatalogerTask(info monitor.GenericTask, size int64, initialSta... function StartPullSourceTask (line 54) | func StartPullSourceTask(info monitor.GenericTask, size int64, initialSt... function StartIndexingFiles (line 69) | func StartIndexingFiles(path string) *monitor.TaskProgress { FILE: internal/cache/bypass.go type bypassedCache (line 5) | type bypassedCache struct method Read (line 7) | func (b *bypassedCache) Read(_ string) (ReaderAtCloser, error) { method Write (line 11) | func (b *bypassedCache) Write(_ string, contents io.Reader) error { method GetCache (line 18) | func (b *bypassedCache) GetCache(_, _ string) Cache { method RootDirs (line 22) | func (b *bypassedCache) RootDirs() []string { FILE: internal/cache/bypass_test.go function Test_bypassedCache (line 10) | func Test_bypassedCache(t *testing.T) { FILE: internal/cache/cache.go type Manager (line 8) | type Manager interface type ReaderAtCloser (line 17) | type ReaderAtCloser interface type Cache (line 24) | type Cache interface function GetManager (line 35) | func GetManager() Manager { function SetManager (line 41) | func SetManager(m Manager) { FILE: internal/cache/cache_test.go function Test_SetManager (line 10) | func Test_SetManager(t *testing.T) { FILE: internal/cache/error_resolver.go function GetResolverCachingErrors (line 7) | func GetResolverCachingErrors[T any](name, version string) Resolver[T] { type errResponse (line 13) | type errResponse struct type errorResolver (line 18) | type errorResolver struct method Resolve (line 22) | func (r *errorResolver[T]) Resolve(key string, resolver resolverFunc[T])... FILE: internal/cache/error_resolver_test.go function Test_errorResolver (line 11) | func Test_errorResolver(t *testing.T) { FILE: internal/cache/filesystem.go function NewFromDir (line 20) | func NewFromDir(dir string, ttl time.Duration) (Manager, error) { constant filePermissions (line 33) | filePermissions = 0700 constant dirPermissions (line 34) | dirPermissions = os.ModeDir | filePermissions type filesystemCache (line 36) | type filesystemCache struct method GetCache (line 42) | func (d *filesystemCache) GetCache(name, version string) Cache { method RootDirs (line 55) | func (d *filesystemCache) RootDirs() []string { method Read (line 62) | func (d *filesystemCache) Read(key string) (ReaderAtCloser, error) { method Write (line 76) | func (d *filesystemCache) Write(key string, contents io.Reader) error { function subFs (line 83) | func subFs(fsys afero.Fs, subDirs ...string) (afero.Fs, error) { function makeDiskKey (line 107) | func makeDiskKey(key string) string { FILE: internal/cache/filesystem_test.go function Test_filesystemCache (line 18) | func Test_filesystemCache(t *testing.T) { function Test_makeDiskKey (line 50) | func Test_makeDiskKey(t *testing.T) { function Test_errors (line 97) | func Test_errors(t *testing.T) { FILE: internal/cache/hash_type.go function hashType (line 11) | func hashType[T any]() string { function emptyValue (line 27) | func emptyValue(t reflect.Type) reflect.Value { function isIgnored (line 62) | func isIgnored(f reflect.StructField) bool { FILE: internal/cache/hash_type_test.go function Test_hashType (line 11) | func Test_hashType(t *testing.T) { function Test_hashIgnores (line 100) | func Test_hashIgnores(t *testing.T) { FILE: internal/cache/memory.go function NewInMemory (line 10) | func NewInMemory(ttl time.Duration) Manager { FILE: internal/cache/memory_test.go function Test_NewInMemory (line 14) | func Test_NewInMemory(t *testing.T) { FILE: internal/cache/resolver.go type Resolver (line 15) | type Resolver interface function GetResolver (line 23) | func GetResolver[T any](name, version string) Resolver[T] { constant resolverKeySuffix (line 32) | resolverKeySuffix = ".json" type resolverFunc (line 34) | type resolverFunc type cacheResolver (line 36) | type cacheResolver struct method Resolve (line 45) | func (r *cacheResolver[T]) Resolve(key string, resolver resolverFunc[T])... method resolveAndCache (line 69) | func (r *cacheResolver[T]) resolveAndCache(key string, resolver func() (... FILE: internal/cache/resolver_test.go function Test_Resolver (line 12) | func Test_Resolver(t *testing.T) { FILE: internal/capabilities/capabilities.go function RegisterCatalogerFiles (line 24) | func RegisterCatalogerFiles(f embed.FS) { function LoadDocument (line 29) | func LoadDocument() (*Document, error) { function Packages (line 96) | func Packages() ([]CatalogerEntry, error) { type CatalogerInfo (line 105) | type CatalogerInfo struct function ExtractCatalogerInfo (line 111) | func ExtractCatalogerInfo(tasks []task.Task) []CatalogerInfo { FILE: internal/capabilities/evaluation.go function EvaluateCapabilities (line 8) | func EvaluateCapabilities(caps CapabilitySet, config map[string]interfac... function EvaluateField (line 19) | func EvaluateField(capField CapabilityField, config map[string]interface... function ConditionMatches (line 33) | func ConditionMatches(when map[string]interface{}, config map[string]int... function valuesEqual (line 49) | func valuesEqual(a, b interface{}) bool { FILE: internal/capabilities/evaluation_test.go function Test_valuesEqual (line 10) | func Test_valuesEqual(t *testing.T) { function TestConditionMatches (line 123) | func TestConditionMatches(t *testing.T) { function TestEvaluateField (line 224) | func TestEvaluateField(t *testing.T) { function TestEvaluateCapabilities (line 411) | func TestEvaluateCapabilities(t *testing.T) { FILE: internal/capabilities/generate/cataloger_config_linking.go function LinkCatalogersToConfigs (line 18) | func LinkCatalogersToConfigs(repoRoot string) (map[string]string, error) { function LinkCatalogersToConfigsFromPath (line 30) | func LinkCatalogersToConfigsFromPath(catalogerRoot, baseRoot string) (ma... function linkCatalogersInFile (line 65) | func linkCatalogersInFile(path, repoRoot string) (map[string]string, err... function extractCatalogerName (line 123) | func extractCatalogerName(funcDecl *ast.FuncDecl, file *ast.File, filePa... function inferCatalogerNameFromCustomImpl (line 174) | func inferCatalogerNameFromCustomImpl(funcDecl *ast.FuncDecl, file *ast.... function extractReturnTypeName (line 183) | func extractReturnTypeName(funcDecl *ast.FuncDecl) string { function findNameMethodReturn (line 219) | func findNameMethodReturn(file *ast.File, typeName string, ctx *parseCon... function extractReceiverTypeName (line 247) | func extractReceiverTypeName(recvType ast.Expr) string { function extractNameFromMethodBody (line 261) | func extractNameFromMethodBody(body *ast.BlockStmt, ctx *parseContext) s... function extractConfigParameter (line 289) | func extractConfigParameter(funcDecl *ast.FuncDecl, localPackageName str... function extractConfigTypeName (line 313) | func extractConfigTypeName(typeExpr ast.Expr, localPackageName string) s... function looksLikeConfigType (line 328) | func looksLikeConfigType(typeName string) bool { FILE: internal/capabilities/generate/cataloger_config_linking_test.go function TestLinkCatalogersToConfigsFromPath (line 13) | func TestLinkCatalogersToConfigsFromPath(t *testing.T) { function TestExtractConfigTypeName (line 110) | func TestExtractConfigTypeName(t *testing.T) { function TestLooksLikeConfigType (line 183) | func TestLooksLikeConfigType(t *testing.T) { function TestExtractReceiverTypeName (line 244) | func TestExtractReceiverTypeName(t *testing.T) { function TestExtractConfigTypeNameHelper (line 286) | func TestExtractConfigTypeNameHelper(t *testing.T) { function TestExtractReturnTypeName (line 343) | func TestExtractReturnTypeName(t *testing.T) { FILE: internal/capabilities/generate/discover_app_config.go type AppConfigField (line 17) | type AppConfigField struct function extractEcosystemConfigFieldsFromCatalog (line 25) | func extractEcosystemConfigFieldsFromCatalog(catalogFilePath string) (ma... function findFilesWithCatalogerImports (line 90) | func findFilesWithCatalogerImports(optionsDir string) ([]string, error) { function extractConfigStructTypes (line 125) | func extractConfigStructTypes(filePath string) ([]string, error) { function discoverCatalogerConfigs (line 160) | func discoverCatalogerConfigs(repoRoot string) (map[string]string, map[s... function DiscoverAppConfigs (line 224) | func DiscoverAppConfigs(repoRoot string) ([]AppConfigField, error) { function extractAppConfigFields (line 250) | func extractAppConfigFields(filePath, topLevelKey string, keyToStruct ma... function findAppConfigStructAndDescriptions (line 311) | func findAppConfigStructAndDescriptions(f *ast.File, topLevelKey string,... function findConfigStruct (line 319) | func findConfigStruct(f *ast.File, expectedName string) *ast.StructType { function extractDescriptionsFromDescribeFields (line 346) | func extractDescriptionsFromDescribeFields(f *ast.File) map[string]string { function extractNestedAppConfigs (line 393) | func extractNestedAppConfigs(f *ast.File, parentKey, parentFieldName str... function extractAppDefaultValues (line 468) | func extractAppDefaultValues(f *ast.File) map[string]interface{} { function extractAppValue (line 521) | func extractAppValue(expr ast.Expr) interface{} { function extractYAMLTag (line 566) | func extractYAMLTag(field *ast.Field) string { function extractFieldPathFromRef (line 584) | func extractFieldPathFromRef(expr ast.Expr) string { function extractStringLiteral (line 617) | func extractStringLiteral(expr ast.Expr) string { function cleanDescription (line 629) | func cleanDescription(desc string) string { function isNestedStruct (line 636) | func isNestedStruct(expr ast.Expr) bool { FILE: internal/capabilities/generate/discover_app_config_test.go function TestAppConfigFieldsHaveDescriptions (line 16) | func TestAppConfigFieldsHaveDescriptions(t *testing.T) { function TestAppConfigKeyFormat (line 38) | func TestAppConfigKeyFormat(t *testing.T) { function TestCleanDescription (line 58) | func TestCleanDescription(t *testing.T) { function TestExtractYAMLTag (line 109) | func TestExtractYAMLTag(t *testing.T) { function TestIsNestedStruct (line 169) | func TestIsNestedStruct(t *testing.T) { function TestExtractStringLiteral (line 238) | func TestExtractStringLiteral(t *testing.T) { function TestExtractFieldPathFromRef (line 299) | func TestExtractFieldPathFromRef(t *testing.T) { function TestExtractAppValue (line 339) | func TestExtractAppValue(t *testing.T) { function TestExtractAppValue_NestedStruct (line 394) | func TestExtractAppValue_NestedStruct(t *testing.T) { FILE: internal/capabilities/generate/discover_cataloger_configs.go type ConfigField (line 18) | type ConfigField struct type ConfigInfo (line 26) | type ConfigInfo struct function DiscoverConfigs (line 36) | func DiscoverConfigs(repoRoot string) (map[string]ConfigInfo, error) { function DiscoverConfigsFromPath (line 43) | func DiscoverConfigsFromPath(catalogerRoot string) (map[string]ConfigInf... function discoverConfigsInFile (line 78) | func discoverConfigsInFile(path string) (map[string]ConfigInfo, error) { function isConfigStruct (line 140) | func isConfigStruct(name string) bool { function extractCatalogerConfigFields (line 146) | func extractCatalogerConfigFields(structType *ast.StructType) []ConfigFi... function extractCatalogerConfigFieldsRecursive (line 155) | func extractCatalogerConfigFieldsRecursive(structType *ast.StructType, v... function resolveEmbeddedStructFields (line 199) | func resolveEmbeddedStructFields(fieldType ast.Expr, visitedTypes map[st... function findStructInFile (line 273) | func findStructInFile(filePath, structName string) *ast.StructType { function extractFieldComments (line 306) | func extractFieldComments(commentGroup *ast.CommentGroup) (description s... function formatFieldType (line 338) | func formatFieldType(expr ast.Expr) string { function DiscoverAllowedConfigStructs (line 369) | func DiscoverAllowedConfigStructs(repoRoot string) (map[string]bool, err... FILE: internal/capabilities/generate/discover_cataloger_configs_test.go function TestDiscoverConfigs (line 13) | func TestDiscoverConfigs(t *testing.T) { function TestExtractPackageNameFromPath (line 135) | func TestExtractPackageNameFromPath(t *testing.T) { function TestFormatFieldType (line 181) | func TestFormatFieldType(t *testing.T) { function TestExtractFieldComments (line 310) | func TestExtractFieldComments(t *testing.T) { function TestDiscoverAllowedConfigStructs (line 430) | func TestDiscoverAllowedConfigStructs(t *testing.T) { FILE: internal/capabilities/generate/discover_catalogers.go type DiscoveredCataloger (line 18) | type DiscoveredCataloger struct type DiscoveredParser (line 28) | type DiscoveredParser struct function discoverGenericCatalogers (line 39) | func discoverGenericCatalogers(repoRoot string) (map[string]DiscoveredCa... function discoverGenericCatalogersInFile (line 76) | func discoverGenericCatalogersInFile(path, repoRoot string) (map[string]... function returnsPackageCataloger (line 117) | func returnsPackageCataloger(funcDecl *ast.FuncDecl) bool { function parseGenericCatalogerFunction (line 139) | func parseGenericCatalogerFunction(funcDecl *ast.FuncDecl, filePath, rep... function extractPackageNameFromPath (line 214) | func extractPackageNameFromPath(filePath string) string { function isGenericNewCatalogerCall (line 234) | func isGenericNewCatalogerCall(callExpr *ast.CallExpr) bool { type parseContext (line 248) | type parseContext struct function parseWithParserByCall (line 254) | func parseWithParserByCall(callExpr *ast.CallExpr, ctx *parseContext) *D... function resolveCriteriaValues (line 311) | func resolveCriteriaValues(arg ast.Expr, ctx *parseContext) []string { function resolveMethodCallValues (line 348) | func resolveMethodCallValues(callExpr *ast.CallExpr, ctx *parseContext) ... function resolveImportedVariable (line 385) | func resolveImportedVariable(pkgName, varName string, ctx *parseContext)... function resolveLocalVariable (line 418) | func resolveLocalVariable(varName string, ctx *parseContext) []string { function findVariableStringSlice (line 423) | func findVariableStringSlice(pkgDir, varName string) []string { function extractStringSliceFromFile (line 450) | func extractStringSliceFromFile(file *ast.File, varName string) []string { function extractStringSliceFromExpr (line 476) | func extractStringSliceFromExpr(expr ast.Expr) []string { function resolveLocalConstant (line 506) | func resolveLocalConstant(name string, ctx *parseContext) string { function resolveImportedConstant (line 533) | func resolveImportedConstant(pkgName, constName string, ctx *parseContex... function resolveImportPath (line 568) | func resolveImportPath(importPath, repoRoot string) string { function findConstantInPackage (line 579) | func findConstantInPackage(pkgDir, constName string) string { function findConstantInFile (line 598) | func findConstantInFile(filePath, constName string) string { function searchConstInDecl (line 614) | func searchConstInDecl(decl ast.Decl, constName string) string { function getConstValue (line 634) | func getConstValue(valueSpec *ast.ValueSpec, constName string) string { function extractBinaryClassifiers (line 646) | func extractBinaryClassifiers() []binary.Classifier { //nolint:staticcheck FILE: internal/capabilities/generate/discover_catalogers_test.go function TestReturnsPackageCataloger (line 12) | func TestReturnsPackageCataloger(t *testing.T) { function TestIsGenericNewCatalogerCall (line 74) | func TestIsGenericNewCatalogerCall(t *testing.T) { function TestExtractStringSliceFromExpr (line 121) | func TestExtractStringSliceFromExpr(t *testing.T) { function TestSearchConstInDecl (line 168) | func TestSearchConstInDecl(t *testing.T) { function TestGetConstValue (line 228) | func TestGetConstValue(t *testing.T) { function TestResolveImportPath (line 297) | func TestResolveImportPath(t *testing.T) { function parseFuncDecl (line 348) | func parseFuncDecl(t *testing.T, code string) *ast.FuncDecl { function parseCallExpr (line 360) | func parseCallExpr(t *testing.T, code string) *ast.CallExpr { function parseCompositeLit (line 370) | func parseCompositeLit(t *testing.T, code string) *ast.CompositeLit { function parseConstDecl (line 380) | func parseConstDecl(t *testing.T, code string) *ast.GenDecl { FILE: internal/capabilities/generate/discover_metadata.go type TestObservationIndex (line 18) | type TestObservationIndex struct method getParserObservations (line 41) | func (idx *TestObservationIndex) getParserObservations(packageName, pa... method getCatalogerObservations (line 49) | func (idx *TestObservationIndex) getCatalogerObservations(catalogerNam... method setParserObservations (line 54) | func (idx *TestObservationIndex) setParserObservations(packageName, pa... method setCatalogerObservations (line 62) | func (idx *TestObservationIndex) setCatalogerObservations(catalogerNam... method extractCustomCatalogerData (line 67) | func (idx *TestObservationIndex) extractCustomCatalogerData() (map[str... type TypeObservation (line 26) | type TypeObservation struct function newTestObservationIndex (line 33) | func newTestObservationIndex() *TestObservationIndex { function discoverMetadataTypes (line 85) | func discoverMetadataTypes(repoRoot string, discovered map[string]Discov... function mergeAndDeduplicateStrings (line 119) | func mergeAndDeduplicateStrings(existing, additional []string) []string { function convertToJSONSchemaTypes (line 137) | func convertToJSONSchemaTypes(metadataTypes []string) []string { function mergeTestObservations (line 155) | func mergeTestObservations(observations *pkgtestobservation.Test, index ... function applyParserObservations (line 200) | func applyParserObservations(cataloger *DiscoveredCataloger, index *Test... function applySingleParserCatalogerObservations (line 223) | func applySingleParserCatalogerObservations(cataloger *DiscoveredCatalog... function applyMultiParserCatalogerObservations (line 248) | func applyMultiParserCatalogerObservations(cataloger *DiscoveredCataloge... function applyTypesToCatalogers (line 295) | func applyTypesToCatalogers(discovered map[string]DiscoveredCataloger, i... FILE: internal/capabilities/generate/discover_metadata_test.go function TestApplyParserObservations (line 9) | func TestApplyParserObservations(t *testing.T) { function TestApplySingleParserCatalogerObservations (line 96) | func TestApplySingleParserCatalogerObservations(t *testing.T) { function TestApplyMultiParserCatalogerObservations (line 171) | func TestApplyMultiParserCatalogerObservations(t *testing.T) { function TestMergeAndDeduplicateStrings (line 281) | func TestMergeAndDeduplicateStrings(t *testing.T) { FILE: internal/capabilities/generate/io.go constant autoGeneratedComment (line 15) | autoGeneratedComment = "AUTO-GENERATED" function writeYAMLToFile (line 18) | func writeYAMLToFile(path string, rootNode *yaml.Node) error { function addFieldComments (line 45) | func addFieldComments(rootNode *yaml.Node) { function saveCapabilities (line 85) | func saveCapabilities(catalogerDir, repoRoot string, doc *capabilities.D... function groupCatalogersByEcosystem (line 106) | func groupCatalogersByEcosystem(doc *capabilities.Document) (map[string]... function writeEcosystemFile (line 129) | func writeEcosystemFile(catalogerDir, ecosystem string, catalogers []cap... function writeAppconfigFile (line 169) | func writeAppconfigFile(repoRoot string, appConfig []capabilities.Applic... function mapCatalogerToEcosystem (line 202) | func mapCatalogerToEcosystem(cat capabilities.CatalogerEntry) string { function updateNodeTreeEcosystem (line 217) | func updateNodeTreeEcosystem(rootNode *yaml.Node, doc interface{}) error { function updateNodeTreeAppConfig (line 245) | func updateNodeTreeAppConfig(rootNode *yaml.Node, doc interface{}) error { function addCatalogerFieldComment (line 250) | func addCatalogerFieldComment(keyNode, valueNode *yaml.Node, catalogerNa... function findFieldValue (line 314) | func findFieldValue(node *yaml.Node, fieldName string) string { function addCatalogerComments (line 330) | func addCatalogerComments(catalogersNode *yaml.Node) { function addParserComments (line 353) | func addParserComments(parsersNode *yaml.Node) { function addDetectorComments (line 391) | func addDetectorComments(detectorNode *yaml.Node) { FILE: internal/capabilities/generate/io_test.go function TestFindFieldValue (line 10) | func TestFindFieldValue(t *testing.T) { function TestAddCatalogerFieldComment (line 80) | func TestAddCatalogerFieldComment(t *testing.T) { FILE: internal/capabilities/generate/main.go function main (line 23) | func main() { function printSummary (line 44) | func printSummary(stats *Statistics) { function checkIncompleteCapabilities (line 75) | func checkIncompleteCapabilities(catalogerDir, repoRoot string) { function hasEmptyCapabilities (line 127) | func hasEmptyCapabilities(caps capabilities.CapabilitySet) bool { function printSuccessASCII (line 133) | func printSuccessASCII() { function printFailureASCII (line 143) | func printFailureASCII() { FILE: internal/capabilities/generate/merge.go constant genericCatalogerType (line 16) | genericCatalogerType = "generic" function stripPURLVersion (line 20) | func stripPURLVersion(purl string) string { type ecosystemMapping (line 56) | type ecosystemMapping struct function inferEcosystem (line 107) | func inferEcosystem(catalogerName string) string { type Statistics (line 123) | type Statistics struct function RegenerateCapabilities (line 135) | func RegenerateCapabilities(catalogerDir string, repoRoot string) (*Stat... function discoverAllCatalogerData (line 206) | func discoverAllCatalogerData(repoRoot string, stats *Statistics) ( function discoverAndFilterConfigs (line 253) | func discoverAndFilterConfigs(repoRoot string) (map[string]capabilities.... function discoverAndConvertAppConfigs (line 296) | func discoverAndConvertAppConfigs(repoRoot string) ([]capabilities.Appli... function applyConfigMappingFilters (line 318) | func applyConfigMappingFilters(catalogerConfigMappings map[string]string... type orphanInfo (line 355) | type orphanInfo struct type mergeStatistics (line 360) | type mergeStatistics struct type CatalogerRegistry (line 367) | type CatalogerRegistry struct method IsGeneric (line 388) | func (r *CatalogerRegistry) IsGeneric(name string) (DiscoveredCataloge... method GetInfo (line 394) | func (r *CatalogerRegistry) GetInfo(name string) *capabilities.Catalog... method DiscoveredCatalogers (line 399) | func (r *CatalogerRegistry) DiscoveredCatalogers() map[string]Discover... method AllCatalogers (line 404) | func (r *CatalogerRegistry) AllCatalogers() []capabilities.CatalogerIn... function NewCatalogerRegistry (line 374) | func NewCatalogerRegistry(discovered map[string]DiscoveredCataloger, all... type EnrichmentData (line 409) | type EnrichmentData struct method GetMetadataTypes (line 425) | func (e *EnrichmentData) GetMetadataTypes(catalogerName string) ([]str... method GetPackageTypes (line 431) | func (e *EnrichmentData) GetPackageTypes(catalogerName string) ([]stri... method EnrichEntry (line 437) | func (e *EnrichmentData) EnrichEntry(catalogerName string, entry *capa... method EnrichWithBinaryClassifier (line 468) | func (e *EnrichmentData) EnrichWithBinaryClassifier(catalogerName stri... function NewEnrichmentData (line 416) | func NewEnrichmentData(metadata, packageTypes map[string][]string, binar... function convertToJSONSchemaTypesFromMetadata (line 451) | func convertToJSONSchemaTypesFromMetadata(metadataTypes []string) []stri... type CatalogerMerger (line 513) | type CatalogerMerger struct method Merge (line 542) | func (m *CatalogerMerger) Merge() (*capabilities.Document, []orphanInf... method processExistingCatalogers (line 551) | func (m *CatalogerMerger) processExistingCatalogers() { method addNewGenericCatalogers (line 578) | func (m *CatalogerMerger) addNewGenericCatalogers() { method addNewCustomCatalogers (line 602) | func (m *CatalogerMerger) addNewCustomCatalogers() { method processGenericCataloger (line 647) | func (m *CatalogerMerger) processGenericCataloger(existingEntry *capab... method processCustomCataloger (line 667) | func (m *CatalogerMerger) processCustomCataloger(existingEntry *capabi... function NewCatalogerMerger (line 527) | func NewCatalogerMerger(registry *CatalogerRegistry, enrichment *Enrichm... function mergeDiscoveredWithExisting (line 703) | func mergeDiscoveredWithExisting( function updateEntry (line 726) | func updateEntry(existing *capabilities.CatalogerEntry, discovered Disco... function updateParsers (line 777) | func updateParsers(existingParsers []capabilities.Parser, discoveredPars... function createTemplateEntry (line 841) | func createTemplateEntry(disc DiscoveredCataloger, info *capabilities.Ca... function createTemplateParser (line 877) | func createTemplateParser(disc DiscoveredParser) capabilities.Parser { function formatOrphans (line 891) | func formatOrphans(orphans []orphanInfo) string { FILE: internal/capabilities/generate/merge_test.go function TestCapabilitiesAreUpToDate (line 18) | func TestCapabilitiesAreUpToDate(t *testing.T) { function TestMergeConfigSections (line 41) | func TestMergeConfigSections(t *testing.T) { function TestMergeCatalogerConfigField (line 166) | func TestMergeCatalogerConfigField(t *testing.T) { function TestMergePreservesManualCapabilities (line 229) | func TestMergePreservesManualCapabilities(t *testing.T) { function TestCatalogerConfigFieldUpdatedForNewCatalogers (line 312) | func TestCatalogerConfigFieldUpdatedForNewCatalogers(t *testing.T) { function TestStripPURLVersion (line 406) | func TestStripPURLVersion(t *testing.T) { function TestInferEcosystem (line 442) | func TestInferEcosystem(t *testing.T) { function TestConvertToJSONSchemaTypesFromMetadata (line 518) | func TestConvertToJSONSchemaTypesFromMetadata(t *testing.T) { FILE: internal/capabilities/generate/metadata_check.go function parsePackageMetadataTypes (line 37) | func parsePackageMetadataTypes(repoRoot string) ([]string, error) { function extractTypeName (line 92) | func extractTypeName(expr ast.Expr) string { function collectReferencedMetadataTypes (line 108) | func collectReferencedMetadataTypes(doc *capabilities.Document) []string { function checkMetadataTypeCoverage (line 137) | func checkMetadataTypeCoverage(capabilitiesDir string, repoRoot string) ... function printMetadataTypeCoverageWarning (line 171) | func printMetadataTypeCoverageWarning(capabilitiesDir string, repoRoot s... function parseConstValues (line 198) | func parseConstValues(f *ast.File) map[string]string { function extractTypesFromCompositeLit (line 225) | func extractTypesFromCompositeLit(compositeLit *ast.CompositeLit, constV... function extractAllPkgsTypes (line 239) | func extractAllPkgsTypes(f *ast.File, constValues map[string]string) []s... function parseAllPackageTypes (line 270) | func parseAllPackageTypes(repoRoot string) ([]string, error) { function collectReferencedPackageTypes (line 290) | func collectReferencedPackageTypes(doc *capabilities.Document) []string { function checkPackageTypeCoverage (line 319) | func checkPackageTypeCoverage(capabilitiesDir string, repoRoot string) (... function printPackageTypeCoverageWarning (line 353) | func printPackageTypeCoverageWarning(capabilitiesDir string, repoRoot st... FILE: internal/capabilities/generate/overrides.go type binaryClassifierOverride (line 9) | type binaryClassifierOverride struct function mustPURL (line 101) | func mustPURL(purl string) string { function singleCPE (line 105) | func singleCPE(cpeString string, _ ...any) []string { FILE: internal/capabilities/generate/testdata/cataloger/cataloger-with-constant/cataloger/python/cataloger.go constant catalogerName (line 12) | catalogerName = "python-package-cataloger" type CatalogerConfig (line 14) | type CatalogerConfig struct function NewPythonCataloger (line 18) | func NewPythonCataloger(_ CatalogerConfig) pkg.Cataloger { function parse (line 23) | func parse(_ context.Context, _ file.Resolver, _ *generic.Environment, _... FILE: internal/capabilities/generate/testdata/cataloger/conflicting-names/cataloger/duplicate1/cataloger.go type Config (line 12) | type Config struct function NewDuplicateCataloger (line 16) | func NewDuplicateCataloger(_ Config) pkg.Cataloger { function parse (line 21) | func parse(_ context.Context, _ file.Resolver, _ *generic.Environment, _... FILE: internal/capabilities/generate/testdata/cataloger/conflicting-names/cataloger/duplicate2/cataloger.go type Config (line 12) | type Config struct function NewDuplicateCataloger (line 16) | func NewDuplicateCataloger(_ Config) pkg.Cataloger { function parse (line 21) | func parse(_ context.Context, _ file.Resolver, _ *generic.Environment, _... FILE: internal/capabilities/generate/testdata/cataloger/custom-cataloger-different-file/cataloger/dotnet/cataloger.go function NewDotnetCataloger (line 7) | func NewDotnetCataloger(cfg CatalogerConfig) pkg.Cataloger { FILE: internal/capabilities/generate/testdata/cataloger/custom-cataloger-different-file/cataloger/dotnet/types.go constant catalogerName (line 11) | catalogerName = "dotnet-cataloger" type CatalogerConfig (line 13) | type CatalogerConfig struct type dotnetCataloger (line 17) | type dotnetCataloger struct method Name (line 21) | func (d dotnetCataloger) Name() string { method Catalog (line 25) | func (d dotnetCataloger) Catalog(_ context.Context, _ file.Resolver) (... FILE: internal/capabilities/generate/testdata/cataloger/custom-cataloger-same-file/cataloger/java/cataloger.go constant pomCatalogerName (line 11) | pomCatalogerName = "java-pom-cataloger" type ArchiveCatalogerConfig (line 13) | type ArchiveCatalogerConfig struct type pomXMLCataloger (line 17) | type pomXMLCataloger struct method Name (line 21) | func (p pomXMLCataloger) Name() string { method Catalog (line 25) | func (p pomXMLCataloger) Catalog(_ context.Context, _ file.Resolver) (... function NewPomCataloger (line 29) | func NewPomCataloger(cfg ArchiveCatalogerConfig) pkg.Cataloger { FILE: internal/capabilities/generate/testdata/cataloger/imported-config-type/cataloger/kernel/cataloger.go function NewLinuxKernelCataloger (line 12) | func NewLinuxKernelCataloger(_ LinuxKernelCatalogerConfig) pkg.Cataloger { function parse (line 17) | func parse(_ context.Context, _ file.Resolver, _ *generic.Environment, _... FILE: internal/capabilities/generate/testdata/cataloger/imported-config-type/cataloger/kernel/config.go type LinuxKernelCatalogerConfig (line 3) | type LinuxKernelCatalogerConfig struct FILE: internal/capabilities/generate/testdata/cataloger/mixed-naming-patterns/cataloger/ruby/cataloger.go type Config (line 12) | type Config struct function NewRubyCataloger (line 16) | func NewRubyCataloger(_ Config) pkg.Cataloger { function parse (line 21) | func parse(_ context.Context, _ file.Resolver, _ *generic.Environment, _... FILE: internal/capabilities/generate/testdata/cataloger/no-config-cataloger/cataloger/javascript/cataloger.go function NewJavaScriptCataloger (line 12) | func NewJavaScriptCataloger() pkg.Cataloger { function parse (line 17) | func parse(_ context.Context, _ file.Resolver, _ *generic.Environment, _... FILE: internal/capabilities/generate/testdata/cataloger/non-config-first-param/cataloger/binary/cataloger.go type Parser (line 12) | type Parser struct function NewBinaryCataloger (line 14) | func NewBinaryCataloger(_ Parser) pkg.Cataloger { function parse (line 19) | func parse(_ context.Context, _ file.Resolver, _ *generic.Environment, _... FILE: internal/capabilities/generate/testdata/cataloger/selector-expression-config/cataloger/rust/cataloger.go type CatalogerConfig (line 13) | type CatalogerConfig struct function NewRustCataloger (line 17) | func NewRustCataloger(_ CatalogerConfig) pkg.Cataloger { function parse (line 22) | func parse(_ context.Context, _ file.Resolver, _ *generic.Environment, _... FILE: internal/capabilities/generate/testdata/cataloger/simple-generic-cataloger/cataloger/golang/cataloger.go type CatalogerConfig (line 12) | type CatalogerConfig struct function NewGoModuleCataloger (line 16) | func NewGoModuleCataloger(_ CatalogerConfig) pkg.Cataloger { function parseGoMod (line 21) | func parseGoMod(_ context.Context, _ file.Resolver, _ *generic.Environme... FILE: internal/capabilities/generate/testdata/config-discovery/multiple-configs/cataloger/java/config.go type ArchiveCatalogerConfig (line 4) | type ArchiveCatalogerConfig struct FILE: internal/capabilities/generate/testdata/config-discovery/multiple-configs/cataloger/python/config.go type CatalogerConfig (line 4) | type CatalogerConfig struct FILE: internal/capabilities/generate/testdata/config-discovery/nested-config/cataloger/golang/config.go type MainModuleVersionConfig (line 4) | type MainModuleVersionConfig struct type CatalogerConfig (line 15) | type CatalogerConfig struct FILE: internal/capabilities/generate/testdata/config-discovery/no-annotations/cataloger/javascript/config.go type CatalogerConfig (line 4) | type CatalogerConfig struct FILE: internal/capabilities/generate/testdata/config-discovery/simple-config/cataloger/golang/config.go type CatalogerConfig (line 4) | type CatalogerConfig struct FILE: internal/capabilities/generate/util_test.go function checkCompletenessTestsEnabled (line 15) | func checkCompletenessTestsEnabled(t *testing.T) { FILE: internal/capabilities/internal/cataloger_names.go function AllPackageCatalogerInfo (line 13) | func AllPackageCatalogerInfo() ([]capabilities.CatalogerInfo, error) { FILE: internal/capabilities/internal/fixtures.go function FindTestDataDirs (line 13) | func FindTestDataDirs(repoRoot string) ([]string, error) { function ReadTestObservations (line 34) | func ReadTestObservations(path string) (*pkgtestobservation.Test, error) { FILE: internal/capabilities/internal/load_capabilities.go function LoadCapabilities (line 16) | func LoadCapabilities(catalogerDir, repoRoot string) (*capabilities.Docu... FILE: internal/capabilities/internal/load_capabilities_test.go constant requireParserObservations (line 29) | requireParserObservations = false function TestLoadDocument (line 62) | func TestLoadDocument(t *testing.T) { function TestPackages (line 84) | func TestPackages(t *testing.T) { function TestConfigCompleteness (line 95) | func TestConfigCompleteness(t *testing.T) { function TestCapabilityConfigFieldReferences (line 157) | func TestCapabilityConfigFieldReferences(t *testing.T) { function TestCapabilityFieldNaming (line 278) | func TestCapabilityFieldNaming(t *testing.T) { function TestCapabilityValueTypes (line 339) | func TestCapabilityValueTypes(t *testing.T) { function validateCapabilityValueType (line 411) | func validateCapabilityValueType(fieldPath string, value interface{}) er... function TestMetadataTypesHaveJSONSchemaTypes (line 459) | func TestMetadataTypesHaveJSONSchemaTypes(t *testing.T) { function convertMetadataTypeToJSONSchemaType (line 545) | func convertMetadataTypeToJSONSchemaType(metadataType string) string { function findStructFields (line 554) | func findStructFields(file *ast.File, structName string) map[string]stri... function getTypeName (line 588) | func getTypeName(expr ast.Expr) string { function findMetadataStructFile (line 608) | func findMetadataStructFile(repoRoot, structName string) (filePath strin... function parseEvidenceReference (line 667) | func parseEvidenceReference(evidence string) (structName string, fieldPa... function validateFieldPath (line 695) | func validateFieldPath(repoRoot, structName string, fieldPath []string) ... function TestCapabilityEvidenceFieldReferences (line 777) | func TestCapabilityEvidenceFieldReferences(t *testing.T) { function TestDetectorConfigFieldReferences (line 856) | func TestDetectorConfigFieldReferences(t *testing.T) { function TestCatalogersInSync (line 925) | func TestCatalogersInSync(t *testing.T) { function getCatalogerNamesFromBinary (line 972) | func getCatalogerNamesFromBinary(t *testing.T) []string { function validateCapabilitiesFilled (line 988) | func validateCapabilitiesFilled(t *testing.T, catalogers []capabilities.... function TestPackageTypeCoverage (line 1016) | func TestPackageTypeCoverage(t *testing.T) { function TestMetadataTypeCoverage (line 1063) | func TestMetadataTypeCoverage(t *testing.T) { function TestCatalogerStructure (line 1115) | func TestCatalogerStructure(t *testing.T) { function TestCatalogerDataQuality (line 1157) | func TestCatalogerDataQuality(t *testing.T) { function TestCatalogersHaveTestObservations (line 1238) | func TestCatalogersHaveTestObservations(t *testing.T) { function extractPackageName (line 1347) | func extractPackageName(catalogerName string) string { FILE: internal/capabilities/internal/paths.go constant CatalogerDirRel (line 9) | CatalogerDirRel = "syft/pkg/cataloger" constant InternalCapabilitiesDirRel (line 12) | InternalCapabilitiesDirRel = "internal/capabilities" constant CapabilitiesFilename (line 15) | CapabilitiesFilename = "capabilities.yaml" constant AppconfigFilename (line 18) | AppconfigFilename = "appconfig.yaml" function CatalogerDir (line 22) | func CatalogerDir(repoRoot string) string { function CapabilitiesDir (line 27) | func CapabilitiesDir(repoRoot string) string { function EcosystemCapabilitiesPath (line 32) | func EcosystemCapabilitiesPath(catalogerDir, ecosystem string) string { function AppconfigPath (line 37) | func AppconfigPath(repoRoot string) string { FILE: internal/capabilities/internal/repo_root.go function RepoRoot (line 12) | func RepoRoot() (string, error) { FILE: internal/capabilities/internal/util_test.go function checkCompletenessTestsEnabled (line 15) | func checkCompletenessTestsEnabled(t *testing.T) { FILE: internal/capabilities/model.go type ArtifactDetectionMethod (line 4) | type ArtifactDetectionMethod constant GlobDetection (line 8) | GlobDetection ArtifactDetectionMethod = "glob" constant PathDetection (line 10) | PathDetection ArtifactDetectionMethod = "path" constant MIMETypeDetection (line 12) | MIMETypeDetection ArtifactDetectionMethod = "mimetype" type Document (line 16) | type Document struct type CatalogerConfigFieldEntry (line 23) | type CatalogerConfigFieldEntry struct type CatalogerConfigEntry (line 30) | type CatalogerConfigEntry struct type ApplicationConfigField (line 35) | type ApplicationConfigField struct type Source (line 42) | type Source struct type Detector (line 48) | type Detector struct type DetectorPackageInfo (line 57) | type DetectorPackageInfo struct type DetectorCondition (line 66) | type DetectorCondition struct type CatalogerEntry (line 74) | type CatalogerEntry struct type Parser (line 90) | type Parser struct type CapabilityField (line 101) | type CapabilityField struct type CapabilityCondition (line 116) | type CapabilityCondition struct type CapabilitySet (line 127) | type CapabilitySet FILE: internal/capabilities/model_test.go function TestConfigSchemaExtensions (line 11) | func TestConfigSchemaExtensions(t *testing.T) { function TestConfigSchemaOmitEmpty (line 88) | func TestConfigSchemaOmitEmpty(t *testing.T) { function TestCatalogerConfigField (line 109) | func TestCatalogerConfigField(t *testing.T) { function TestCatalogerConfigFieldOmitEmpty (line 134) | func TestCatalogerConfigFieldOmitEmpty(t *testing.T) { FILE: internal/capabilities/pkgtestobservation/model.go type Observations (line 6) | type Observations struct type Relationship (line 15) | type Relationship struct type Count (line 21) | type Count struct type Test (line 27) | type Test struct type Parser (line 35) | type Parser struct type Cataloger (line 42) | type Cataloger struct FILE: internal/capabilities/util_test.go function checkCompletenessTestsEnabled (line 15) | func checkCompletenessTestsEnabled(t *testing.T) { FILE: internal/cmptest/common_options.go function DefaultOptions (line 14) | func DefaultOptions() []cmp.Option { function DefaultIgnoreLocationLayerOptions (line 18) | func DefaultIgnoreLocationLayerOptions() []cmp.Option { function BuildOptions (line 22) | func BuildOptions(licenseCmp LicenseComparer, locationCmp LocationCompar... function locationSorter (line 46) | func locationSorter(a, b file.Location) int { FILE: internal/cmptest/diff_reporter.go type DiffReporter (line 11) | type DiffReporter struct method PushStep (line 20) | func (r *DiffReporter) PushStep(ps cmp.PathStep) { method Report (line 24) | func (r *DiffReporter) Report(rs cmp.Result) { method PopStep (line 31) | func (r *DiffReporter) PopStep() { method String (line 35) | func (r *DiffReporter) String() string { function NewDiffReporter (line 16) | func NewDiffReporter() DiffReporter { FILE: internal/cmptest/license.go type LicenseComparer (line 10) | type LicenseComparer function DefaultLicenseComparer (line 12) | func DefaultLicenseComparer(x, y pkg.License) bool { function LicenseComparerWithoutLocationLayer (line 20) | func LicenseComparerWithoutLocationLayer(x, y pkg.License) bool { FILE: internal/cmptest/location.go type LocationComparer (line 10) | type LocationComparer function DefaultLocationComparer (line 12) | func DefaultLocationComparer(x, y file.Location) bool { function LocationComparerWithoutLayer (line 16) | func LocationComparerWithoutLayer(x, y file.Location) bool { FILE: internal/cmptest/relationship.go type RelationshipComparer (line 9) | type RelationshipComparer function DefaultRelationshipComparer (line 21) | func DefaultRelationshipComparer(x, y artifact.Relationship) bool { FILE: internal/cmptest/set.go type slicer (line 3) | type slicer interface function buildSetComparer (line 7) | func buildSetComparer[T any, S slicer[T]](l func(x, y T) bool, sorters .... FILE: internal/constants.go constant JSONSchemaVersion (line 6) | JSONSchemaVersion = "16.1.3" FILE: internal/err_helper.go function CloseAndLogError (line 14) | func CloseAndLogError(closer io.Closer, location string) { type ErrPath (line 24) | type ErrPath struct method Error (line 30) | func (e ErrPath) Error() string { function IsErrPath (line 34) | func IsErrPath(err error) bool { function IsErrPathPermission (line 39) | func IsErrPathPermission(err error) bool { FILE: internal/evidence/constants.go constant AnnotationKey (line 6) | AnnotationKey = "evidence" constant PrimaryAnnotation (line 7) | PrimaryAnnotation = "primary" constant SupportingAnnotation (line 8) | SupportingAnnotation = "supporting" FILE: internal/file/archive_aliases.go function IdentifyArchive (line 31) | func IdentifyArchive(ctx context.Context, path string, r io.Reader) (arc... function handleCompoundArchiveAliases (line 40) | func handleCompoundArchiveAliases(path string) string { FILE: internal/file/archive_aliases_test.go function TestHandleCompoundArchiveAliases (line 9) | func TestHandleCompoundArchiveAliases(t *testing.T) { FILE: internal/file/copy.go constant perFileReadLimit (line 9) | perFileReadLimit = 2 * GB function safeCopy (line 13) | func safeCopy(writer io.Writer, reader io.Reader) error { FILE: internal/file/digest.go function supportedHashAlgorithms (line 16) | func supportedHashAlgorithms() []crypto.Hash { constant emptyMD5 (line 29) | emptyMD5 = "d41d8cd98f00b204e9800998ecf8427e" constant emptySHA1 (line 30) | emptySHA1 = "da39a3ee5e6b4b0d3255bfef95601890afd80709" constant emptySHA224 (line 31) | emptySHA224 = "d14a028c2a3a2bc9476102bb288234c415a2b01f828ea62ac5b3e42f" constant emptySHA256 (line 32) | emptySHA256 = "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7... constant emptySHA384 (line 33) | emptySHA384 = "38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf6... constant emptySHA512 (line 34) | emptySHA512 = "cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d... function NewDigestsFromFile (line 37) | func NewDigestsFromFile(ctx context.Context, closer io.ReadCloser, hashe... function Hashers (line 96) | func Hashers(names ...string) ([]crypto.Hash, error) { function CleanDigestAlgorithmName (line 113) | func CleanDigestAlgorithmName(name string) string { FILE: internal/file/digest_test.go function TestCleanDigestAlgorithmName (line 15) | func TestCleanDigestAlgorithmName(t *testing.T) { function TestNewDigestsFromFile (line 34) | func TestNewDigestsFromFile(t *testing.T) { function TestHashers (line 126) | func TestHashers(t *testing.T) { FILE: internal/file/getter.go type Getter (line 22) | type Getter interface type HashiGoGetter (line 31) | type HashiGoGetter struct method GetFile (line 48) | func (g HashiGoGetter) GetFile(dst, src string, monitors ...*progress.... method GetToDir (line 56) | func (g HashiGoGetter) GetToDir(dst, src string, monitors ...*progress... function NewGetter (line 37) | func NewGetter(id clio.Identification, httpClient *http.Client) *HashiGo... function validateHTTPSource (line 68) | func validateHTTPSource(src string) error { function getterClient (line 85) | func getterClient(dst, src string, dir bool, httpGetter getter.HttpGette... function withProgress (line 108) | func withProgress(monitor *progress.Manual) func(client *getter.Client) ... function mapToGetterClientOptions (line 114) | func mapToGetterClientOptions(monitors []*progress.Manual) []getter.Clie... type readCloser (line 131) | type readCloser struct method Close (line 135) | func (c *readCloser) Close() error { return nil } type progressAdapter (line 137) | type progressAdapter struct method TrackProgress (line 141) | func (a *progressAdapter) TrackProgress(_ string, currentSize, totalSi... function getterDecompressorNames (line 149) | func getterDecompressorNames() (names []string) { FILE: internal/file/getter_test.go function TestGetter_GetFile (line 21) | func TestGetter_GetFile(t *testing.T) { function TestGetter_GetToDir_FilterNonArchivesWired (line 62) | func TestGetter_GetToDir_FilterNonArchivesWired(t *testing.T) { function TestGetter_validateHttpSource (line 82) | func TestGetter_validateHttpSource(t *testing.T) { function TestGetter_GetToDir_CertConcerns (line 112) | func TestGetter_GetToDir_CertConcerns(t *testing.T) { function assertUnknownAuthorityError (line 154) | func assertUnknownAuthorityError(t assert.TestingT, err error, _ ...inte... function assertErrNonArchiveSource (line 158) | func assertErrNonArchiveSource(t assert.TestingT, err error, _ ...interf... function removeTrustedCAs (line 162) | func removeTrustedCAs(client *http.Client) { function createTarball (line 167) | func createTarball(filename string, content []byte) []byte { type muxOption (line 181) | type muxOption function withResponseForPath (line 183) | func withResponseForPath(t *testing.T, path string, response []byte) mux... function newTestServer (line 203) | func newTestServer(t *testing.T, muxOptions ...muxOption) *httptest.Serv... function createRequestURL (line 217) | func createRequestURL(t *testing.T, server *httptest.Server, path string... function getClient (line 237) | func getClient(t *testing.T, server *httptest.Server) *http.Client { function getHost (line 257) | func getHost(t *testing.T, server *httptest.Server) string { FILE: internal/file/normalize_hashes.go function NormalizeHashes (line 10) | func NormalizeHashes(hashes []crypto.Hash) []crypto.Hash { FILE: internal/file/normalize_hashes_test.go function TestNormalizeHashes (line 10) | func TestNormalizeHashes(t *testing.T) { FILE: internal/file/opener.go type Opener (line 9) | type Opener struct method Open (line 14) | func (o Opener) Open() (io.ReadCloser, error) { FILE: internal/file/squashfs.go type WalkDiskDirFunc (line 12) | type WalkDiskDirFunc function WalkDiskDir (line 16) | func WalkDiskDir(fsys filesystem.FileSystem, root string, fn WalkDiskDir... function walkDiskDir (line 44) | func walkDiskDir(fsys filesystem.FileSystem, name string, d os.FileInfo,... FILE: internal/file/squashfs_test.go function createTestFS (line 16) | func createTestFS(t *testing.T) filesystem.FileSystem { function TestWalkDiskDir_CompleteTraversal (line 60) | func TestWalkDiskDir_CompleteTraversal(t *testing.T) { function TestWalkDiskDir_FileInfoCorrect (line 88) | func TestWalkDiskDir_FileInfoCorrect(t *testing.T) { function TestWalkDiskDir_SkipDir (line 126) | func TestWalkDiskDir_SkipDir(t *testing.T) { function TestWalkDiskDir_SkipAll (line 151) | func TestWalkDiskDir_SkipAll(t *testing.T) { function TestWalkDiskDir_EmptyDirectory (line 176) | func TestWalkDiskDir_EmptyDirectory(t *testing.T) { function TestWalkDiskDir_NonexistentPath (line 190) | func TestWalkDiskDir_NonexistentPath(t *testing.T) { function TestWalkDiskDir_WalkFunctionError (line 200) | func TestWalkDiskDir_WalkFunctionError(t *testing.T) { function TestWalkDiskDir_SubdirectoryTraversal (line 215) | func TestWalkDiskDir_SubdirectoryTraversal(t *testing.T) { function TestWalkDiskDir_SingleFile (line 237) | func TestWalkDiskDir_SingleFile(t *testing.T) { FILE: internal/file/tar_file_traversal.go function TraverseFilesInTar (line 16) | func TraverseFilesInTar(ctx context.Context, archivePath string, visitor... function ExtractGlobsFromTarToUniqueTempFile (line 37) | func ExtractGlobsFromTarToUniqueTempFile(ctx context.Context, archivePat... function matchesAnyGlob (line 85) | func matchesAnyGlob(name string, globs ...string) bool { FILE: internal/file/zip_file_helpers_test.go function createZipArchive (line 23) | func createZipArchive(t testing.TB, sourceDirPath, destinationArchivePat... function setupZipFileTest (line 66) | func setupZipFileTest(t testing.TB, sourceDirPath string, zip64 bool) st... function ensureNestedZipExists (line 85) | func ensureNestedZipExists(t *testing.T, sourceDirPath string) error { FILE: internal/file/zip_file_manifest.go type ZipFileManifest (line 17) | type ZipFileManifest method Add (line 44) | func (z ZipFileManifest) Add(entry string, info os.FileInfo) { method GlobMatch (line 49) | func (z ZipFileManifest) GlobMatch(caseInsensitive bool, patterns ...s... function NewZipFileManifest (line 20) | func NewZipFileManifest(ctx context.Context, archivePath string) (ZipFil... function normalizeZipEntryName (line 85) | func normalizeZipEntryName(caseInsensitive bool, entry string) string { FILE: internal/file/zip_file_manifest_test.go function TestNewZipFileManifest (line 16) | func TestNewZipFileManifest(t *testing.T) { function TestNewZip64FileManifest (line 56) | func TestNewZip64FileManifest(t *testing.T) { function TestZipFileManifest_GlobMatch (line 91) | func TestZipFileManifest_GlobMatch(t *testing.T) { FILE: internal/file/zip_file_traversal.go constant _ (line 18) | _ = iota constant KB (line 19) | KB = 1 << (10 * iota) constant MB (line 20) | MB constant GB (line 21) | GB type errZipSlipDetected (line 24) | type errZipSlipDetected struct method Error (line 29) | func (e *errZipSlipDetected) Error() string { type zipTraversalRequest (line 33) | type zipTraversalRequest function newZipTraverseRequest (line 35) | func newZipTraverseRequest(paths ...string) zipTraversalRequest { function TraverseFilesInZip (line 44) | func TraverseFilesInZip(ctx context.Context, archivePath string, visitor... function ExtractFromZipToUniqueTempFile (line 71) | func ExtractFromZipToUniqueTempFile(ctx context.Context, archivePath, di... function ContentsFromZip (line 117) | func ContentsFromZip(ctx context.Context, archivePath string, paths ...s... function UnzipToDir (line 154) | func UnzipToDir(ctx context.Context, archivePath, targetDir string) error { function SafeJoin (line 168) | func SafeJoin(prefix string, dest ...string) (string, error) { function extractSingleFile (line 181) | func extractSingleFile(file archives.FileInfo, expandedFilePath, archive... FILE: internal/file/zip_file_traversal_test.go function equal (line 25) | func equal(r1, r2 io.Reader) (bool, error) { function TestUnzipToDir (line 44) | func TestUnzipToDir(t *testing.T) { function TestContentsFromZip (line 126) | func TestContentsFromZip(t *testing.T) { function prependZipSourceFixtureWithString (line 161) | func prependZipSourceFixtureWithString(tb testing.TB, value string) func... function prepZipSourceFixture (line 206) | func prepZipSourceFixture(t testing.TB) string { function zipSourceFixtureExpectedContents (line 220) | func zipSourceFixtureExpectedContents() map[string]string { function assertZipSourceFixtureContents (line 227) | func assertZipSourceFixtureContents(t testing.TB, actual map[string]stri... function assertErrorAs (line 245) | func assertErrorAs(expectedErr interface{}) assert.ErrorAssertionFunc { function TestSafeJoin (line 251) | func TestSafeJoin(t *testing.T) { function TestSafeJoin_SymlinkProtection (line 323) | func TestSafeJoin_SymlinkProtection(t *testing.T) { function TestUnzipToDir_SymlinkAttacks (line 408) | func TestUnzipToDir_SymlinkAttacks(t *testing.T) { function TestContentsFromZip_SymlinkAttacks (line 483) | func TestContentsFromZip_SymlinkAttacks(t *testing.T) { function TestExtractFromZipToUniqueTempFile_SymlinkAttacks (line 553) | func TestExtractFromZipToUniqueTempFile_SymlinkAttacks(t *testing.T) { type forensicFindings (line 639) | type forensicFindings struct type forensicSymlink (line 646) | type forensicSymlink struct function analyzeExtractionDirectory (line 655) | func analyzeExtractionDirectory(t *testing.T, extractDir string) forensi... function checkFileOutsideExtraction (line 731) | func checkFileOutsideExtraction(t *testing.T, filePath string) bool { function checkSymlinkCreation (line 749) | func checkSymlinkCreation(t *testing.T, symlinkPath, extractDir, expecte... function createMaliciousZipWithSymlink (line 781) | func createMaliciousZipWithSymlink(t *testing.T, tempDir, symlinkName, s... FILE: internal/input.go function IsPipedInput (line 9) | func IsPipedInput() (bool, error) { function IsTerminal (line 23) | func IsTerminal() bool { FILE: internal/jsonschema/comments.go function copyAliasFieldComments (line 15) | func copyAliasFieldComments(commentMap map[string]string, repoRoot strin... function findTypeAliases (line 34) | func findTypeAliases(repoRoot string) map[string]string { function hasDescriptionInAlternatives (line 79) | func hasDescriptionInAlternatives(schema *jsonschema.Schema) bool { function warnMissingDescriptions (line 95) | func warnMissingDescriptions(schema *jsonschema.Schema, metadataNames []... FILE: internal/jsonschema/comments_test.go function TestCopyAliasFieldComments (line 16) | func TestCopyAliasFieldComments(t *testing.T) { function TestFindTypeAliases (line 108) | func TestFindTypeAliases(t *testing.T) { function TestHasDescriptionInAlternatives (line 187) | func TestHasDescriptionInAlternatives(t *testing.T) { function TestWarnMissingDescriptions (line 251) | func TestWarnMissingDescriptions(t *testing.T) { function newOrderedMap (line 376) | func newOrderedMap(m map[string]*jsonschema.Schema) *orderedmap.OrderedM... FILE: internal/jsonschema/main.go function init (line 31) | func init() { function main (line 40) | func main() { function schemaID (line 44) | func schemaID() jsonschema.ID { function assembleTypeContainer (line 50) | func assembleTypeContainer(items []any) (any, map[string]string) { function build (line 86) | func build() *jsonschema.Schema { function encode (line 193) | func encode(schema *jsonschema.Schema) []byte { function write (line 207) | func write(schema []byte) { FILE: internal/licenses/context.go type licenseScannerKey (line 7) | type licenseScannerKey struct function SetContextLicenseScanner (line 11) | func SetContextLicenseScanner(ctx context.Context, s Scanner) context.Co... function IsContextLicenseScannerSet (line 15) | func IsContextLicenseScannerSet(ctx context.Context) bool { function ContextLicenseScanner (line 20) | func ContextLicenseScanner(ctx context.Context) (Scanner, error) { FILE: internal/licenses/context_test.go function TestSetContextLicenseScanner (line 10) | func TestSetContextLicenseScanner(t *testing.T) { function TestIsContextLicenseScannerSet (line 22) | func TestIsContextLicenseScannerSet(t *testing.T) { function TestContextLicenseScanner (line 31) | func TestContextLicenseScanner(t *testing.T) { FILE: internal/licenses/find_evidence.go method FindEvidence (line 8) | func (s *scanner) FindEvidence(_ context.Context, reader io.Reader) (evi... FILE: internal/licenses/find_evidence_test.go function TestDefaultScanner_FindEvidence (line 13) | func TestDefaultScanner_FindEvidence(t *testing.T) { function testScanner (line 67) | func testScanner() Scanner { function mustOpen (line 74) | func mustOpen(fixture string) []byte { FILE: internal/licenses/list.go function FileNames (line 7) | func FileNames() []string { FILE: internal/licenses/scanner.go constant UnknownLicensePrefix (line 14) | UnknownLicensePrefix = unknownLicenseType + "_" constant DefaultCoverageThreshold (line 15) | DefaultCoverageThreshold = 75 constant unknownLicenseType (line 17) | unknownLicenseType = "UNKNOWN" type Evidence (line 20) | type Evidence struct type Scanner (line 28) | type Scanner interface type scanner (line 34) | type scanner struct type ScannerConfig (line 39) | type ScannerConfig struct type Option (line 44) | type Option function WithCoverage (line 46) | func WithCoverage(coverage float64) Option { function NewDefaultScanner (line 53) | func NewDefaultScanner(o ...Option) (Scanner, error) { function NewScanner (line 73) | func NewScanner(c *ScannerConfig) (Scanner, error) { FILE: internal/log/log.go function Set (line 16) | func Set(l logger.Logger) { function Get (line 28) | func Get() logger.Logger { function Errorf (line 33) | func Errorf(format string, args ...interface{}) { function Error (line 38) | func Error(args ...interface{}) { function Warnf (line 43) | func Warnf(format string, args ...interface{}) { function Warn (line 48) | func Warn(args ...interface{}) { function Infof (line 53) | func Infof(format string, args ...interface{}) { function Info (line 58) | func Info(args ...interface{}) { function Debugf (line 63) | func Debugf(format string, args ...interface{}) { function Debug (line 68) | func Debug(args ...interface{}) { function Tracef (line 73) | func Tracef(format string, args ...interface{}) { function Trace (line 78) | func Trace(args ...interface{}) { function WithFields (line 83) | func WithFields(fields ...interface{}) logger.MessageLogger { function Nested (line 88) | func Nested(fields ...interface{}) logger.Logger { FILE: internal/mimetype/mimetype_helper.go function IsArchive (line 67) | func IsArchive(mimeType string) bool { function IsExecutable (line 71) | func IsExecutable(mimeType string) bool { FILE: internal/mimetype/mimetype_helper_test.go function Test_IsArchive (line 9) | func Test_IsArchive(t *testing.T) { function Test_IsExecutable (line 34) | func Test_IsExecutable(t *testing.T) { FILE: internal/os/feature_detection.go function DetectFeatures (line 16) | func DetectFeatures(_ context.Context, resolver file.Resolver, builder s... function findRhelFeatures (line 31) | func findRhelFeatures(resolver file.Resolver, release *linux.Release) er... function hasRhelExtendedSupportInContentManifest (line 52) | func hasRhelExtendedSupportInContentManifest(resolver file.Resolver, con... FILE: internal/os/feature_detection_test.go function Test_EnvironmentTask (line 19) | func Test_EnvironmentTask(t *testing.T) { FILE: internal/packagemetadata/completion_tester.go type CompletionTester (line 8) | type CompletionTester struct method Ignore (line 27) | func (tr *CompletionTester) Ignore(is ...any) { method Expect (line 31) | func (tr *CompletionTester) Expect(is ...any) { method Tested (line 35) | func (tr *CompletionTester) Tested(t testing.TB, m any) { method validate (line 62) | func (tr *CompletionTester) validate(t testing.TB) { function NewCompletionTester (line 14) | func NewCompletionTester(t testing.TB, ignore ...any) *CompletionTester { function keepNonNil (line 87) | func keepNonNil(is ...any) []any { FILE: internal/packagemetadata/discover_type_names.go function DiscoverTypeNames (line 32) | func DiscoverTypeNames() ([]string, error) { function RepoRoot (line 44) | func RepoRoot() (string, error) { function findMetadataDefinitionNames (line 56) | func findMetadataDefinitionNames(paths ...string) ([]string, error) { function findMetadataDefinitionNamesInFile (line 96) | func findMetadataDefinitionNamesInFile(path string) ([]string, []string,... function extractSliceOfStructType (line 144) | func extractSliceOfStructType(exp ast.Expr) *ast.StructType { function extractStructType (line 172) | func extractStructType(exp ast.Expr) *ast.StructType { function typeNamesUsedInStruct (line 200) | func typeNamesUsedInStruct(structType *ast.StructType) []string { function isMetadataTypeCandidate (line 222) | func isMetadataTypeCandidate(name string) bool { FILE: internal/packagemetadata/discover_type_names_test.go function TestDiscoverTypeNames_byExample (line 11) | func TestDiscoverTypeNames_byExample(t *testing.T) { FILE: internal/packagemetadata/generate/main.go constant pkgImport (line 16) | pkgImport = "github.com/anchore/syft/syft/pkg" constant path (line 17) | path = "packagemetadata/generated.go" function main (line 20) | func main() { FILE: internal/packagemetadata/generated.go function AllTypes (line 8) | func AllTypes() []any { FILE: internal/packagemetadata/names.go type jsonType (line 10) | type jsonType struct function jsonNames (line 17) | func jsonNames(ty any, name string, legacyNames ...string) jsonType { function jsonNamesWithoutLookup (line 25) | func jsonNamesWithoutLookup(ty any, name string, noLookupLegacyName stri... type jsonTypeMapping (line 33) | type jsonTypeMapping struct function makeJSONTypes (line 39) | func makeJSONTypes(types ...jsonType) jsonTypeMapping { function expandLegacyNameVariants (line 131) | func expandLegacyNameVariants(names ...string) []string { function AllTypeNames (line 144) | func AllTypeNames() []string { function JSONName (line 152) | func JSONName(metadata any) string { function JSONLegacyName (line 159) | func JSONLegacyName(metadata any) string { function ReflectTypeFromJSONName (line 166) | func ReflectTypeFromJSONName(name string) reflect.Type { function JSONNameFromString (line 173) | func JSONNameFromString(typeName string) string { function ToUpperCamelCase (line 188) | func ToUpperCamelCase(kebab string) string { FILE: internal/packagemetadata/names_test.go function TestAllNames (line 14) | func TestAllNames(t *testing.T) { function TestReflectTypeFromJSONName (line 34) | func TestReflectTypeFromJSONName(t *testing.T) { function TestReflectTypeFromJSONName_LegacyValues (line 76) | func TestReflectTypeFromJSONName_LegacyValues(t *testing.T) { function Test_JSONName_JSONLegacyName (line 264) | func Test_JSONName_JSONLegacyName(t *testing.T) { FILE: internal/redact/redact.go function Set (line 7) | func Set(s redact.Store) { function Get (line 16) | func Get() redact.Store { function Add (line 20) | func Add(vs ...string) { function Apply (line 29) | func Apply(value string) string { FILE: internal/regex_helpers.go constant readerChunkSize (line 8) | readerChunkSize = 1024 * 1024 function MatchNamedCaptureGroups (line 12) | func MatchNamedCaptureGroups(regEx *regexp.Regexp, content string) map[s... function MatchNamedCaptureGroupsFromReader (line 42) | func MatchNamedCaptureGroupsFromReader(re *regexp.Regexp, r io.Reader) (... function MatchAnyFromReader (line 56) | func MatchAnyFromReader(r io.Reader, res ...*regexp.Regexp) (bool, error) { function matchNamedCaptureGroupsHandler (line 60) | func matchNamedCaptureGroupsHandler(re *regexp.Regexp, results map[strin... function matchAnyHandler (line 75) | func matchAnyHandler(res []*regexp.Regexp) func(data []byte) (bool, erro... function processReaderInChunks (line 88) | func processReaderInChunks(rdr io.Reader, chunkSize int, handler func(da... function isEmptyMap (line 123) | func isEmptyMap(m map[string]string) bool { FILE: internal/regex_helpers_test.go function TestMatchCaptureGroups (line 12) | func TestMatchCaptureGroups(t *testing.T) { function TestMatchNamedCaptureGroupsFromReader (line 74) | func TestMatchNamedCaptureGroupsFromReader(t *testing.T) { function TestMatchAnyFromReader (line 122) | func TestMatchAnyFromReader(t *testing.T) { function TestProcessReaderInChunks_ChunkBoundaries (line 169) | func TestProcessReaderInChunks_ChunkBoundaries(t *testing.T) { FILE: internal/relationship/binary/binary_dependencies.go function NewDependencyRelationships (line 15) | func NewDependencyRelationships(resolver file.Resolver, accessor sbomsyn... function generateRelationships (line 27) | func generateRelationships(resolver file.Resolver, accessor sbomsync.Acc... function PackagesToRemove (line 61) | func PackagesToRemove(accessor sbomsync.Accessor) []artifact.ID { function compareElfBinaryPackages (line 70) | func compareElfBinaryPackages(s *sbom.SBOM) []artifact.ID { function onlyPrimaryEvidenceLocations (line 88) | func onlyPrimaryEvidenceLocations(p pkg.Package) []file.Location { function allElfPackages (line 100) | func allElfPackages(s *sbom.SBOM) []pkg.Package { function isElfPackage (line 111) | func isElfPackage(p pkg.Package) bool { function populateRelationships (line 116) | func populateRelationships(exec file.Executable, parentPkg pkg.Package, ... FILE: internal/relationship/binary/binary_dependencies_test.go function TestPackagesToRemove (line 18) | func TestPackagesToRemove(t *testing.T) { function TestNewDependencyRelationships (line 137) | func TestNewDependencyRelationships(t *testing.T) { function relationshipComparer (line 343) | func relationshipComparer(x, y []artifact.Relationship) string { function lessRelationships (line 352) | func lessRelationships(r1, r2 artifact.Relationship) bool { function newAccessor (line 365) | func newAccessor(pkgs []pkg.Package, coordinateIndex map[file.Coordinate... FILE: internal/relationship/binary/shared_library_index.go type sharedLibraryIndex (line 13) | type sharedLibraryIndex struct method build (line 31) | func (i *sharedLibraryIndex) build(resolver file.Resolver, accessor sb... method owningLibraryPackage (line 39) | func (i *sharedLibraryIndex) owningLibraryPackage(libraryBasename stri... function newShareLibIndex (line 19) | func newShareLibIndex(resolver file.Resolver, accessor sbomsync.Accessor... function locationsThatProvideLibraries (line 54) | func locationsThatProvideLibraries(accessor sbomsync.Accessor) (map[stri... function packagesWithLibraryOwnership (line 76) | func packagesWithLibraryOwnership(resolver file.Resolver, accessor sboms... function populatePackagesByLibraryPath (line 102) | func populatePackagesByLibraryPath( FILE: internal/relationship/binary/shared_library_index_test.go function Test_newShareLibIndex (line 12) | func Test_newShareLibIndex(t *testing.T) { function Test_sharedLibraryIndex_build (line 39) | func Test_sharedLibraryIndex_build(t *testing.T) { FILE: internal/relationship/by_file_ownership.go constant altRpmDBGlob (line 19) | altRpmDBGlob = "**/rpm/{Packages,Packages.db,rpmdb.sqlite}" type ownershipByFilesMetadata (line 32) | type ownershipByFilesMetadata struct function ByFileOwnershipOverlapWorker (line 36) | func ByFileOwnershipOverlapWorker(resolver file.Resolver, accessor sboms... function byFileOwnershipOverlap (line 50) | func byFileOwnershipOverlap(resolver file.Resolver, catalog *pkg.Collect... function findOwnershipByFilesRelationships (line 88) | func findOwnershipByFilesRelationships(resolver file.Resolver, catalog *... function directOwnersByPath (line 162) | func directOwnersByPath(catalog *pkg.Collection) map[pkg.Type]*strset.Set { function resolvePaths (line 195) | func resolvePaths(ownedFilePath string, resolver file.Resolver) []string { function matchesAny (line 214) | func matchesAny(s string, globs []string) bool { FILE: internal/relationship/by_file_ownership_test.go type mockFR (line 15) | type mockFR struct method FilesByPath (line 20) | func (m mockFR) FilesByPath(paths ...string) ([]file.Location, error) { function TestOwnershipByFilesRelationship (line 32) | func TestOwnershipByFilesRelationship(t *testing.T) { FILE: internal/relationship/evident_by.go function EvidentBy (line 8) | func EvidentBy(catalog *pkg.Collection) []artifact.Relationship { FILE: internal/relationship/evident_by_test.go function TestRelationshipsEvidentBy (line 14) | func TestRelationshipsEvidentBy(t *testing.T) { FILE: internal/relationship/exclude_binaries_by_file_ownership_overlap.go function ExcludeBinariesByFileOwnershipOverlap (line 35) | func ExcludeBinariesByFileOwnershipOverlap(accessor sbomsync.Accessor) { function excludeByFileOwnershipOverlap (line 48) | func excludeByFileOwnershipOverlap(r artifact.Relationship, c *pkg.Colle... function identifyOverlappingJVMRelationship (line 80) | func identifyOverlappingJVMRelationship(parent *pkg.Package, child *pkg.... function identifyOverlappingOSRelationship (line 115) | func identifyOverlappingOSRelationship(parent *pkg.Package, child *pkg.P... function identifyOverlappingBitnamiRelationship (line 136) | func identifyOverlappingBitnamiRelationship(parent *pkg.Package, child *... FILE: internal/relationship/exclude_binaries_by_file_ownership_overlap_test.go function TestExcludeByFileOwnershipOverlap (line 12) | func TestExcludeByFileOwnershipOverlap(t *testing.T) { function TestIdentifyOverlappingOSRelationship (line 75) | func TestIdentifyOverlappingOSRelationship(t *testing.T) { function TestIdentifyOverlappingBitnamiRelationship (line 132) | func TestIdentifyOverlappingBitnamiRelationship(t *testing.T) { function TestIdentifyOverlappingJVMRelationship (line 189) | func TestIdentifyOverlappingJVMRelationship(t *testing.T) { FILE: internal/relationship/index.go type Index (line 12) | type Index struct method Add (line 29) | func (i *Index) Add(relationships ...artifact.Relationship) { method Remove (line 67) | func (i *Index) Remove(id artifact.ID) { method Replace (line 80) | func (i *Index) Replace(ogID artifact.ID, replacement artifact.Identif... method From (line 109) | func (i *Index) From(identifiable artifact.Identifiable, types ...arti... method To (line 114) | func (i *Index) To(identifiable artifact.Identifiable, types ...artifa... method References (line 119) | func (i *Index) References(identifiable artifact.Identifiable, types .... method Coordinates (line 125) | func (i *Index) Coordinates(identifiable artifact.Identifiable, types ... method Contains (line 135) | func (i *Index) Contains(r artifact.Relationship) bool { method All (line 145) | func (i *Index) All(types ...artifact.RelationshipType) []artifact.Rel... function NewIndex (line 19) | func NewIndex(relationships ...artifact.Relationship) *Index { function fromMapped (line 149) | func fromMapped(idMap map[artifact.ID]*mappedRelationships, identifiable... function fromMappedByID (line 156) | func fromMappedByID(idMap map[artifact.ID]*mappedRelationships, id artif... function toSortedSlice (line 167) | func toSortedSlice(relationships []*sortableRelationship, types []artifa... function extractCoordinates (line 179) | func extractCoordinates(relationship artifact.Relationship) (results []f... type mappedRelationships (line 191) | type mappedRelationships struct method add (line 196) | func (m *mappedRelationships) add(id artifact.ID, newRelationship *sor... type sortableRelationship (line 209) | type sortableRelationship struct function sortFunc (line 215) | func sortFunc(a, b *sortableRelationship) int { FILE: internal/relationship/index_test.go function Test_Index (line 14) | func Test_Index(t *testing.T) { function Test_sortOrder (line 80) | func Test_sortOrder(t *testing.T) { function Test_Coordinates (line 149) | func Test_Coordinates(t *testing.T) { type id (line 226) | type id method ID (line 228) | func (i id) ID() artifact.ID { function slice (line 232) | func slice[T any](values ...T) []T { function TestRemove (line 236) | func TestRemove(t *testing.T) { function TestReplace (line 331) | func TestReplace(t *testing.T) { function compareRelationships (line 383) | func compareRelationships(t testing.TB, expected, actual []artifact.Rela... function TestReplace_NoExistingRelations (line 397) | func TestReplace_NoExistingRelations(t *testing.T) { FILE: internal/relationship/remove.go function RemoveRelationshipsByID (line 6) | func RemoveRelationshipsByID(relationships []artifact.Relationship, id a... FILE: internal/relationship/sort.go function Sort (line 13) | func Sort(rels []artifact.Relationship) { function less (line 19) | func less(i, j artifact.Relationship) bool { FILE: internal/relationship/to_source.go function ToSource (line 8) | func ToSource(src artifact.Identifiable, c *pkg.Collection) []artifact.R... FILE: internal/sbomsync/builder.go type Builder (line 18) | type Builder interface type Accessor (line 35) | type Accessor interface type sbomBuilder (line 40) | type sbomBuilder struct method onWriteEvent (line 54) | func (b sbomBuilder) onWriteEvent() { method WriteToSBOM (line 60) | func (b sbomBuilder) WriteToSBOM(fn func(*sbom.SBOM)) { method ReadFromSBOM (line 68) | func (b sbomBuilder) ReadFromSBOM(fn func(*sbom.SBOM)) { method AddPackages (line 75) | func (b sbomBuilder) AddPackages(p ...pkg.Package) { method DeletePackages (line 83) | func (b sbomBuilder) DeletePackages(ids ...artifact.ID) { method AddRelationships (line 111) | func (b sbomBuilder) AddRelationships(relationship ...artifact.Relatio... method SetLinuxDistribution (line 119) | func (b sbomBuilder) SetLinuxDistribution(release linux.Release) { function NewBuilder (line 46) | func NewBuilder(s *sbom.SBOM, onWrite ...func(*sbom.SBOM)) Builder { FILE: internal/sbomsync/builder_test.go function TestNewBuilder (line 13) | func TestNewBuilder(t *testing.T) { function Test_sbomBuilder_DeletePackages (line 40) | func Test_sbomBuilder_DeletePackages(t *testing.T) { FILE: internal/set.go type Set (line 9) | type Set function NewSet (line 12) | func NewSet[T comparable](start ...T) Set[T] { method Add (line 21) | func (s Set[T]) Add(elements ...T) { method Remove (line 28) | func (s Set[T]) Remove(element T) { method Contains (line 33) | func (s Set[T]) Contains(element T) bool { method ToSlice (line 39) | func (s Set[T]) ToSlice() []T { method Equals (line 53) | func (s Set[T]) Equals(o Set[T]) bool { method Empty (line 66) | func (s Set[T]) Empty() bool { FILE: internal/set_test.go function TestNewSet (line 10) | func TestNewSet(t *testing.T) { function TestAdd (line 28) | func TestAdd(t *testing.T) { function TestRemove (line 49) | func TestRemove(t *testing.T) { function TestContains (line 70) | func TestContains(t *testing.T) { function TestToSlice (line 90) | func TestToSlice(t *testing.T) { function TestEquals (line 108) | func TestEquals(t *testing.T) { function TestEmpty (line 130) | func TestEmpty(t *testing.T) { FILE: internal/sourcemetadata/completion_tester.go type CompletionTester (line 8) | type CompletionTester struct method Ignore (line 27) | func (tr *CompletionTester) Ignore(is ...any) { method Expect (line 31) | func (tr *CompletionTester) Expect(is ...any) { method Tested (line 35) | func (tr *CompletionTester) Tested(t testing.TB, m any) { method validate (line 62) | func (tr *CompletionTester) validate(t testing.TB) { function NewCompletionTester (line 14) | func NewCompletionTester(t testing.TB, ignore ...any) *CompletionTester { function keepNonNil (line 87) | func keepNonNil(is ...any) []any { FILE: internal/sourcemetadata/discover_type_names.go function DiscoverTypeNames (line 19) | func DiscoverTypeNames() ([]string, error) { function repoRoot (line 31) | func repoRoot() (string, error) { function findMetadataDefinitionNames (line 43) | func findMetadataDefinitionNames(paths ...string) ([]string, error) { function findMetadataDefinitionNamesInFile (line 78) | func findMetadataDefinitionNamesInFile(path string) ([]string, []string,... function typeNamesUsedInStruct (line 130) | func typeNamesUsedInStruct(structType *ast.StructType) []string { function isMetadataTypeCandidate (line 152) | func isMetadataTypeCandidate(name string) bool { FILE: internal/sourcemetadata/generate/main.go constant srcImport (line 15) | srcImport = "github.com/anchore/syft/syft/source" constant path (line 16) | path = "sourcemetadata/generated.go" function main (line 19) | func main() { FILE: internal/sourcemetadata/generated.go function AllTypes (line 8) | func AllTypes() []any { FILE: internal/sourcemetadata/names.go function AllTypeNames (line 18) | func AllTypeNames() []string { function JSONName (line 26) | func JSONName(metadata any) string { function ReflectTypeFromJSONName (line 33) | func ReflectTypeFromJSONName(name string) reflect.Type { FILE: internal/sourcemetadata/names_test.go function TestAllNames (line 12) | func TestAllNames(t *testing.T) { FILE: internal/spdxlicense/generate/generate_license_list.go constant source (line 17) | source = "license_list.go" constant url (line 18) | url = "https://spdx.org/licenses/licenses.json" function main (line 43) | func main() { function run (line 50) | func run() error { function processSPDXLicense (line 108) | func processSPDXLicense(result LicenseList) map[string]string { function cleanLicenseID (line 161) | func cleanLicenseID(id string) string { function buildURLToLicenseMap (line 168) | func buildURLToLicenseMap(result LicenseList) map[string]string { function stripScheme (line 196) | func stripScheme(url string) string { FILE: internal/spdxlicense/generate/generate_license_list_test.go function TestReplaceDeprecatedLicenses (line 12) | func TestReplaceDeprecatedLicenses(t *testing.T) { function Test_processSPDXLicense (line 52) | func Test_processSPDXLicense(t *testing.T) { FILE: internal/spdxlicense/generate/license.go type LicenseList (line 9) | type LicenseList struct method findReplacementLicense (line 24) | func (ll LicenseList) findReplacementLicense(deprecated License) *Lice... type License (line 14) | type License struct method canReplace (line 34) | func (l License) canReplace(deprecated License) bool { function buildLicenseIDPermutations (line 78) | func buildLicenseIDPermutations(cleanID string) (perms []string) { function findLicenseVersion (line 97) | func findLicenseVersion(license string) (version []string) { function versionPermutations (line 113) | func versionPermutations(version []string) []string { FILE: internal/spdxlicense/generate/license_test.go function TestLicense_canReplace (line 44) | func TestLicense_canReplace(t *testing.T) { function TestLicensePermutations (line 62) | func TestLicensePermutations(t *testing.T) { function TestVersionPermutations (line 129) | func TestVersionPermutations(t *testing.T) { function TestFindLicenseVersion (line 169) | func TestFindLicenseVersion(t *testing.T) { function Test_findReplacementLicense (line 208) | func Test_findReplacementLicense(t *testing.T) { FILE: internal/spdxlicense/license.go constant LicenseRefPrefix (line 16) | LicenseRefPrefix = "LicenseRef-" function ID (line 24) | func ID(id string) (value string, exists bool) { function cleanLicenseID (line 33) | func cleanLicenseID(id string) string { type LicenseInfo (line 40) | type LicenseInfo struct function LicenseByURL (line 47) | func LicenseByURL(url string) (LicenseInfo, bool) { function stripScheme (line 60) | func stripScheme(url string) string { FILE: internal/spdxlicense/license_list.go constant Version (line 5) | Version = "3.28.0" FILE: internal/spdxlicense/license_list_test.go function TestLicenceListIDs (line 9) | func TestLicenceListIDs(t *testing.T) { FILE: internal/spdxlicense/license_test.go function TestSPDXIDRecognition (line 9) | func TestSPDXIDRecognition(t *testing.T) { FILE: internal/spdxlicense/license_url_test.go function TestLicenseByURL (line 7) | func TestLicenseByURL(t *testing.T) { function TestLicenseByURL_AlternateScheme (line 79) | func TestLicenseByURL_AlternateScheme(t *testing.T) { function TestStripScheme (line 126) | func TestStripScheme(t *testing.T) { function TestLicenseByURL_DeprecatedLicenses (line 169) | func TestLicenseByURL_DeprecatedLicenses(t *testing.T) { FILE: internal/string_helpers.go function HasAnyOfPrefixes (line 6) | func HasAnyOfPrefixes(input string, prefixes ...string) bool { function HasAnyOfSuffixes (line 17) | func HasAnyOfSuffixes(input string, suffixes ...string) bool { function TruncateMiddleEllipsis (line 27) | func TruncateMiddleEllipsis(input string, maxLen int) string { function StringInSlice (line 34) | func StringInSlice(a string, list []string) bool { function SplitAny (line 43) | func SplitAny(s string, seps string) []string { FILE: internal/string_helpers_test.go function TestHasAnyOfSuffixes (line 10) | func TestHasAnyOfSuffixes(t *testing.T) { function TestHasAnyOfPrefixes (line 67) | func TestHasAnyOfPrefixes(t *testing.T) { function TestTruncateMiddleEllipsis (line 125) | func TestTruncateMiddleEllipsis(t *testing.T) { function TestSplitAny (line 165) | func TestSplitAny(t *testing.T) { FILE: internal/task/cataloging_config.go type CatalogingFactoryConfig (line 9) | type CatalogingFactoryConfig struct function DefaultCatalogingFactoryConfig (line 19) | func DefaultCatalogingFactoryConfig() CatalogingFactoryConfig { FILE: internal/task/environment_tasks.go function NewEnvironmentTask (line 13) | func NewEnvironmentTask() Task { FILE: internal/task/executor.go function RunTask (line 18) | func RunTask(ctx context.Context, tsk Task, resolver file.Resolver, s sb... function appendUnknowns (line 31) | func appendUnknowns(builder sbomsync.Builder, taskName string, unknowns ... function runTaskSafely (line 50) | func runTaskSafely(ctx context.Context, t Task, resolver file.Resolver, ... FILE: internal/task/executor_test.go function Test_TaskExecutor_PanicHandling (line 15) | func Test_TaskExecutor_PanicHandling(t *testing.T) { FILE: internal/task/expression.go constant SetOperation (line 17) | SetOperation Operation = "set" constant AddOperation (line 18) | AddOperation Operation = "add" constant SubSelectOperation (line 19) | SubSelectOperation Operation = "sub-select" constant RemoveOperation (line 20) | RemoveOperation Operation = "remove" type ErrInvalidExpression (line 34) | type ErrInvalidExpression struct method Error (line 40) | func (e ErrInvalidExpression) Error() string { function newErrInvalidExpression (line 44) | func newErrInvalidExpression(exp string, op Operation, err error) ErrInv... type Expression (line 56) | type Expression struct method String (line 178) | func (e Expression) String() string { type Operation (line 63) | type Operation type Expressions (line 66) | type Expressions method Clone (line 172) | func (e Expressions) Clone() Expressions { method Len (line 195) | func (e Expressions) Len() int { method Swap (line 199) | func (e Expressions) Swap(i, j int) { method Less (line 211) | func (e Expressions) Less(i, j int) bool { method Errors (line 222) | func (e Expressions) Errors() (errs []error) { method Validate (line 231) | func (e Expressions) Validate() error { type expressionContext (line 69) | type expressionContext struct method newExpression (line 86) | func (ec expressionContext) newExpression(exp string, operation Operat... function newExpressionContext (line 74) | func newExpressionContext(ts []Task) *expressionContext { function newExpressionsFromSelectionRequest (line 145) | func newExpressionsFromSelectionRequest(nc *expressionContext, selection... function isValidNode (line 168) | func isValidNode(s string) bool { FILE: internal/task/expression_test.go function Test_newExpressionsFromSelectionRequest (line 13) | func Test_newExpressionsFromSelectionRequest(t *testing.T) { function Test_expressionNodes_sort (line 157) | func Test_expressionNodes_sort(t *testing.T) { FILE: internal/task/factory.go type factory (line 11) | type factory type Factories (line 13) | type Factories method Tasks (line 15) | func (f Factories) Tasks(cfg CatalogingFactoryConfig) ([]Task, error) { FILE: internal/task/feature_detection.go function NewOSFeatureDetectionTask (line 5) | func NewOSFeatureDetectionTask() Task { FILE: internal/task/file_tasks.go function DefaultFileTaskFactories (line 19) | func DefaultFileTaskFactories() Factories { function newFileDigestCatalogerTaskFactory (line 28) | func newFileDigestCatalogerTaskFactory(tags ...string) factory { function newFileDigestCatalogerTask (line 34) | func newFileDigestCatalogerTask(selection file.Selection, hashers []cryp... function newFileMetadataCatalogerTaskFactory (line 59) | func newFileMetadataCatalogerTaskFactory(tags ...string) factory { function newFileMetadataCatalogerTask (line 65) | func newFileMetadataCatalogerTask(selection file.Selection, tags ...stri... function newFileContentCatalogerTaskFactory (line 90) | func newFileContentCatalogerTaskFactory(tags ...string) factory { function newFileContentCatalogerTask (line 96) | func newFileContentCatalogerTask(cfg filecontent.Config, tags ...string)... function newExecutableCatalogerTaskFactory (line 116) | func newExecutableCatalogerTaskFactory(tags ...string) factory { function newExecutableCatalogerTask (line 122) | func newExecutableCatalogerTask(selection file.Selection, cfg executable... function coordinatesForSelection (line 144) | func coordinatesForSelection(selection file.Selection, accessor sbomsync... function commonFileTags (line 184) | func commonFileTags(tags []string) []string { FILE: internal/task/file_tasks_test.go function Test_coordinatesForSelection (line 15) | func Test_coordinatesForSelection(t *testing.T) { FILE: internal/task/package_task_factory.go function newPackageTaskFactory (line 23) | func newPackageTaskFactory(catalogerFactory func(CatalogingFactoryConfig... function newSimplePackageTaskFactory (line 29) | func newSimplePackageTaskFactory(catalogerFactory func() pkg.Cataloger, ... function NewPackageTask (line 36) | func NewPackageTask(cfg CatalogingFactoryConfig, c pkg.Cataloger, tags .... function finalizePkgCatalogerResults (line 75) | func finalizePkgCatalogerResults(cfg CatalogingFactoryConfig, resolver f... type packageReplacement (line 120) | type packageReplacement struct function applyCompliance (line 125) | func applyCompliance(cfg cataloging.ComplianceConfig, pkgs []pkg.Package... function filterNonCompliantPackages (line 140) | func filterNonCompliantPackages(pkgs []pkg.Package, cfg cataloging.Compl... function applyComplianceRules (line 158) | func applyComplianceRules(p *pkg.Package, cfg cataloging.ComplianceConfi... function hasAuthoritativeCPE (line 210) | func hasAuthoritativeCPE(cpes []cpe.CPE) bool { function prettyName (line 219) | func prettyName(s string) string { function packageFileOwnershipRelationships (line 231) | func packageFileOwnershipRelationships(p pkg.Package, resolver file.Path... function applyLicenseContentRules (line 271) | func applyLicenseContentRules(p *pkg.Package, cfg cataloging.LicenseConf... FILE: internal/task/package_task_factory_test.go function Test_hasAuthoritativeCPE (line 16) | func Test_hasAuthoritativeCPE(t *testing.T) { function TestApplyCompliance (line 62) | func TestApplyCompliance(t *testing.T) { function TestFilterNonCompliantPackages (line 97) | func TestFilterNonCompliantPackages(t *testing.T) { function TestApplyLicenseContentRules (line 120) | func TestApplyLicenseContentRules(t *testing.T) { function TestApplyComplianceRules_DropAndStub (line 263) | func TestApplyComplianceRules_DropAndStub(t *testing.T) { FILE: internal/task/package_tasks.go constant Java (line 45) | Java = "java" constant Maven (line 46) | Maven = "maven" constant Go (line 49) | Go = "go" constant Golang (line 50) | Golang = "golang" constant JavaScript (line 53) | JavaScript = "javascript" constant Node (line 54) | Node = "node" constant NPM (line 55) | NPM = "npm" constant Python (line 58) | Python = "python" function DefaultPackageTaskFactories (line 62) | func DefaultPackageTaskFactories() Factories { FILE: internal/task/relationship_tasks.go type sourceIdentifierAdapter (line 18) | type sourceIdentifierAdapter struct method ID (line 22) | func (s sourceIdentifierAdapter) ID() artifact.ID { function NewRelationshipsTask (line 26) | func NewRelationshipsTask(cfg cataloging.RelationshipsConfig, src source... function finalizeRelationships (line 40) | func finalizeRelationships(resolver file.Resolver, builder sbomsync.Buil... FILE: internal/task/scope_tasks.go function NewDeepSquashedScopeCleanupTask (line 14) | func NewDeepSquashedScopeCleanupTask() Task { function packagesToRemove (line 26) | func packagesToRemove(accessor sbomsync.Accessor) []artifact.ID { function getKey (line 61) | func getKey(pkg pkg.Package, loc file.Location) string { FILE: internal/task/selection.go type Selection (line 17) | type Selection struct type TokenSelection (line 24) | type TokenSelection struct method merge (line 36) | func (ts *TokenSelection) merge(other ...TokenSelection) { function newTokenSelection (line 29) | func newTokenSelection(selected, deselected []string) TokenSelection { function newSelection (line 47) | func newSelection() Selection { function Select (line 57) | func Select(allTasks []Task, selectionRequest cataloging.SelectionReques... function _select (line 63) | func _select(allTasks []Task, selectionRequest cataloging.SelectionReque... function ensureDefaultSelectionHasFiles (line 80) | func ensureDefaultSelectionHasFiles(selectionRequest *cataloging.Selecti... function SelectInGroups (line 101) | func SelectInGroups(taskGroups [][]Task, selectionRequest cataloging.Sel... function mergeSelections (line 128) | func mergeSelections(selections []Selection, ogRequest cataloging.Select... function splitCatalogerSelectionRequest (line 145) | func splitCatalogerSelectionRequest(req cataloging.SelectionRequest, sel... function newSelectionWithTags (line 174) | func newSelectionWithTags(req cataloging.SelectionRequest, tags *strset.... function filterTags (line 183) | func filterTags(reqTags []string, filterTags *strset.Set) []string { function tagsOrNamesThatTaskGroupRespondsTo (line 193) | func tagsOrNamesThatTaskGroupRespondsTo(tasks []Task, requestTagsOrNames... function allRequestReferences (line 205) | func allRequestReferences(s cataloging.SelectionRequest) *strset.Set { function selectByExpressions (line 215) | func selectByExpressions(ts tasks, nodes Expressions) (tasks, Selection) { function evaluateExpression (line 277) | func evaluateExpression(ts tasks, node Expression) ([]Task, map[string]T... function isSelected (line 307) | func isSelected(td Task, token string) bool { FILE: internal/task/selection_test.go function dummyTask (line 17) | func dummyTask(name string, tags ...string) Task { function createDummyPackageTasks (line 24) | func createDummyPackageTasks() tasks { function createDummyFileTasks (line 66) | func createDummyFileTasks() tasks { function TestSelect (line 75) | func TestSelect(t *testing.T) { function TestSelectInGroups (line 401) | func TestSelectInGroups(t *testing.T) { FILE: internal/task/set.go type set (line 3) | type set struct method Len (line 19) | func (ts *set) Len() int { method Add (line 23) | func (ts *set) Add(tasks ...Task) { method Remove (line 34) | func (ts *set) Remove(tasks ...Task) { method Intersect (line 51) | func (ts *set) Intersect(tasks ...Task) { method Tasks (line 64) | func (ts set) Tasks() tasks { function newSet (line 8) | func newSet(tasks ...Task) *set { FILE: internal/task/set_test.go type mockTask (line 15) | type mockTask struct method Execute (line 19) | func (m mockTask) Execute(_ context.Context, _ file.Resolver, _ sbomsy... method Name (line 23) | func (m mockTask) Name() string { function Test_set_Add (line 27) | func Test_set_Add(t *testing.T) { function Test_set_Remove (line 69) | func Test_set_Remove(t *testing.T) { function Test_set_Intersect (line 99) | func Test_set_Intersect(t *testing.T) { function Test_set_Tasks (line 129) | func Test_set_Tasks(t *testing.T) { FILE: internal/task/task.go type Task (line 20) | type Task interface type Selector (line 25) | type Selector interface type tasks (line 30) | type tasks method Names (line 67) | func (ts tasks) Names() []string { method Tags (line 75) | func (ts tasks) Tags() []string { type task (line 32) | type task struct method HasAllSelectors (line 50) | func (t task) HasAllSelectors(ids ...string) bool { method Selectors (line 55) | func (t task) Selectors() []string { method Name (line 59) | func (t task) Name() string { method Execute (line 63) | func (t task) Execute(ctx context.Context, resolver file.Resolver, sbo... function NewTask (line 38) | func NewTask(name string, tsk func(context.Context, file.Resolver, sboms... FILE: internal/task/unknowns_tasks.go constant unknownsLabelerTaskName (line 16) | unknownsLabelerTaskName = "unknowns-labeler" function NewUnknownsLabelerTask (line 18) | func NewUnknownsLabelerTask(cfg cataloging.UnknownsConfig) Task { type unknownsLabelerTask (line 22) | type unknownsLabelerTask struct method processUnknowns (line 27) | func (c unknownsLabelerTask) processUnknowns(_ context.Context, resolv... method finalize (line 35) | func (c unknownsLabelerTask) finalize(resolver file.Resolver, s *sbom.... function formatUnknown (line 70) | func formatUnknown(err string, task ...string) string { function coordinateReferenceLookup (line 74) | func coordinateReferenceLookup(resolver file.Resolver, s *sbom.SBOM) fun... FILE: internal/testutils/golden_files.go constant TestDataDir (line 13) | TestDataDir = "testdata" constant GoldenFileDirName (line 14) | GoldenFileDirName = "snapshot" constant GoldenFileExt (line 15) | GoldenFileExt = ".golden" constant GoldenFileDirPath (line 16) | GoldenFileDirPath = TestDataDir + string(filepath.Separator) + GoldenFil... function GetGoldenFilePath (line 19) | func GetGoldenFilePath(t *testing.T) string { function UpdateGoldenFileContents (line 27) | func UpdateGoldenFileContents(t *testing.T, contents []byte) { function GetGoldenFileContents (line 40) | func GetGoldenFileContents(t *testing.T) []byte { function fileOrDirExists (line 62) | func fileOrDirExists(t *testing.T, filename string) bool { function dangerText (line 69) | func dangerText(s string) string { FILE: internal/tmpdir/tmpdir.go type ctxKey (line 11) | type ctxKey struct function Root (line 16) | func Root(ctx context.Context, prefix string) (context.Context, *TempDir) { function FromPath (line 24) | func FromPath(dir string) *TempDir { function WithValue (line 33) | func WithValue(ctx context.Context, td *TempDir) context.Context { function FromContext (line 38) | func FromContext(ctx context.Context) *TempDir { type TempDir (line 47) | type TempDir struct method path (line 59) | func (t *TempDir) path() (string, error) { method NewChild (line 76) | func (t *TempDir) NewChild(name string) (string, func(), error) { method NewFile (line 95) | func (t *TempDir) NewFile(pattern string) (*os.File, func(), error) { method Cleanup (line 111) | func (t *TempDir) Cleanup() error { function noop (line 56) | func noop() {} FILE: internal/tmpdir/tmpdir_test.go function TestRootAndFromContext (line 13) | func TestRootAndFromContext(t *testing.T) { function TestWithValue (line 22) | func TestWithValue(t *testing.T) { function TestNewChild (line 37) | func TestNewChild(t *testing.T) { function TestNewFile (line 64) | func TestNewFile(t *testing.T) { function TestCleanup (line 81) | func TestCleanup(t *testing.T) { function TestCleanupPreventsNewAllocation (line 114) | func TestCleanupPreventsNewAllocation(t *testing.T) { function TestEarlyCleanupFile (line 125) | func TestEarlyCleanupFile(t *testing.T) { function TestEarlyCleanupChild (line 148) | func TestEarlyCleanupChild(t *testing.T) { function TestEarlyCleanupThenRootCleanup (line 168) | func TestEarlyCleanupThenRootCleanup(t *testing.T) { function TestConcurrentNewChildAndNewFile (line 193) | func TestConcurrentNewChildAndNewFile(t *testing.T) { function TestConcurrentNewChildDuringCleanup (line 238) | func TestConcurrentNewChildDuringCleanup(t *testing.T) { function TestLazyCreation (line 262) | func TestLazyCreation(t *testing.T) { function TestFromPath (line 276) | func TestFromPath(t *testing.T) { FILE: internal/tprint.go function Tprintf (line 9) | func Tprintf(tmpl string, data map[string]interface{}) string { FILE: internal/unknown/coordinate_error.go type hasCoordinates (line 12) | type hasCoordinates interface type CoordinateError (line 16) | type CoordinateError struct method Error (line 23) | func (u *CoordinateError) Error() string { function New (line 32) | func New(coords hasCoordinates, reason error) *CoordinateError { function Newf (line 50) | func Newf(coords hasCoordinates, format string, args ...any) *Coordinate... function Append (line 55) | func Append(errs error, coords hasCoordinates, reason error) error { function Appendf (line 61) | func Appendf(errs error, coords hasCoordinates, format string, args ...a... function Join (line 67) | func Join(errs ...error) error { function Joinf (line 90) | func Joinf(errs error, format string, args ...any) error { function IfEmptyf (line 96) | func IfEmptyf[T any](emptyTest []T, format string, args ...any) error { function ExtractCoordinateErrors (line 105) | func ExtractCoordinateErrors(err error) (coordinateErrors []CoordinateEr... function flatten (line 116) | func flatten(errs ...error) []error { function containsErr (line 152) | func containsErr(out []error, err error) bool { function visitErrors (line 168) | func visitErrors(err error, fn func(error) error) error { FILE: internal/unknown/coordinate_error_test.go function Test_visitErrors (line 14) | func Test_visitErrors(t *testing.T) { function Test_Join (line 112) | func Test_Join(t *testing.T) { function Test_flatten (line 170) | func Test_flatten(t *testing.T) { function Test_Append (line 220) | func Test_Append(t *testing.T) { FILE: internal/unknown/path_error.go function ProcessPathErrors (line 14) | func ProcessPathErrors(err error) error { FILE: internal/unknown/path_error_test.go function Test_ProcessPathErrors (line 12) | func Test_ProcessPathErrors(t *testing.T) { FILE: syft/artifact/id.go type ID (line 10) | type ID type Identifiable (line 12) | type Identifiable interface function IDByHash (line 16) | func IDByHash(obj interface{}) (ID, error) { FILE: syft/artifact/relationship.go constant OwnershipByFileOverlapRelationship (line 8) | OwnershipByFileOverlapRelationship RelationshipType = "ownership-by-file... constant EvidentByRelationship (line 14) | EvidentByRelationship RelationshipType = "evident-by" constant ContainsRelationship (line 17) | ContainsRelationship RelationshipType = "contains" constant DependencyOfRelationship (line 20) | DependencyOfRelationship RelationshipType = "dependency-of" constant DescribedByRelationship (line 23) | DescribedByRelationship RelationshipType = "described-by" function AllRelationshipTypes (line 26) | func AllRelationshipTypes() []RelationshipType { type RelationshipType (line 35) | type RelationshipType type Relationship (line 37) | type Relationship struct FILE: syft/cataloging/archive_search.go type ArchiveSearchConfig (line 3) | type ArchiveSearchConfig struct method WithIncludeIndexedArchives (line 18) | func (c ArchiveSearchConfig) WithIncludeIndexedArchives(include bool) ... method WithIncludeUnindexedArchives (line 23) | func (c ArchiveSearchConfig) WithIncludeUnindexedArchives(include bool... function DefaultArchiveSearchConfig (line 11) | func DefaultArchiveSearchConfig() ArchiveSearchConfig { FILE: syft/cataloging/compliance.go constant ComplianceActionKeep (line 8) | ComplianceActionKeep ComplianceAction = "keep" constant ComplianceActionDrop (line 9) | ComplianceActionDrop ComplianceAction = "drop" constant ComplianceActionStub (line 10) | ComplianceActionStub ComplianceAction = "stub" constant UnknownStubValue (line 13) | UnknownStubValue = "UNKNOWN" type ComplianceAction (line 15) | type ComplianceAction method Parse (line 37) | func (c ComplianceAction) Parse() ComplianceAction { type ComplianceConfig (line 17) | type ComplianceConfig struct method Parse (line 30) | func (c ComplianceConfig) Parse() ComplianceConfig { function DefaultComplianceConfig (line 22) | func DefaultComplianceConfig() ComplianceConfig { FILE: syft/cataloging/data_generation.go type DataGenerationConfig (line 3) | type DataGenerationConfig struct method WithGenerateCPEs (line 13) | func (c DataGenerationConfig) WithGenerateCPEs(generate bool) DataGene... function DefaultDataGenerationConfig (line 7) | func DefaultDataGenerationConfig() DataGenerationConfig { FILE: syft/cataloging/executor.go constant ExecutorCPU (line 5) | ExecutorCPU = "cpu" constant ExecutorFile (line 8) | ExecutorFile = "file" FILE: syft/cataloging/filecataloging/config.go type Config (line 16) | type Config struct method MarshalJSON (line 42) | func (cfg Config) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 58) | func (cfg *Config) UnmarshalJSON(data []byte) error { method WithSelection (line 73) | func (cfg Config) WithSelection(selection file.Selection) Config { method WithHashers (line 78) | func (cfg Config) WithHashers(hashers ...crypto.Hash) Config { method WithContentConfig (line 83) | func (cfg Config) WithContentConfig(content filecontent.Config) Config { type configMarshaledForm (line 23) | type configMarshaledForm struct function DefaultConfig (line 29) | func DefaultConfig() Config { function hashersToString (line 50) | func hashersToString(hashers []crypto.Hash) []string { FILE: syft/cataloging/filecataloging/config_test.go function TestConfig_MarshalJSON (line 14) | func TestConfig_MarshalJSON(t *testing.T) { function TestConfig_UnmarshalJSON (line 47) | func TestConfig_UnmarshalJSON(t *testing.T) { FILE: syft/cataloging/filecataloging/tags.go constant FileTag (line 5) | FileTag = "file" FILE: syft/cataloging/license.go type LicenseContent (line 8) | type LicenseContent constant LicenseContentIncludeAll (line 11) | LicenseContentIncludeAll LicenseContent = "all" constant LicenseContentIncludeUnknown (line 12) | LicenseContentIncludeUnknown LicenseContent = "unknown" constant LicenseContentExcludeAll (line 13) | LicenseContentExcludeAll LicenseContent = "none" type LicenseConfig (line 16) | type LicenseConfig struct function DefaultLicenseConfig (line 24) | func DefaultLicenseConfig() LicenseConfig { FILE: syft/cataloging/pkgcataloging/cataloger_reference.go type CatalogerReference (line 5) | type CatalogerReference struct function NewCatalogerReference (line 11) | func NewCatalogerReference(cataloger pkg.Cataloger, tags []string) Catal... function NewAlwaysEnabledCatalogerReference (line 18) | func NewAlwaysEnabledCatalogerReference(cataloger pkg.Cataloger) Catalog... FILE: syft/cataloging/pkgcataloging/config.go type Config (line 14) | type Config struct method WithNixConfig (line 37) | func (c Config) WithNixConfig(cfg nix.Config) Config { method WithBinaryConfig (line 42) | func (c Config) WithBinaryConfig(cfg binary.ClassifierCatalogerConfig)... method WithDotnetConfig (line 47) | func (c Config) WithDotnetConfig(cfg dotnet.CatalogerConfig) Config { method WithGolangConfig (line 52) | func (c Config) WithGolangConfig(cfg golang.CatalogerConfig) Config { method WithJavascriptConfig (line 57) | func (c Config) WithJavascriptConfig(cfg javascript.CatalogerConfig) C... method WithLinuxKernelConfig (line 62) | func (c Config) WithLinuxKernelConfig(cfg kernel.LinuxKernelCatalogerC... method WithPythonConfig (line 67) | func (c Config) WithPythonConfig(cfg python.CatalogerConfig) Config { method WithJavaArchiveConfig (line 72) | func (c Config) WithJavaArchiveConfig(cfg java.ArchiveCatalogerConfig)... function DefaultConfig (line 25) | func DefaultConfig() Config { FILE: syft/cataloging/pkgcataloging/tags.go constant InstalledTag (line 5) | InstalledTag = "installed" constant DeclaredTag (line 8) | DeclaredTag = "declared" constant ImageTag (line 11) | ImageTag = "image" constant DirectoryTag (line 14) | DirectoryTag = "directory" constant PackageTag (line 17) | PackageTag = "package" constant OSTag (line 20) | OSTag = "os" constant LanguageTag (line 23) | LanguageTag = "language" constant DeprecatedTag (line 26) | DeprecatedTag = "deprecated" FILE: syft/cataloging/relationships.go type RelationshipsConfig (line 3) | type RelationshipsConfig struct method WithPackageFileOwnership (line 26) | func (c RelationshipsConfig) WithPackageFileOwnership(ownership bool) ... method WithPackageFileOwnershipOverlap (line 31) | func (c RelationshipsConfig) WithPackageFileOwnershipOverlap(overlap b... method WithExcludeBinaryPackagesWithFileOwnershipOverlap (line 36) | func (c RelationshipsConfig) WithExcludeBinaryPackagesWithFileOwnershi... function DefaultRelationshipsConfig (line 18) | func DefaultRelationshipsConfig() RelationshipsConfig { FILE: syft/cataloging/search.go type SearchConfig (line 5) | type SearchConfig struct method WithScope (line 15) | func (c SearchConfig) WithScope(scope source.Scope) SearchConfig { function DefaultSearchConfig (line 9) | func DefaultSearchConfig() SearchConfig { FILE: syft/cataloging/selection.go type SelectionRequest (line 5) | type SelectionRequest struct method WithExpression (line 16) | func (s SelectionRequest) WithExpression(expressions ...string) Select... method WithDefaults (line 31) | func (s SelectionRequest) WithDefaults(nameOrTags ...string) Selection... method WithSubSelections (line 36) | func (s SelectionRequest) WithSubSelections(tags ...string) SelectionR... method WithAdditions (line 41) | func (s SelectionRequest) WithAdditions(names ...string) SelectionRequ... method WithRemovals (line 46) | func (s SelectionRequest) WithRemovals(nameOrTags ...string) Selection... method IsEmpty (line 51) | func (s SelectionRequest) IsEmpty() bool { function NewSelectionRequest (line 12) | func NewSelectionRequest() SelectionRequest { function cleanSelection (line 55) | func cleanSelection(tags []string) []string { FILE: syft/cataloging/unknowns.go type UnknownsConfig (line 3) | type UnknownsConfig struct function DefaultUnknownsConfig (line 9) | func DefaultUnknownsConfig() UnknownsConfig { FILE: syft/configuration_audit_trail.go type configurationAuditTrail (line 13) | type configurationAuditTrail struct method MarshalJSON (line 31) | func (cfg configurationAuditTrail) MarshalJSON() ([]byte, error) { type catalogerManifest (line 24) | type catalogerManifest struct type marshalAPIConfiguration (line 29) | type marshalAPIConfiguration function marshalSorted (line 58) | func marshalSorted(m interface{}) ([]byte, error) { FILE: syft/configuration_audit_trail_test.go function Test_configurationAuditTrail_StructTags (line 22) | func Test_configurationAuditTrail_StructTags(t *testing.T) { function getJSONTags (line 36) | func getJSONTags(t *testing.T, v interface{}) []string { function collectJSONTags (line 43) | func collectJSONTags(t *testing.T, v reflect.Value, tags *[]string, pare... function assertLowercaseKebab (line 103) | func assertLowercaseKebab(t *testing.T, tag string) { function Test_collectJSONTags (line 109) | func Test_collectJSONTags(t *testing.T) { function Test_configurationAuditTrail_MarshalJSON (line 217) | func Test_configurationAuditTrail_MarshalJSON(t *testing.T) { function assertJSONKeysSorted (line 263) | func assertJSONKeysSorted(jsonBytes []byte) error { function Test_assertJSONKeysSorted (line 299) | func Test_assertJSONKeysSorted(t *testing.T) { FILE: syft/cpe/by_source_then_specificity.go type BySourceThenSpecificity (line 5) | type BySourceThenSpecificity method Len (line 7) | func (b BySourceThenSpecificity) Len() int { method Less (line 11) | func (b BySourceThenSpecificity) Less(i, j int) bool { method Swap (line 35) | func (b BySourceThenSpecificity) Swap(i, j int) { FILE: syft/cpe/by_source_then_specificity_test.go function TestBySourceThenSpecificity (line 10) | func TestBySourceThenSpecificity(t *testing.T) { FILE: syft/cpe/by_specificity.go type BySpecificity (line 9) | type BySpecificity method Len (line 11) | func (c BySpecificity) Len() int { return len(c) } method Swap (line 13) | func (c BySpecificity) Swap(i, j int) { c[i], c[j] = c[j], c[i] } method Less (line 15) | func (c BySpecificity) Less(i, j int) bool { function isMoreSpecific (line 22) | func isMoreSpecific(i, j Attributes) bool { function countFieldLength (line 43) | func countFieldLength(cpe Attributes) int { function weightedCountForSpecifiedFields (line 47) | func weightedCountForSpecifiedFields(cpe Attributes) int { FILE: syft/cpe/by_specificity_test.go function Test_BySpecificity (line 10) | func Test_BySpecificity(t *testing.T) { FILE: syft/cpe/cpe.go type CPE (line 14) | type CPE struct type Source (line 19) | type Source method String (line 21) | func (c Source) String() string { constant GeneratedSource (line 26) | GeneratedSource Source = "syft-generated" constant NVDDictionaryLookupSource (line 27) | NVDDictionaryLookupSource Source = "nvd-cpe-dictionary" constant DeclaredSource (line 28) | DeclaredSource Source = "declared" constant Any (line 31) | Any = "" type Attributes (line 33) | type Attributes struct method asAttributes (line 47) | func (c Attributes) asAttributes() wfn.Attributes { method BindToFmtString (line 55) | func (c Attributes) BindToFmtString() string { method String (line 186) | func (c Attributes) String() string { function fromAttributes (line 51) | func fromAttributes(a wfn.Attributes) Attributes { function NewWithAny (line 59) | func NewWithAny() Attributes { constant allowedCPEPunctuation (line 64) | allowedCPEPunctuation = "-!\"#$%&'()+,./:;<=>@[]^`{|}~" constant cpeRegexString (line 70) | cpeRegexString = ((`^([c][pP][eE]:/[AHOaho]?(:[A-Za-z0-9\._\-~%]*){0,6})... function New (line 77) | func New(value string, source Source) (CPE, error) { function NewAttributes (line 90) | func NewAttributes(cpeStr string) (Attributes, error) { function Must (line 108) | func Must(cpeStr string, source Source) CPE { function MustAttributes (line 116) | func MustAttributes(cpeStr string) Attributes { function ValidateString (line 124) | func ValidateString(cpeStr string) error { function newWithoutValidation (line 133) | func newWithoutValidation(cpeStr string) (Attributes, error) { function normalizeField (line 161) | func normalizeField(field string) string { function stripSlashes (line 175) | func stripSlashes(s string) string { function sanitize (line 212) | func sanitize(s string) string { FILE: syft/cpe/cpe_test.go function Test_NewAttributes (line 15) | func Test_NewAttributes(t *testing.T) { function Test_normalizeCpeField (line 61) | func Test_normalizeCpeField(t *testing.T) { function Test_CPEParser (line 91) | func Test_CPEParser(t *testing.T) { function Test_InvalidCPE (line 115) | func Test_InvalidCPE(t *testing.T) { function Test_RoundTrip (line 186) | func Test_RoundTrip(t *testing.T) { FILE: syft/cpe/merge_cpes.go function Merge (line 10) | func Merge(a, b []CPE) []CPE { FILE: syft/cpe/merge_cpes_test.go function Test_Merge (line 9) | func Test_Merge(t *testing.T) { FILE: syft/create_sbom.go function CreateSBOM (line 31) | func CreateSBOM(ctx context.Context, src source.Source, cfg *CreateSBOMC... function setupContext (line 111) | func setupContext(ctx context.Context, cfg *CreateSBOMConfig) (context.C... function SetContextLicenseScanner (line 131) | func SetContextLicenseScanner(ctx context.Context, cfg cataloging.Licens... function setContextExecutors (line 143) | func setContextExecutors(ctx context.Context, cfg *CreateSBOMConfig) con... function monitorPackageCount (line 169) | func monitorPackageCount(prog *monitor.TaskProgress) func(s *sbom.SBOM) { function monitorPackageCatalogingTask (line 176) | func monitorPackageCatalogingTask() *monitor.TaskProgress { function monitorCatalogingTask (line 189) | func monitorCatalogingTask(srcID artifact.ID, tasks [][]task.Task) *moni... function formatTaskNames (line 209) | func formatTaskNames(tasks []task.Task) []string { FILE: syft/create_sbom_config.go type CreateSBOMConfig (line 21) | type CreateSBOMConfig struct method WithTool (line 85) | func (c *CreateSBOMConfig) WithTool(name, version string, cfg ...any) ... method WithParallelism (line 93) | func (c *CreateSBOMConfig) WithParallelism(p int) *CreateSBOMConfig { method WithComplianceConfig (line 99) | func (c *CreateSBOMConfig) WithComplianceConfig(cfg cataloging.Complia... method WithSearchConfig (line 105) | func (c *CreateSBOMConfig) WithSearchConfig(cfg cataloging.SearchConfi... method WithRelationshipsConfig (line 111) | func (c *CreateSBOMConfig) WithRelationshipsConfig(cfg cataloging.Rela... method WithUnknownsConfig (line 117) | func (c *CreateSBOMConfig) WithUnknownsConfig(cfg cataloging.UnknownsC... method WithDataGenerationConfig (line 124) | func (c *CreateSBOMConfig) WithDataGenerationConfig(cfg cataloging.Dat... method WithPackagesConfig (line 130) | func (c *CreateSBOMConfig) WithPackagesConfig(cfg pkgcataloging.Config... method WithLicenseConfig (line 136) | func (c *CreateSBOMConfig) WithLicenseConfig(cfg cataloging.LicenseCon... method WithFilesConfig (line 142) | func (c *CreateSBOMConfig) WithFilesConfig(cfg filecataloging.Config) ... method WithoutFiles (line 148) | func (c *CreateSBOMConfig) WithoutFiles() *CreateSBOMConfig { method WithCatalogerSelection (line 157) | func (c *CreateSBOMConfig) WithCatalogerSelection(selection cataloging... method WithoutCatalogers (line 164) | func (c *CreateSBOMConfig) WithoutCatalogers() *CreateSBOMConfig { method WithCatalogers (line 172) | func (c *CreateSBOMConfig) WithCatalogers(catalogerRefs ...pkgcatalogi... method makeTaskGroups (line 186) | func (c *CreateSBOMConfig) makeTaskGroups(src source.Description) ([][... method fileTasks (line 248) | func (c *CreateSBOMConfig) fileTasks(cfg task.CatalogingFactoryConfig)... method selectTasks (line 258) | func (c *CreateSBOMConfig) selectTasks(src source.Description) ([]task... method allPackageTasks (line 370) | func (c *CreateSBOMConfig) allPackageTasks(cfg task.CatalogingFactoryC... method userPackageTasks (line 384) | func (c *CreateSBOMConfig) userPackageTasks(cfg task.CatalogingFactory... method scopeTasks (line 408) | func (c *CreateSBOMConfig) scopeTasks() []task.Task { method relationshipTasks (line 420) | func (c *CreateSBOMConfig) relationshipTasks(src source.Description) [... method environmentTasks (line 432) | func (c *CreateSBOMConfig) environmentTasks() []task.Task { method unknownsTasks (line 443) | func (c *CreateSBOMConfig) unknownsTasks() []task.Task { method osFeatureDetectionTasks (line 454) | func (c *CreateSBOMConfig) osFeatureDetectionTasks() []task.Task { method validate (line 464) | func (c *CreateSBOMConfig) validate() error { method Create (line 474) | func (c *CreateSBOMConfig) Create(ctx context.Context, src source.Sour... function DefaultCreateSBOMConfig (line 43) | func DefaultCreateSBOMConfig() *CreateSBOMConfig { function syftVersion (line 62) | func syftVersion() string { function deprecatedTasks (line 329) | func deprecatedTasks(taskGroups [][]task.Task) []string { function logTaskNames (line 341) | func logTaskNames(tasks []task.Task, kind string) { function finalTaskSelectionRequest (line 354) | func finalTaskSelectionRequest(req cataloging.SelectionRequest, src sour... function findDefaultTags (line 478) | func findDefaultTags(src source.Description) ([]string, error) { function replaceDefaultTagReferences (line 491) | func replaceDefaultTagReferences(defaultTags []string, lst []string) []s... FILE: syft/create_sbom_config_test.go type dummyCataloger (line 26) | type dummyCataloger struct method Name (line 34) | func (d dummyCataloger) Name() string { method Catalog (line 38) | func (d dummyCataloger) Catalog(_ context.Context, _ file.Resolver) ([... function newDummyCataloger (line 30) | func newDummyCataloger(name string) pkg.Cataloger { function TestCreateSBOMConfig_makeTaskGroups (line 42) | func TestCreateSBOMConfig_makeTaskGroups(t *testing.T) { function pkgCatalogerNamesWithTagOrName (line 358) | func pkgCatalogerNamesWithTagOrName(t *testing.T, token string) []string { function fileCatalogerNames (line 391) | func fileCatalogerNames(tokens ...string) []string { function flatten (line 427) | func flatten(lists ...[]string) []string { function relationshipCatalogerNames (line 436) | func relationshipCatalogerNames() []string { function unknownsTaskNames (line 440) | func unknownsTaskNames() []string { function osFeatureDetectionTaskNames (line 444) | func osFeatureDetectionTaskNames() []string { function environmentCatalogerNames (line 448) | func environmentCatalogerNames() []string { function taskGroupNames (line 452) | func taskGroupNames(groups [][]task.Task) [][]string { function Test_replaceDefaultTagReferences (line 464) | func Test_replaceDefaultTagReferences(t *testing.T) { function Test_findDefaultTag (line 489) | func Test_findDefaultTag(t *testing.T) { function TestCreateSBOMConfig_validate (line 541) | func TestCreateSBOMConfig_validate(t *testing.T) { FILE: syft/event/event.go constant typePrefix (line 12) | typePrefix = "syft" constant cliTypePrefix (line 13) | cliTypePrefix = typePrefix + "-cli" constant FileIndexingStarted (line 18) | FileIndexingStarted partybus.EventType = typePrefix + "-file-indexing-st... constant AttestationStarted (line 21) | AttestationStarted partybus.EventType = typePrefix + "-attestation-start... constant CatalogerTaskStarted (line 24) | CatalogerTaskStarted partybus.EventType = typePrefix + "-cataloger-task-... constant PullSourceStarted (line 28) | PullSourceStarted partybus.EventType = typePrefix + "-pull-source-started" constant CLIAppUpdateAvailable (line 33) | CLIAppUpdateAvailable partybus.EventType = cliTypePrefix + "-app-update-... constant CLIReport (line 36) | CLIReport partybus.EventType = cliTypePrefix + "-report" constant CLINotification (line 39) | CLINotification partybus.EventType = cliTypePrefix + "-notification" FILE: syft/event/monitor/generic_task.go constant TopLevelCatalogingTaskID (line 10) | TopLevelCatalogingTaskID = "cataloging" constant PackageCatalogingTaskID (line 11) | PackageCatalogingTaskID = "package-cataloging" type ShellProgress (line 14) | type ShellProgress struct type Title (line 19) | type Title struct type GenericTask (line 25) | type GenericTask struct type TaskProgress (line 43) | type TaskProgress struct FILE: syft/event/parsers/parsers.go type ErrBadPayload (line 17) | type ErrBadPayload struct method Error (line 23) | func (e *ErrBadPayload) Error() string { function newPayloadErr (line 27) | func newPayloadErr(t partybus.EventType, field string, value interface{}... function checkEventType (line 35) | func checkEventType(actual, expected partybus.EventType) error { function ParseFileIndexingStarted (line 42) | func ParseFileIndexingStarted(e partybus.Event) (string, progress.Staged... function ParseCatalogerTaskStarted (line 60) | func ParseCatalogerTaskStarted(e partybus.Event) (progress.StagedProgres... function ParsePullSourceStarted (line 80) | func ParsePullSourceStarted(e partybus.Event) (progress.StagedProgressab... function ParseAttestationStartedEvent (line 100) | func ParseAttestationStartedEvent(e partybus.Event) (io.Reader, progress... type UpdateCheck (line 120) | type UpdateCheck struct function ParseCLIAppUpdateAvailable (line 125) | func ParseCLIAppUpdateAvailable(e partybus.Event) (*UpdateCheck, error) { function ParseCLIReport (line 138) | func ParseCLIReport(e partybus.Event) (string, string, error) { function ParseCLINotification (line 157) | func ParseCLINotification(e partybus.Event) (string, string, error) { FILE: syft/file/cataloger/executable/cataloger.go type Config (line 27) | type Config struct type Cataloger (line 32) | type Cataloger struct method Catalog (line 51) | func (i *Cataloger) Catalog(resolver file.Resolver) (map[file.Coordina... method CatalogCtx (line 55) | func (i *Cataloger) CatalogCtx(ctx context.Context, resolver file.Reso... function DefaultConfig (line 36) | func DefaultConfig() Config { function NewCataloger (line 45) | func NewCataloger(cfg Config) *Cataloger { function processExecutableLocation (line 92) | func processExecutableLocation(loc file.Location, resolver file.Resolver... function catalogingProgress (line 109) | func catalogingProgress(locations int64) *monitor.TaskProgress { function filterByGlobs (line 120) | func filterByGlobs(locs []file.Location, globs []string) ([]file.Locatio... function locationMatchesGlob (line 137) | func locationMatchesGlob(loc file.Location, globs []string) (bool, error) { function processExecutable (line 155) | func processExecutable(loc file.Location, reader unionreader.UnionReader... function findExecutableFormat (line 200) | func findExecutableFormat(reader unionreader.UnionReader) (file.Executab... function isMacho (line 223) | func isMacho(by []byte) bool { function classOrMachOFat (line 245) | func classOrMachOFat(in []byte) bool { function isPE (line 257) | func isPE(by []byte) bool { function isELF (line 261) | func isELF(by []byte) bool { FILE: syft/file/cataloger/executable/elf.go function findELFFeatures (line 16) | func findELFFeatures(data *file.Executable, reader unionreader.UnionRead... function findELFSecurityFeatures (line 41) | func findELFSecurityFeatures(f *elf.File) *file.ELFSecurityFeatures { function isElfSymbolTableStripped (line 55) | func isElfSymbolTableStripped(file *elf.File) bool { function checkElfStackCanary (line 59) | func checkElfStackCanary(file *elf.File) *bool { function hasAnyDynamicSymbols (line 63) | func hasAnyDynamicSymbols(file *elf.File, symbolNames ...string) *bool { function boolRef (line 80) | func boolRef(b bool) *bool { function checkElfNXProtection (line 84) | func checkElfNXProtection(file *elf.File) bool { function checkElfRelROProtection (line 96) | func checkElfRelROProtection(f *elf.File) file.RelocationReadOnly { function hasBindNowDynTagOrFlag (line 118) | func hasBindNowDynTagOrFlag(f *elf.File) bool { function hasElfDynFlag (line 129) | func hasElfDynFlag(f *elf.File, flag elf.DynFlag) bool { function hasElfDynFlag1 (line 143) | func hasElfDynFlag1(f *elf.File, flag elf.DynFlag1) bool { function hasElfDynTag (line 157) | func hasElfDynTag(f *elf.File, tag elf.DynTag) bool { function isELFPIE (line 186) | func isELFPIE(f *elf.File) bool { function isELFDSO (line 191) | func isELFDSO(f *elf.File) bool { function checkLLVMSafeStack (line 195) | func checkLLVMSafeStack(file *elf.File) *bool { function checkLLVMControlFlowIntegrity (line 200) | func checkLLVMControlFlowIntegrity(file *elf.File) *bool { function isFunction (line 216) | func isFunction(sym elf.Symbol) bool { function checkClangFortifySource (line 222) | func checkClangFortifySource(file *elf.File) *bool { function elfHasEntrypoint (line 237) | func elfHasEntrypoint(f *elf.File) bool { function elfHasExports (line 243) | func elfHasExports(f *elf.File) bool { FILE: syft/file/cataloger/executable/elf_test.go function Test_findELFSecurityFeatures (line 17) | func Test_findELFSecurityFeatures(t *testing.T) { function Test_elfHasEntrypoint (line 162) | func Test_elfHasEntrypoint(t *testing.T) { function Test_elfHasExports (line 196) | func Test_elfHasExports(t *testing.T) { FILE: syft/file/cataloger/executable/macho.go constant machoNPExt (line 13) | machoNPExt uint8 = 0x10 constant machoNExt (line 14) | machoNExt uint8 = 0x01 constant lcMain (line 17) | lcMain = 0x28 | 0x80000000 function findMachoFeatures (line 20) | func findMachoFeatures(data *file.Executable, reader unionreader.UnionRe... function machoHasEntrypoint (line 59) | func machoHasEntrypoint(f *macho.File) bool { function machoHasExports (line 78) | func machoHasExports(f *macho.File) bool { FILE: syft/file/cataloger/executable/macho_test.go function Test_machoHasEntrypoint (line 16) | func Test_machoHasEntrypoint(t *testing.T) { function Test_machoHasExports (line 50) | func Test_machoHasExports(t *testing.T) { function Test_machoUniversal (line 88) | func Test_machoUniversal(t *testing.T) { FILE: syft/file/cataloger/executable/pe.go function findPEFeatures (line 12) | func findPEFeatures(data *file.Executable, reader unionreader.UnionReade... function peHasEntrypoint (line 37) | func peHasEntrypoint(f *pe.File) bool { function peHasExports (line 71) | func peHasExports(f *pe.File) bool { FILE: syft/file/cataloger/executable/pe_test.go function Test_peHasEntrypoint (line 15) | func Test_peHasEntrypoint(t *testing.T) { function Test_peHasExports (line 49) | func Test_peHasExports(t *testing.T) { FILE: syft/file/cataloger/executable/testdata/elf/differ/__main__.py function load_json (line 5) | def load_json(file_path): function diff_json (line 10) | def diff_json(json1, json2): function main (line 37) | def main(): FILE: syft/file/cataloger/executable/testdata/elf/project/lib.c function foo (line 3) | void foo(void) FILE: syft/file/cataloger/executable/testdata/elf/project/main.c function int_arg (line 10) | static int int_arg(int arg) { function float_arg (line 15) | static int float_arg(float arg) { function bad_int_arg (line 21) | static int bad_int_arg(int arg) { function not_entry_point (line 27) | static int not_entry_point(int arg) { type foo (line 50) | struct foo { type foo (line 60) | struct foo function simple1 (line 67) | void simple1() { function simple2 (line 73) | void simple2() { function main (line 79) | int main(int argc, char **argv) { FILE: syft/file/cataloger/executable/testdata/shared-info/project/hello/hello.c function main (line 3) | int main() { FILE: syft/file/cataloger/executable/testdata/shared-info/project/libhello/hello.c function hello (line 3) | void hello() { FILE: syft/file/cataloger/filecontent/cataloger.go type Config (line 21) | type Config struct type Cataloger (line 29) | type Cataloger struct method Catalog (line 47) | func (i *Cataloger) Catalog(_ context.Context, resolver file.Resolver)... method catalogLocation (line 96) | func (i *Cataloger) catalogLocation(resolver file.Resolver, location f... function DefaultConfig (line 34) | func DefaultConfig() Config { function NewCataloger (line 40) | func NewCataloger(cfg Config) *Cataloger { function catalogingProgress (line 116) | func catalogingProgress(locations int64) *monitor.TaskProgress { FILE: syft/file/cataloger/filecontent/cataloger_test.go function TestContentsCataloger (line 12) | func TestContentsCataloger(t *testing.T) { FILE: syft/file/cataloger/filedigest/cataloger.go type Cataloger (line 26) | type Cataloger struct method Catalog (line 36) | func (i *Cataloger) Catalog(ctx context.Context, resolver file.Resolve... method catalogLocation (line 90) | func (i *Cataloger) catalogLocation(ctx context.Context, resolver file... function NewCataloger (line 30) | func NewCataloger(hashes []crypto.Hash) *Cataloger { function catalogingProgress (line 115) | func catalogingProgress(locations int64) *monitor.TaskProgress { FILE: syft/file/cataloger/filedigest/cataloger_test.go function testDigests (line 24) | func testDigests(t testing.TB, root string, files []string, hashes ...cr... function TestDigestsCataloger (line 51) | func TestDigestsCataloger(t *testing.T) { function TestDigestsCataloger_MixFileTypes (line 91) | func TestDigestsCataloger_MixFileTypes(t *testing.T) { function TestFileDigestCataloger_GivenCoordinates (line 161) | func TestFileDigestCataloger_GivenCoordinates(t *testing.T) { FILE: syft/file/cataloger/filemetadata/cataloger.go type Cataloger (line 16) | type Cataloger struct method Catalog (line 23) | func (i *Cataloger) Catalog(ctx context.Context, resolver file.Resolve... function NewCataloger (line 19) | func NewCataloger() *Cataloger { function catalogingProgress (line 79) | func catalogingProgress(locations int64) *monitor.TaskProgress { FILE: syft/file/cataloger/filemetadata/cataloger_test.go function TestFileMetadataCataloger (line 18) | func TestFileMetadataCataloger(t *testing.T) { function TestFileMetadataCataloger_GivenCoordinates (line 157) | func TestFileMetadataCataloger_GivenCoordinates(t *testing.T) { FILE: syft/file/cataloger/internal/all_regular_files.go function AllRegularFiles (line 11) | func AllRegularFiles(ctx context.Context, resolver file.Resolver) (locat... FILE: syft/file/cataloger/internal/all_regular_files_test.go function Test_allRegularFiles (line 19) | func Test_allRegularFiles(t *testing.T) { FILE: syft/file/coordinate_set.go type CoordinateSet (line 11) | type CoordinateSet struct method Add (line 23) | func (s *CoordinateSet) Add(coordinates ...Coordinates) { method Remove (line 32) | func (s CoordinateSet) Remove(coordinates ...Coordinates) { method Contains (line 41) | func (s CoordinateSet) Contains(l Coordinates) bool { method Paths (line 49) | func (s CoordinateSet) Paths() []string { method ToSlice (line 63) | func (s CoordinateSet) ToSlice(sorters ...func(a, b Coordinates) int) ... method ToUnorderedSlice (line 90) | func (s CoordinateSet) ToUnorderedSlice() []Coordinates { method Hash (line 103) | func (s CoordinateSet) Hash() (uint64, error) { function NewCoordinateSet (line 15) | func NewCoordinateSet(coordinates ...Coordinates) (s CoordinateSet) { FILE: syft/file/coordinate_set_test.go function TestCoordinatesSet (line 12) | func TestCoordinatesSet(t *testing.T) { function TestCoordinateSet_Hash (line 57) | func TestCoordinateSet_Hash(t *testing.T) { FILE: syft/file/coordinates.go type Coordinates (line 11) | type Coordinates struct method ID (line 26) | func (c Coordinates) ID() artifact.ID { method String (line 37) | func (c Coordinates) String() string { method GetCoordinates (line 46) | func (c Coordinates) GetCoordinates() Coordinates { function NewCoordinates (line 19) | func NewCoordinates(realPath, fsID string) Coordinates { FILE: syft/file/digest.go type Digest (line 4) | type Digest struct FILE: syft/file/executable.go type ExecutableFormat (line 5) | type ExecutableFormat type RelocationReadOnly (line 8) | type RelocationReadOnly constant ELF (line 12) | ELF ExecutableFormat = "elf" constant MachO (line 13) | MachO ExecutableFormat = "macho" constant PE (line 14) | PE ExecutableFormat = "pe" constant RelocationReadOnlyNone (line 16) | RelocationReadOnlyNone RelocationReadOnly = "none" constant RelocationReadOnlyPartial (line 17) | RelocationReadOnlyPartial RelocationReadOnly = "partial" constant RelocationReadOnlyFull (line 18) | RelocationReadOnlyFull RelocationReadOnly = "full" type Executable (line 22) | type Executable struct type ELFSecurityFeatures (line 40) | type ELFSecurityFeatures struct FILE: syft/file/license.go type License (line 9) | type License struct type LicenseEvidence (line 26) | type LicenseEvidence struct function NewLicense (line 37) | func NewLicense(value string) License { FILE: syft/file/location.go constant VisibleAnnotationKey (line 14) | VisibleAnnotationKey = "visible" constant HiddenAnnotation (line 17) | HiddenAnnotation = "false" constant VisibleAnnotation (line 20) | VisibleAnnotation = "true" type Location (line 25) | type Location struct method WithAnnotation (line 67) | func (l Location) WithAnnotation(key, value string) Location { method WithoutAnnotations (line 78) | func (l Location) WithoutAnnotations() Location { method Path (line 188) | func (l Location) Path() string { method String (line 195) | func (l Location) String() string { method Equals (line 213) | func (l Location) Equals(other Location) bool { type LocationData (line 31) | type LocationData struct method Reference (line 43) | func (l LocationData) Reference() file.Reference { type LocationMetadata (line 48) | type LocationMetadata struct method merge (line 52) | func (m *LocationMetadata) merge(other LocationMetadata) error { function NewLocation (line 85) | func NewLocation(realPath string) Location { function NewVirtualLocation (line 100) | func NewVirtualLocation(realPath, accessPath string) Location { function NewLocationFromCoordinates (line 114) | func NewLocationFromCoordinates(coordinates Coordinates) Location { function NewVirtualLocationFromCoordinates (line 126) | func NewVirtualLocationFromCoordinates(coordinates Coordinates, accessPa... function NewLocationFromImage (line 138) | func NewLocationFromImage(accessPath string, ref file.Reference, img *im... function NewLocationFromDirectory (line 156) | func NewLocationFromDirectory(responsePath string, fd string, ref file.R... function NewVirtualLocationFromDirectory (line 173) | func NewVirtualLocationFromDirectory(responsePath, responseAccessPath st... FILE: syft/file/location_read_closer.go type LocationReadCloser (line 6) | type LocationReadCloser struct function NewLocationReadCloser (line 11) | func NewLocationReadCloser(location Location, reader io.ReadCloser) Loca... FILE: syft/file/location_set.go type LocationSet (line 13) | type LocationSet struct method Add (line 25) | func (s *LocationSet) Add(locations ...Location) { method Remove (line 42) | func (s LocationSet) Remove(locations ...Location) { method Contains (line 51) | func (s LocationSet) Contains(l Location) bool { method ToSlice (line 59) | func (s LocationSet) ToSlice(sorters ...func(a, b Location) int) []Loc... method ToUnorderedSlice (line 80) | func (s LocationSet) ToUnorderedSlice() []Location { method CoordinateSet (line 96) | func (s *LocationSet) CoordinateSet() CoordinateSet { method Empty (line 107) | func (s *LocationSet) Empty() bool { method Hash (line 114) | func (s LocationSet) Hash() (uint64, error) { function NewLocationSet (line 17) | func NewLocationSet(locations ...Location) (s LocationSet) { FILE: syft/file/location_set_test.go function TestLocationSet_SortPaths (line 14) | func TestLocationSet_SortPaths(t *testing.T) { function TestLocationSet_SortEvidence (line 98) | func TestLocationSet_SortEvidence(t *testing.T) { function TestLocationSet_Hash (line 209) | func TestLocationSet_Hash(t *testing.T) { FILE: syft/file/location_test.go function TestLocation_ID (line 11) | func TestLocation_ID(t *testing.T) { FILE: syft/file/locations.go type Locations (line 12) | type Locations method Len (line 14) | func (l Locations) Len() int { method Less (line 18) | func (l Locations) Less(i, j int) bool { method Swap (line 22) | func (l Locations) Swap(i, j int) { function LocationSorter (line 27) | func LocationSorter(layers []string) func(a, b Location) int { //nolint:... function CoordinatesSorter (line 91) | func CoordinatesSorter(layers []string) func(a, b Coordinates) int { FILE: syft/file/locations_test.go function TestLocationAndCoordinatesSorters (line 13) | func TestLocationAndCoordinatesSorters(t *testing.T) { FILE: syft/file/mock_resolver.go type MockResolver (line 21) | type MockResolver struct method HasPath (line 106) | func (r MockResolver) HasPath(path string) bool { method String (line 116) | func (r MockResolver) String() string { method FileContentsByLocation (line 122) | func (r MockResolver) FileContentsByLocation(location Location) (io.Re... method FilesByPath (line 133) | func (r MockResolver) FilesByPath(paths ...string) ([]Location, error) { method FilesByGlob (line 147) | func (r MockResolver) FilesByGlob(patterns ...string) ([]Location, err... method RelativeFileByPath (line 165) | func (r MockResolver) RelativeFileByPath(_ Location, path string) *Loc... method AllLocations (line 178) | func (r MockResolver) AllLocations(ctx context.Context) <-chan Location { method FileMetadataByLocation (line 194) | func (r MockResolver) FileMetadataByLocation(l Location) (Metadata, er... method FilesByMIMEType (line 214) | func (r MockResolver) FilesByMIMEType(types ...string) ([]Location, er... method FilesByMediaType (line 222) | func (r MockResolver) FilesByMediaType(types ...string) ([]Location, e... method FilesByExtension (line 230) | func (r MockResolver) FilesByExtension(extensions ...string) ([]Locati... method FilesByBasename (line 238) | func (r MockResolver) FilesByBasename(filenames ...string) ([]Location... method FilesByBasenameGlob (line 246) | func (r MockResolver) FilesByBasenameGlob(_ ...string) ([]Location, er... method Write (line 251) | func (r MockResolver) Write(_ Location, _ io.Reader) error { function NewMockResolverForPaths (line 32) | func NewMockResolverForPaths(paths ...string) *MockResolver { function NewMockResolverForPathsWithMetadata (line 53) | func NewMockResolverForPathsWithMetadata(metadata map[Coordinates]Metada... function NewMockResolverForMediaTypes (line 79) | func NewMockResolverForMediaTypes(mediaTypes map[string][]Location) *Moc... FILE: syft/file/resolver.go type Resolver (line 9) | type Resolver interface type ContentResolver (line 17) | type ContentResolver interface type MetadataResolver (line 22) | type MetadataResolver interface type PathResolver (line 27) | type PathResolver interface type OCIMediaTypeResolver (line 56) | type OCIMediaTypeResolver interface type LocationResolver (line 67) | type LocationResolver interface type WritableResolver (line 76) | type WritableResolver interface FILE: syft/file/search_result.go type SearchResult (line 8) | type SearchResult struct method String (line 28) | func (s SearchResult) String() string { FILE: syft/file/selection.go constant NoFilesSelection (line 4) | NoFilesSelection Selection = "none" constant FilesOwnedByPackageSelection (line 5) | FilesOwnedByPackageSelection Selection = "owned-by-package" constant AllFilesSelection (line 6) | AllFilesSelection Selection = "all" type Selection (line 10) | type Selection FILE: syft/format/common/cyclonedxhelpers/to_format_model.go function ToFormatModel (line 36) | func ToFormatModel(s sbom.SBOM) *cyclonedx.BOM { function getCoordinates (line 99) | func getCoordinates(s sbom.SBOM) ([]file.Coordinates, func(a, b file.Loc... function digestsToHashes (line 114) | func digestsToHashes(digests []file.Digest) []cyclonedx.Hash { function toOSComponent (line 130) | func toOSComponent(distro *linux.Release) []cyclonedx.Component { function toOSBomRef (line 190) | func toOSBomRef(name string, version string) string { function formatCPE (line 200) | func formatCPE(cpeString string) string { function toBomDescriptor (line 210) | func toBomDescriptor(name, version string, srcMetadata source.Descriptio... function toBomSupplier (line 229) | func toBomSupplier(srcMetadata source.Description) *cyclonedx.Organizati... function isExpressiblePackageRelationship (line 244) | func isExpressiblePackageRelationship(ty artifact.RelationshipType) bool { function toDependencies (line 253) | func toDependencies(relationships []artifact.Relationship) []cyclonedx.D... function toBomProperties (line 304) | func toBomProperties(srcMetadata source.Description) *[]cyclonedx.Proper... function toBomDescriptorComponent (line 319) | func toBomDescriptorComponent(srcMetadata source.Description) *cyclonedx... FILE: syft/format/common/cyclonedxhelpers/to_format_model_test.go function Test_formatCPE (line 22) | func Test_formatCPE(t *testing.T) { function Test_relationships (line 49) | func Test_relationships(t *testing.T) { function Test_FileComponents (line 148) | func Test_FileComponents(t *testing.T) { function Test_toBomDescriptor (line 320) | func Test_toBomDescriptor(t *testing.T) { function Test_toBomProperties (line 475) | func Test_toBomProperties(t *testing.T) { function Test_toOsComponent (line 522) | func Test_toOsComponent(t *testing.T) { function Test_toOSBomRef (line 572) | func Test_toOSBomRef(t *testing.T) { FILE: syft/format/common/spdxhelpers/to_format_model.go constant noAssertion (line 31) | noAssertion = "NOASSERTION" constant spdxPrimaryPurposeContainer (line 33) | spdxPrimaryPurposeContainer = "CONTAINER" constant spdxPrimaryPurposeFile (line 34) | spdxPrimaryPurposeFile = "FILE" constant spdxPrimaryPurposeOther (line 35) | spdxPrimaryPurposeOther = "OTHER" constant prefixImage (line 37) | prefixImage = "Image" constant prefixOCIModel (line 38) | prefixOCIModel = "OCIModel" constant prefixDirectory (line 39) | prefixDirectory = "Directory" constant prefixFile (line 40) | prefixFile = "File" constant prefixSnap (line 41) | prefixSnap = "Snap" constant prefixUnknown (line 42) | prefixUnknown = "Unknown" function ToFormatModel (line 49) | func ToFormatModel(s sbom.SBOM) *spdx.Document { function toRootRelationships (line 163) | func toRootRelationships(rootPackage *spdx.Package, packages []*spdx.Pac... function toRootPackage (line 179) | func toRootPackage(s source.Description) *spdx.Package { function toSPDXID (line 311) | func toSPDXID(identifiable artifact.Identifiable) spdx.ElementID { function toSPDXSupplier (line 359) | func toSPDXSupplier(s source.Description) *spdx.Supplier { function toPackages (line 379) | func toPackages(rels *relationship.Index, catalog *pkg.Collection, sbom ... function toPackageChecksums (line 552) | func toPackageChecksums(p pkg.Package) ([]spdx.Checksum, bool) { function toPackageOriginator (line 594) | func toPackageOriginator(p pkg.Package) *spdx.Originator { function toPackageSupplier (line 605) | func toPackageSupplier(p pkg.Package, sbomSupplier string) *spdx.Supplier { function formatSPDXExternalRefs (line 625) | func formatSPDXExternalRefs(p pkg.Package) (refs []*spdx.PackageExternal... function toRelationships (line 637) | func toRelationships(relationships []artifact.Relationship) (result []*s... function lookupRelationship (line 666) | func lookupRelationship(ty artifact.RelationshipType) (bool, helpers.Rel... function toFiles (line 680) | func toFiles(s sbom.SBOM) (results []*spdx.File) { function toFileChecksums (line 746) | func toFileChecksums(digests []file.Digest) (checksums []spdx.Checksum) { function toChecksum (line 758) | func toChecksum(algorithmHash string) *spdx.Checksum { function toChecksumAlgorithm (line 769) | func toChecksumAlgorithm(algorithm string) spdx.ChecksumAlgorithm { function toFileTypes (line 774) | func toFileTypes(metadata *file.Metadata) (ty []string) { function newPackageVerificationCode (line 813) | func newPackageVerificationCode(rels *relationship.Index, p pkg.Package,... function trimPatchVersion (line 863) | func trimPatchVersion(semver string) string { function convertAbsoluteToRelative (line 873) | func convertAbsoluteToRelative(absPath string) (string, error) { function convertOtherLicense (line 890) | func convertOtherLicense(otherLicenses []spdx.OtherLicense) []*spdx.Othe... FILE: syft/format/common/spdxhelpers/to_format_model_test.go function Test_toFormatModel (line 27) | func Test_toFormatModel(t *testing.T) { function Test_toPackageChecksums (line 423) | func Test_toPackageChecksums(t *testing.T) { function Test_toFiles (line 541) | func Test_toFiles(t *testing.T) { function Test_toFileTypes (line 586) | func Test_toFileTypes(t *testing.T) { function Test_lookupRelationship (line 666) | func Test_lookupRelationship(t *testing.T) { function Test_toFileChecksums (line 706) | func Test_toFileChecksums(t *testing.T) { function Test_fileIDsForPackage (line 746) | func Test_fileIDsForPackage(t *testing.T) { function Test_H1Digest (line 850) | func Test_H1Digest(t *testing.T) { function Test_OtherLicenses (line 911) | func Test_OtherLicenses(t *testing.T) { function Test_toSPDXID (line 992) | func Test_toSPDXID(t *testing.T) { function Test_otherLicenses (line 1060) | func Test_otherLicenses(t *testing.T) { FILE: syft/format/common/spdxhelpers/to_syft_model.go function ToSyftModel (line 32) | func ToSyftModel(doc *spdx.Document) (*sbom.SBOM, error) { function isDirectory (line 58) | func isDirectory(name string) bool { function removePackage (line 65) | func removePackage(packages []*spdx.Package, remove *spdx.Package) (pkgs... function removeRelationships (line 75) | func removeRelationships(relationships []*spdx.Relationship, spdxID spdx... function findRootPackages (line 85) | func findRootPackages(doc *spdx.Document) (out []*spdx.Package) { function extractSource (line 106) | func extractSource(spdxIDMap map[string]any, doc *spdx.Document) source.... function containerSource (line 134) | func containerSource(p *spdx.Package) source.Description { function fileSource (line 172) | func fileSource(p *spdx.Package) source.Description { function fileSourceMetadata (line 207) | func fileSourceMetadata(p *spdx.Package) (any, string) { function directorySourceMetadata (line 228) | func directorySourceMetadata(p *spdx.Package) (any, string) { function extractSourceFromNamespace (line 239) | func extractSourceFromNamespace(ns string) source.Description { function findLinuxReleaseByPURL (line 267) | func findLinuxReleaseByPURL(doc *spdx.Document) *linux.Release { function collectSyftPackages (line 300) | func collectSyftPackages(s *sbom.SBOM, spdxIDMap map[string]any, doc *sp... function collectSyftFiles (line 312) | func collectSyftFiles(s *sbom.SBOM, spdxIDMap map[string]any, doc *spdx.... function toFileDigests (line 332) | func toFileDigests(f *spdx.File) (digests []file.Digest) { function fromChecksumAlgorithm (line 342) | func fromChecksumAlgorithm(algorithm common.ChecksumAlgorithm) string { function toFileMetadata (line 346) | func toFileMetadata(f *spdx.File) (meta file.Metadata) { function toSyftRelationships (line 368) | func toSyftRelationships(spdxIDMap map[string]any, doc *spdx.Document) [... function collectDocRelationships (line 376) | func collectDocRelationships(spdxIDMap map[string]any, doc *spdx.Documen... function collectPackageFileRelationships (line 439) | func collectPackageFileRelationships(spdxIDMap map[string]any, doc *spdx... function toSyftCoordinates (line 462) | func toSyftCoordinates(f *spdx.File) file.Coordinates { function toSyftLocation (line 477) | func toSyftLocation(f *spdx.File) file.Location { function requireAndTrimPrefix (line 482) | func requireAndTrimPrefix(val interface{}, prefix string) string { type pkgInfo (line 491) | type pkgInfo struct method qualifierValue (line 497) | func (p *pkgInfo) qualifierValue(name string) string { function findQualifierValue (line 501) | func findQualifierValue(purl packageurl.PackageURL, qualifier string) st... function extractPkgInfo (line 510) | func extractPkgInfo(p *spdx.Package) pkgInfo { function toSyftPackage (line 523) | func toSyftPackage(p *spdx.Package) pkg.Package { function purlValue (line 548) | func purlValue(purl packageurl.PackageURL) string { function parseSPDXLicenses (line 556) | func parseSPDXLicenses(p *spdx.Package) []pkg.License { function cleanSPDXID (line 576) | func cleanSPDXID(id string) string { function extractMetadata (line 581) | func extractMetadata(p *spdx.Package, info pkgInfo) any { function findPURLValue (line 660) | func findPURLValue(p *spdx.Package) string { function extractCPEs (line 669) | func extractCPEs(p *spdx.Package) (cpes []cpe.CPE) { function packageIDsToSkip (line 684) | func packageIDsToSkip(doc *spdx.Document) *strset.Set { FILE: syft/format/common/spdxhelpers/to_syft_model_test.go function TestToSyftModel (line 22) | func TestToSyftModel(t *testing.T) { function Test_extractMetadata (line 118) | func Test_extractMetadata(t *testing.T) { function TestExtractSourceFromNamespaces (line 195) | func TestExtractSourceFromNamespaces(t *testing.T) { function TestH1Digest (line 241) | func TestH1Digest(t *testing.T) { function Test_toSyftRelationships (line 321) | func Test_toSyftRelationships(t *testing.T) { function Test_convertToAndFromFormat (line 491) | func Test_convertToAndFromFormat(t *testing.T) { function Test_purlValue (line 608) | func Test_purlValue(t *testing.T) { function Test_directPackageFiles (line 663) | func Test_directPackageFiles(t *testing.T) { function Test_useSPDXIdentifierOverDerivedSyftArtifactID (line 736) | func Test_useSPDXIdentifierOverDerivedSyftArtifactID(t *testing.T) { function Test_skipsPackagesWithGeneratedFromRelationship (line 765) | func Test_skipsPackagesWithGeneratedFromRelationship(t *testing.T) { FILE: syft/format/cpes/decoder.go constant ID (line 17) | ID sbom.FormatID = "cpes" constant version (line 18) | version = "1" type decoder (line 22) | type decoder struct method Decode (line 28) | func (d decoder) Decode(r io.Reader) (*sbom.SBOM, sbom.FormatID, strin... method Identify (line 36) | func (d decoder) Identify(r io.Reader) (sbom.FormatID, string) { function NewFormatDecoder (line 24) | func NewFormatDecoder() sbom.FormatDecoder { function toSyftModel (line 60) | func toSyftModel(r io.Reader) (*sbom.SBOM, error) { FILE: syft/format/cpes/decoder_test.go function TestDecoder_Decode (line 17) | func TestDecoder_Decode(t *testing.T) { FILE: syft/format/cyclonedxjson/decoder.go type decoder (line 19) | type decoder struct method Decode (line 29) | func (d decoder) Decode(r io.Reader) (*sbom.SBOM, sbom.FormatID, strin... method Identify (line 60) | func (d decoder) Identify(r io.Reader) (sbom.FormatID, string) { function NewFormatDecoder (line 23) | func NewFormatDecoder() sbom.FormatDecoder { function getFormatInfo (line 94) | func getFormatInfo(bomFormat string, specVersion any) (sbom.FormatID, st... FILE: syft/format/cyclonedxjson/decoder_test.go function TestDecoder_Decode (line 17) | func TestDecoder_Decode(t *testing.T) { function TestDecoder_Identify (line 91) | func TestDecoder_Identify(t *testing.T) { FILE: syft/format/cyclonedxjson/encoder.go constant ID (line 10) | ID = cyclonedxutil.JSONFormatID function SupportedVersions (line 12) | func SupportedVersions() []string { type EncoderConfig (line 16) | type EncoderConfig struct type encoder (line 21) | type encoder struct method ID (line 44) | func (e encoder) ID() sbom.FormatID { method Aliases (line 48) | func (e encoder) Aliases() []string { method Version (line 52) | func (e encoder) Version() string { function NewFormatEncoderWithConfig (line 26) | func NewFormatEncoderWithConfig(cfg EncoderConfig) (sbom.FormatEncoder, ... function DefaultEncoderConfig (line 37) | func DefaultEncoderConfig() EncoderConfig { FILE: syft/format/cyclonedxjson/encoder_test.go function getEncoder (line 22) | func getEncoder(t testing.TB) sbom.FormatEncoder { function TestPrettyOutput (line 31) | func TestPrettyOutput(t *testing.T) { function TestEscapeHTML (line 60) | func TestEscapeHTML(t *testing.T) { function TestCycloneDxDirectoryEncoder (line 85) | func TestCycloneDxDirectoryEncoder(t *testing.T) { function TestCycloneDxImageEncoder (line 99) | func TestCycloneDxImageEncoder(t *testing.T) { function redactor (line 117) | func redactor(values ...string) testutil.Redactor { function TestSupportedVersions (line 142) | func TestSupportedVersions(t *testing.T) { function defaultFormatEncoders (line 188) | func defaultFormatEncoders() []sbom.FormatEncoder { FILE: syft/format/cyclonedxxml/decoder.go type decoder (line 20) | type decoder struct method Decode (line 30) | func (d decoder) Decode(r io.Reader) (*sbom.SBOM, sbom.FormatID, strin... method Identify (line 61) | func (d decoder) Identify(r io.Reader) (sbom.FormatID, string) { function NewFormatDecoder (line 24) | func NewFormatDecoder() sbom.FormatDecoder { function getFormatInfo (line 93) | func getFormatInfo(xmlns string) (sbom.FormatID, string) { function getVersionFromXMLNS (line 109) | func getVersionFromXMLNS(xmlns string) string { FILE: syft/format/cyclonedxxml/decoder_test.go function TestDecoder_Decode (line 17) | func TestDecoder_Decode(t *testing.T) { function TestDecoder_Identify (line 92) | func TestDecoder_Identify(t *testing.T) { FILE: syft/format/cyclonedxxml/encoder.go constant ID (line 12) | ID = cyclonedxutil.XMLFormatID function SupportedVersions (line 14) | func SupportedVersions() []string { type EncoderConfig (line 18) | type EncoderConfig struct type encoder (line 23) | type encoder struct method ID (line 46) | func (e encoder) ID() sbom.FormatID { method Aliases (line 50) | func (e encoder) Aliases() []string { method Version (line 58) | func (e encoder) Version() string { function NewFormatEncoderWithConfig (line 28) | func NewFormatEncoderWithConfig(cfg EncoderConfig) (sbom.FormatEncoder, ... function DefaultEncoderConfig (line 39) | func DefaultEncoderConfig() EncoderConfig { FILE: syft/format/cyclonedxxml/encoder_test.go function getEncoder (line 21) | func getEncoder(t testing.TB) sbom.FormatEncoder { function TestPrettyOutput (line 30) | func TestPrettyOutput(t *testing.T) { function TestCycloneDxDirectoryEncoder (line 58) | func TestCycloneDxDirectoryEncoder(t *testing.T) { function TestCycloneDxImageEncoder (line 72) | func TestCycloneDxImageEncoder(t *testing.T) { function redactor (line 90) | func redactor(values ...string) testutil.Redactor { function TestSupportedVersions (line 123) | func TestSupportedVersions(t *testing.T) { function defaultFormatEncoders (line 169) | func defaultFormatEncoders() []sbom.FormatEncoder { FILE: syft/format/decoders.go function init (line 18) | func init() { function Decoders (line 22) | func Decoders() []sbom.FormatDecoder { function Identify (line 35) | func Identify(reader io.Reader) (sbom.FormatID, string) { function Decode (line 40) | func Decode(reader io.Reader) (*sbom.SBOM, sbom.FormatID, string, error) { FILE: syft/format/decoders_collection.go type DecoderCollection (line 14) | type DecoderCollection struct method Decode (line 25) | func (c *DecoderCollection) Decode(r io.Reader) (*sbom.SBOM, sbom.Form... method Identify (line 64) | func (c *DecoderCollection) Identify(r io.Reader) (sbom.FormatID, stri... function NewDecoderCollection (line 18) | func NewDecoderCollection(decoders ...sbom.FormatDecoder) sbom.FormatDec... FILE: syft/format/decoders_collection_test.go function TestIdentify (line 17) | func TestIdentify(t *testing.T) { function TestDecodeUnseekable (line 42) | func TestDecodeUnseekable(t *testing.T) { function TestFormats_EmptyInput (line 53) | func TestFormats_EmptyInput(t *testing.T) { FILE: syft/format/encoders.go constant AllVersions (line 21) | AllVersions = "all-versions" type EncodersConfig (line 23) | type EncodersConfig struct method Encoders (line 56) | func (o EncodersConfig) Encoders() ([]sbom.FormatEncoder, error) { method templateEncoders (line 76) | func (o EncodersConfig) templateEncoders() ([]sbom.FormatEncoder, erro... method syftJSONEncoders (line 81) | func (o EncodersConfig) syftJSONEncoders() ([]sbom.FormatEncoder, erro... method cyclonedxXMLEncoders (line 86) | func (o EncodersConfig) cyclonedxXMLEncoders() ([]sbom.FormatEncoder, ... method cyclonedxJSONEncoders (line 113) | func (o EncodersConfig) cyclonedxJSONEncoders() ([]sbom.FormatEncoder,... method spdxJSONEncoders (line 140) | func (o EncodersConfig) spdxJSONEncoders() ([]sbom.FormatEncoder, erro... method spdxTagValueEncoders (line 167) | func (o EncodersConfig) spdxTagValueEncoders() ([]sbom.FormatEncoder, ... function Encoders (line 32) | func Encoders() []sbom.FormatEncoder { function DefaultEncodersConfig (line 37) | func DefaultEncodersConfig() EncodersConfig { type encodersList (line 194) | type encodersList struct method addWithErr (line 199) | func (l *encodersList) addWithErr(name sbom.FormatID) func([]sbom.Form... method add (line 215) | func (l *encodersList) add(name sbom.FormatID) func(...sbom.FormatEnco... FILE: syft/format/encoders_collection.go type EncoderCollection (line 16) | type EncoderCollection struct method IDs (line 27) | func (e EncoderCollection) IDs() []sbom.FormatID { method NameVersions (line 45) | func (e EncoderCollection) NameVersions() []string { method Aliases (line 62) | func (e EncoderCollection) Aliases() []string { method Get (line 73) | func (e EncoderCollection) Get(name string, version string) sbom.Forma... method GetByString (line 105) | func (e EncoderCollection) GetByString(s string) sbom.FormatEncoder { function NewEncoderCollection (line 20) | func NewEncoderCollection(encoders ...sbom.FormatEncoder) *EncoderCollec... function versionMatches (line 114) | func versionMatches(version string, match string) bool { function cleanFormatName (line 129) | func cleanFormatName(name string) string { function Encode (line 135) | func Encode(s sbom.SBOM, f sbom.FormatEncoder) ([]byte, error) { FILE: syft/format/encoders_collection_test.go function Test_versionMatches (line 11) | func Test_versionMatches(t *testing.T) { FILE: syft/format/encoders_test.go function Test_Encoders (line 22) | func Test_Encoders(t *testing.T) { function expectedDefaultEncoders (line 33) | func expectedDefaultEncoders() *strset.Set { function assertHasEncoders (line 56) | func assertHasEncoders(t *testing.T, expected *strset.Set, encs []sbom.F... function TestEncodersConfig_Encoders (line 69) | func TestEncodersConfig_Encoders(t *testing.T) { FILE: syft/format/github/encoder.go constant ID (line 11) | ID sbom.FormatID = "github-json" type encoder (line 13) | type encoder struct method ID (line 20) | func (e encoder) ID() sbom.FormatID { method Aliases (line 24) | func (e encoder) Aliases() []string { method Version (line 30) | func (e encoder) Version() string { method Encode (line 34) | func (e encoder) Encode(writer io.Writer, s sbom.SBOM) error { function NewFormatEncoder (line 16) | func NewFormatEncoder() sbom.FormatEncoder { FILE: syft/format/github/encoder_test.go function TestGithubDirectoryEncoder (line 13) | func TestGithubDirectoryEncoder(t *testing.T) { function TestGithubImageEncoder (line 27) | func TestGithubImageEncoder(t *testing.T) { function redactor (line 45) | func redactor(values ...string) testutil.Redactor { FILE: syft/format/github/internal/model/github_dependency_api.go type DependencySnapshot (line 5) | type DependencySnapshot struct type Job (line 16) | type Job struct type DetectorMetadata (line 22) | type DetectorMetadata struct type Manifests (line 28) | type Manifests type Manifest (line 32) | type Manifest struct type FileInfo (line 39) | type FileInfo struct type DependencyRelationship (line 45) | type DependencyRelationship constant DependencyRelationshipDirect (line 48) | DependencyRelationshipDirect DependencyRelationship = "direct" constant DependencyRelationshipIndirect (line 49) | DependencyRelationshipIndirect DependencyRelationship = "indirect" type DependencyScope (line 57) | type DependencyScope constant DependencyScopeRuntime (line 60) | DependencyScopeRuntime DependencyScope = "runtime" constant DependencyScopeDevelopment (line 61) | DependencyScopeDevelopment DependencyScope = "development" type DependencyNode (line 64) | type DependencyNode struct type DependencyGraph (line 72) | type DependencyGraph type Scalar (line 76) | type Scalar interface type Metadata (line 78) | type Metadata FILE: syft/format/github/internal/model/model.go function ToGithubModel (line 18) | func ToGithubModel(s *sbom.SBOM) DependencySnapshot { function toSnapshotMetadata (line 39) | func toSnapshotMetadata(s *sbom.SBOM) Metadata { function filesystem (line 58) | func filesystem(p pkg.Package) string { function toGithubManifests (line 67) | func toGithubManifests(s *sbom.SBOM) Manifests { function toPath (line 111) | func toPath(s source.Description, p pkg.Package) string { function trimRelative (line 150) | func trimRelative(s string) string { function isArchive (line 159) | func isArchive(path string) bool { function toDependencies (line 164) | func toDependencies(s *sbom.SBOM, p pkg.Package) (out []string) { function dependencyName (line 176) | func dependencyName(p pkg.Package) string { function toDependencyScope (line 187) | func toDependencyScope(_ pkg.Package) DependencyScope { function toDependencyRelationshipType (line 191) | func toDependencyRelationshipType(_ pkg.Package) DependencyRelationship { function toDependencyMetadata (line 195) | func toDependencyMetadata(_ pkg.Package) Metadata { FILE: syft/format/github/internal/model/model_test.go function sbomFixture (line 19) | func sbomFixture() sbom.SBOM { function Test_toGithubModel (line 85) | func Test_toGithubModel(t *testing.T) { FILE: syft/format/internal/backfill.go function Backfill (line 20) | func Backfill(p *pkg.Package) { function backfillFromCPE (line 25) | func backfillFromCPE(p *pkg.Package) { function backfillFromPurl (line 37) | func backfillFromPurl(p *pkg.Package) { function setJavaMetadataFromPurl (line 99) | func setJavaMetadataFromPurl(p *pkg.Package, _ packageurl.PackageURL) { function setRpmMetadataFromPurl (line 110) | func setRpmMetadataFromPurl(p *pkg.Package, rpmmod string) { function setVersionFromPurl (line 139) | func setVersionFromPurl(p *pkg.Package, purl packageurl.PackageURL, epoc... function nameFromPurl (line 153) | func nameFromPurl(purl packageurl.PackageURL) string { function nameExcludesPurlNamespace (line 160) | func nameExcludesPurlNamespace(purlType string) bool { FILE: syft/format/internal/backfill_test.go function Test_Backfill (line 13) | func Test_Backfill(t *testing.T) { function Test_nameFromPurl (line 148) | func Test_nameFromPurl(t *testing.T) { function strRef (line 204) | func strRef(s string) *string { FILE: syft/format/internal/cyclonedxutil/decoder.go type Decoder (line 9) | type Decoder struct method Decode (line 19) | func (d Decoder) Decode(r io.Reader) (*cyclonedx.BOM, error) { function NewDecoder (line 13) | func NewDecoder(format cyclonedx.BOMFileFormat) Decoder { FILE: syft/format/internal/cyclonedxutil/decoder_test.go function Test_missingComponentsDecode (line 12) | func Test_missingComponentsDecode(t *testing.T) { FILE: syft/format/internal/cyclonedxutil/encoder.go constant DefaultVersion (line 12) | DefaultVersion = "1.6" type Encoder (line 14) | type Encoder struct method Encode (line 32) | func (e Encoder) Encode(writer io.Writer, s sbom.SBOM) error { function NewEncoder (line 20) | func NewEncoder(version string, format cyclonedx.BOMFileFormat, pretty b... FILE: syft/format/internal/cyclonedxutil/helpers/author.go function encodeAuthor (line 10) | func encodeAuthor(p pkg.Package) string { function decodeAuthor (line 34) | func decodeAuthor(author string, metadata interface{}) { FILE: syft/format/internal/cyclonedxutil/helpers/author_test.go function Test_encodeAuthor (line 11) | func Test_encodeAuthor(t *testing.T) { FILE: syft/format/internal/cyclonedxutil/helpers/component.go function EncodeComponent (line 17) | func EncodeComponent(p pkg.Package, supplier string, locationSorter func... function encodeSupplier (line 69) | func encodeSupplier(_ pkg.Package, sbomSupplier string) *cyclonedx.Organ... function DeriveBomRef (line 78) | func DeriveBomRef(p pkg.Package) string { function hasMetadata (line 91) | func hasMetadata(p pkg.Package) bool { function decodeComponent (line 95) | func decodeComponent(c *cyclonedx.Component) *pkg.Package { function getPURL (line 133) | func getPURL(c *cyclonedx.Component, ty pkg.Type) string { function setPackageName (line 168) | func setPackageName(p *pkg.Package, c *cyclonedx.Component) { function decodeLocations (line 204) | func decodeLocations(vals map[string]string) file.LocationSet { function decodePackageMetadata (line 213) | func decodePackageMetadata(vals map[string]string, c *cyclonedx.Componen... FILE: syft/format/internal/cyclonedxutil/helpers/component_test.go function Test_encodeComponentProperties (line 15) | func Test_encodeComponentProperties(t *testing.T) { function Test_encodeCompomentType (line 168) | func Test_encodeCompomentType(t *testing.T) { function Test_deriveBomRef (line 223) | func Test_deriveBomRef(t *testing.T) { function Test_decodeComponent (line 274) | func Test_decodeComponent(t *testing.T) { function TestGetPURL (line 387) | func TestGetPURL(t *testing.T) { FILE: syft/format/internal/cyclonedxutil/helpers/cpe.go function encodeSingleCPE (line 11) | func encodeSingleCPE(p pkg.Package) string { function encodeCPEs (line 20) | func encodeCPEs(p pkg.Package) (out []cyclonedx.Property) { function decodeCPEs (line 34) | func decodeCPEs(c *cyclonedx.Component) (out []cpe.CPE) { FILE: syft/format/internal/cyclonedxutil/helpers/cpe_test.go function Test_encodeCPE (line 12) | func Test_encodeCPE(t *testing.T) { FILE: syft/format/internal/cyclonedxutil/helpers/decoder.go function ToSyftModel (line 15) | func ToSyftModel(bom *cyclonedx.BOM) (*sbom.SBOM, error) { function collectBomPackages (line 40) | func collectBomPackages(bom *cyclonedx.BOM, s *sbom.SBOM, idMap map[stri... function collectPackages (line 61) | func collectPackages(component *cyclonedx.Component, s *sbom.SBOM, idMap... function linuxReleaseFromComponents (line 88) | func linuxReleaseFromComponents(components []cyclonedx.Component) *linux... function linuxReleaseFromOSComponent (line 98) | func linuxReleaseFromOSComponent(component *cyclonedx.Component) *linux.... function getPropertyValue (line 160) | func getPropertyValue(component *cyclonedx.Component, name string) string { function collectRelationships (line 171) | func collectRelationships(bom *cyclonedx.BOM, s *sbom.SBOM, idMap map[st... function extractComponents (line 208) | func extractComponents(meta *cyclonedx.Metadata) source.Description { function extractDescriptor (line 259) | func extractDescriptor(meta *cyclonedx.Metadata) (desc sbom.Descriptor) { FILE: syft/format/internal/cyclonedxutil/helpers/decoder_test.go function Test_decode (line 16) | func Test_decode(t *testing.T) { function Test_relationshipDirection (line 262) | func Test_relationshipDirection(t *testing.T) { function packageNameFromIdentifier (line 298) | func packageNameFromIdentifier(model *sbom.SBOM, identifier artifact.Ide... function Test_missingDataDecode (line 302) | func Test_missingDataDecode(t *testing.T) { function Test_decodeDependencies (line 327) | func Test_decodeDependencies(t *testing.T) { function Test_useBomRefOverDerivedSyftArtifactID (line 425) | func Test_useBomRefOverDerivedSyftArtifactID(t *testing.T) { FILE: syft/format/internal/cyclonedxutil/helpers/description.go function encodeDescription (line 5) | func encodeDescription(p pkg.Package) string { function decodeDescription (line 17) | func decodeDescription(description string, metadata interface{}) { FILE: syft/format/internal/cyclonedxutil/helpers/description_test.go function Test_encodeDescription (line 11) | func Test_encodeDescription(t *testing.T) { FILE: syft/format/internal/cyclonedxutil/helpers/external_references.go function encodeExternalReferences (line 16) | func encodeExternalReferences(p pkg.Package) *[]cyclonedx.ExternalRefere... function toCycloneDXAlgorithm (line 93) | func toCycloneDXAlgorithm(algorithm string) cyclonedx.HashAlgorithm { function decodeExternalReferences (line 103) | func decodeExternalReferences(c *cyclonedx.Component, metadata interface... function findExternalRef (line 140) | func findExternalRef(c *cyclonedx.Component, typ cyclonedx.ExternalRefer... function refURL (line 151) | func refURL(c *cyclonedx.Component, typ cyclonedx.ExternalReferenceType)... function refComment (line 158) | func refComment(c *cyclonedx.Component, typ cyclonedx.ExternalReferenceT... function isValidExternalRef (line 166) | func isValidExternalRef(s string) bool { FILE: syft/format/internal/cyclonedxutil/helpers/external_references_test.go function Test_encodeExternalReferences (line 12) | func Test_encodeExternalReferences(t *testing.T) { function Test_isValidExternalRef (line 147) | func Test_isValidExternalRef(t *testing.T) { function Test_toCycloneDXAlgorithm (line 176) | func Test_toCycloneDXAlgorithm(t *testing.T) { FILE: syft/format/internal/cyclonedxutil/helpers/group.go function encodeGroup (line 5) | func encodeGroup(p pkg.Package) string { function decodeGroup (line 14) | func decodeGroup(group string, metadata interface{}) { FILE: syft/format/internal/cyclonedxutil/helpers/group_test.go function Test_encodeGroup (line 11) | func Test_encodeGroup(t *testing.T) { FILE: syft/format/internal/cyclonedxutil/helpers/licenses.go function encodeLicenses (line 16) | func encodeLicenses(p pkg.Package) *cyclonedx.Licenses { function decodeLicenses (line 52) | func decodeLicenses(c *cyclonedx.Component) []pkg.License { function separateLicenses (line 77) | func separateLicenses(p pkg.Package) (spdx, other cyclonedx.Licenses, ex... function processCustomLicense (line 137) | func processCustomLicense(l pkg.License) cyclonedx.Licenses { function processLicenseURLs (line 166) | func processLicenseURLs(l pkg.License, spdxID string, populate *cycloned... function mergeSPDX (line 194) | func mergeSPDX(ex []string) string { function reduceOuter (line 211) | func reduceOuter(expression string) string { function isBalanced (line 225) | func isBalanced(expression string) bool { FILE: syft/format/internal/cyclonedxutil/helpers/licenses_test.go function Test_encodeLicense (line 15) | func Test_encodeLicense(t *testing.T) { function TestDecodeLicenses (line 242) | func TestDecodeLicenses(t *testing.T) { FILE: syft/format/internal/cyclonedxutil/helpers/properties.go function EncodeProperties (line 13) | func EncodeProperties(obj interface{}, prefix string) (out []cyclonedx.P... function decodeProperties (line 23) | func decodeProperties(properties []cyclonedx.Property, prefix string) ma... FILE: syft/format/internal/cyclonedxutil/helpers/property_encoder.go type FieldName (line 14) | type FieldName function OptionalTag (line 17) | func OptionalTag(tag string) FieldName { function TrimOmitempty (line 27) | func TrimOmitempty(fn FieldName) FieldName { function RequiredTag (line 37) | func RequiredTag(tag string) FieldName { function lowerFirst (line 52) | func lowerFirst(s string) string { function Encode (line 57) | func Encode(obj any, prefix string, fn FieldName) map[string]string { type NameValue (line 67) | type NameValue struct function Sorted (line 73) | func Sorted(values map[string]string) (out []NameValue) { function encode (line 88) | func encode(out map[string]string, value reflect.Value, prefix string, f... function fieldName (line 144) | func fieldName(f reflect.StructField, prefix string, fn FieldName) (stri... function Decode (line 159) | func Decode(typ reflect.Type, values map[string]string, prefix string, f... function DecodeInto (line 188) | func DecodeInto(obj any, values map[string]string, prefix string, fn Fie... function decode (line 199) | func decode(vals map[string]string, value reflect.Value, prefix string, ... function PtrToStruct (line 364) | func PtrToStruct(ptr any) any { FILE: syft/format/internal/cyclonedxutil/helpers/property_encoder_test.go type T1 (line 10) | type T1 struct type T2 (line 27) | type T2 struct type T3 (line 31) | type T3 struct type T4 (line 35) | type T4 struct type T5 (line 40) | type T5 struct function Test_EncodeDecodeCycle (line 44) | func Test_EncodeDecodeCycle(t *testing.T) { FILE: syft/format/internal/cyclonedxutil/helpers/publisher.go function encodePublisher (line 7) | func encodePublisher(p pkg.Package) string { function decodePublisher (line 21) | func decodePublisher(publisher string, metadata interface{}) { FILE: syft/format/internal/cyclonedxutil/helpers/publisher_test.go function Test_encodePublisher (line 11) | func Test_encodePublisher(t *testing.T) { FILE: syft/format/internal/cyclonedxutil/versions.go constant XMLFormatID (line 12) | XMLFormatID sbom.FormatID = "cyclonedx-xml" constant JSONFormatID (line 13) | JSONFormatID sbom.FormatID = "cyclonedx-json" function SupportedVersions (line 16) | func SupportedVersions(id sbom.FormatID) []string { function SpecVersionFromString (line 33) | func SpecVersionFromString(v string) (cyclonedx.SpecVersion, error) { function VersionFromSpecVersion (line 53) | func VersionFromSpecVersion(spec cyclonedx.SpecVersion) string { FILE: syft/format/internal/location_sorter.go function GetLocationSorters (line 9) | func GetLocationSorters(s sbom.SBOM) (func(a, b file.Location) int, func... FILE: syft/format/internal/spdxutil/helpers/description.go function Description (line 5) | func Description(p pkg.Package) string { function hasMetadata (line 17) | func hasMetadata(p pkg.Package) bool { FILE: syft/format/internal/spdxutil/helpers/description_test.go function Test_Description (line 11) | func Test_Description(t *testing.T) { FILE: syft/format/internal/spdxutil/helpers/document_name.go function DocumentName (line 7) | func DocumentName(src source.Description) string { FILE: syft/format/internal/spdxutil/helpers/document_name_test.go function Test_DocumentName (line 14) | func Test_DocumentName(t *testing.T) { FILE: syft/format/internal/spdxutil/helpers/document_namespace.go constant InputImage (line 16) | InputImage = "image" constant InputOCIModel (line 17) | InputOCIModel = "oci-model" constant InputDirectory (line 18) | InputDirectory = "dir" constant InputFile (line 19) | InputFile = "file" constant InputSnap (line 20) | InputSnap = "snap" function DocumentNameAndNamespace (line 23) | func DocumentNameAndNamespace(src source.Description, desc sbom.Descript... function DocumentNamespace (line 28) | func DocumentNamespace(name string, src source.Description, desc sbom.De... function cleanName (line 60) | func cleanName(name string) string { FILE: syft/format/internal/spdxutil/helpers/document_namespace_test.go function Test_DocumentNamespace (line 15) | func Test_DocumentNamespace(t *testing.T) { FILE: syft/format/internal/spdxutil/helpers/download_location.go constant NONE (line 12) | NONE = "NONE" constant NOASSERTION (line 13) | NOASSERTION = "NOASSERTION" constant SUPPLIERORG (line 14) | SUPPLIERORG = "Organization" function DownloadLocation (line 16) | func DownloadLocation(p pkg.Package) string { function isURIValid (line 45) | func isURIValid(uri string) bool { function URIValue (line 50) | func URIValue(uri string) string { function updateForGithub (line 61) | func updateForGithub(uri *url.URL, err error) string { FILE: syft/format/internal/spdxutil/helpers/download_location_test.go function Test_DownloadLocation (line 11) | func Test_DownloadLocation(t *testing.T) { FILE: syft/format/internal/spdxutil/helpers/external_ref.go type ReferenceCategory (line 3) | type ReferenceCategory constant SecurityReferenceCategory (line 6) | SecurityReferenceCategory ReferenceCategory = "SECURITY" constant PackageManagerReferenceCategory (line 7) | PackageManagerReferenceCategory ReferenceCategory = "PACKAGE-MANAGER" constant OtherReferenceCategory (line 8) | OtherReferenceCategory ReferenceCategory = "OTHER" type ExternalRefType (line 13) | type ExternalRefType constant Cpe22ExternalRefType (line 17) | Cpe22ExternalRefType ExternalRefType = "cpe22Type" constant Cpe23ExternalRefType (line 19) | Cpe23ExternalRefType ExternalRefType = "cpe23Type" constant MavenCentralExternalRefType (line 21) | MavenCentralExternalRefType ExternalRefType = "maven-central" constant NpmExternalRefType (line 23) | NpmExternalRefType ExternalRefType = "npm" constant NugetExternalRefType (line 25) | NugetExternalRefType ExternalRefType = "nuget" constant BowerExternalRefType (line 27) | BowerExternalRefType ExternalRefType = "bower" constant PurlExternalRefType (line 29) | PurlExternalRefType ExternalRefType = "purl" constant SwhExternalRefType (line 31) | SwhExternalRefType ExternalRefType = "swh" type ExternalRef (line 34) | type ExternalRef struct FILE: syft/format/internal/spdxutil/helpers/external_refs.go function ExternalRefs (line 7) | func ExternalRefs(p pkg.Package) (externalRefs []ExternalRef) { FILE: syft/format/internal/spdxutil/helpers/external_refs_test.go function Test_ExternalRefs (line 12) | func Test_ExternalRefs(t *testing.T) { FILE: syft/format/internal/spdxutil/helpers/file_type.go type FileType (line 3) | type FileType constant DocumentationFileType (line 6) | DocumentationFileType FileType = "DOCUMENTATION" constant ImageFileType (line 7) | ImageFileType FileType = "IMAGE" constant VideoFileType (line 8) | VideoFileType FileType = "VIDEO" constant ArchiveFileType (line 9) | ArchiveFileType FileType = "ARCHIVE" constant SpdxFileType (line 10) | SpdxFileType FileType = "SPDX" constant ApplicationFileType (line 11) | ApplicationFileType FileType = "APPLICATION" constant SourceFileType (line 12) | SourceFileType FileType = "SOURCE" constant BinaryFileType (line 13) | BinaryFileType FileType = "BINARY" constant TextFileType (line 14) | TextFileType FileType = "TEXT" constant AudioFileType (line 15) | AudioFileType FileType = "AUDIO" constant OtherFileType (line 16) | OtherFileType FileType = "OTHER" FILE: syft/format/internal/spdxutil/helpers/h_digest.go function HDigestToSHA (line 12) | func HDigestToSHA(digest string) (string, string, error) { function HDigestFromSHA (line 41) | func HDigestFromSHA(algorithm string, digest string) (string, error) { FILE: syft/format/internal/spdxutil/helpers/h_digest_test.go function Test_HDigestToSHA (line 11) | func Test_HDigestToSHA(t *testing.T) { function Test_HDigestFromSHA (line 53) | func Test_HDigestFromSHA(t *testing.T) { FILE: syft/format/internal/spdxutil/helpers/homepage.go function Homepage (line 5) | func Homepage(p pkg.Package) string { FILE: syft/format/internal/spdxutil/helpers/homepage_test.go function Test_Homepage (line 11) | func Test_Homepage(t *testing.T) { FILE: syft/format/internal/spdxutil/helpers/license.go function License (line 14) | func License(p pkg.Package) (concluded, declared string, otherLicenses [... function joinLicenses (line 36) | func joinLicenses(licenses []SPDXLicense) string { type SPDXLicense (line 61) | type SPDXLicense struct function ParseLicenses (line 72) | func ParseLicenses(raw []pkg.License) (concluded, declared []SPDXLicense... function createSPDXLicense (line 99) | func createSPDXLicense(l pkg.License) SPDXLicense { function generateLicenseID (line 117) | func generateLicenseID(l pkg.License) string { type SPDXOtherLicenseSet (line 131) | type SPDXOtherLicenseSet struct method Add (line 141) | func (s *SPDXOtherLicenseSet) Add(licenses ...spdx.OtherLicense) { method ToSlice (line 155) | func (s *SPDXOtherLicenseSet) ToSlice() []spdx.OtherLicense { function NewSPDXOtherLicenseSet (line 135) | func NewSPDXOtherLicenseSet() *SPDXOtherLicenseSet { type ByLicenseIdentifier (line 147) | type ByLicenseIdentifier method Len (line 149) | func (o ByLicenseIdentifier) Len() int { return len(o) } method Swap (line 150) | func (o ByLicenseIdentifier) Swap(i, j int) { o[i], o[j] = o[j], o[i] } method Less (line 151) | func (o ByLicenseIdentifier) Less(i, j int) bool { FILE: syft/format/internal/spdxutil/helpers/license_test.go function Test_License (line 14) | func Test_License(t *testing.T) { function TestGenerateLicenseID (line 110) | func TestGenerateLicenseID(t *testing.T) { function Test_joinLicenses (line 157) | func Test_joinLicenses(t *testing.T) { function TestCreateSPDXLicenseAndGenerateLicenseID (line 181) | func TestCreateSPDXLicenseAndGenerateLicenseID(t *testing.T) { FILE: syft/format/internal/spdxutil/helpers/originator_supplier.go constant orgType (line 13) | orgType = "Organization" constant personType (line 14) | personType = "Person" function Originator (line 37) | func Originator(p pkg.Package) (typ string, author string) { //nolint: g... function Supplier (line 168) | func Supplier(p pkg.Package) (typ string, author string) { function parseAndFormatPersonOrOrg (line 200) | func parseAndFormatPersonOrOrg(s string) string { function parseNameEmailURL (line 205) | func parseNameEmailURL(s string) (name, email, url string) { function approximatesAsEmail (line 223) | func approximatesAsEmail(s string) bool { function formatPersonOrOrg (line 232) | func formatPersonOrOrg(name, email string) string { FILE: syft/format/internal/spdxutil/helpers/originator_supplier_test.go function Test_OriginatorSupplier (line 12) | func Test_OriginatorSupplier(t *testing.T) { function Test_parseNameEmailUrl (line 471) | func Test_parseNameEmailUrl(t *testing.T) { function Test_formatPersonOrOrg (line 529) | func Test_formatPersonOrOrg(t *testing.T) { function Test_approximatesAsEmail (line 565) | func Test_approximatesAsEmail(t *testing.T) { FILE: syft/format/internal/spdxutil/helpers/relationship_type.go type RelationshipType (line 4) | type RelationshipType constant DescribedByRelationship (line 9) | DescribedByRelationship RelationshipType = "DESCRIBED_BY" constant DescribesRelationship (line 14) | DescribesRelationship RelationshipType = "DESCRIBES" constant ContainsRelationship (line 18) | ContainsRelationship RelationshipType = "CONTAINS" constant ContainedByRelationship (line 22) | ContainedByRelationship RelationshipType = "CONTAINED_BY" constant DependsOnRelationship (line 26) | DependsOnRelationship RelationshipType = "DEPENDS_ON" constant DependencyOfRelationship (line 30) | DependencyOfRelationship RelationshipType = "DEPENDENCY_OF" constant DependencyManifestOfRelationship (line 34) | DependencyManifestOfRelationship RelationshipType = "DEPENDENCY_MANIFEST... constant BuildDependencyOfRelationship (line 38) | BuildDependencyOfRelationship RelationshipType = "BUILD_DEPENDENCY_OF" constant DevDependencyOfRelationship (line 42) | DevDependencyOfRelationship RelationshipType = "DEV_DEPENDENCY_OF" constant OptionalDependencyOfRelationship (line 46) | OptionalDependencyOfRelationship RelationshipType = "OPTIONAL_DEPENDENCY... constant ProvidedDependencyOfRelationship (line 50) | ProvidedDependencyOfRelationship RelationshipType = "PROVIDED_DEPENDENCY... constant TestDependencyOfRelationship (line 54) | TestDependencyOfRelationship RelationshipType = "TEST_DEPENDENCY_OF" constant RuntimeDependencyOfRelationship (line 58) | RuntimeDependencyOfRelationship RelationshipType = "RUNTIME_DEPENDENCY_OF" constant ExampleOfRelationship (line 62) | ExampleOfRelationship RelationshipType = "EXAMPLE_OF" constant GeneratesRelationship (line 66) | GeneratesRelationship RelationshipType = "GENERATES" constant GeneratedFromRelationship (line 70) | GeneratedFromRelationship RelationshipType = "GENERATED_FROM" constant AncestorOfRelationship (line 74) | AncestorOfRelationship RelationshipType = "ANCESTOR_OF" constant DescendantOfRelationship (line 78) | DescendantOfRelationship RelationshipType = "DESCENDANT_OF" constant VariantOfRelationship (line 82) | VariantOfRelationship RelationshipType = "VARIANT_OF" constant DistributionArtifactRelationship (line 86) | DistributionArtifactRelationship RelationshipType = "DISTRIBUTION_ARTIFACT" constant PatchForRelationship (line 90) | PatchForRelationship RelationshipType = "PATCH_FOR" constant PatchAppliedRelationship (line 94) | PatchAppliedRelationship RelationshipType = "PATCH_APPLIED" constant CopyOfRelationship (line 98) | CopyOfRelationship RelationshipType = "COPY_OF" constant FileAddedRelationship (line 102) | FileAddedRelationship RelationshipType = "FILE_ADDED" constant FileDeletedRelationship (line 106) | FileDeletedRelationship RelationshipType = "FILE_DELETED" constant FileModifiedRelationship (line 110) | FileModifiedRelationship RelationshipType = "FILE_MODIFIED" constant ExpandedFromArchiveRelationship (line 114) | ExpandedFromArchiveRelationship RelationshipType = "EXPANDED_FROM_ARCHIVE" constant DynamicLinkRelationship (line 118) | DynamicLinkRelationship RelationshipType = "DYNAMIC_LINK" constant StaticLinkRelationship (line 122) | StaticLinkRelationship RelationshipType = "STATIC_LINK" constant DataFileOfRelationship (line 126) | DataFileOfRelationship RelationshipType = "DATA_FILE_OF" constant TestCaseOfRelationship (line 130) | TestCaseOfRelationship RelationshipType = "TEST_CASE_OF" constant BuildToolOfRelationship (line 134) | BuildToolOfRelationship RelationshipType = "BUILD_TOOL_OF" constant DevToolOfRelationship (line 138) | DevToolOfRelationship RelationshipType = "DEV_TOOL_OF" constant TestOfRelationship (line 142) | TestOfRelationship RelationshipType = "TEST_OF" constant TestToolOfRelationship (line 146) | TestToolOfRelationship RelationshipType = "TEST_TOOL_OF" constant DocumentationOfRelationship (line 150) | DocumentationOfRelationship RelationshipType = "DOCUMENTATION_OF" constant OptionalComponentOfRelationship (line 154) | OptionalComponentOfRelationship RelationshipType = "OPTIONAL_COMPONENT_OF" constant MetafileOfRelationship (line 158) | MetafileOfRelationship RelationshipType = "METAFILE_OF" constant PackageOfRelationship (line 162) | PackageOfRelationship RelationshipType = "PACKAGE_OF" constant AmendsRelationship (line 166) | AmendsRelationship RelationshipType = "AMENDS" constant PrerequisiteForRelationship (line 170) | PrerequisiteForRelationship RelationshipType = "PREREQUISITE_FOR" constant HasPrerequisiteRelationship (line 174) | HasPrerequisiteRelationship RelationshipType = "HAS_PREREQUISITE" constant OtherRelationship (line 177) | OtherRelationship RelationshipType = "OTHER" FILE: syft/format/internal/spdxutil/helpers/source_info.go function SourceInfo (line 10) | func SourceInfo(p pkg.Package) string { FILE: syft/format/internal/spdxutil/helpers/source_info_test.go function Test_SourceInfo (line 12) | func Test_SourceInfo(t *testing.T) { FILE: syft/format/internal/spdxutil/helpers/spdxid.go function SanitizeElementID (line 12) | func SanitizeElementID(id string) string { FILE: syft/format/internal/spdxutil/helpers/spdxid_test.go function Test_SanitizeElementID (line 9) | func Test_SanitizeElementID(t *testing.T) { FILE: syft/format/internal/spdxutil/versions.go constant DefaultVersion (line 7) | DefaultVersion = "2.3" constant JSONFormatID (line 10) | JSONFormatID sbom.FormatID = "spdx-json" constant TagValueFormatID (line 11) | TagValueFormatID sbom.FormatID = "spdx-tag-value" function SupportedVersions (line 14) | func SupportedVersions(id sbom.FormatID) []string { FILE: syft/format/internal/stream/seekable_reader.go function SeekableReader (line 14) | func SeekableReader(reader io.Reader) (io.ReadSeeker, error) { type offsetReadSeeker (line 31) | type offsetReadSeeker struct method Read (line 53) | func (o *offsetReadSeeker) Read(p []byte) (n int, err error) { method Seek (line 57) | func (o *offsetReadSeeker) Seek(offset int64, whence int) (int64, erro... function getOffsetReadSeeker (line 38) | func getOffsetReadSeeker(r io.ReadSeeker) (io.ReadSeeker, error) { FILE: syft/format/internal/stream/seekable_reader_test.go function TestSeekableReader (line 12) | func TestSeekableReader(t *testing.T) { function Test_offsetReadSeeker (line 118) | func Test_offsetReadSeeker(t *testing.T) { function moveOffset (line 221) | func moveOffset(t *testing.T, reader io.ReadSeeker, offset int64) io.Rea... FILE: syft/format/internal/testutil/directory_input.go function DirectoryInput (line 19) | func DirectoryInput(t testing.TB, dir string) sbom.SBOM { function DirectoryInputWithAuthorField (line 59) | func DirectoryInputWithAuthorField(t testing.TB) sbom.SBOM { function newDirectoryCatalog (line 100) | func newDirectoryCatalog() *pkg.Collection { function newDirectoryCatalogWithAuthorField (line 151) | func newDirectoryCatalogWithAuthorField() *pkg.Collection { FILE: syft/format/internal/testutil/file_relationships.go function AddSampleFileRelationships (line 13) | func AddSampleFileRelationships(s *sbom.SBOM) { FILE: syft/format/internal/testutil/image_input.go function ImageInput (line 22) | func ImageInput(t testing.TB, testImage string, options ...ImageOption) ... function changeToDirectoryWithGoldenFixture (line 74) | func changeToDirectoryWithGoldenFixture(t testing.TB, testImage string) ... function populateImageCatalog (line 98) | func populateImageCatalog(catalog *pkg.Collection, img *image.Image) { FILE: syft/format/internal/testutil/redactor.go type Redactor (line 15) | type Redactor interface type RedactorFn (line 21) | type RedactorFn method Redact (line 23) | func (r RedactorFn) Redact(b []byte) []byte { type PatternReplacement (line 29) | type PatternReplacement struct method Redact (line 42) | func (p PatternReplacement) Redact(b []byte) []byte { method redactNamedGroups (line 50) | func (p PatternReplacement) redactNamedGroups(b []byte) []byte { function NewPatternReplacement (line 35) | func NewPatternReplacement(r *regexp.Regexp) PatternReplacement { type ValueReplacement (line 108) | type ValueReplacement struct method Redact (line 120) | func (v ValueReplacement) Redact(b []byte) []byte { function NewValueReplacement (line 113) | func NewValueReplacement(v string) ValueReplacement { type Redactions (line 126) | type Redactions struct method WithPatternRedactors (line 138) | func (r *Redactions) WithPatternRedactors(values map[string]string) *R... method WithPatternRedactorSpec (line 150) | func (r *Redactions) WithPatternRedactorSpec(values ...PatternReplacem... method WithValueRedactors (line 157) | func (r *Redactions) WithValueRedactors(values map[string]string) *Red... method WithPatternsRedacted (line 169) | func (r *Redactions) WithPatternsRedacted(values ...string) *Redactions { method WithValuesRedacted (line 178) | func (r *Redactions) WithValuesRedacted(values ...string) *Redactions { method WithFunctions (line 187) | func (r *Redactions) WithFunctions(values ...func([]byte) []byte) *Red... method WithRedactors (line 196) | func (r *Redactions) WithRedactors(rs ...Redactor) *Redactions { method Redact (line 201) | func (r Redactions) Redact(b []byte) []byte { function NewRedactions (line 130) | func NewRedactions(redactors ...Redactor) *Redactions { function carriageRedactor (line 208) | func carriageRedactor(s []byte) []byte { FILE: syft/format/internal/testutil/snapshot.go type imageCfg (line 16) | type imageCfg struct type ImageOption (line 20) | type ImageOption function FromSnapshot (line 22) | func FromSnapshot() ImageOption { type EncoderSnapshotTestConfig (line 28) | type EncoderSnapshotTestConfig struct function AssertEncoderAgainstGoldenSnapshot (line 37) | func AssertEncoderAgainstGoldenSnapshot(t *testing.T, cfg EncoderSnapsho... function requireEqual (line 75) | func requireEqual(t *testing.T, expected string, actual string) { type ImageSnapshotTestConfig (line 84) | type ImageSnapshotTestConfig struct function AssertEncoderAgainstGoldenImageSnapshot (line 89) | func AssertEncoderAgainstGoldenImageSnapshot(t *testing.T, imgCfg ImageS... FILE: syft/format/purls/decoder.go type decoder (line 19) | type decoder struct method Decode (line 25) | func (d decoder) Decode(r io.Reader) (*sbom.SBOM, sbom.FormatID, strin... method Identify (line 33) | func (d decoder) Identify(r io.Reader) (sbom.FormatID, string) { function NewFormatDecoder (line 21) | func NewFormatDecoder() sbom.FormatDecoder { function toSyftModel (line 60) | func toSyftModel(r io.Reader) (*sbom.SBOM, error) { FILE: syft/format/purls/decoder_test.go function TestDecoder_Decode (line 18) | func TestDecoder_Decode(t *testing.T) { function Test_DecodeEncodeCycle (line 189) | func Test_DecodeEncodeCycle(t *testing.T) { FILE: syft/format/purls/encoder.go constant ID (line 14) | ID sbom.FormatID = "purls" constant version (line 15) | version = "1" type encoder (line 17) | type encoder struct method ID (line 24) | func (e encoder) ID() sbom.FormatID { method Aliases (line 28) | func (e encoder) Aliases() []string { method Version (line 34) | func (e encoder) Version() string { method Encode (line 38) | func (e encoder) Encode(writer io.Writer, s sbom.SBOM) error { function NewFormatEncoder (line 20) | func NewFormatEncoder() sbom.FormatEncoder { FILE: syft/format/purls/encoder_test.go function Test_Encoder (line 14) | func Test_Encoder(t *testing.T) { FILE: syft/format/spdxjson/decoder.go type decoder (line 19) | type decoder struct method Decode (line 26) | func (d decoder) Decode(r io.Reader) (*sbom.SBOM, sbom.FormatID, strin... method Identify (line 59) | func (d decoder) Identify(r io.Reader) (sbom.FormatID, string) { function NewFormatDecoder (line 22) | func NewFormatDecoder() sbom.FormatDecoder { function getFormatInfo (line 95) | func getFormatInfo(spdxVersion string) (sbom.FormatID, string) { FILE: syft/format/spdxjson/decoder_test.go function TestDecoder_Decode (line 17) | func TestDecoder_Decode(t *testing.T) { function TestDecoder_Identify (line 154) | func TestDecoder_Identify(t *testing.T) { FILE: syft/format/spdxjson/encoder.go constant ID (line 18) | ID = spdxutil.JSONFormatID function SupportedVersions (line 20) | func SupportedVersions() []string { type EncoderConfig (line 24) | type EncoderConfig struct type encoder (line 29) | type encoder struct method ID (line 46) | func (e encoder) ID() sbom.FormatID { method Aliases (line 50) | func (e encoder) Aliases() []string { method Version (line 54) | func (e encoder) Version() string { method Encode (line 58) | func (e encoder) Encode(writer io.Writer, s sbom.SBOM) error { function NewFormatEncoderWithConfig (line 33) | func NewFormatEncoderWithConfig(cfg EncoderConfig) (sbom.FormatEncoder, ... function DefaultEncoderConfig (line 39) | func DefaultEncoderConfig() EncoderConfig { FILE: syft/format/spdxjson/encoder_test.go function getEncoder (line 23) | func getEncoder(t testing.TB) sbom.FormatEncoder { function TestPrettyOutput (line 32) | func TestPrettyOutput(t *testing.T) { function TestEscapeHTML (line 61) | func TestEscapeHTML(t *testing.T) { function TestSPDXJSONDirectoryEncoder (line 86) | func TestSPDXJSONDirectoryEncoder(t *testing.T) { function TestSPDXJSONImageEncoder (line 100) | func TestSPDXJSONImageEncoder(t *testing.T) { function TestSPDX22JSONRequredProperties (line 118) | func TestSPDX22JSONRequredProperties(t *testing.T) { function TestSPDXRelationshipOrder (line 186) | func TestSPDXRelationshipOrder(t *testing.T) { function redactor (line 208) | func redactor(values ...string) testutil.Redactor { function TestSupportedVersions (line 225) | func TestSupportedVersions(t *testing.T) { function defaultFormatEncoders (line 291) | func defaultFormatEncoders() []sbom.FormatEncoder { FILE: syft/format/spdxtagvalue/decoder.go type decoder (line 18) | type decoder struct method Decode (line 25) | func (d decoder) Decode(r io.Reader) (*sbom.SBOM, sbom.FormatID, strin... method Identify (line 58) | func (d decoder) Identify(r io.Reader) (sbom.FormatID, string) { function NewFormatDecoder (line 21) | func NewFormatDecoder() sbom.FormatDecoder { function getFormatInfo (line 89) | func getFormatInfo(line string) (sbom.FormatID, string) { FILE: syft/format/spdxtagvalue/decoder_test.go function TestDecoder_Decode (line 18) | func TestDecoder_Decode(t *testing.T) { function Test_packageDirectFiles (line 81) | func Test_packageDirectFiles(t *testing.T) { function TestDecoder_Identify (line 141) | func TestDecoder_Identify(t *testing.T) { FILE: syft/format/spdxtagvalue/encoder.go constant ID (line 18) | ID = spdxutil.TagValueFormatID function SupportedVersions (line 20) | func SupportedVersions() []string { type EncoderConfig (line 24) | type EncoderConfig struct type encoder (line 28) | type encoder struct method ID (line 44) | func (e encoder) ID() sbom.FormatID { method Aliases (line 48) | func (e encoder) Aliases() []string { method Version (line 55) | func (e encoder) Version() string { method Encode (line 59) | func (e encoder) Encode(writer io.Writer, s sbom.SBOM) error { function NewFormatEncoderWithConfig (line 32) | func NewFormatEncoderWithConfig(cfg EncoderConfig) (sbom.FormatEncoder, ... function DefaultEncoderConfig (line 38) | func DefaultEncoderConfig() EncoderConfig { FILE: syft/format/spdxtagvalue/encoder_test.go function getEncoder (line 20) | func getEncoder(t testing.TB) sbom.FormatEncoder { function TestSPDXTagValueDirectoryEncoder (line 26) | func TestSPDXTagValueDirectoryEncoder(t *testing.T) { function TestSPDXTagValueImageEncoder (line 40) | func TestSPDXTagValueImageEncoder(t *testing.T) { function TestSPDXJSONSPDXIDs (line 58) | func TestSPDXJSONSPDXIDs(t *testing.T) { function TestSPDXRelationshipOrder (line 98) | func TestSPDXRelationshipOrder(t *testing.T) { function redactor (line 119) | func redactor(values ...string) testutil.Redactor { function TestSupportedVersions (line 136) | func TestSupportedVersions(t *testing.T) { function defaultFormatEncoders (line 201) | func defaultFormatEncoders() []sbom.FormatEncoder { FILE: syft/format/syftjson/decoder.go type decoder (line 20) | type decoder struct method Decode (line 26) | func (d decoder) Decode(r io.Reader) (*sbom.SBOM, sbom.FormatID, strin... method Identify (line 55) | func (d decoder) Identify(r io.Reader) (sbom.FormatID, string) { function NewFormatDecoder (line 22) | func NewFormatDecoder() sbom.FormatDecoder { function checkSupportedSchema (line 81) | func checkSupportedSchema(documentVersion string, parserVersion string) ... FILE: syft/format/syftjson/decoder_test.go function Test_EncodeDecodeCycle (line 25) | func Test_EncodeDecodeCycle(t *testing.T) { function TestOutOfDateParser (line 98) | func TestOutOfDateParser(t *testing.T) { function Test_encodeDecodeFileMetadata (line 133) | func Test_encodeDecodeFileMetadata(t *testing.T) { FILE: syft/format/syftjson/encoder.go constant ID (line 13) | ID sbom.FormatID = "syft-json" type EncoderConfig (line 15) | type EncoderConfig struct type encoder (line 20) | type encoder struct method ID (line 45) | func (e encoder) ID() sbom.FormatID { method Aliases (line 49) | func (e encoder) Aliases() []string { method Version (line 56) | func (e encoder) Version() string { method Encode (line 60) | func (e encoder) Encode(writer io.Writer, s sbom.SBOM) error { function NewFormatEncoder (line 24) | func NewFormatEncoder() sbom.FormatEncoder { function NewFormatEncoderWithConfig (line 32) | func NewFormatEncoderWithConfig(cfg EncoderConfig) (sbom.FormatEncoder, ... function DefaultEncoderConfig (line 38) | func DefaultEncoderConfig() EncoderConfig { FILE: syft/format/syftjson/encoder_test.go function TestDefaultNameAndVersion (line 28) | func TestDefaultNameAndVersion(t *testing.T) { function TestPrettyOutput (line 40) | func TestPrettyOutput(t *testing.T) { function TestEscapeHTML (line 68) | func TestEscapeHTML(t *testing.T) { function TestDirectoryEncoder (line 92) | func TestDirectoryEncoder(t *testing.T) { function TestImageEncoder (line 111) | func TestImageEncoder(t *testing.T) { function TestEncodeFullJSONDocument (line 134) | func TestEncodeFullJSONDocument(t *testing.T) { function redactor (line 318) | func redactor(values ...string) testutil.Redactor { FILE: syft/format/syftjson/model/document.go type Document (line 9) | type Document struct method UnmarshalJSON (line 19) | func (d *Document) UnmarshalJSON(data []byte) error { type Descriptor (line 39) | type Descriptor struct type Schema (line 51) | type Schema struct FILE: syft/format/syftjson/model/document_test.go function TestDocumentUnmarshalJSON_SchemaDetection (line 11) | func TestDocumentUnmarshalJSON_SchemaDetection(t *testing.T) { FILE: syft/format/syftjson/model/file.go type File (line 14) | type File struct type FileMetadataEntry (line 41) | type FileMetadataEntry struct method UnmarshalJSON (line 70) | func (f *FileMetadataEntry) UnmarshalJSON(data []byte) error { type auxFileMetadataEntry (line 64) | type auxFileMetadataEntry type fileMetadataEntryWithLegacyHint (line 65) | type fileMetadataEntryWithLegacyHint struct type sbomImportLegacyFileMetadataEntry (line 105) | type sbomImportLegacyFileMetadataEntry struct type FileLicense (line 116) | type FileLicense struct type FileLicenseEvidence (line 131) | type FileLicenseEvidence struct type intOrStringFileType (line 142) | type intOrStringFileType struct method UnmarshalJSON (line 147) | func (lt *intOrStringFileType) UnmarshalJSON(data []byte) error { function convertBase10ToBase8 (line 164) | func convertBase10ToBase8(rawMode int) int { function convertBase8ToBase10 (line 171) | func convertBase8ToBase10(octalMode int) int { FILE: syft/format/syftjson/model/file_test.go function Test_FileMetadataEntry_UnmarshalJSON (line 11) | func Test_FileMetadataEntry_UnmarshalJSON(t *testing.T) { function Test_intOrStringFileType_UnmarshalJSON (line 124) | func Test_intOrStringFileType_UnmarshalJSON(t *testing.T) { function Test_convertBase10ToBase8 (line 268) | func Test_convertBase10ToBase8(t *testing.T) { function Test_convertBase8ToBase10 (line 295) | func Test_convertBase8ToBase10(t *testing.T) { FILE: syft/format/syftjson/model/linux_release.go type IDLikes (line 8) | type IDLikes method UnmarshalJSON (line 70) | func (s *IDLikes) UnmarshalJSON(data []byte) error { type LinuxRelease (line 11) | type LinuxRelease struct FILE: syft/format/syftjson/model/linux_release_test.go function TestIDLikes_UnmarshalJSON (line 11) | func TestIDLikes_UnmarshalJSON(t *testing.T) { FILE: syft/format/syftjson/model/package.go type Package (line 20) | type Package struct method UnmarshalJSON (line 143) | func (p *Package) UnmarshalJSON(b []byte) error { type PackageBasicData (line 26) | type PackageBasicData struct type cpes (line 40) | type cpes method UnmarshalJSON (line 113) | func (c *cpes) UnmarshalJSON(b []byte) error { type CPE (line 43) | type CPE struct type licenses (line 52) | type licenses method UnmarshalJSON (line 90) | func (f *licenses) UnmarshalJSON(b []byte) error { type License (line 55) | type License struct function newModelLicensesFromValues (line 75) | func newModelLicensesFromValues(licenses []string) (ml []License) { function sourcedCPESfromSimpleCPEs (line 103) | func sourcedCPESfromSimpleCPEs(simpleCPEs []string) []CPE { type PackageCustomData (line 127) | type PackageCustomData struct type packageMetadataUnpacker (line 133) | type packageMetadataUnpacker struct method String (line 138) | func (p *packageMetadataUnpacker) String() string { function unpackPkgMetadata (line 165) | func unpackPkgMetadata(p *Package, unpacker packageMetadataUnpacker) err... FILE: syft/format/syftjson/model/package_test.go function Test_UnmarshalJSON (line 15) | func Test_UnmarshalJSON(t *testing.T) { function Test_unpackMetadata (line 538) | func Test_unpackMetadata(t *testing.T) { FILE: syft/format/syftjson/model/relationship.go type Relationship (line 4) | type Relationship struct FILE: syft/format/syftjson/model/secrets.go type Secrets (line 7) | type Secrets struct FILE: syft/format/syftjson/model/source.go type Source (line 16) | type Source struct method UnmarshalJSON (line 48) | func (s *Source) UnmarshalJSON(b []byte) error { type sourceUnpacker (line 37) | type sourceUnpacker struct function unpackSrcMetadata (line 73) | func unpackSrcMetadata(s *Source, unpacker sourceUnpacker) error { function cleanPreSchemaV9MetadataType (line 92) | func cleanPreSchemaV9MetadataType(t string) string { function extractPreSchemaV9Metadata (line 100) | func extractPreSchemaV9Metadata(t string, target []byte) (interface{}, e... FILE: syft/format/syftjson/model/source_test.go function TestSource_UnmarshalJSON (line 16) | func TestSource_UnmarshalJSON(t *testing.T) { function TestSource_UnmarshalJSON_PreSchemaV9 (line 259) | func TestSource_UnmarshalJSON_PreSchemaV9(t *testing.T) { FILE: syft/format/syftjson/schema_test.go type schema (line 15) | type schema struct type properties (line 22) | type properties struct method fields (line 28) | func (p properties) fields() []string { function Test_JSONSchemaConventions (line 37) | func Test_JSONSchemaConventions(t *testing.T) { function checkAndConvertFields (line 68) | func checkAndConvertFields(t *testing.T, path string, properties []strin... function isFollowingConvention (line 77) | func isFollowingConvention(path, fieldName string) (bool, string) { FILE: syft/format/syftjson/to_format_model.go function MetadataType (line 24) | func MetadataType(metadata interface{}) string { function metadataType (line 28) | func metadataType(metadata interface{}, legacy bool) string { function ToFormatModel (line 36) | func ToFormatModel(s sbom.SBOM, cfg EncoderConfig) model.Document { function toLinuxRelease (line 53) | func toLinuxRelease(d *linux.Release) model.LinuxRelease { function toDescriptor (line 80) | func toDescriptor(d sbom.Descriptor) model.Descriptor { function toFile (line 88) | func toFile(s sbom.SBOM, coordinateSorter func(a, b file.Coordinates) in... function sortFiles (line 154) | func sortFiles(files []model.File, coordinateSorter func(a, b file.Coord... function toFileMetadataEntry (line 163) | func toFileMetadataEntry(coordinates file.Coordinates, metadata *file.Me... function toFileType (line 193) | func toFileType(ty stereoscopeFile.Type) string { function toPackageModels (line 218) | func toPackageModels(catalog *pkg.Collection, locationSorter func(a, b f... function toLicenseModel (line 229) | func toLicenseModel(pkgLicenses []pkg.License, locationSorter func(a, b ... function toPackageModel (line 250) | func toPackageModel(p pkg.Package, locationSorter func(a, b file.Locatio... function toLocationsModel (line 287) | func toLocationsModel(locations file.LocationSet, locationSorter func(a,... function toRelationshipModel (line 295) | func toRelationshipModel(relationships []artifact.Relationship) []model.... function toSourceModel (line 318) | func toSourceModel(src source.Description) model.Source { FILE: syft/format/syftjson/to_format_model_test.go function Test_toSourceModel_IgnoreBase (line 20) | func Test_toSourceModel_IgnoreBase(t *testing.T) { function Test_toSourceModel (line 48) | func Test_toSourceModel(t *testing.T) { function Test_toFileType (line 293) | func Test_toFileType(t *testing.T) { function Test_toFileMetadataEntry (line 354) | func Test_toFileMetadataEntry(t *testing.T) { function Test_toPackageModel_metadataType (line 396) | func Test_toPackageModel_metadataType(t *testing.T) { function Test_toPackageModel_layerOrdering (line 441) | func Test_toPackageModel_layerOrdering(t *testing.T) { function Test_toLocationModel (line 596) | func Test_toLocationModel(t *testing.T) { function Test_sortFiles (line 831) | func Test_sortFiles(t *testing.T) { FILE: syft/format/syftjson/to_syft_model.go function toSyftModel (line 27) | func toSyftModel(doc model.Document) *sbom.SBOM { function warnConversionErrors (line 51) | func warnConversionErrors[T any](converted []T, errors []error) []T { function deduplicateErrors (line 59) | func deduplicateErrors(errors []error) []string { function toSyftFiles (line 72) | func toSyftFiles(files []model.File) sbom.Artifacts { function safeFileModeConvert (line 146) | func safeFileModeConvert(val int) (fs.FileMode, error) { function toSyftLicenses (line 159) | func toSyftLicenses(m []model.License) (p []pkg.License) { function toSyftFileType (line 173) | func toSyftFileType(ty string) stereoscopeFile.Type { function toInternalLinuxRelease (line 198) | func toInternalLinuxRelease(d model.LinuxRelease) *linux.Release { function toSyftRelationships (line 225) | func toSyftRelationships(doc *model.Document, catalog *pkg.Collection, r... function toSyftSource (line 258) | func toSyftSource(s model.Source) source.Source { function toSyftRelationship (line 266) | func toSyftRelationship(idMap map[string]interface{}, relationship model... function toSyftDescriptor (line 305) | func toSyftDescriptor(d model.Descriptor) sbom.Descriptor { function toSyftSourceData (line 313) | func toSyftSourceData(s model.Source) *source.Description { function toSyftCatalog (line 323) | func toSyftCatalog(pkgs []model.Package, idAliases map[string]string) *p... function toSyftPackage (line 331) | func toSyftPackage(p model.Package, idAliases map[string]string) pkg.Pac... FILE: syft/format/syftjson/to_syft_model_test.go function Test_toSyftSourceData (line 23) | func Test_toSyftSourceData(t *testing.T) { function Test_idsHaveChanged (line 255) | func Test_idsHaveChanged(t *testing.T) { function Test_toSyftFiles (line 297) | func Test_toSyftFiles(t *testing.T) { function boolRef (line 437) | func boolRef(b bool) *bool { function Test_toSyftRelationship (line 441) | func Test_toSyftRelationship(t *testing.T) { function Test_deduplicateErrors (line 530) | func Test_deduplicateErrors(t *testing.T) { function Test_safeFileModeConvert (line 558) | func Test_safeFileModeConvert(t *testing.T) { FILE: syft/format/table/encoder.go constant ID (line 17) | ID sbom.FormatID = "syft-table" type encoder (line 19) | type encoder struct method ID (line 26) | func (e encoder) ID() sbom.FormatID { method Aliases (line 30) | func (e encoder) Aliases() []string { method Version (line 36) | func (e encoder) Version() string { method Encode (line 40) | func (e encoder) Encode(writer io.Writer, s sbom.SBOM) error { function NewFormatEncoder (line 22) | func NewFormatEncoder() sbom.FormatEncoder { function newTableWriter (line 80) | func newTableWriter(writer io.Writer, columns []string) *tablewriter.Tab... function markDuplicateRows (line 157) | func markDuplicateRows(items [][]string) [][]string { FILE: syft/format/table/encoder_test.go function TestTableEncoder (line 14) | func TestTableEncoder(t *testing.T) { function Test_markDuplicateRows (line 26) | func Test_markDuplicateRows(t *testing.T) { FILE: syft/format/template/encoder.go constant ID (line 20) | ID sbom.FormatID = "template" type EncoderConfig (line 22) | type EncoderConfig struct type encoder (line 28) | type encoder struct method ID (line 64) | func (e encoder) ID() sbom.FormatID { method Aliases (line 68) | func (e encoder) Aliases() []string { method Version (line 72) | func (e encoder) Version() string { method Encode (line 76) | func (e encoder) Encode(writer io.Writer, s sbom.SBOM) error { function NewFormatEncoder (line 33) | func NewFormatEncoder(cfg EncoderConfig) (sbom.FormatEncoder, error) { function DefaultEncoderConfig (line 58) | func DefaultEncoderConfig() EncoderConfig { FILE: syft/format/template/encoder_test.go function TestFormatWithOption_Legacy (line 15) | func TestFormatWithOption_Legacy(t *testing.T) { function TestFormatWithOptionAndHasField_Legacy (line 33) | func TestFormatWithOptionAndHasField_Legacy(t *testing.T) { function TestFormatWithOption (line 51) | func TestFormatWithOption(t *testing.T) { function TestFormatWithOptionAndHasField (line 68) | func TestFormatWithOptionAndHasField(t *testing.T) { function TestFormatWithoutOptions (line 85) | func TestFormatWithoutOptions(t *testing.T) { FILE: syft/format/text/encoder.go constant ID (line 12) | ID sbom.FormatID = "syft-text" type encoder (line 14) | type encoder struct method ID (line 21) | func (e encoder) ID() sbom.FormatID { method Aliases (line 25) | func (e encoder) Aliases() []string { method Version (line 31) | func (e encoder) Version() string { method Encode (line 35) | func (e encoder) Encode(writer io.Writer, s sbom.SBOM) error { function NewFormatEncoder (line 17) | func NewFormatEncoder() sbom.FormatEncoder { FILE: syft/format/text/encoder_test.go function TestTextDirectoryEncoder (line 13) | func TestTextDirectoryEncoder(t *testing.T) { function TestTextImageEncoder (line 27) | func TestTextImageEncoder(t *testing.T) { function redactor (line 45) | func redactor(values ...string) testutil.Redactor { FILE: syft/get_source.go function GetSource (line 14) | func GetSource(ctx context.Context, userInput string, cfg *GetSourceConf... function validateSourcePlatform (line 56) | func validateSourcePlatform(src source.Source, cfg *GetSourceConfig) err... function sourceError (line 77) | func sourceError(userInput string, errs ...error) error { FILE: syft/get_source_config.go type GetSourceConfig (line 13) | type GetSourceConfig struct method WithAlias (line 24) | func (c *GetSourceConfig) WithAlias(alias source.Alias) *GetSourceConf... method WithRegistryOptions (line 29) | func (c *GetSourceConfig) WithRegistryOptions(registryOptions *image.R... method WithPlatform (line 34) | func (c *GetSourceConfig) WithPlatform(platform *image.Platform) *GetS... method WithExcludeConfig (line 39) | func (c *GetSourceConfig) WithExcludeConfig(excludeConfig source.Exclu... method WithDigestAlgorithms (line 44) | func (c *GetSourceConfig) WithDigestAlgorithms(algorithms ...crypto.Ha... method WithBasePath (line 49) | func (c *GetSourceConfig) WithBasePath(basePath string) *GetSourceConf... method WithSources (line 54) | func (c *GetSourceConfig) WithSources(sources ...string) *GetSourceCon... method WithDefaultImagePullSource (line 59) | func (c *GetSourceConfig) WithDefaultImagePullSource(defaultImagePullS... method getProviders (line 64) | func (c *GetSourceConfig) getProviders(userInput string) ([]source.Pro... function DefaultGetSourceConfig (line 87) | func DefaultGetSourceConfig() *GetSourceConfig { FILE: syft/get_source_config_test.go function TestGetProviders_DefaultImagePullSource (line 10) | func TestGetProviders_DefaultImagePullSource(t *testing.T) { function TestGetProviders_Sources (line 25) | func TestGetProviders_Sources(t *testing.T) { FILE: syft/get_source_test.go type mockSource (line 14) | type mockSource struct method Describe (line 19) | func (s mockSource) Describe() source.Description { function TestValidateSourcePlatform_NilSource (line 23) | func TestValidateSourcePlatform_NilSource(t *testing.T) { function TestValidateSourcePlatform_NilPlatformConfig (line 39) | func TestValidateSourcePlatform_NilPlatformConfig(t *testing.T) { function TestValidateSourcePlatform_SupportedMetadataTypes (line 80) | func TestValidateSourcePlatform_SupportedMetadataTypes(t *testing.T) { function TestValidateSourcePlatform_UnsupportedMetadataTypes (line 139) | func TestValidateSourcePlatform_UnsupportedMetadataTypes(t *testing.T) { function TestValidateSourcePlatform_ValidCombination (line 192) | func TestValidateSourcePlatform_ValidCombination(t *testing.T) { FILE: syft/internal/fileresolver/chroot_context.go type ChrootContext (line 16) | type ChrootContext struct method Root (line 91) | func (r ChrootContext) Root() string { method Base (line 96) | func (r ChrootContext) Base() string { method ChangeRoot (line 101) | func (r *ChrootContext) ChangeRoot(dir string) error { method ChangeDirectory (line 115) | func (r *ChrootContext) ChangeDirectory(dir string) error { method ToNativePath (line 141) | func (r ChrootContext) ToNativePath(chrootPath string) (string, error) { method ToNativeGlob (line 160) | func (r ChrootContext) ToNativeGlob(chrootPath string) (string, error) { method ToChrootPath (line 199) | func (r ChrootContext) ToChrootPath(nativePath string) string { function NewChrootContextFromCWD (line 24) | func NewChrootContextFromCWD(root, base string) (*ChrootContext, error) { function NewChrootContext (line 33) | func NewChrootContext(root, base, cwd string) (*ChrootContext, error) { function NormalizeRootDirectory (line 69) | func NormalizeRootDirectory(root string) (string, error) { function NormalizeBaseDirectory (line 77) | func NormalizeBaseDirectory(base string) (string, error) { FILE: syft/internal/fileresolver/chroot_context_test.go function Test_ChrootContext_RequestResponse (line 12) | func Test_ChrootContext_RequestResponse(t *testing.T) { function TestNewChrootContext_BaseValidation (line 502) | func TestNewChrootContext_BaseValidation(t *testing.T) { function TestToNativeGlob (line 565) | func TestToNativeGlob(t *testing.T) { FILE: syft/internal/fileresolver/container_image_all_layers.go type ContainerImageAllLayers (line 18) | type ContainerImageAllLayers struct method HasPath (line 45) | func (r *ContainerImageAllLayers) HasPath(path string) bool { method fileByRef (line 56) | func (r *ContainerImageAllLayers) fileByRef(ref stereoscopeFile.Refere... method FilesByPath (line 87) | func (r *ContainerImageAllLayers) FilesByPath(paths ...string) ([]file... method FilesByGlob (line 132) | func (r *ContainerImageAllLayers) FilesByGlob(patterns ...string) ([]f... method RelativeFileByPath (line 179) | func (r *ContainerImageAllLayers) RelativeFileByPath(location file.Loc... method FileContentsByLocation (line 199) | func (r *ContainerImageAllLayers) FileContentsByLocation(location file... method FilesByMIMEType (line 221) | func (r *ContainerImageAllLayers) FilesByMIMEType(types ...string) ([]... method AllLocations (line 251) | func (r *ContainerImageAllLayers) AllLocations(ctx context.Context) <-... method FileMetadataByLocation (line 272) | func (r *ContainerImageAllLayers) FileMetadataByLocation(location file... method annotateLocation (line 276) | func (r *ContainerImageAllLayers) annotateLocation(l *file.Location) { function NewFromContainerImageAllLayers (line 25) | func NewFromContainerImageAllLayers(img *image.Image) (*ContainerImageAl... FILE: syft/internal/fileresolver/container_image_all_layers_test.go type resolution (line 18) | type resolution struct function TestAllLayersResolver_FilesByPath (line 23) | func TestAllLayersResolver_FilesByPath(t *testing.T) { function TestAllLayersResolver_FilesByGlob (line 137) | func TestAllLayersResolver_FilesByGlob(t *testing.T) { function Test_imageAllLayersResolver_FilesByMIMEType (line 237) | func Test_imageAllLayersResolver_FilesByMIMEType(t *testing.T) { function Test_imageAllLayersResolver_hasFilesystemIDInLocation (line 268) | func Test_imageAllLayersResolver_hasFilesystemIDInLocation(t *testing.T) { function TestAllLayersImageResolver_FilesContents (line 297) | func TestAllLayersImageResolver_FilesContents(t *testing.T) { function TestAllLayersImageResolver_FilesContents_errorOnDirRequest (line 354) | func TestAllLayersImageResolver_FilesContents_errorOnDirRequest(t *testi... function Test_imageAllLayersResolver_resolvesLinks (line 380) | func Test_imageAllLayersResolver_resolvesLinks(t *testing.T) { function TestAllLayersResolver_AllLocations (line 516) | func TestAllLayersResolver_AllLocations(t *testing.T) { FILE: syft/internal/fileresolver/container_image_deep_squash.go type ContainerImageDeepSquash (line 17) | type ContainerImageDeepSquash struct method HasPath (line 44) | func (i *ContainerImageDeepSquash) HasPath(path string) bool { method FilesByPath (line 50) | func (i *ContainerImageDeepSquash) FilesByPath(paths ...string) ([]fil... method FilesByGlob (line 71) | func (i *ContainerImageDeepSquash) FilesByGlob(patterns ...string) ([]... method RelativeFileByPath (line 93) | func (i *ContainerImageDeepSquash) RelativeFileByPath(location file.Lo... method FileContentsByLocation (line 114) | func (i *ContainerImageDeepSquash) FileContentsByLocation(location fil... method FilesByMIMEType (line 120) | func (i *ContainerImageDeepSquash) FilesByMIMEType(types ...string) ([... method AllLocations (line 140) | func (i *ContainerImageDeepSquash) AllLocations(ctx context.Context) <... method FileMetadataByLocation (line 144) | func (i *ContainerImageDeepSquash) FileMetadataByLocation(location fil... method mergeLocations (line 150) | func (i *ContainerImageDeepSquash) mergeLocations(squashedLocations, a... method mergeLocationStreams (line 191) | func (i *ContainerImageDeepSquash) mergeLocationStreams(ctx context.Co... function NewFromContainerImageDeepSquash (line 23) | func NewFromContainerImageDeepSquash(img *image.Image) (*ContainerImageD... FILE: syft/internal/fileresolver/container_image_deep_squash_test.go type mockSimpleResolver (line 22) | type mockSimpleResolver struct method HasPath (line 42) | func (m *mockSimpleResolver) HasPath(p string) bool { method FilesByPath (line 46) | func (m *mockSimpleResolver) FilesByPath(paths ...string) ([]file.Loca... function newMockSimpleResolver (line 28) | func newMockSimpleResolver(locations []file.Location) *mockSimpleResolver { function Test_ContainerImageDeepSquash_FilesByPath (line 56) | func Test_ContainerImageDeepSquash_FilesByPath(t *testing.T) { function Test_ContainerImageDeepSquash_FilesByGlob (line 170) | func Test_ContainerImageDeepSquash_FilesByGlob(t *testing.T) { function Test_ContainerImageDeepSquash_FilesByMIMEType (line 275) | func Test_ContainerImageDeepSquash_FilesByMIMEType(t *testing.T) { function Test_ContainerImageDeepSquash_hasFilesystemIDInLocation (line 307) | func Test_ContainerImageDeepSquash_hasFilesystemIDInLocation(t *testing.... function Test_ContainerImageDeepSquash_FilesContents (line 336) | func Test_ContainerImageDeepSquash_FilesContents(t *testing.T) { function Test_ContainerImageDeepSquash_FilesContents_errorOnDirRequest (line 391) | func Test_ContainerImageDeepSquash_FilesContents_errorOnDirRequest(t *te... function Test_ContainerImageDeepSquash_resolvesLinks (line 415) | func Test_ContainerImageDeepSquash_resolvesLinks(t *testing.T) { function Test_ContainerImageDeepSquash_AllLocations (line 573) | func Test_ContainerImageDeepSquash_AllLocations(t *testing.T) { function TestContainerImageDeepSquash_MergeLocations (line 603) | func TestContainerImageDeepSquash_MergeLocations(t *testing.T) { function TestContainerImageDeepSquash_MergeLocationStreams (line 768) | func TestContainerImageDeepSquash_MergeLocationStreams(t *testing.T) { function TestContainerImageDeepSquash_MergeLocationStreams_FunCases (line 972) | func TestContainerImageDeepSquash_MergeLocationStreams_FunCases(t *testi... function makeLocation (line 1097) | func makeLocation(path string, layer int) file.Location { function makeVirtualLocation (line 1104) | func makeVirtualLocation(path, access string, layer int) file.Location { FILE: syft/internal/fileresolver/container_image_model.go type LayerInfo (line 17) | type LayerInfo struct type ContainerImageModel (line 25) | type ContainerImageModel struct method FilesByMediaType (line 51) | func (r *ContainerImageModel) FilesByMediaType(types ...string) ([]fil... method FileContentsByLocation (line 76) | func (r *ContainerImageModel) FileContentsByLocation(location file.Loc... method FileMetadataByLocation (line 87) | func (r *ContainerImageModel) FileMetadataByLocation(_ file.Location) ... method HasPath (line 92) | func (r *ContainerImageModel) HasPath(path string) bool { method FilesByPath (line 101) | func (r *ContainerImageModel) FilesByPath(_ ...string) ([]file.Locatio... method FilesByGlob (line 106) | func (r *ContainerImageModel) FilesByGlob(_ ...string) ([]file.Locatio... method FilesByMIMEType (line 112) | func (r *ContainerImageModel) FilesByMIMEType(_ ...string) ([]file.Loc... method RelativeFileByPath (line 119) | func (r *ContainerImageModel) RelativeFileByPath(_ file.Location, _ st... method AllLocations (line 125) | func (r *ContainerImageModel) AllLocations(ctx context.Context) <-chan... function NewContainerImageModel (line 32) | func NewContainerImageModel(tempDir string, layerFiles map[string]LayerI... FILE: syft/internal/fileresolver/container_image_model_test.go constant ggufLayerMediaType (line 15) | ggufLayerMediaType = "application/vnd.docker.ai.gguf.v3" function TestOCIModelResolver_FilesByMediaType (line 17) | func TestOCIModelResolver_FilesByMediaType(t *testing.T) { function TestOCIModelResolver_FileContentsByLocation (line 72) | func TestOCIModelResolver_FileContentsByLocation(t *testing.T) { FILE: syft/internal/fileresolver/container_image_squash.go type ContainerImageSquash (line 17) | type ContainerImageSquash struct method HasPath (line 33) | func (r *ContainerImageSquash) HasPath(path string) bool { method FilesByPath (line 38) | func (r *ContainerImageSquash) FilesByPath(paths ...string) ([]file.Lo... method FilesByGlob (line 84) | func (r *ContainerImageSquash) FilesByGlob(patterns ...string) ([]file... method RelativeFileByPath (line 134) | func (r *ContainerImageSquash) RelativeFileByPath(_ file.Location, pat... method FileContentsByLocation (line 148) | func (r *ContainerImageSquash) FileContentsByLocation(location file.Lo... method AllLocations (line 177) | func (r *ContainerImageSquash) AllLocations(ctx context.Context) <-cha... method FilesByMIMEType (line 193) | func (r *ContainerImageSquash) FilesByMIMEType(types ...string) ([]fil... method FileMetadataByLocation (line 217) | func (r *ContainerImageSquash) FileMetadataByLocation(location file.Lo... function NewFromContainerImageSquash (line 22) | func NewFromContainerImageSquash(img *image.Image) (*ContainerImageSquas... FILE: syft/internal/fileresolver/container_image_squash_test.go function TestImageSquashResolver_FilesByPath (line 21) | func TestImageSquashResolver_FilesByPath(t *testing.T) { function TestImageSquashResolver_FilesByGlob (line 129) | func TestImageSquashResolver_FilesByGlob(t *testing.T) { function Test_imageSquashResolver_FilesByMIMEType (line 227) | func Test_imageSquashResolver_FilesByMIMEType(t *testing.T) { function Test_imageSquashResolver_hasFilesystemIDInLocation (line 259) | func Test_imageSquashResolver_hasFilesystemIDInLocation(t *testing.T) { function TestSquashImageResolver_FilesContents (line 288) | func TestSquashImageResolver_FilesContents(t *testing.T) { function TestSquashImageResolver_FilesContents_errorOnDirRequest (line 341) | func TestSquashImageResolver_FilesContents_errorOnDirRequest(t *testing.... function Test_imageSquashResolver_resolvesLinks (line 367) | func Test_imageSquashResolver_resolvesLinks(t *testing.T) { function compareLocations (line 514) | func compareLocations(t *testing.T, expected, actual []file.Location) { function locationSorter (line 538) | func locationSorter(a, b file.Location) int { function TestSquashResolver_AllLocations (line 546) | func TestSquashResolver_AllLocations(t *testing.T) { FILE: syft/internal/fileresolver/deferred.go function NewDeferred (line 13) | func NewDeferred(creator func() (file.Resolver, error)) *Deferred { type Deferred (line 19) | type Deferred struct method getResolver (line 24) | func (d *Deferred) getResolver() (file.Resolver, error) { method FileContentsByLocation (line 35) | func (d *Deferred) FileContentsByLocation(location file.Location) (io.... method HasPath (line 43) | func (d *Deferred) HasPath(s string) bool { method FilesByPath (line 52) | func (d *Deferred) FilesByPath(paths ...string) ([]file.Location, erro... method FilesByGlob (line 60) | func (d *Deferred) FilesByGlob(patterns ...string) ([]file.Location, e... method FilesByMIMEType (line 68) | func (d *Deferred) FilesByMIMEType(types ...string) ([]file.Location, ... method RelativeFileByPath (line 76) | func (d *Deferred) RelativeFileByPath(location file.Location, path str... method AllLocations (line 84) | func (d *Deferred) AllLocations(ctx context.Context) <-chan file.Locat... method FileMetadataByLocation (line 93) | func (d *Deferred) FileMetadataByLocation(location file.Location) (fil... FILE: syft/internal/fileresolver/deferred_test.go function Test_NewDeferredResolver (line 11) | func Test_NewDeferredResolver(t *testing.T) { FILE: syft/internal/fileresolver/directory.go type Directory (line 16) | type Directory struct method buildIndex (line 52) | func (r *Directory) buildIndex() error { method String (line 69) | func (r *Directory) String() string { function NewFromDirectory (line 22) | func NewFromDirectory(root, base string, pathFilters ...PathIndexVisitor... function newFromDirectoryWithoutIndex (line 31) | func newFromDirectoryWithoutIndex(root, base string, pathFilters ...Path... FILE: syft/internal/fileresolver/directory_indexer.go type PathIndexVisitor (line 21) | type PathIndexVisitor type directoryIndexer (line 23) | type directoryIndexer struct method build (line 61) | func (r *directoryIndexer) build() (filetree.Reader, filetree.IndexRea... method indexTree (line 102) | func (r *directoryIndexer) indexTree(root string, stager *progress.Ato... method indexBranch (line 180) | func (r *directoryIndexer) indexBranch(root string, stager *progress.A... method indexPath (line 253) | func (r *directoryIndexer) indexPath(givenPath string, info os.FileInf... method disallowFileAccessErr (line 289) | func (r *directoryIndexer) disallowFileAccessErr(_, path string, _ os.... method isFileAccessErr (line 296) | func (r *directoryIndexer) isFileAccessErr(path string, err error) bool { method addPathToIndex (line 306) | func (r directoryIndexer) addPathToIndex(p string, info os.FileInfo) (... method addDirectoryToIndex (line 319) | func (r directoryIndexer) addDirectoryToIndex(p string, info os.FileIn... method addFileToIndex (line 331) | func (r directoryIndexer) addFileToIndex(p string, info os.FileInfo) e... method addSymlinkToIndex (line 343) | func (r directoryIndexer) addSymlinkToIndex(p string, info os.FileInfo... method hasBeenIndexed (line 433) | func (r directoryIndexer) hasBeenIndexed(p string) (bool, *file.Metada... method disallowRevisitingVisitor (line 458) | func (r *directoryIndexer) disallowRevisitingVisitor(_, path string, _... function newDirectoryIndexer (line 32) | func newDirectoryIndexer(path, base string, visitors ...PathIndexVisitor... function indexAllRoots (line 65) | func indexAllRoots(root string, indexer func(string, *progress.AtomicSta... function isRealPath (line 167) | func isRealPath(root string) (bool, error) { function allContainedPaths (line 229) | func allContainedPaths(p string) []string { function disallowByFileType (line 472) | func disallowByFileType(_, _ string, info os.FileInfo, _ error) error { function requireFileInfo (line 487) | func requireFileInfo(_, _ string, info os.FileInfo, _ error) error { FILE: syft/internal/fileresolver/directory_indexer_test.go type indexerMock (line 23) | type indexerMock struct method indexer (line 28) | func (m *indexerMock) indexer(s string, _ *progress.AtomicStage) ([]st... function Test_indexAllRoots (line 33) | func Test_indexAllRoots(t *testing.T) { function TestDirectoryIndexer_handleFileAccessErr (line 99) | func TestDirectoryIndexer_handleFileAccessErr(t *testing.T) { function TestDirectoryIndexer_IncludeRootPathInIndex (line 140) | func TestDirectoryIndexer_IncludeRootPathInIndex(t *testing.T) { function TestDirectoryIndexer_indexPath_skipsNilFileInfo (line 161) | func TestDirectoryIndexer_indexPath_skipsNilFileInfo(t *testing.T) { function TestDirectoryIndexer_index (line 177) | func TestDirectoryIndexer_index(t *testing.T) { function TestDirectoryIndexer_index_for_AncestorSymlinks (line 228) | func TestDirectoryIndexer_index_for_AncestorSymlinks(t *testing.T) { function TestDirectoryIndexer_index_survive_badSymlink (line 277) | func TestDirectoryIndexer_index_survive_badSymlink(t *testing.T) { function TestDirectoryIndexer_SkipsAlreadyVisitedLinkDestinations (line 289) | func TestDirectoryIndexer_SkipsAlreadyVisitedLinkDestinations(t *testing... function TestDirectoryIndexer_IndexesAllTypes (line 339) | func TestDirectoryIndexer_IndexesAllTypes(t *testing.T) { function Test_allContainedPaths (line 396) | func Test_allContainedPaths(t *testing.T) { function Test_relativePath (line 451) | func Test_relativePath(t *testing.T) { function relativePath (line 490) | func relativePath(basePath, givenPath string) string { FILE: syft/internal/fileresolver/directory_test.go function Test_isUnallowableFileType (line 13) | func Test_isUnallowableFileType(t *testing.T) { FILE: syft/internal/fileresolver/directory_windows_test.go function Test_windowsToPosix (line 5) | func Test_windowsToPosix(t *testing.T) { function Test_posixToWindows (line 67) | func Test_posixToWindows(t *testing.T) { FILE: syft/internal/fileresolver/empty.go type Empty (line 12) | type Empty struct method FileContentsByLocation (line 14) | func (e Empty) FileContentsByLocation(_ file.Location) (io.ReadCloser,... method HasPath (line 18) | func (e Empty) HasPath(_ string) bool { method FilesByPath (line 22) | func (e Empty) FilesByPath(_ ...string) ([]file.Location, error) { method FilesByGlob (line 26) | func (e Empty) FilesByGlob(_ ...string) ([]file.Location, error) { method FilesByMIMEType (line 30) | func (e Empty) FilesByMIMEType(_ ...string) ([]file.Location, error) { method RelativeFileByPath (line 34) | func (e Empty) RelativeFileByPath(_ file.Location, _ string) *file.Loc... method AllLocations (line 38) | func (e Empty) AllLocations(_ context.Context) <-chan file.Location { method FileMetadataByLocation (line 42) | func (e Empty) FileMetadataByLocation(_ file.Location) (file.Metadata,... method Write (line 46) | func (e Empty) Write(_ file.Location, _ io.Reader) error { FILE: syft/internal/fileresolver/excluding_file.go type excludeFn (line 11) | type excludeFn type excluding (line 15) | type excluding struct method FileContentsByLocation (line 29) | func (r *excluding) FileContentsByLocation(location file.Location) (io... method FileMetadataByLocation (line 36) | func (r *excluding) FileMetadataByLocation(location file.Location) (fi... method HasPath (line 43) | func (r *excluding) HasPath(path string) bool { method FilesByPath (line 50) | func (r *excluding) FilesByPath(paths ...string) ([]file.Location, err... method FilesByGlob (line 55) | func (r *excluding) FilesByGlob(patterns ...string) ([]file.Location, ... method FilesByMIMEType (line 60) | func (r *excluding) FilesByMIMEType(types ...string) ([]file.Location,... method RelativeFileByPath (line 65) | func (r *excluding) RelativeFileByPath(location file.Location, path st... method AllLocations (line 73) | func (r *excluding) AllLocations(ctx context.Context) <-chan file.Loca... function NewExcludingDecorator (line 22) | func NewExcludingDecorator(delegate file.Resolver, excludeFn excludeFn) ... function locationMatches (line 91) | func locationMatches(location *file.Location, exclusionFn excludeFn) bool { function filterLocations (line 95) | func filterLocations(locations []file.Location, err error, exclusionFn e... FILE: syft/internal/fileresolver/excluding_file_test.go function TestExcludingResolver (line 14) | func TestExcludingResolver(t *testing.T) { function difference (line 111) | func difference(a, b []string) []string { function locationPaths (line 125) | func locationPaths(locations []file.Location) []string { type mockResolver (line 133) | type mockResolver struct method getLocations (line 137) | func (r *mockResolver) getLocations() ([]file.Location, error) { method FileContentsByLocation (line 145) | func (r *mockResolver) FileContentsByLocation(_ file.Location) (io.Rea... method FileMetadataByLocation (line 149) | func (r *mockResolver) FileMetadataByLocation(_ file.Location) (file.M... method HasPath (line 155) | func (r *mockResolver) HasPath(_ string) bool { method FilesByPath (line 159) | func (r *mockResolver) FilesByPath(_ ...string) ([]file.Location, erro... method FilesByGlob (line 163) | func (r *mockResolver) FilesByGlob(_ ...string) ([]file.Location, erro... method FilesByMIMEType (line 167) | func (r *mockResolver) FilesByMIMEType(_ ...string) ([]file.Location, ... method FilesByExtension (line 171) | func (r *mockResolver) FilesByExtension(_ ...string) ([]file.Location,... method FilesByBasename (line 175) | func (r *mockResolver) FilesByBasename(_ ...string) ([]file.Location, ... method FilesByBasenameGlob (line 179) | func (r *mockResolver) FilesByBasenameGlob(_ ...string) ([]file.Locati... method RelativeFileByPath (line 183) | func (r *mockResolver) RelativeFileByPath(_ file.Location, path string... method AllLocations (line 188) | func (r *mockResolver) AllLocations(ctx context.Context) <-chan file.L... FILE: syft/internal/fileresolver/file.go type File (line 14) | type File struct method buildIndex (line 56) | func (r *File) buildIndex() error { method String (line 73) | func (r *File) String() string { function NewFromFile (line 22) | func NewFromFile(path string, pathFilters ...PathIndexVisitor) (*File, e... function newFromFileWithoutIndex (line 31) | func newFromFileWithoutIndex(path string, pathFilters ...PathIndexVisito... FILE: syft/internal/fileresolver/file_indexer.go type fileIndexer (line 17) | type fileIndexer struct method build (line 47) | func (r *fileIndexer) build() (filetree.Reader, filetree.IndexReader, ... method indexPath (line 74) | func (r *fileIndexer) indexPath(path string, stager *progress.AtomicSt... method filterAndIndex (line 125) | func (r *fileIndexer) filterAndIndex(path string, info os.FileInfo) er... method addPathToIndex (line 159) | func (r *fileIndexer) addPathToIndex(path string, info os.FileInfo) er... method addDirectoryToIndex (line 170) | func (r *fileIndexer) addDirectoryToIndex(path string, info os.FileInf... method addFileToIndex (line 182) | func (r *fileIndexer) addFileToIndex(path string, info os.FileInfo) er... method isFileAccessErr (line 217) | func (r *fileIndexer) isFileAccessErr(path string, err error) bool { function newFileIndexer (line 26) | func newFileIndexer(path, base string, visitors ...PathIndexVisitor) *fi... function index (line 53) | func index(path string, indexer func(string, *progress.AtomicStage) erro... function absoluteSymlinkFreePathToParent (line 195) | func absoluteSymlinkFreePathToParent(path string) (string, error) { function absoluteSymlinkFreePathToFile (line 205) | func absoluteSymlinkFreePathToFile(path string) (string, error) { FILE: syft/internal/fileresolver/file_indexer_test.go function Test_index (line 16) | func Test_index(t *testing.T) { function Test_indexRejectsDirectory (line 62) | func Test_indexRejectsDirectory(t *testing.T) { function Test_ignoresPathIfFiltered (line 70) | func Test_ignoresPathIfFiltered(t *testing.T) { function Test_ignoresPathIfParentFiltered (line 88) | func Test_ignoresPathIfParentFiltered(t *testing.T) { FILE: syft/internal/fileresolver/file_metadata_by_location.go function fileMetadataByLocation (line 8) | func fileMetadataByLocation(img *image.Image, location file.Location) (f... FILE: syft/internal/fileresolver/filetree_resolver.go type FiletreeResolver (line 18) | type FiletreeResolver struct method requestPath (line 37) | func (r *FiletreeResolver) requestPath(userPath string) (string, error) { method responsePath (line 42) | func (r FiletreeResolver) responsePath(path string) string { method HasPath (line 47) | func (r *FiletreeResolver) HasPath(userPath string) bool { method FilesByPath (line 56) | func (r FiletreeResolver) FilesByPath(userPaths ...string) ([]file.Loc... method requestGlob (line 106) | func (r FiletreeResolver) requestGlob(pattern string) (string, error) { method FilesByGlob (line 111) | func (r FiletreeResolver) FilesByGlob(patterns ...string) ([]file.Loca... method RelativeFileByPath (line 153) | func (r *FiletreeResolver) RelativeFileByPath(_ file.Location, path st... method FileContentsByLocation (line 167) | func (r FiletreeResolver) FileContentsByLocation(location file.Locatio... method AllLocations (line 185) | func (r *FiletreeResolver) AllLocations(ctx context.Context) <-chan fi... method FileMetadataByLocation (line 201) | func (r *FiletreeResolver) FileMetadataByLocation(location file.Locati... method FilesByMIMEType (line 210) | func (r *FiletreeResolver) FilesByMIMEType(types ...string) ([]file.Lo... function nativeOSFileOpener (line 26) | func nativeOSFileOpener(ref stereoscopeFile.Reference) (io.ReadCloser, e... FILE: syft/internal/fileresolver/filetree_resolver_test.go function TestDirectoryResolver_FilesByPath_request_response (line 28) | func TestDirectoryResolver_FilesByPath_request_response(t *testing.T) { function TestDirectoryResolver_FilesByPath_relativeRoot (line 526) | func TestDirectoryResolver_FilesByPath_relativeRoot(t *testing.T) { function TestDirectoryResolver_FilesByPath_absoluteRoot (line 576) | func TestDirectoryResolver_FilesByPath_absoluteRoot(t *testing.T) { function TestDirectoryResolver_FilesByPath (line 631) | func TestDirectoryResolver_FilesByPath(t *testing.T) { function TestDirectoryResolver_MultipleFilesByPath (line 701) | func TestDirectoryResolver_MultipleFilesByPath(t *testing.T) { function TestDirectoryResolver_FilesByGlobMultiple (line 737) | func TestDirectoryResolver_FilesByGlobMultiple(t *testing.T) { function TestDirectoryResolver_FilesByGlobRecursive (line 746) | func TestDirectoryResolver_FilesByGlobRecursive(t *testing.T) { function TestDirectoryResolver_FilesByGlobSingle (line 754) | func TestDirectoryResolver_FilesByGlobSingle(t *testing.T) { function TestDirectoryResolver_FilesByPath_ResolvesSymlinks (line 764) | func TestDirectoryResolver_FilesByPath_ResolvesSymlinks(t *testing.T) { function TestDirectoryResolverDoesNotIgnoreRelativeSystemPaths (line 803) | func TestDirectoryResolverDoesNotIgnoreRelativeSystemPaths(t *testing.T) { function Test_directoryResolver_FilesByMIMEType (line 830) | func Test_directoryResolver_FilesByMIMEType(t *testing.T) { function Test_IndexingNestedSymLinks (line 856) | func Test_IndexingNestedSymLinks(t *testing.T) { function Test_IndexingNestedSymLinks_ignoredIndexes (line 905) | func Test_IndexingNestedSymLinks_ignoredIndexes(t *testing.T) { function Test_IndexingNestedSymLinksOutsideOfRoot (line 932) | func Test_IndexingNestedSymLinksOutsideOfRoot(t *testing.T) { function Test_RootViaSymlink (line 950) | func Test_RootViaSymlink(t *testing.T) { function Test_directoryResolver_FileContentsByLocation (line 967) | func Test_directoryResolver_FileContentsByLocation(t *testing.T) { function Test_SymlinkLoopWithGlobsShouldResolve (line 1015) | func Test_SymlinkLoopWithGlobsShouldResolve(t *testing.T) { function TestDirectoryResolver_FilesByPath_baseRoot (line 1030) | func TestDirectoryResolver_FilesByPath_baseRoot(t *testing.T) { function Test_directoryResolver_resolvesLinks (line 1104) | func Test_directoryResolver_resolvesLinks(t *testing.T) { function TestDirectoryResolver_DoNotAddVirtualPathsToTree (line 1243) | func TestDirectoryResolver_DoNotAddVirtualPathsToTree(t *testing.T) { function TestDirectoryResolver_FilesContents_errorOnDirRequest (line 1265) | func TestDirectoryResolver_FilesContents_errorOnDirRequest(t *testing.T) { function TestDirectoryResolver_AllLocations (line 1289) | func TestDirectoryResolver_AllLocations(t *testing.T) { function TestAllLocationsDoesNotLeakGoRoutine (line 1321) | func TestAllLocationsDoesNotLeakGoRoutine(t *testing.T) { type testFileInfo (line 1334) | type testFileInfo struct method Name (line 1338) | func (t testFileInfo) Name() string { method Size (line 1342) | func (t testFileInfo) Size() int64 { method Mode (line 1346) | func (t testFileInfo) Mode() fs.FileMode { method ModTime (line 1350) | func (t testFileInfo) ModTime() time.Time { method IsDir (line 1354) | func (t testFileInfo) IsDir() bool { method Sys (line 1358) | func (t testFileInfo) Sys() interface{} { function TestFileResolver_FilesByPath (line 1363) | func TestFileResolver_FilesByPath(t *testing.T) { function TestFileResolver_MultipleFilesByPath (line 1405) | func TestFileResolver_MultipleFilesByPath(t *testing.T) { function TestFileResolver_FilesByGlob (line 1450) | func TestFileResolver_FilesByGlob(t *testing.T) { function Test_fileResolver_FilesByMIMEType (line 1467) | func Test_fileResolver_FilesByMIMEType(t *testing.T) { function Test_fileResolver_FileContentsByLocation (line 1501) | func Test_fileResolver_FileContentsByLocation(t *testing.T) { function TestFileResolver_AllLocations_errorOnDirRequest (line 1556) | func TestFileResolver_AllLocations_errorOnDirRequest(t *testing.T) { function TestFileResolver_AllLocations (line 1587) | func TestFileResolver_AllLocations(t *testing.T) { function Test_FileResolver_AllLocationsDoesNotLeakGoRoutine (line 1616) | func Test_FileResolver_AllLocationsDoesNotLeakGoRoutine(t *testing.T) { FILE: syft/internal/fileresolver/get_xid.go function getXid (line 11) | func getXid(info os.FileInfo) (uid, gid int) { FILE: syft/internal/fileresolver/get_xid_win.go function getXid (line 10) | func getXid(info os.FileInfo) (uid, gid int) { FILE: syft/internal/fileresolver/metadata.go function NewMetadataFromPath (line 11) | func NewMetadataFromPath(path string, info os.FileInfo) file.Metadata { FILE: syft/internal/fileresolver/metadata_test.go function TestFileMetadataFromPath (line 13) | func TestFileMetadataFromPath(t *testing.T) { FILE: syft/internal/fileresolver/path_skipper.go type pathSkipper (line 14) | type pathSkipper struct method pathIndexVisitor (line 92) | func (ps pathSkipper) pathIndexVisitor(_ string, givenPath string, _ o... function skipPathsByMountTypeAndName (line 34) | func skipPathsByMountTypeAndName(root string) PathIndexVisitor { function newPathSkipperFromMounts (line 46) | func newPathSkipperFromMounts(root string, infos []*mountinfo.Info) path... function containsPath (line 140) | func containsPath(p1, p2 string) bool { function simpleClean (line 153) | func simpleClean(p string) string { FILE: syft/internal/fileresolver/path_skipper_test.go function Test_newPathSkipper (line 12) | func Test_newPathSkipper(t *testing.T) { function assertSkipErr (line 424) | func assertSkipErr() assert.ErrorAssertionFunc { function assertErrorIs (line 428) | func assertErrorIs(want error) assert.ErrorAssertionFunc { FILE: syft/internal/fileresolver/unindexed_directory.go type UnindexedDirectory (line 28) | type UnindexedDirectory struct method FileContentsByLocation (line 81) | func (u UnindexedDirectory) FileContentsByLocation(location file.Locat... method HasPath (line 99) | func (u UnindexedDirectory) HasPath(p string) bool { method canLstat (line 104) | func (u UnindexedDirectory) canLstat(p string) bool { method isRegularFile (line 109) | func (u UnindexedDirectory) isRegularFile(p string) bool { method scrubInputPath (line 114) | func (u UnindexedDirectory) scrubInputPath(p string) string { method scrubResolutionPath (line 121) | func (u UnindexedDirectory) scrubResolutionPath(p string) string { method absPath (line 133) | func (u UnindexedDirectory) absPath(p string) string { method FilesByPath (line 152) | func (u UnindexedDirectory) FilesByPath(paths ...string) (out []file.L... method filesByPath (line 156) | func (u UnindexedDirectory) filesByPath(resolveLinks bool, includeDirs... method FilesByGlob (line 186) | func (u UnindexedDirectory) FilesByGlob(patterns ...string) (out []fil... method filesByGlob (line 190) | func (u UnindexedDirectory) filesByGlob(resolveLinks bool, includeDirs... method FilesByMIMEType (line 209) | func (u UnindexedDirectory) FilesByMIMEType(_ ...string) ([]file.Locat... method RelativeFileByPath (line 215) | func (u UnindexedDirectory) RelativeFileByPath(l file.Location, p stri... method AllLocations (line 231) | func (u UnindexedDirectory) AllLocations(ctx context.Context) <-chan f... method FileMetadataByLocation (line 256) | func (u UnindexedDirectory) FileMetadataByLocation(_ file.Location) (f... method Write (line 260) | func (u UnindexedDirectory) Write(location file.Location, reader io.Re... method newLocation (line 269) | func (u UnindexedDirectory) newLocation(filePath string, resolveLinks ... method resolveLinks (line 295) | func (u UnindexedDirectory) resolveLinks(filePath string) []string { method isSymlink (line 362) | func (u UnindexedDirectory) isSymlink(fi os.FileInfo) bool { function NewFromUnindexedDirectory (line 36) | func NewFromUnindexedDirectory(dir string) file.WritableResolver { function NewFromRootedUnindexedDirectory (line 40) | func NewFromRootedUnindexedDirectory(dir string, base string) file.Writa... function NewFromUnindexedDirectoryFS (line 44) | func NewFromUnindexedDirectoryFS(fs afero.Fs, dir string, base string) f... type unindexedDirectoryResolverFS (line 369) | type unindexedDirectoryResolverFS struct method resolve (line 374) | func (f unindexedDirectoryResolverFS) resolve(filePath string) (resolv... method ReadDir (line 414) | func (f unindexedDirectoryResolverFS) ReadDir(name string) (out []fs.D... method Stat (line 436) | func (f unindexedDirectoryResolverFS) Stat(name string) (fs.FileInfo, ... method Open (line 444) | func (f unindexedDirectoryResolverFS) Open(name string) (fs.File, erro... type unindexedDirectoryResolverDirEntry (line 460) | type unindexedDirectoryResolverDirEntry struct method Name (line 464) | func (f unindexedDirectoryResolverDirEntry) Name() string { method IsDir (line 468) | func (f unindexedDirectoryResolverDirEntry) IsDir() bool { method Type (line 472) | func (f unindexedDirectoryResolverDirEntry) Type() fs.FileMode { method Info (line 476) | func (f unindexedDirectoryResolverDirEntry) Info() (fs.FileInfo, error) { type unindexedDirectoryResolverFile (line 482) | type unindexedDirectoryResolverFile struct method Stat (line 487) | func (f unindexedDirectoryResolverFile) Stat() (fs.FileInfo, error) { method Read (line 495) | func (f unindexedDirectoryResolverFile) Read(_ []byte) (int, error) { method Close (line 499) | func (f unindexedDirectoryResolverFile) Close() error { type unindexedDirectoryResolverFileInfo (line 505) | type unindexedDirectoryResolverFileInfo struct method Name (line 527) | func (f unindexedDirectoryResolverFileInfo) Name() string { method Size (line 531) | func (f unindexedDirectoryResolverFileInfo) Size() int64 { method Mode (line 535) | func (f unindexedDirectoryResolverFileInfo) Mode() fs.FileMode { method ModTime (line 539) | func (f unindexedDirectoryResolverFileInfo) ModTime() time.Time { method IsDir (line 543) | func (f unindexedDirectoryResolverFileInfo) IsDir() bool { method Sys (line 547) | func (f unindexedDirectoryResolverFileInfo) Sys() any { function newFsFileInfo (line 515) | func newFsFileInfo(u UnindexedDirectory, name string, isDir bool, fi os.... FILE: syft/internal/fileresolver/unindexed_directory_test.go function Test_UnindexDirectoryResolver_RequestRelativePathWithinSymlink (line 27) | func Test_UnindexDirectoryResolver_RequestRelativePathWithinSymlink(t *t... function Test_UnindexDirectoryResolver_FilesByPath_request_response (line 52) | func Test_UnindexDirectoryResolver_FilesByPath_request_response(t *testi... function Test_UnindexedDirectoryResolver_Basic (line 533) | func Test_UnindexedDirectoryResolver_Basic(t *testing.T) { function Test_UnindexedDirectoryResolver_NoGoroutineLeak (line 543) | func Test_UnindexedDirectoryResolver_NoGoroutineLeak(t *testing.T) { function Test_UnindexedDirectoryResolver_FilesByPath_relativeRoot (line 556) | func Test_UnindexedDirectoryResolver_FilesByPath_relativeRoot(t *testing... function Test_UnindexedDirectoryResolver_FilesByPath_absoluteRoot (line 605) | func Test_UnindexedDirectoryResolver_FilesByPath_absoluteRoot(t *testing... function Test_UnindexedDirectoryResolver_FilesByPath (line 660) | func Test_UnindexedDirectoryResolver_FilesByPath(t *testing.T) { function Test_UnindexedDirectoryResolver_MultipleFilesByPath (line 729) | func Test_UnindexedDirectoryResolver_MultipleFilesByPath(t *testing.T) { function Test_UnindexedDirectoryResolver_FilesByGlobMultiple (line 764) | func Test_UnindexedDirectoryResolver_FilesByGlobMultiple(t *testing.T) { function Test_UnindexedDirectoryResolver_FilesByGlobRecursive (line 772) | func Test_UnindexedDirectoryResolver_FilesByGlobRecursive(t *testing.T) { function Test_UnindexedDirectoryResolver_FilesByGlobSingle (line 779) | func Test_UnindexedDirectoryResolver_FilesByGlobSingle(t *testing.T) { function Test_UnindexedDirectoryResolver_FilesByPath_ResolvesSymlinks (line 788) | func Test_UnindexedDirectoryResolver_FilesByPath_ResolvesSymlinks(t *tes... function Test_UnindexedDirectoryResolverDoesNotIgnoreRelativeSystemPaths (line 826) | func Test_UnindexedDirectoryResolverDoesNotIgnoreRelativeSystemPaths(t *... function Test_UnindexedDirectoryResover_IndexingNestedSymLinks (line 852) | func Test_UnindexedDirectoryResover_IndexingNestedSymLinks(t *testing.T) { function Test_UnindexedDirectoryResover_IndexingNestedSymLinksOutsideOfRoot (line 900) | func Test_UnindexedDirectoryResover_IndexingNestedSymLinksOutsideOfRoot(... function Test_UnindexedDirectoryResover_RootViaSymlink (line 917) | func Test_UnindexedDirectoryResover_RootViaSymlink(t *testing.T) { function Test_UnindexedDirectoryResolver_FileContentsByLocation (line 933) | func Test_UnindexedDirectoryResolver_FileContentsByLocation(t *testing.T) { function Test_UnindexedDirectoryResover_SymlinkLoopWithGlobsShouldResolve (line 976) | func Test_UnindexedDirectoryResover_SymlinkLoopWithGlobsShouldResolve(t ... function Test_UnindexedDirectoryResolver_FilesByPath_baseRoot (line 990) | func Test_UnindexedDirectoryResolver_FilesByPath_baseRoot(t *testing.T) { function Test_UnindexedDirectoryResolver_resolvesLinks (line 1063) | func Test_UnindexedDirectoryResolver_resolvesLinks(t *testing.T) { function Test_UnindexedDirectoryResolver_DoNotAddVirtualPathsToTree (line 1183) | func Test_UnindexedDirectoryResolver_DoNotAddVirtualPathsToTree(t *testi... function Test_UnindexedDirectoryResolver_FilesContents_errorOnDirRequest (line 1206) | func Test_UnindexedDirectoryResolver_FilesContents_errorOnDirRequest(t *... function Test_UnindexedDirectoryResolver_AllLocations (line 1216) | func Test_UnindexedDirectoryResolver_AllLocations(t *testing.T) { function Test_WritableUnindexedDirectoryResolver (line 1249) | func Test_WritableUnindexedDirectoryResolver(t *testing.T) { function testWithTimeout (line 1274) | func testWithTimeout(t *testing.T, timeout time.Duration, test func(*tes... FILE: syft/internal/parsing/basic_parsing.go function IsWhitespace (line 10) | func IsWhitespace(c byte) bool { function IsLiteral (line 14) | func IsLiteral(c byte) bool { function SkipWhitespace (line 19) | func SkipWhitespace(data []byte, i *int) { function PrintError (line 25) | func PrintError(data []byte, i int) string { FILE: syft/internal/testutil/chdir.go function Chdir (line 10) | func Chdir(t *testing.T, dir string) { FILE: syft/internal/unionreader/union_reader.go type UnionReader (line 18) | type UnionReader interface function GetReaders (line 26) | func GetReaders(f UnionReader) ([]io.ReaderAt, error) { function GetUnionReader (line 45) | func GetUnionReader(readerCloser io.ReadCloser) (UnionReader, error) { type readerAtAdapter (line 85) | type readerAtAdapter struct method Read (line 97) | func (r *readerAtAdapter) Read(p []byte) (n int, err error) { method Seek (line 103) | func (r *readerAtAdapter) Seek(offset int64, whence int) (int64, error) { method ReadAt (line 109) | func (r *readerAtAdapter) ReadAt(p []byte, off int64) (n int, err erro... method restorePosition (line 135) | func (r *readerAtAdapter) restorePosition(pos int64) error { function newReaderAtAdapter (line 90) | func newReaderAtAdapter(rs io.ReadSeekCloser) UnionReader { FILE: syft/internal/unionreader/union_reader_test.go function Test_getUnionReader_notUnionReader (line 16) | func Test_getUnionReader_notUnionReader(t *testing.T) { type panickingUnionReader (line 36) | type panickingUnionReader struct method ReadAt (line 38) | func (p2 *panickingUnionReader) ReadAt(p []byte, off int64) (n int, er... method Seek (line 42) | func (p2 *panickingUnionReader) Seek(offset int64, whence int) (int64,... method Read (line 46) | func (p2 *panickingUnionReader) Read(p []byte) (n int, err error) { method Close (line 50) | func (p2 *panickingUnionReader) Close() error { function Test_getUnionReader_fileLocationReadCloser (line 56) | func Test_getUnionReader_fileLocationReadCloser(t *testing.T) { function TestReaderAtAdapter_ReadAt (line 67) | func TestReaderAtAdapter_ReadAt(t *testing.T) { function TestReaderAtAdapter_PositionHandling (line 242) | func TestReaderAtAdapter_PositionHandling(t *testing.T) { function TestReaderAtAdapter_Close (line 310) | func TestReaderAtAdapter_Close(t *testing.T) { type readSeekCloser (line 325) | type readSeekCloser struct method Close (line 334) | func (r *readSeekCloser) Close() error { function newReadSeekCloser (line 330) | func newReadSeekCloser(rs io.ReadSeeker) *readSeekCloser { FILE: syft/internal/windows/path.go constant windowsGoOS (line 10) | windowsGoOS = "windows" constant windowsUNCPathPrefix (line 11) | windowsUNCPathPrefix = "\\\\" constant windowsDriveColon (line 12) | windowsDriveColon = ":" constant windowsDrivePathTerminator (line 13) | windowsDrivePathTerminator = ":\\" constant windowsUNCPathTerminator (line 14) | windowsUNCPathTerminator = "\\" function HostRunningOnWindows (line 16) | func HostRunningOnWindows() bool { function ToPosix (line 20) | func ToPosix(windowsPath string) (posixPath string) { function FromPosix (line 35) | func FromPosix(posixPath string) (windowsPath string) { function AppendRootTerminator (line 49) | func AppendRootTerminator(rootPath string) string { FILE: syft/internal/windows/path_test.go function TestAppendRootTerminator (line 7) | func TestAppendRootTerminator(t *testing.T) { FILE: syft/lib.go function SetLogger (line 28) | func SetLogger(logger logger.Logger) { function SetBus (line 33) | func SetBus(b *partybus.Bus) { FILE: syft/lib_test.go function Test_removeRelationshipsByID (line 13) | func Test_removeRelationshipsByID(t *testing.T) { FILE: syft/license/license.go type Type (line 14) | type Type constant Declared (line 17) | Declared Type = "declared" constant Concluded (line 18) | Concluded Type = "concluded" function trimFileSuffix (line 22) | func trimFileSuffix(s string) string { function ParseExpression (line 33) | func ParseExpression(expression string) (ex string, err error) { FILE: syft/license/license_test.go function TestParseExpression (line 5) | func TestParseExpression(t *testing.T) { FILE: syft/linux/identify_release.go type parseFunc (line 19) | type parseFunc type parseEntry (line 21) | type parseEntry struct function IdentifyRelease (line 64) | func IdentifyRelease(resolver file.Resolver) *Release { function tryParseReleaseInfo (line 87) | func tryParseReleaseInfo(resolver file.Resolver, location file.Location,... function parseOsRelease (line 110) | func parseOsRelease(contents string) (*Release, error) { function parseBusyBox (line 156) | func parseBusyBox(contents string) (*Release, error) { function parseSystemReleaseCPE (line 171) | func parseSystemReleaseCPE(contents string) (*Release, error) { function parseRedhatRelease (line 186) | func parseRedhatRelease(contents string) (*Release, error) { function simpleRelease (line 215) | func simpleRelease(prettyName, name, version, cpe string) *Release { FILE: syft/linux/identify_release_test.go function TestIdentifyRelease (line 15) | func TestIdentifyRelease(t *testing.T) { function TestParseOsRelease (line 378) | func TestParseOsRelease(t *testing.T) { function TestParseSystemReleaseCPE (line 486) | func TestParseSystemReleaseCPE(t *testing.T) { function TestParseRedhatRelease (line 524) | func TestParseRedhatRelease(t *testing.T) { function retrieveFixtureContentsAsString (line 563) | func retrieveFixtureContentsAsString(fixturePath string, t *testing.T) s... FILE: syft/linux/release.go type Release (line 4) | type Release struct method String (line 26) | func (r *Release) String() string { FILE: syft/linux/supplement_release.go function supplementDebianVersion (line 13) | func supplementDebianVersion(resolver file.Resolver, release *Release) { function readDebianVersionFile (line 34) | func readDebianVersionFile(resolver file.Resolver, location file.Locatio... FILE: syft/pkg/alpm.go constant AlpmDBGlob (line 14) | AlpmDBGlob = "**/var/lib/pacman/local/**/desc" type AlpmDBEntry (line 17) | type AlpmDBEntry struct method OwnedFiles (line 88) | func (m AlpmDBEntry) OwnedFiles() (result []string) { type AlpmFileRecord (line 62) | type AlpmFileRecord struct FILE: syft/pkg/apk.go constant ApkDBGlob (line 16) | ApkDBGlob = "**/lib/apk/db/installed" type ApkDBEntry (line 25) | type ApkDBEntry struct method UnmarshalJSON (line 72) | func (m *ApkDBEntry) UnmarshalJSON(data []byte) error { method OwnedFiles (line 142) | func (m ApkDBEntry) OwnedFiles() (result []string) { type spaceDelimitedStringSlice (line 70) | type spaceDelimitedStringSlice method UnmarshalJSON (line 91) | func (a *spaceDelimitedStringSlice) UnmarshalJSON(data []byte) error { type ApkFileRecord (line 125) | type ApkFileRecord struct FILE: syft/pkg/apk_test.go function TestApkMetadata_UnmarshalJSON (line 11) | func TestApkMetadata_UnmarshalJSON(t *testing.T) { function TestSpaceDelimitedStringSlice_UnmarshalJSON (line 125) | func TestSpaceDelimitedStringSlice_UnmarshalJSON(t *testing.T) { FILE: syft/pkg/binary.go type BinarySignature (line 6) | type BinarySignature struct type ClassifierMatch (line 11) | type ClassifierMatch struct type ELFBinaryPackageNoteJSONPayload (line 17) | type ELFBinaryPackageNoteJSONPayload struct type PEBinary (line 57) | type PEBinary struct FILE: syft/pkg/bitnami.go type BitnamiSBOMEntry (line 5) | type BitnamiSBOMEntry struct method OwnedFiles (line 28) | func (b BitnamiSBOMEntry) OwnedFiles() (result []string) { FILE: syft/pkg/cataloger.go type Cataloger (line 13) | type Cataloger interface FILE: syft/pkg/cataloger/ai/cataloger.go constant catalogerName (line 13) | catalogerName = "gguf-cataloger" constant ggufLayerMediaType (line 14) | ggufLayerMediaType = "application/vnd.docker.ai*" function NewGGUFCataloger (line 20) | func NewGGUFCataloger() pkg.Cataloger { FILE: syft/pkg/cataloger/ai/cataloger_test.go function TestGGUFCataloger_Globs (line 13) | func TestGGUFCataloger_Globs(t *testing.T) { function TestGGUFCataloger (line 38) | func TestGGUFCataloger(t *testing.T) { FILE: syft/pkg/cataloger/ai/package.go function newGGUFPackage (line 8) | func newGGUFPackage(metadata *pkg.GGUFFileHeader, modelName, version, li... FILE: syft/pkg/cataloger/ai/package_test.go function TestNewGGUFPackage (line 13) | func TestNewGGUFPackage(t *testing.T) { FILE: syft/pkg/cataloger/ai/parse_gguf.go constant ggufMagicNumber (line 13) | ggufMagicNumber = 0x46554747 constant maxHeaderSize (line 14) | maxHeaderSize = 50 * 1024 * 1024 function copyHeader (line 20) | func copyHeader(w io.Writer, r io.Reader) error { function convertGGUFMetadataKVs (line 49) | func convertGGUFMetadataKVs(kvs gguf_parser.GGUFMetadataKVs) map[string]... FILE: syft/pkg/cataloger/ai/parse_gguf_model.go function parseGGUFModel (line 27) | func parseGGUFModel(ctx context.Context, _ file.Resolver, _ *generic.Env... function computeKVMetadataHash (line 93) | func computeKVMetadataHash(metadata gguf_parser.GGUFMetadataKVs) string { function extractVersion (line 114) | func extractVersion(kvs gguf_parser.GGUFMetadataKVs) string { function extractModelNameFromPath (line 126) | func extractModelNameFromPath(path string) string { FILE: syft/pkg/cataloger/ai/processor.go function ggufMergeProcessor (line 13) | func ggufMergeProcessor(pkgs []pkg.Package, rels []artifact.Relationship... FILE: syft/pkg/cataloger/ai/processor_test.go function Test_ggufMergeProcessor (line 12) | func Test_ggufMergeProcessor(t *testing.T) { FILE: syft/pkg/cataloger/ai/test_helpers_test.go constant ggufMagic (line 11) | ggufMagic = 0x46554747 constant ggufTypeUint8 (line 12) | ggufTypeUint8 = 0 constant ggufTypeInt8 (line 13) | ggufTypeInt8 = 1 constant ggufTypeUint16 (line 14) | ggufTypeUint16 = 2 constant ggufTypeInt16 (line 15) | ggufTypeInt16 = 3 constant ggufTypeUint32 (line 16) | ggufTypeUint32 = 4 constant ggufTypeInt32 (line 17) | ggufTypeInt32 = 5 constant ggufTypeFloat32 (line 18) | ggufTypeFloat32 = 6 constant ggufTypeBool (line 19) | ggufTypeBool = 7 constant ggufTypeString (line 20) | ggufTypeString = 8 constant ggufTypeArray (line 21) | ggufTypeArray = 9 constant ggufTypeUint64 (line 22) | ggufTypeUint64 = 10 constant ggufTypeInt64 (line 23) | ggufTypeInt64 = 11 constant ggufTypeFloat64 (line 24) | ggufTypeFloat64 = 12 type testGGUFBuilder (line 28) | type testGGUFBuilder struct method withVersion (line 50) | func (b *testGGUFBuilder) withVersion(v uint32) *testGGUFBuilder { method withTensorCount (line 55) | func (b *testGGUFBuilder) withTensorCount(count uint64) *testGGUFBuild... method withStringKV (line 60) | func (b *testGGUFBuilder) withStringKV(key, value string) *testGGUFBui... method withUint64KV (line 65) | func (b *testGGUFBuilder) withUint64KV(key string, value uint64) *test... method withUint32KV (line 70) | func (b *testGGUFBuilder) withUint32KV(key string, value uint32) *test... method writeString (line 75) | func (b *testGGUFBuilder) writeString(s string) { method build (line 80) | func (b *testGGUFBuilder) build() []byte { method buildInvalidMagic (line 124) | func (b *testGGUFBuilder) buildInvalidMagic() []byte { type testKVPair (line 35) | type testKVPair struct function newTestGGUFBuilder (line 41) | func newTestGGUFBuilder() *testGGUFBuilder { FILE: syft/pkg/cataloger/alpine/cataloger.go function NewDBCataloger (line 13) | func NewDBCataloger() pkg.Cataloger { FILE: syft/pkg/cataloger/alpine/cataloger_test.go function TestApkDBCataloger (line 16) | func TestApkDBCataloger(t *testing.T) { function Test_corruptDb (line 194) | func Test_corruptDb(t *testing.T) { function TestCatalogerDependencyTree (line 202) | func TestCatalogerDependencyTree(t *testing.T) { function TestCataloger_Globs (line 248) | func TestCataloger_Globs(t *testing.T) { FILE: syft/pkg/cataloger/alpine/dependency.go function dbEntryDependencySpecifier (line 14) | func dbEntryDependencySpecifier(p pkg.Package) dependency.Specification { function stripVersionSpecifiers (line 32) | func stripVersionSpecifiers(given []string) []string { function stripVersionSpecifier (line 44) | func stripVersionSpecifier(s string) string { FILE: syft/pkg/cataloger/alpine/dependency_test.go function Test_dbEntryDependencySpecifier (line 12) | func Test_dbEntryDependencySpecifier(t *testing.T) { function Test_stripVersionSpecifier (line 74) | func Test_stripVersionSpecifier(t *testing.T) { FILE: syft/pkg/cataloger/alpine/package.go function newPackage (line 14) | func newPackage(ctx context.Context, d parsedData, release *linux.Releas... function packageURL (line 39) | func packageURL(m pkg.ApkDBEntry, distro *linux.Release) string { FILE: syft/pkg/cataloger/alpine/package_test.go function Test_PackageURL (line 15) | func Test_PackageURL(t *testing.T) { function TestApkMetadata_FileOwner (line 172) | func TestApkMetadata_FileOwner(t *testing.T) { FILE: syft/pkg/cataloger/alpine/parse_apk_db.go type parsedData (line 30) | type parsedData struct function parseApkDB (line 39) | func parseApkDB(ctx context.Context, resolver file.Resolver, env *generi... function findReleases (line 141) | func findReleases(resolver file.Resolver, dbPath string) []linux.Release { function parseReleasesFromAPKRepository (line 171) | func parseReleasesFromAPKRepository(reader file.LocationReadCloser) []li... function parseApkField (line 194) | func parseApkField(line string) *apkField { type apkField (line 208) | type apkField struct method apply (line 214) | func (f apkField) apply(p *parsedData, ctx *apkFileParsingContext) { function processFileInfo (line 317) | func processFileInfo(v string) (uid, gid, perms string, ok bool) { type apkFileParsingContext (line 337) | type apkFileParsingContext struct function newApkFileParsingContext (line 343) | func newApkFileParsingContext() *apkFileParsingContext { function parseListValue (line 351) | func parseListValue(value string) []string { function nilFieldsToEmptySlice (line 360) | func nilFieldsToEmptySlice(p *parsedData) { function processChecksum (line 374) | func processChecksum(value string) *file.Digest { FILE: syft/pkg/cataloger/alpine/parse_apk_db_test.go function TestExtraFileAttributes (line 22) | func TestExtraFileAttributes(t *testing.T) { function TestSinglePackageDetails (line 78) | func TestSinglePackageDetails(t *testing.T) { function Test_processChecksum (line 691) | func Test_processChecksum(t *testing.T) { function Test_parseApkDB_expectedPkgNames (line 722) | func Test_parseApkDB_expectedPkgNames(t *testing.T) { function toPackageNames (line 791) | func toPackageNames(pkgs []pkg.Package) []string { function newLocationReadCloser (line 800) | func newLocationReadCloser(t *testing.T, path string) file.LocationReadC... function TestParseReleasesFromAPKRepository (line 808) | func TestParseReleasesFromAPKRepository(t *testing.T) { FILE: syft/pkg/cataloger/arch/cataloger.go function NewDBCataloger (line 13) | func NewDBCataloger() pkg.Cataloger { FILE: syft/pkg/cataloger/arch/cataloger_test.go function TestAlpmUnknowns (line 15) | func TestAlpmUnknowns(t *testing.T) { function TestAlpmCataloger (line 23) | func TestAlpmCataloger(t *testing.T) { function TestCataloger_Globs (line 314) | func TestCataloger_Globs(t *testing.T) { FILE: syft/pkg/cataloger/arch/dependency.go function dbEntryDependencySpecifier (line 13) | func dbEntryDependencySpecifier(p pkg.Package) dependency.Specification { function stripVersionSpecifier (line 44) | func stripVersionSpecifier(s string) string { FILE: syft/pkg/cataloger/arch/dependency_test.go function Test_dbEntryDependencySpecifier (line 12) | func Test_dbEntryDependencySpecifier(t *testing.T) { function Test_stripVersionSpecifier (line 74) | func Test_stripVersionSpecifier(t *testing.T) { FILE: syft/pkg/cataloger/arch/package.go function newPackage (line 13) | func newPackage(ctx context.Context, m *parsedData, release *linux.Relea... function packageURL (line 33) | func packageURL(m *parsedData, distro *linux.Release) string { FILE: syft/pkg/cataloger/arch/package_test.go function Test_PackageURL (line 13) | func Test_PackageURL(t *testing.T) { FILE: syft/pkg/cataloger/arch/parse_alpm_db.go type parsedData (line 38) | type parsedData struct function parseAlpmDB (line 44) | func parseAlpmDB(ctx context.Context, resolver file.Resolver, env *gener... function fetchPkgFiles (line 90) | func fetchPkgFiles(base string, resolver file.Resolver) ([]pkg.AlpmFileR... function fetchBackupFiles (line 113) | func fetchBackupFiles(base string, resolver file.Resolver) ([]pkg.AlpmFi... function parseAlpmDBEntry (line 139) | func parseAlpmDBEntry(reader io.Reader) (*parsedData, error) { function newScanner (line 148) | func newScanner(reader io.Reader) *bufio.Scanner { function getLocation (line 172) | func getLocation(path string, resolver file.Resolver) (file.Location, er... function parseDatabase (line 189) | func parseDatabase(b *bufio.Scanner) (*parsedData, error) { function processLibrarySpecs (line 247) | func processLibrarySpecs(value string) []string { function parsePkgFiles (line 260) | func parsePkgFiles(pkgFields map[string]interface{}) (*parsedData, error) { function parseMtree (line 280) | func parseMtree(r io.Reader) ([]pkg.AlpmFileRecord, error) { FILE: syft/pkg/cataloger/arch/parse_alpm_db_test.go function TestDatabaseParser (line 16) | func TestDatabaseParser(t *testing.T) { function parseTime (line 158) | func parseTime(stime string) time.Time { function TestMtreeParse (line 163) | func TestMtreeParse(t *testing.T) { FILE: syft/pkg/cataloger/binary/classifier_cataloger.go constant catalogerName (line 19) | catalogerName = "binary-classifier-cataloger" type ClassifierCatalogerConfig (line 21) | type ClassifierCatalogerConfig struct method MarshalJSON (line 37) | func (cfg ClassifierCatalogerConfig) MarshalJSON() ([]byte, error) { function DefaultClassifierCatalogerConfig (line 25) | func DefaultClassifierCatalogerConfig() ClassifierCatalogerConfig { function NewClassifierCataloger (line 31) | func NewClassifierCataloger(cfg ClassifierCatalogerConfig) pkg.Cataloger { type cataloger (line 51) | type cataloger struct method Name (line 56) | func (c cataloger) Name() string { method Catalog (line 62) | func (c cataloger) Catalog(_ context.Context, resolver file.Resolver) ... function mergePackages (line 104) | func mergePackages(target *pkg.Package, extra *pkg.Package) { function catalog (line 136) | func catalog(resolver file.Resolver, cls binutils.Classifier) (packages ... function packagesMatch (line 155) | func packagesMatch(p1 *pkg.Package, p2 *pkg.Package) bool { FILE: syft/pkg/cataloger/binary/classifier_cataloger_test.go function Test_Cataloger_PositiveCases (line 32) | func Test_Cataloger_PositiveCases(t *testing.T) { function Test_Cataloger_DefaultClassifiers_PositiveCases_Image (line 1973) | func Test_Cataloger_DefaultClassifiers_PositiveCases_Image(t *testing.T) { function TestClassifierCataloger_DefaultClassifiers_NegativeCases (line 2014) | func TestClassifierCataloger_DefaultClassifiers_NegativeCases(t *testing... function Test_Cataloger_CustomClassifiers (line 2028) | func Test_Cataloger_CustomClassifiers(t *testing.T) { function locations (line 2153) | func locations(locations ...string) file.LocationSet { function metadata (line 2162) | func metadata(classifier string, paths ...string) pkg.BinarySignature { function match (line 2171) | func match(classifier string, paths ...string) pkg.ClassifierMatch { function assertPackagesAreEqual (line 2191) | func assertPackagesAreEqual(t *testing.T, expected pkg.Package, p pkg.Pa... type panicyResolver (line 2245) | type panicyResolver struct method FilesByExtension (line 2249) | func (p *panicyResolver) FilesByExtension(_ ...string) ([]file.Locatio... method FilesByBasename (line 2254) | func (p *panicyResolver) FilesByBasename(_ ...string) ([]file.Location... method FilesByBasenameGlob (line 2259) | func (p *panicyResolver) FilesByBasenameGlob(_ ...string) ([]file.Loca... method FileContentsByLocation (line 2264) | func (p *panicyResolver) FileContentsByLocation(_ file.Location) (io.R... method HasPath (line 2269) | func (p *panicyResolver) HasPath(_ string) bool { method FilesByPath (line 2273) | func (p *panicyResolver) FilesByPath(_ ...string) ([]file.Location, er... method FilesByGlob (line 2278) | func (p *panicyResolver) FilesByGlob(_ ...string) ([]file.Location, er... method FilesByMIMEType (line 2283) | func (p *panicyResolver) FilesByMIMEType(_ ...string) ([]file.Location... method FilesByMediaType (line 2288) | func (p *panicyResolver) FilesByMediaType(_ ...string) ([]file.Locatio... method RelativeFileByPath (line 2293) | func (p *panicyResolver) RelativeFileByPath(_ file.Location, _ string)... method AllLocations (line 2297) | func (p *panicyResolver) AllLocations(_ context.Context) <-chan file.L... method FileMetadataByLocation (line 2301) | func (p *panicyResolver) FileMetadataByLocation(_ file.Location) (file... function Test_Cataloger_ResilientToErrors (line 2307) | func Test_Cataloger_ResilientToErrors(t *testing.T) { function TestCatalogerConfig_MarshalJSON (line 2316) | func TestCatalogerConfig_MarshalJSON(t *testing.T) { FILE: syft/pkg/cataloger/binary/classifiers.go function DefaultClassifiers (line 15) | func DefaultClassifiers() []binutils.Classifier { function singleCPE (line 845) | func singleCPE(cpeString string, source ...cpe.Source) []cpe.CPE { function mustPURL (line 855) | func mustPURL(purl string) packageurl.PackageURL { FILE: syft/pkg/cataloger/binary/classifiers_java.go function defaultJavaClassifiers (line 9) | func defaultJavaClassifiers() []binutils.Classifier { FILE: syft/pkg/cataloger/binary/classifiers_java_test.go function Test_JavaBinaryImage (line 9) | func Test_JavaBinaryImage(t *testing.T) { FILE: syft/pkg/cataloger/binary/deprecated.go function FileContentsVersionMatcher (line 14) | func FileContentsVersionMatcher( FILE: syft/pkg/cataloger/binary/elf_package.go function newELFPackage (line 13) | func newELFPackage(ctx context.Context, metadata elfBinaryPackageNotes, ... function elfPackageURL (line 29) | func elfPackageURL(metadata elfBinaryPackageNotes) string { function osNameAndVersionFromMetadata (line 63) | func osNameAndVersionFromMetadata(metadata elfBinaryPackageNotes) (strin... constant alpmType (line 87) | alpmType = "alpm" function purlDistroType (line 89) | func purlDistroType(ty string) string { function pkgType (line 103) | func pkgType(ty string) pkg.Type { FILE: syft/pkg/cataloger/binary/elf_package_cataloger.go type elfPackageCataloger (line 23) | type elfPackageCataloger struct method Name (line 54) | func (c *elfPackageCataloger) Name() string { method Catalog (line 58) | func (c *elfPackageCataloger) Catalog(ctx context.Context, resolver fi... method parseElfNotes (line 130) | func (c *elfPackageCataloger) parseElfNotes(reader file.LocationReadCl... type elfBinaryPackageNotes (line 30) | type elfBinaryPackageNotes struct type elfPackageKey (line 43) | type elfPackageKey struct function NewELFPackageCataloger (line 50) | func NewELFPackageCataloger() pkg.Cataloger { function parseElfPackageNotes (line 99) | func parseElfPackageNotes(resolver file.Resolver, location file.Location... function getELFNotes (line 143) | func getELFNotes(r file.LocationReadCloser) (*elfBinaryPackageNotes, err... function unmarshalELFPackageNotesPayload (line 192) | func unmarshalELFPackageNotesPayload(data []byte) (*elfBinaryPackageNote... type elf64SectionHeader (line 207) | type elf64SectionHeader struct FILE: syft/pkg/cataloger/binary/elf_package_cataloger_test.go function Test_ELFPackageCataloger (line 14) | func Test_ELFPackageCataloger(t *testing.T) { function Test_unmarshalELFPackageNotesPayload (line 154) | func Test_unmarshalELFPackageNotesPayload(t *testing.T) { FILE: syft/pkg/cataloger/binary/elf_package_test.go function Test_packageURL (line 15) | func Test_packageURL(t *testing.T) { function Test_newELFPackage (line 138) | func Test_newELFPackage(t *testing.T) { FILE: syft/pkg/cataloger/binary/internal/manager/internal/cli/cli.go function New (line 22) | func New() (*cobra.Command, error) { FILE: syft/pkg/cataloger/binary/internal/manager/internal/cli/commands/add_snippet.go function AddSnippet (line 17) | func AddSnippet(appConfig config.Application) *cobra.Command { function runAddSnippet (line 68) | func runAddSnippet(binaryPath, name, version, searchPattern string, leng... FILE: syft/pkg/cataloger/binary/internal/manager/internal/cli/commands/download.go function Download (line 12) | func Download(appConfig config.Application) *cobra.Command { function configsWithoutSnippets (line 63) | func configsWithoutSnippets(appConfig config.Application, configs []conf... FILE: syft/pkg/cataloger/binary/internal/manager/internal/cli/commands/list.go function List (line 15) | func List(appConfig config.Application) *cobra.Command { function runList (line 32) | func runList(appConfig config.Application, showPaths bool) error { constant yes (line 49) | yes = "yes" function renderCatalogerListTable (line 51) | func renderCatalogerListTable(material map[internal.LogicalEntryKey]inte... type displayState (line 104) | type displayState constant displayStateError (line 107) | displayStateError displayState = "error" constant displayStateWarning (line 108) | displayStateWarning displayState = "warning" function renderCell (line 117) | func renderCell(value string, state displayState, hints ...string) string { function displayPlatform (line 135) | func displayPlatform(platform string) string { FILE: syft/pkg/cataloger/binary/internal/manager/internal/cli/commands/root.go function Root (line 9) | func Root(_ config.Application) *cobra.Command { FILE: syft/pkg/cataloger/binary/internal/manager/internal/cli/commands/write_snippet.go function WriteSnippet (line 20) | func WriteSnippet(appConfig config.Application) *cobra.Command { function runWriteSnippet (line 64) | func runWriteSnippet(binaryPath string, offset, length int, snippetPath ... function getSnippetPath (line 127) | func getSnippetPath(appConfig config.Application, binaryPath string, nam... function inferInfoFromBinaryPath (line 145) | func inferInfoFromBinaryPath(appConfig config.Application, binaryPath st... function getPlatform (line 166) | func getPlatform(binaryPath string) (string, error) { constant amd64 (line 201) | amd64 = "amd64" constant arm64 (line 202) | arm64 = "arm64" function getPlatformElf (line 205) | func getPlatformElf(f *os.File) string { function getPlatformMac (line 225) | func getPlatformMac(f *os.File) string { function getPlatformWindows (line 245) | func getPlatformWindows(f *os.File) string { FILE: syft/pkg/cataloger/binary/internal/manager/internal/config/application.go constant Path (line 14) | Path = "config.yaml" type Application (line 16) | type Application struct method Validate (line 55) | func (c Application) Validate() error { method GetBinaryFromImage (line 104) | func (c Application) GetBinaryFromImage(name, version string) *BinaryF... method GetBinaryFromImageByPath (line 118) | func (c Application) GetBinaryFromImageByPath(storePath string) *Binar... function DefaultApplication (line 22) | func DefaultApplication() Application { function Read (line 28) | func Read() (*Application, error) { function read (line 32) | func read(path string) (*Application, error) { method Key (line 51) | func (c Image) Key() string { function splitFilepath (line 137) | func splitFilepath(path string) []string { FILE: syft/pkg/cataloger/binary/internal/manager/internal/config/application_test.go function TestReadAndValidate (line 10) | func TestReadAndValidate(t *testing.T) { FILE: syft/pkg/cataloger/binary/internal/manager/internal/config/binary_from_image.go type BinaryFromImage (line 12) | type BinaryFromImage struct method Key (line 25) | func (c BinaryFromImage) Key() string { method Name (line 29) | func (c BinaryFromImage) Name() string { method AllStorePaths (line 44) | func (c BinaryFromImage) AllStorePaths(dest string) []string { method AllStorePathsForImage (line 52) | func (c BinaryFromImage) AllStorePathsForImage(image Image, dest strin... method Digest (line 71) | func (c BinaryFromImage) Digest() string { type Image (line 20) | type Image struct function PlatformAsValue (line 67) | func PlatformAsValue(platform string) string { FILE: syft/pkg/cataloger/binary/internal/manager/internal/config/binary_from_image_test.go function TestKey (line 9) | func TestKey(t *testing.T) { function TestName (line 53) | func TestName(t *testing.T) { function TestAllStorePaths (line 97) | func TestAllStorePaths(t *testing.T) { function TestPlatformAsValue (line 141) | func TestPlatformAsValue(t *testing.T) { function TestDigest (line 161) | func TestDigest(t *testing.T) { FILE: syft/pkg/cataloger/binary/internal/manager/internal/download_from_image.go constant digestFileSuffix (line 18) | digestFileSuffix = ".xxh64" function DownloadFromImage (line 20) | func DownloadFromImage(dest string, config config.BinaryFromImage) error { function isDownloadStale (line 44) | func isDownloadStale(config config.BinaryFromImage, binaryPaths []string... function allPathsExist (line 69) | func allPathsExist(paths []string) bool { function pullDockerImages (line 78) | func pullDockerImages(images []config.Image) error { type imageInspect (line 87) | type imageInspect struct method Platform (line 92) | func (i imageInspect) Platform() string { function pullDockerImage (line 96) | func pullDockerImage(imageReference, platform string) error { function checkArchitecturesMatch (line 129) | func checkArchitecturesMatch(imageReference, platform string) (bool, str... function platformFromImageInspect (line 151) | func platformFromImageInspect(imageReference string) (string, error) { type manifestList (line 170) | type manifestList struct type manifestEntry (line 174) | type manifestEntry struct type manifestPlatform (line 178) | type manifestPlatform struct function platformInManifest (line 187) | func platformInManifest(imageReference, wantPlatform string) (bool, erro... function copyBinariesFromDockerImages (line 209) | func copyBinariesFromDockerImages(config config.BinaryFromImage, destina... function copyBinariesFromDockerImage (line 219) | func copyBinariesFromDockerImage(config config.BinaryFromImage, destinat... function copyBinaryFromContainer (line 248) | func copyBinaryFromContainer(containerName, containerPath, destinationPa... FILE: syft/pkg/cataloger/binary/internal/manager/internal/download_from_image_test.go function TestIsDownloadStale (line 14) | func TestIsDownloadStale(t *testing.T) { FILE: syft/pkg/cataloger/binary/internal/manager/internal/list_entries.go type Entries (line 17) | type Entries method BinaryFromImageHasSnippet (line 188) | func (e Entries) BinaryFromImageHasSnippet(cfg config.BinaryFromImage)... method Sorted (line 203) | func (e Entries) Sorted() iter.Seq2[LogicalEntryKey, EntryInfo] { type EntryInfo (line 19) | type EntryInfo struct type LogicalEntryKey (line 25) | type LogicalEntryKey struct method Path (line 32) | func (k LogicalEntryKey) Path() string { type LogicalEntryKeys (line 36) | type LogicalEntryKeys method Len (line 38) | func (l LogicalEntryKeys) Len() int { method Less (line 42) | func (l LogicalEntryKeys) Less(i, j int) bool { method Swap (line 55) | func (l LogicalEntryKeys) Swap(i, j int) { function NewLogicalEntryKeys (line 59) | func NewLogicalEntryKeys(m map[LogicalEntryKey]EntryInfo) LogicalEntryKe... function ListAllBinaries (line 68) | func ListAllBinaries(appConfig config.Application) (Entries, error) { function ListAllEntries (line 96) | func ListAllEntries(appConfig config.Application) (Entries, error) { function newLogicalEntryForImage (line 149) | func newLogicalEntryForImage(cfg config.BinaryFromImage, image config.Im... function getLogicalKey (line 158) | func getLogicalKey(managedBinaryPath string) (*LogicalEntryKey, error) { function allFilePaths (line 174) | func allFilePaths(root string) ([]string, error) { FILE: syft/pkg/cataloger/binary/internal/manager/internal/list_entries_test.go function TestSortingLogicalEntryKeys (line 14) | func TestSortingLogicalEntryKeys(t *testing.T) { function TestListAllBinaries (line 34) | func TestListAllBinaries(t *testing.T) { function TestListAllEntries (line 75) | func TestListAllEntries(t *testing.T) { FILE: syft/pkg/cataloger/binary/internal/manager/internal/snippet_metadata.go type SnippetMetadata (line 11) | type SnippetMetadata struct function ReadSnippetMetadata (line 19) | func ReadSnippetMetadata(path string) (*SnippetMetadata, error) { FILE: syft/pkg/cataloger/binary/internal/manager/internal/snippet_metadata_test.go function TestReadSnippetMetadata (line 11) | func TestReadSnippetMetadata(t *testing.T) { function createTestFile (line 60) | func createTestFile(t *testing.T, content string) string { FILE: syft/pkg/cataloger/binary/internal/manager/internal/ui/action.go type Action (line 10) | type Action struct method Start (line 14) | func (a Action) Start() { method Skip (line 18) | func (a Action) Skip(newMsg ...string) { method Done (line 30) | func (a Action) Done(err error) { function formatSkip (line 48) | func formatSkip(msg string) { FILE: syft/pkg/cataloger/binary/internal/manager/internal/ui/ansi.go constant grey (line 6) | grey = "\033[90m" constant reset (line 7) | reset = "\033[0m" constant bold (line 8) | bold = "\033[1m" constant red (line 9) | red = "\033[31m" constant italic (line 10) | italic = "\033[3m" constant purple (line 11) | purple = "\033[95m" constant green (line 12) | green = "\033[32m" function goToPreviousLineStart (line 15) | func goToPreviousLineStart() { FILE: syft/pkg/cataloger/binary/internal/manager/internal/ui/binary_list.go type item (line 14) | type item method Title (line 16) | func (i item) Title() string { return string(i) } method Description (line 17) | func (i item) Description() string { return "" } method FilterValue (line 18) | func (i item) FilterValue() string { return string(i) } type model (line 20) | type model struct method Init (line 69) | func (m model) Init() tea.Cmd { method Update (line 73) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 100) | func (m model) View() string { function PromptSelectBinary (line 26) | func PromptSelectBinary(binaryPaths []string) (string, error) { FILE: syft/pkg/cataloger/binary/internal/manager/internal/ui/error.go function RenderError (line 5) | func RenderError(err error) string { FILE: syft/pkg/cataloger/binary/internal/manager/internal/ui/title.go type Title (line 8) | type Title struct method Start (line 12) | func (t Title) Start() { method start (line 17) | func (t Title) start() { method Update (line 21) | func (t Title) Update(msg string) { method Skip (line 28) | func (t Title) Skip(msg string) { FILE: syft/pkg/cataloger/binary/internal/manager/internal/utils.go function SplitFilepath (line 11) | func SplitFilepath(path string) []string { function Sha256SumFile (line 15) | func Sha256SumFile(f io.ReadSeeker) (string, error) { function Sha256SumBytes (line 29) | func Sha256SumBytes(buf []byte) string { FILE: syft/pkg/cataloger/binary/internal/manager/internal/utils_test.go function TestSplitFilepath (line 11) | func TestSplitFilepath(t *testing.T) { function TestSha256SumFile (line 25) | func TestSha256SumFile(t *testing.T) { function TestSha256SumBytes (line 36) | func TestSha256SumBytes(t *testing.T) { FILE: syft/pkg/cataloger/binary/internal/manager/main.go function main (line 11) | func main() { function exit (line 22) | func exit(err error) { FILE: syft/pkg/cataloger/binary/internal/manager/testutil/snippet_or_binary.go function SnippetOrBinary (line 21) | func SnippetOrBinary(t *testing.T, path string, requireBinary bool) stri... function validateSnippet (line 84) | func validateSnippet(binaryPath, snippetPath string) error { FILE: syft/pkg/cataloger/binary/internal/manager/testutil/snippet_or_binary_test.go function TestValidateSnippet (line 10) | func TestValidateSnippet(t *testing.T) { FILE: syft/pkg/cataloger/binary/pe_package.go function newPEPackage (line 20) | func newPEPackage(versionResources map[string]string, f file.Location) p... function newPEBinaryVersionResourcesFromMap (line 54) | func newPEBinaryVersionResourcesFromMap(vr map[string]string) pkg.PEBina... function findNameFromVR (line 75) | func findNameFromVR(versionResources map[string]string) string { function isMicrosoftVR (line 96) | func isMicrosoftVR(versionResources map[string]string) bool { function spaceNormalize (line 102) | func spaceNormalize(value string) string { function findVersionFromVR (line 119) | func findVersionFromVR(versionResources map[string]string) string { function extractVersionFromResourcesValue (line 130) | func extractVersionFromResourcesValue(version string) string { function containsNumber (line 146) | func containsNumber(s string) bool { FILE: syft/pkg/cataloger/binary/pe_package_cataloger.go function NewPEPackageCataloger (line 16) | func NewPEPackageCataloger() pkg.Cataloger { function parsePE (line 21) | func parsePE(_ context.Context, _ file.Resolver, _ *generic.Environment,... FILE: syft/pkg/cataloger/binary/pe_package_cataloger_test.go function Test_PEPackageCataloger (line 13) | func Test_PEPackageCataloger(t *testing.T) { FILE: syft/pkg/cataloger/binary/pe_package_test.go function TestGhostscriptPEGeneratesGenericPURL (line 9) | func TestGhostscriptPEGeneratesGenericPURL(t *testing.T) { FILE: syft/pkg/cataloger/binary/testdata/elf-testdata/elfbinwithcorrupt/elfsrc/hello_world.cpp function print_hello_world (line 4) | void print_hello_world() { FILE: syft/pkg/cataloger/binary/testdata/elf-testdata/elfbinwithcorrupt/elfsrc/testbin.cpp function main (line 3) | int main() { FILE: syft/pkg/cataloger/binary/testdata/elf-testdata/elfbinwithnestedlib/elfsrc/hello_world.cpp function print_hello_world (line 4) | void print_hello_world() { FILE: syft/pkg/cataloger/binary/testdata/elf-testdata/elfbinwithnestedlib/elfsrc/testbin.cpp function main (line 3) | int main() { FILE: syft/pkg/cataloger/binary/testdata/elf-testdata/elfbinwithsisterlib/elfsrc1/hello_world.cpp function print_hello_world (line 4) | void print_hello_world() { FILE: syft/pkg/cataloger/binary/testdata/elf-testdata/elfbinwithsisterlib/elfsrc1/testbin.cpp function main (line 3) | int main() { FILE: syft/pkg/cataloger/binary/testdata/elf-testdata/elfbinwithsisterlib/elfsrc2/hello_world2.cpp function print_hello_world (line 4) | void print_hello_world() { FILE: syft/pkg/cataloger/binary/testdata/elf-testdata/elfbinwithsisterlib/elfsrc2/testbin2.cpp function main (line 3) | int main() { FILE: syft/pkg/cataloger/bitnami/cataloger.go constant catalogerName (line 19) | catalogerName = "bitnami-cataloger" function NewCataloger (line 22) | func NewCataloger() pkg.Cataloger { function parseSBOM (line 32) | func parseSBOM(_ context.Context, resolver file.Resolver, _ *generic.Env... function filterRelationships (line 114) | func filterRelationships(relationships []artifact.Relationship, pkgs []p... function findMainPkgID (line 151) | func findMainPkgID(relationships []artifact.Relationship) artifact.ID { FILE: syft/pkg/cataloger/bitnami/cataloger_test.go function mustCPEs (line 17) | func mustCPEs(s ...string) (c []cpe.CPE) { function TestBitnamiCataloger (line 26) | func TestBitnamiCataloger(t *testing.T) { FILE: syft/pkg/cataloger/bitnami/package.go function parseBitnamiPURL (line 18) | func parseBitnamiPURL(p string) (*pkg.BitnamiSBOMEntry, error) { function packageFiles (line 49) | func packageFiles(relationships []artifact.Relationship, p pkg.Package, ... function mainPkgFiles (line 75) | func mainPkgFiles(resolver file.Resolver, spdxFilePath string, secondary... FILE: syft/pkg/cataloger/bitnami/package_test.go function Test_parseBitnamiPURL (line 10) | func Test_parseBitnamiPURL(t *testing.T) { FILE: syft/pkg/cataloger/bitnami/parse_components.go type componentEntry (line 18) | type componentEntry struct function parseComponentsJSON (line 26) | func parseComponentsJSON(_ context.Context, _ file.Resolver, _ *generic.... function parseVersionRevision (line 93) | func parseVersionRevision(fullVersion string) (version, revision string) { FILE: syft/pkg/cataloger/capabilities.go function init (line 12) | func init() { FILE: syft/pkg/cataloger/common/cpe/create.go function Generate (line 9) | func Generate(p pkg.Package) []cpe.CPE { function DictionaryFind (line 13) | func DictionaryFind(p pkg.Package) ([]cpe.CPE, bool) { FILE: syft/pkg/cataloger/common/cpe/target_software_to_pkg_type.go function TargetSoftwareToPackageType (line 11) | func TargetSoftwareToPackageType(tsw string) pkg.Type { FILE: syft/pkg/cataloger/conda/cataloger.go function NewCondaMetaCataloger (line 18) | func NewCondaMetaCataloger() pkg.Cataloger { function parseCondaMetaJSON (line 23) | func parseCondaMetaJSON(ctx context.Context, _ file.Resolver, _ *generic... FILE: syft/pkg/cataloger/conda/cataloger_test.go function Test_CondaCataloger (line 16) | func Test_CondaCataloger(t *testing.T) { function TestCondaMetaPackageMetadata_FileOwner (line 217) | func TestCondaMetaPackageMetadata_FileOwner(t *testing.T) { FILE: syft/pkg/cataloger/cpp/cataloger.go function NewConanCataloger (line 12) | func NewConanCataloger() pkg.Cataloger { function NewConanInfoCataloger (line 19) | func NewConanInfoCataloger() pkg.Cataloger { FILE: syft/pkg/cataloger/cpp/cataloger_test.go function TestCataloger_Globs (line 9) | func TestCataloger_Globs(t *testing.T) { function TestCatalogerInfo_Globs (line 35) | func TestCatalogerInfo_Globs(t *testing.T) { FILE: syft/pkg/cataloger/cpp/package.go type conanRef (line 11) | type conanRef struct function splitConanRef (line 21) | func splitConanRef(ref string) *conanRef { function newConanfilePackage (line 69) | func newConanfilePackage(m pkg.ConanfileEntry, locations ...file.Locatio... function newConanlockPackage (line 73) | func newConanlockPackage(m pkg.ConanV1LockEntry, locations ...file.Locat... function newConanReferencePackage (line 77) | func newConanReferencePackage(m pkg.ConanV2LockEntry, locations ...file.... function newConaninfoPackage (line 81) | func newConaninfoPackage(m pkg.ConaninfoEntry, locations ...file.Locatio... function newConanPackage (line 85) | func newConanPackage(refStr string, metadata any, locations ...file.Loca... function packageURL (line 106) | func packageURL(ref *conanRef) string { FILE: syft/pkg/cataloger/cpp/parse_conanfile.go function parseConanfile (line 21) | func parseConanfile(_ context.Context, _ file.Resolver, _ *generic.Envir... FILE: syft/pkg/cataloger/cpp/parse_conanfile_test.go function TestParseConanfile (line 12) | func TestParseConanfile(t *testing.T) { FILE: syft/pkg/cataloger/cpp/parse_conaninfo.go function parseConanMetadataFromFilePath (line 20) | func parseConanMetadataFromFilePath(path string) (pkg.ConaninfoEntry, er... function getRelationships (line 36) | func getRelationships(pkgs []pkg.Package, mainPackageRef pkg.Package) []... function parseFullRequiresLine (line 49) | func parseFullRequiresLine(line string, reader file.LocationReadCloser, ... function parseConaninfo (line 82) | func parseConaninfo(_ context.Context, _ file.Resolver, _ *generic.Envir... FILE: syft/pkg/cataloger/cpp/parse_conaninfo_test.go function TestParseConaninfo (line 12) | func TestParseConaninfo(t *testing.T) { FILE: syft/pkg/cataloger/cpp/parse_conanlock.go type conanLock (line 17) | type conanLock struct function parseConanLock (line 40) | func parseConanLock(_ context.Context, _ file.Resolver, _ *generic.Envir... function handleConanLockV1 (line 80) | func handleConanLockV1(cl conanLock, reader file.LocationReadCloser, par... function handleConanLockV2 (line 108) | func handleConanLockV2(cl conanLock, reader file.LocationReadCloser, ind... function parseOptions (line 130) | func parseOptions(options string) []pkg.KeyValue { function parseConanV2Reference (line 150) | func parseConanV2Reference(ref string) (pkg.ConanV2LockEntry, string) { FILE: syft/pkg/cataloger/cpp/parse_conanlock_test.go function TestParseConanLock (line 12) | func TestParseConanLock(t *testing.T) { function TestParseConanLockV2 (line 336) | func TestParseConanLockV2(t *testing.T) { function Test_corruptConanlock (line 377) | func Test_corruptConanlock(t *testing.T) { FILE: syft/pkg/cataloger/dart/cataloger.go function NewPubspecLockCataloger (line 12) | func NewPubspecLockCataloger() pkg.Cataloger { function NewPubspecCataloger (line 18) | func NewPubspecCataloger() pkg.Cataloger { FILE: syft/pkg/cataloger/dart/cataloger_test.go function TestPubspecLockCataloger_Globs (line 9) | func TestPubspecLockCataloger_Globs(t *testing.T) { function TestPubspecCataloger_Globs (line 34) | func TestPubspecCataloger_Globs(t *testing.T) { FILE: syft/pkg/cataloger/dart/package.go function newPubspecLockPackage (line 12) | func newPubspecLockPackage(name string, raw pubspecLockPackage, location... function newPubspecPackage (line 35) | func newPubspecPackage(ctx context.Context, resolver file.Resolver, raw ... function packageURLFromPubspecLock (line 69) | func packageURLFromPubspecLock(m pkg.DartPubspecLockEntry) string { function packageURLFromPubspec (line 94) | func packageURLFromPubspec(name, version string) string { FILE: syft/pkg/cataloger/dart/parse_pubspec.go type pubspecPackage (line 15) | type pubspecPackage struct type dartPubspecEnvironment (line 27) | type dartPubspecEnvironment struct function parsePubspec (line 32) | func parsePubspec(ctx context.Context, resolver file.Resolver, _ *generi... FILE: syft/pkg/cataloger/dart/parse_pubspec_lock.go constant defaultPubRegistry (line 22) | defaultPubRegistry string = "https://pub.dartlang.org" type pubspecLock (line 24) | type pubspecLock struct method getSdkVersion (line 128) | func (psl *pubspecLock) getSdkVersion(sdk string) (string, error) { type pubspecLockPackage (line 29) | type pubspecLockPackage struct method getVcsURL (line 174) | func (p *pubspecLockPackage) getVcsURL() string { method getHostedURL (line 186) | func (p *pubspecLockPackage) getHostedURL() string { type pubspecLockDescription (line 36) | type pubspecLockDescription struct method UnmarshalYAML (line 44) | func (p *pubspecLockDescription) UnmarshalYAML(value *yaml.Node) error { function parsePubspecLock (line 61) | func parsePubspecLock(_ context.Context, _ file.Resolver, _ *generic.Env... function parseMinimumSdkVersion (line 161) | func parseMinimumSdkVersion(constraint string) (string, error) { FILE: syft/pkg/cataloger/dart/parse_pubspec_lock_test.go function TestParsePubspecLock (line 14) | func TestParsePubspecLock(t *testing.T) { function Test_corruptPubspecLock (line 123) | func Test_corruptPubspecLock(t *testing.T) { function Test_missingSdkEntryPubspecLock (line 130) | func Test_missingSdkEntryPubspecLock(t *testing.T) { function Test_invalidSdkEntryPubspecLock (line 157) | func Test_invalidSdkEntryPubspecLock(t *testing.T) { function Test_sdkVersionLookup (line 184) | func Test_sdkVersionLookup(t *testing.T) { function Test_sdkVersionParser_valid (line 223) | func Test_sdkVersionParser_valid(t *testing.T) { function Test_sdkVersionParser_invalid (line 257) | func Test_sdkVersionParser_invalid(t *testing.T) { FILE: syft/pkg/cataloger/dart/parse_pubspec_test.go function TestParsePubspec (line 12) | func TestParsePubspec(t *testing.T) { FILE: syft/pkg/cataloger/debian/cataloger.go function NewDBCataloger (line 13) | func NewDBCataloger() pkg.Cataloger { function NewArchiveCataloger (line 22) | func NewArchiveCataloger() pkg.Cataloger { FILE: syft/pkg/cataloger/debian/cataloger_test.go function TestDpkgCataloger (line 15) | func TestDpkgCataloger(t *testing.T) { function Test_CatalogerRelationships (line 171) | func Test_CatalogerRelationships(t *testing.T) { function TestDpkgArchiveCataloger (line 229) | func TestDpkgArchiveCataloger(t *testing.T) { function TestCataloger_Globs (line 293) | func TestCataloger_Globs(t *testing.T) { FILE: syft/pkg/cataloger/debian/dependency.go function dbEntryDependencySpecifier (line 14) | func dbEntryDependencySpecifier(p pkg.Package) dependency.Specification { function stripVersionSpecifier (line 48) | func stripVersionSpecifier(s string) string { function splitPackageChoice (line 59) | func splitPackageChoice(s string) (ret []string) { FILE: syft/pkg/cataloger/debian/dependency_test.go function Test_dbEntryDependencySpecifier (line 12) | func Test_dbEntryDependencySpecifier(t *testing.T) { function Test_stripVersionSpecifier (line 74) | func Test_stripVersionSpecifier(t *testing.T) { FILE: syft/pkg/cataloger/debian/package.go constant md5sumsExt (line 21) | md5sumsExt = ".md5sums" constant conffilesExt (line 22) | conffilesExt = ".conffiles" constant docsPath (line 23) | docsPath = "/usr/share/doc" function newDpkgPackage (line 26) | func newDpkgPackage(ctx context.Context, d pkg.DpkgDBEntry, dbLocation f... function newDebArchivePackage (line 58) | func newDebArchivePackage(ctx context.Context, location file.Location, m... function packageURL (line 78) | func packageURL(m pkg.DpkgDBEntry, distro *linux.Release) string { function addLicenses (line 112) | func addLicenses(ctx context.Context, resolver file.Resolver, dbLocation... function mergeFileListing (line 142) | func mergeFileListing(resolver file.Resolver, dbLocation file.Location, ... function getAdditionalFileListing (line 174) | func getAdditionalFileListing(resolver file.Resolver, dbLocation file.Lo... function fetchMd5Contents (line 204) | func fetchMd5Contents(resolver file.Resolver, dbLocation file.Location, ... function fetchConffileContents (line 247) | func fetchConffileContents(resolver file.Resolver, dbLocation file.Locat... function fetchCopyrightContents (line 282) | func fetchCopyrightContents(resolver file.Resolver, dbLocation file.Loca... function md5Key (line 306) | func md5Key(metadata pkg.DpkgDBEntry) string { FILE: syft/pkg/cataloger/debian/package_test.go function Test_packageURL (line 12) | func Test_packageURL(t *testing.T) { FILE: syft/pkg/cataloger/debian/parse_copyright.go function parseLicensesFromCopyright (line 23) | func parseLicensesFromCopyright(reader io.Reader) []string { function extractUpToFirstPeriod (line 96) | func extractUpToFirstPeriod(s string) string { function findLicenseClause (line 103) | func findLicenseClause(pattern *regexp.Regexp, line string) string { function ensureIsSingleLicense (line 119) | func ensureIsSingleLicense(candidate string) (license string) { FILE: syft/pkg/cataloger/debian/parse_copyright_test.go function TestParseLicensesFromCopyright (line 11) | func TestParseLicensesFromCopyright(t *testing.T) { FILE: syft/pkg/cataloger/debian/parse_deb_archive.go function parseDebArchive (line 30) | func parseDebArchive(ctx context.Context, _ file.Resolver, _ *generic.En... function processDataTar (line 81) | func processDataTar(dcReader io.ReadCloser) ([]string, error) { function processControlTar (line 106) | func processControlTar(dcReader io.ReadCloser) (*pkg.DpkgArchiveEntry, e... function decompressionStream (line 165) | func decompressionStream(ctx context.Context, r io.Reader, filePath stri... FILE: syft/pkg/cataloger/debian/parse_deb_archive_test.go function TestProcessControlTar (line 13) | func TestProcessControlTar(t *testing.T) { function TestProcessControlTar_ConfigFileMarking (line 33) | func TestProcessControlTar_ConfigFileMarking(t *testing.T) { function createTestTarWithControlFiles (line 61) | func createTestTarWithControlFiles(t *testing.T) []byte { function writeTarEntry (line 78) | func writeTarEntry(t *testing.T, tw *tar.Writer, name, content string) { FILE: syft/pkg/cataloger/debian/parse_dpkg_db.go constant deinstallStatus (line 28) | deinstallStatus string = "deinstall" function parseDpkgDB (line 37) | func parseDpkgDB(ctx context.Context, resolver file.Resolver, env *gener... function findDpkgInfoFiles (line 52) | func findDpkgInfoFiles(name string, resolver file.Resolver, dbLocation f... function parseDpkgStatus (line 81) | func parseDpkgStatus(reader io.Reader) ([]pkg.DpkgDBEntry, error) { type dpkgExtractedMetadata (line 107) | type dpkgExtractedMetadata struct function parseDpkgStatusEntry (line 123) | func parseDpkgStatusEntry(reader *bufio.Reader) (*pkg.DpkgDBEntry, error) { function splitPkgList (line 186) | func splitPkgList(pkgList string) (ret []string) { function extractAllFields (line 197) | func extractAllFields(reader *bufio.Reader) (map[string]interface{}, err... function extractSourceVersion (line 255) | func extractSourceVersion(source string) (string, string) { function handleNewKeyValue (line 262) | func handleNewKeyValue(line string) (key string, val interface{}, err er... FILE: syft/pkg/cataloger/debian/parse_dpkg_db_test.go function Test_parseDpkgStatus (line 21) | func Test_parseDpkgStatus(t *testing.T) { function Test_corruptEntry (line 291) | func Test_corruptEntry(t *testing.T) { function TestSourceVersionExtract (line 302) | func TestSourceVersionExtract(t *testing.T) { function requireAs (line 341) | func requireAs(expected error) require.ErrorAssertionFunc { function Test_parseDpkgStatus_negativeCases (line 347) | func Test_parseDpkgStatus_negativeCases(t *testing.T) { function Test_handleNewKeyValue (line 411) | func Test_handleNewKeyValue(t *testing.T) { function abstractRelationships (line 477) | func abstractRelationships(t testing.TB, relationships []artifact.Relati... FILE: syft/pkg/cataloger/debian/parse_dpkg_info_files.go function parseDpkgMD5Info (line 12) | func parseDpkgMD5Info(reader io.Reader) (findings []pkg.DpkgFileRecord) { function parseDpkgConffileInfo (line 35) | func parseDpkgConffileInfo(reader io.Reader) (findings []pkg.DpkgFileRec... FILE: syft/pkg/cataloger/debian/parse_dpkg_info_files_test.go function TestMD5SumInfoParsing (line 14) | func TestMD5SumInfoParsing(t *testing.T) { function TestConffileInfoParsing (line 58) | func TestConffileInfoParsing(t *testing.T) { FILE: syft/pkg/cataloger/dotnet/binary_cataloger.go type binaryCataloger (line 17) | type binaryCataloger struct method Name (line 20) | func (c binaryCataloger) Name() string { method Catalog (line 24) | func (c binaryCataloger) Catalog(_ context.Context, resolver file.Reso... FILE: syft/pkg/cataloger/dotnet/cataloger.go function NewDotnetDepsBinaryCataloger (line 9) | func NewDotnetDepsBinaryCataloger(config CatalogerConfig) pkg.Cataloger { function NewDotnetDepsCataloger (line 18) | func NewDotnetDepsCataloger() pkg.Cataloger { function NewDotnetPortableExecutableCataloger (line 25) | func NewDotnetPortableExecutableCataloger() pkg.Cataloger { function NewDotnetPackagesLockCataloger (line 30) | func NewDotnetPackagesLockCataloger() pkg.Cataloger { FILE: syft/pkg/cataloger/dotnet/cataloger_test.go function TestCataloger_Globs (line 15) | func TestCataloger_Globs(t *testing.T) { function TestCataloger (line 61) | func TestCataloger(t *testing.T) { function TestDotnetDepsCataloger_regressions (line 1229) | func TestDotnetDepsCataloger_regressions(t *testing.T) { function Test_corruptDotnetPE (line 1366) | func Test_corruptDotnetPE(t *testing.T) { function Test_corruptDotnetDeps (line 1373) | func Test_corruptDotnetDeps(t *testing.T) { function TestParseDotnetDeps (line 1380) | func TestParseDotnetDeps(t *testing.T) { function extractMatchingPackage (line 1743) | func extractMatchingPackage(t *testing.T, name string, pkgs []pkg.Packag... FILE: syft/pkg/cataloger/dotnet/config.go type CatalogerConfig (line 3) | type CatalogerConfig struct method WithDepPackagesMustHaveDLL (line 28) | func (c CatalogerConfig) WithDepPackagesMustHaveDLL(requireDlls bool) ... method WithDepPackagesMustClaimDLL (line 33) | func (c CatalogerConfig) WithDepPackagesMustClaimDLL(requireDlls bool)... method WithRelaxDLLClaimsWhenBundlingDetected (line 38) | func (c CatalogerConfig) WithRelaxDLLClaimsWhenBundlingDetected(relax ... method WithPropagateDLLClaimsToParents (line 43) | func (c CatalogerConfig) WithPropagateDLLClaimsToParents(propagate boo... method WithExcludeProjectReferences (line 48) | func (c CatalogerConfig) WithExcludeProjectReferences(exclude bool) Ca... function DefaultCatalogerConfig (line 53) | func DefaultCatalogerConfig() CatalogerConfig { FILE: syft/pkg/cataloger/dotnet/deps_binary_cataloger.go constant depsJSONGlob (line 23) | depsJSONGlob = "**/*.deps.json" constant dllGlob (line 24) | dllGlob = "**/*.dll" constant exeGlob (line 25) | exeGlob = "**/*.exe" type depsBinaryCataloger (line 31) | type depsBinaryCataloger struct method Name (line 35) | func (c depsBinaryCataloger) Name() string { method Catalog (line 39) | func (c depsBinaryCataloger) Catalog(_ context.Context, resolver file.... function isRuntimePackageLocation (line 135) | func isRuntimePackageLocation(loc file.Location) (string, bool) { function partitionPEs (line 150) | func partitionPEs(depJsons []logicalDepsJSON, peFiles []logicalPE) ([]lo... function attachAssociatedExecutables (line 209) | func attachAssociatedExecutables(dep *logicalDepsJSON, pe logicalPE) bool { function isParentOf (line 251) | func isParentOf(parentFile, childFile string) bool { function packagesFromDepsJSON (line 258) | func packagesFromDepsJSON(docs []logicalDepsJSON, config CatalogerConfig... function packagesFromLogicalDepsJSON (line 270) | func packagesFromLogicalDepsJSON(doc logicalDepsJSON, config CatalogerCo... function relationshipsFromLogicalDepsJSON (line 344) | func relationshipsFromLogicalDepsJSON(doc logicalDepsJSON, pkgMap map[st... function findNearestDependencyPackages (line 389) | func findNearestDependencyPackages(skippedDep logicalDepsJSONPackage, pk... function findDepsJSON (line 418) | func findDepsJSON(resolver file.Resolver) ([]logicalDepsJSON, error, err... function readDepsJSON (line 446) | func readDepsJSON(resolver file.Resolver, loc file.Location) (*depsJSON,... function findPEFiles (line 466) | func findPEFiles(resolver file.Resolver) ([]logicalPE, error, error) { function readPEFile (line 490) | func readPEFile(resolver file.Resolver, loc file.Location) (*logicalPE, ... function extractEmbeddedDeps (line 514) | func extractEmbeddedDeps(pe logicalPE) *logicalDepsJSON { FILE: syft/pkg/cataloger/dotnet/deps_cataloger.go type depsCataloger (line 14) | type depsCataloger struct method Name (line 17) | func (c depsCataloger) Name() string { method Catalog (line 21) | func (c depsCataloger) Catalog(_ context.Context, resolver file.Resolv... FILE: syft/pkg/cataloger/dotnet/deps_json.go type depsJSON (line 16) | type depsJSON struct type runtimeTarget (line 23) | type runtimeTarget struct type depsTarget (line 27) | type depsTarget struct method nativePaths (line 35) | func (t depsTarget) nativePaths() *strset.Set { method compilePaths (line 43) | func (t depsTarget) compilePaths() map[string]string { method resourcePaths (line 55) | func (t depsTarget) resourcePaths() map[string]string { method runtimePaths (line 67) | func (t depsTarget) runtimePaths() map[string]string { type depsLibrary (line 79) | type depsLibrary struct type logicalDepsJSONPackage (line 88) | type logicalDepsJSONPackage struct method dependencyNameVersions (line 122) | func (l *logicalDepsJSONPackage) dependencyNameVersions() []string { method ClaimsDLLs (line 138) | func (l *logicalDepsJSONPackage) ClaimsDLLs(includeChildren bool) bool { method FoundDLLs (line 146) | func (l *logicalDepsJSONPackage) FoundDLLs(includeChildren bool) bool { type logicalDepsJSON (line 154) | type logicalDepsJSON struct method RootPackage (line 163) | func (l logicalDepsJSON) RootPackage() (logicalDepsJSONPackage, bool) { function newDepsJSON (line 182) | func newDepsJSON(reader file.LocationReadCloser) (*depsJSON, error) { function getLogicalDepsJSON (line 210) | func getLogicalDepsJSON(deps depsJSON, lm *libmanJSON) logicalDepsJSON { function mergeMaps (line 270) | func mergeMaps(m1, m2 map[string]string) map[string]string { function mergeSets (line 282) | func mergeSets(s1, s2 *strset.Set) *strset.Set { type visitorFunc (line 286) | type visitorFunc function searchForDLLEvidence (line 289) | func searchForDLLEvidence(packageMap map[string]*logicalDepsJSONPackage,... function searchForDLLClaims (line 296) | func searchForDLLClaims(packageMap map[string]*logicalDepsJSONPackage, v... function traverseDependencies (line 302) | func traverseDependencies(packageMap map[string]*logicalDepsJSONPackage,... function trimLibPrefix (line 330) | func trimLibPrefix(s string) string { FILE: syft/pkg/cataloger/dotnet/deps_json_test.go function TestTrimLibPrefix (line 13) | func TestTrimLibPrefix(t *testing.T) { function TestGetLogicalDepsJSON_MergeTargets (line 81) | func TestGetLogicalDepsJSON_MergeTargets(t *testing.T) { FILE: syft/pkg/cataloger/dotnet/libman_json.go type libmanJSON (line 16) | type libmanJSON struct method packages (line 28) | func (l *libmanJSON) packages() []pkg.Package { function newLibmanJSON (line 70) | func newLibmanJSON(reader file.LocationReadCloser) (*libmanJSON, error) { function findLibmanJSON (line 89) | func findLibmanJSON(resolver file.Resolver, depsJSON file.Location) (*li... FILE: syft/pkg/cataloger/dotnet/package.go function newDotnetDepsPackage (line 27) | func newDotnetDepsPackage(lp logicalDepsJSONPackage, depsLocation file.L... function isRuntime (line 58) | func isRuntime(name string) bool { function runtimeCPEs (line 68) | func runtimeCPEs(ver string) []cpe.CPE { function newDotnetDepsEntry (line 122) | func newDotnetDepsEntry(lp logicalDepsJSONPackage) pkg.DotnetDepsEntry { function newDotnetPortableExecutableEntry (line 156) | func newDotnetPortableExecutableEntry(pe logicalPE) pkg.DotnetPortableEx... function newDotnetPortableExecutableEntryFromMap (line 160) | func newDotnetPortableExecutableEntryFromMap(vr map[string]string) pkg.D... function cleanVersionResourceField (line 173) | func cleanVersionResourceField(values ...string) string { function getDepsJSONFilePrefix (line 183) | func getDepsJSONFilePrefix(p string) string { function extractNameAndVersion (line 198) | func extractNameAndVersion(nameVersion string) (name, version string) { function createNameAndVersion (line 207) | func createNameAndVersion(name, version string) string { function packageURL (line 211) | func packageURL(m pkg.DotnetDepsEntry) string { function newDotnetBinaryPackage (line 226) | func newDotnetBinaryPackage(versionResources map[string]string, f file.L... function binaryPackageURL (line 254) | func binaryPackageURL(name, version string) string { function findNameAndRuntimeFromVersionResources (line 270) | func findNameAndRuntimeFromVersionResources(versionResources map[string]... function isMicrosoftVersionResource (line 299) | func isMicrosoftVersionResource(versionResources map[string]string) bool { function spaceNormalize (line 305) | func spaceNormalize(value string) string { function findVersionFromVersionResources (line 322) | func findVersionFromVersionResources(versionResources map[string]string)... function extractVersionFromResourcesValue (line 350) | func extractVersionFromResourcesValue(version string) string { function keepGreaterSemanticVersion (line 366) | func keepGreaterSemanticVersion(productVersion string, fileVersion strin... function containsNumber (line 388) | func containsNumber(s string) bool { function punctuationCount (line 392) | func punctuationCount(s string) int { FILE: syft/pkg/cataloger/dotnet/package_test.go function Test_getDepsJSONFilePrefix (line 15) | func Test_getDepsJSONFilePrefix(t *testing.T) { function Test_NewDotnetBinaryPackage (line 49) | func Test_NewDotnetBinaryPackage(t *testing.T) { function Test_extractVersion (line 333) | func Test_extractVersion(t *testing.T) { function Test_spaceNormalize (line 360) | func Test_spaceNormalize(t *testing.T) { function TestRuntimeCPEs (line 383) | func TestRuntimeCPEs(t *testing.T) { FILE: syft/pkg/cataloger/dotnet/parse_packages_lock.go type dotnetPackagesLock (line 21) | type dotnetPackagesLock struct type dotnetPackagesLockDep (line 26) | type dotnetPackagesLockDep struct function parseDotnetPackagesLock (line 34) | func parseDotnetPackagesLock(_ context.Context, _ file.Resolver, _ *gene... function newDotnetPackagesLockPackage (line 118) | func newDotnetPackagesLockPackage(name string, dep dotnetPackagesLockDep... function packagesLockPackageURL (line 141) | func packagesLockPackageURL(name, version string) string { function findPkgByName (line 154) | func findPkgByName(pkgName string, pkgMap map[string]pkg.Package) (*pkg.... FILE: syft/pkg/cataloger/dotnet/parse_packages_lock_test.go function Test_corruptDotnetPackagesLock (line 12) | func Test_corruptDotnetPackagesLock(t *testing.T) { function TestParseDotnetPackagesLock (line 19) | func TestParseDotnetPackagesLock(t *testing.T) { FILE: syft/pkg/cataloger/dotnet/pe.go type logicalPE (line 9) | type logicalPE struct function readLogicalPE (line 17) | func readLogicalPE(reader file.LocationReadCloser) (*logicalPE, error) { FILE: syft/pkg/cataloger/dotnet/testdata/image-net2-app/src/Program.cs class Program (line 9) | public class Program method Main (line 15) | public static void Main(string[] args) FILE: syft/pkg/cataloger/dotnet/testdata/image-net6-asp-libman/src/Program.cs class Program (line 13) | public class Program method Main (line 15) | public static void Main(string[] args) method CreateWebHostBuilder (line 20) | public static IWebHostBuilder CreateWebHostBuilder(string[] args) => FILE: syft/pkg/cataloger/dotnet/testdata/image-net6-asp-libman/src/Startup.cs class Startup (line 12) | public class Startup method ConfigureServices (line 16) | public void ConfigureServices(IServiceCollection services) method Configure (line 21) | public void Configure(IApplicationBuilder app, IHostingEnvironment env) FILE: syft/pkg/cataloger/dotnet/testdata/image-net8-app-single-file/src/Program.cs class Program (line 9) | class Program method Main (line 11) | static void Main(string[] args) FILE: syft/pkg/cataloger/dotnet/testdata/image-net8-compile-target/src/Program.cs class Program (line 7) | public class Program method Main (line 9) | public static void Main(string[] args) FILE: syft/pkg/cataloger/dotnet/testdata/image-net8-ilrepack/src/Program.cs class Program (line 9) | class Program method Main (line 11) | static void Main(string[] args) FILE: syft/pkg/cataloger/dotnet/testdata/image-net8-privateassets/src/Program.cs class Program (line 9) | class Program method Main (line 11) | static void Main(string[] args) FILE: syft/pkg/cataloger/elixir/cataloger.go function NewMixLockCataloger (line 12) | func NewMixLockCataloger() pkg.Cataloger { FILE: syft/pkg/cataloger/elixir/cataloger_test.go function TestCataloger_Globs (line 9) | func TestCataloger_Globs(t *testing.T) { FILE: syft/pkg/cataloger/elixir/package.go function newPackage (line 9) | func newPackage(d pkg.ElixirMixLockEntry, locations ...file.Location) pk... function packageURL (line 25) | func packageURL(m pkg.ElixirMixLockEntry) string { FILE: syft/pkg/cataloger/elixir/parse_mix_lock.go function parseMixLock (line 25) | func parseMixLock(_ context.Context, _ file.Resolver, _ *generic.Environ... FILE: syft/pkg/cataloger/elixir/parse_mix_lock_test.go function TestParseMixLock (line 12) | func TestParseMixLock(t *testing.T) { FILE: syft/pkg/cataloger/erlang/cataloger.go function NewRebarLockCataloger (line 12) | func NewRebarLockCataloger() pkg.Cataloger { function NewOTPCataloger (line 17) | func NewOTPCataloger() pkg.Cataloger { FILE: syft/pkg/cataloger/erlang/cataloger_test.go function TestCatalogerRebar_Globs (line 9) | func TestCatalogerRebar_Globs(t *testing.T) { function TestCatalogerOTP_Globs (line 34) | func TestCatalogerOTP_Globs(t *testing.T) { FILE: syft/pkg/cataloger/erlang/erlang_parser.go type erlangNode (line 12) | type erlangNode struct method Slice (line 18) | func (e erlangNode) Slice() []erlangNode { method String (line 26) | func (e erlangNode) String() string { method Get (line 34) | func (e erlangNode) Get(index int) erlangNode { function node (line 42) | func node(value interface{}) erlangNode { function parseErlang (line 49) | func parseErlang(reader io.Reader) (erlangNode, error) { function parseErlangBlock (line 81) | func parseErlangBlock(data []byte, i *int) (erlangNode, error) { function parseErlangNode (line 92) | func parseErlangNode(data []byte, i *int) (erlangNode, error) { function parseErlangLiteral (line 126) | func parseErlangLiteral(data []byte, i *int) (erlangNode, error) { function parseErlangAngleString (line 140) | func parseErlangAngleString(data []byte, i *int) (erlangNode, error) { function parseErlangString (line 147) | func parseErlangString(data []byte, i *int) (erlangNode, error) { function parseErlangList (line 170) | func parseErlangList(data []byte, i *int) (erlangNode, error) { function parseErlangComment (line 204) | func parseErlangComment(data []byte, i *int) { FILE: syft/pkg/cataloger/erlang/erlang_parser_test.go function Test_parseErlang (line 11) | func Test_parseErlang(t *testing.T) { FILE: syft/pkg/cataloger/erlang/package.go function newPackageFromRebar (line 9) | func newPackageFromRebar(d pkg.ErlangRebarLockEntry, locations ...file.L... function packageURLFromRebar (line 25) | func packageURLFromRebar(m pkg.ErlangRebarLockEntry) string { function newPackageFromOTP (line 38) | func newPackageFromOTP(name, version string, locations ...file.Location)... function packageURLFromOTP (line 53) | func packageURLFromOTP(name, version string) string { FILE: syft/pkg/cataloger/erlang/parse_otp_app.go function parseOTPApp (line 15) | func parseOTPApp(_ context.Context, _ file.Resolver, _ *generic.Environm... FILE: syft/pkg/cataloger/erlang/parse_otp_app_test.go function TestParseOTPApplication (line 12) | func TestParseOTPApplication(t *testing.T) { function Test_corruptOtpApp (line 45) | func Test_corruptOtpApp(t *testing.T) { FILE: syft/pkg/cataloger/erlang/parse_rebar_lock.go function parseRebarLock (line 17) | func parseRebarLock(_ context.Context, _ file.Resolver, _ *generic.Envir... FILE: syft/pkg/cataloger/erlang/parse_rebar_lock_test.go function TestParseRebarLock (line 12) | func TestParseRebarLock(t *testing.T) { function Test_corruptRebarLock (line 259) | func Test_corruptRebarLock(t *testing.T) { FILE: syft/pkg/cataloger/generic/cataloger.go type Processor (line 19) | type Processor type ResolvingProcessor (line 22) | type ResolvingProcessor type requester (line 24) | type requester type request (line 26) | type request struct type processExecutor (line 31) | type processExecutor interface type processorWrapper (line 35) | type processorWrapper struct method process (line 39) | func (p processorWrapper) process(_ context.Context, _ file.Resolver, ... type resolvingProcessorWrapper (line 43) | type resolvingProcessorWrapper struct method process (line 47) | func (p resolvingProcessorWrapper) process(ctx context.Context, resolv... type Cataloger (line 53) | type Cataloger struct method WithParserByGlobs (line 60) | func (c *Cataloger) WithParserByGlobs(parser Parser, globs ...string) ... method WithParserByMimeTypes (line 80) | func (c *Cataloger) WithParserByMimeTypes(parser Parser, types ...stri... method WithParserByPath (line 97) | func (c *Cataloger) WithParserByPath(parser Parser, paths ...string) *... method WithParserByMediaType (line 117) | func (c *Cataloger) WithParserByMediaType(parser Parser, types ...stri... method WithProcessors (line 137) | func (c *Cataloger) WithProcessors(processors ...Processor) *Cataloger { method WithResolvingProcessors (line 144) | func (c *Cataloger) WithResolvingProcessors(processors ...ResolvingPro... method WithChecks (line 151) | func (c *Cataloger) WithChecks(checks ...func() error) *Cataloger { method Name (line 175) | func (c *Cataloger) Name() string { method Catalog (line 180) | func (c *Cataloger) Catalog(ctx context.Context, resolver file.Resolve... method process (line 222) | func (c *Cataloger) process(ctx context.Context, resolver file.Resolve... method selectFiles (line 247) | func (c *Cataloger) selectFiles(resolver file.Resolver) []request { function makeRequests (line 156) | func makeRequests(parser Parser, locations []file.Location) []request { function NewCataloger (line 168) | func NewCataloger(upstreamCataloger string) *Cataloger { function invokeParser (line 229) | func invokeParser(ctx context.Context, resolver file.Resolver, location ... FILE: syft/pkg/cataloger/generic/cataloger_test.go function Test_Cataloger (line 19) | func Test_Cataloger(t *testing.T) { type spyReturningFileResolver (line 92) | type spyReturningFileResolver struct method FileContentsByLocation (line 121) | func (m spyReturningFileResolver) FileContentsByLocation(location file... method HasPath (line 125) | func (m spyReturningFileResolver) HasPath(path string) bool { method FilesByPath (line 129) | func (m spyReturningFileResolver) FilesByPath(paths ...string) ([]file... method FilesByGlob (line 133) | func (m spyReturningFileResolver) FilesByGlob(patterns ...string) ([]f... method FilesByMIMEType (line 137) | func (m spyReturningFileResolver) FilesByMIMEType(types ...string) ([]... method FilesByMediaType (line 141) | func (m spyReturningFileResolver) FilesByMediaType(types ...string) ([... method RelativeFileByPath (line 145) | func (m spyReturningFileResolver) RelativeFileByPath(f file.Location, ... method AllLocations (line 149) | func (m spyReturningFileResolver) AllLocations(ctx context.Context) <-... method FileMetadataByLocation (line 153) | func (m spyReturningFileResolver) FileMetadataByLocation(location file... type spyingIoReadCloser (line 97) | type spyingIoReadCloser struct method Read (line 110) | func (s *spyingIoReadCloser) Read(p []byte) (n int, err error) { method Close (line 114) | func (s *spyingIoReadCloser) Close() error { function newSpyReturningFileResolver (line 102) | func newSpyReturningFileResolver(s *spyingIoReadCloser, paths ...string)... function TestClosesFileOnParserPanic (line 159) | func TestClosesFileOnParserPanic(t *testing.T) { function Test_CatalogerWithParserByMediaType (line 196) | func Test_CatalogerWithParserByMediaType(t *testing.T) { function Test_genericCatalogerReturnsErrors (line 245) | func Test_genericCatalogerReturnsErrors(t *testing.T) { FILE: syft/pkg/cataloger/generic/parser.go type Environment (line 12) | type Environment struct type Parser (line 16) | type Parser FILE: syft/pkg/cataloger/gentoo/cataloger.go function NewPortageCataloger (line 12) | func NewPortageCataloger() pkg.Cataloger { FILE: syft/pkg/cataloger/gentoo/cataloger_test.go function TestPortageCataloger (line 12) | func TestPortageCataloger(t *testing.T) { function TestCataloger_Globs (line 149) | func TestCataloger_Globs(t *testing.T) { FILE: syft/pkg/cataloger/gentoo/license.go function extractLicenses (line 35) | func extractLicenses(resolver file.Resolver, closestLocation *file.Locat... function readLicenseGroups (line 110) | func readLicenseGroups(resolver file.Resolver, closestLocation *file.Loc... function replaceLicenseGroups (line 139) | func replaceLicenseGroups(licenses []string, groups map[string][]string)... function parseLicenseGroups (line 163) | func parseLicenseGroups(reader io.Reader) (map[string][]string, error) { function expandLicenses (line 207) | func expandLicenses(currentGroup string, licenses []string, rawGroups ma... FILE: syft/pkg/cataloger/gentoo/license_test.go function Test_extractLicenses (line 17) | func Test_extractLicenses(t *testing.T) { function TestParseLicenseGroups (line 60) | func TestParseLicenseGroups(t *testing.T) { function TestReplaceLicenseGroups (line 119) | func TestReplaceLicenseGroups(t *testing.T) { FILE: syft/pkg/cataloger/gentoo/parse_portage_contents.go function parsePortageContents (line 27) | func parsePortageContents(ctx context.Context, resolver file.Resolver, _... function addFiles (line 65) | func addFiles(resolver file.Resolver, dbLocation file.Location, entry *p... function addLicenses (line 91) | func addLicenses(ctx context.Context, resolver file.Resolver, dbLocation... function addSize (line 114) | func addSize(resolver file.Resolver, dbLocation file.Location, entry *pk... FILE: syft/pkg/cataloger/gentoo/purl.go function packageURL (line 7) | func packageURL(name, version string) string { FILE: syft/pkg/cataloger/gentoo/purl_test.go function Test_packageURL (line 10) | func Test_packageURL(t *testing.T) { FILE: syft/pkg/cataloger/githubactions/cataloger.go function NewActionUsageCataloger (line 12) | func NewActionUsageCataloger() pkg.Cataloger { function NewWorkflowUsageCataloger (line 19) | func NewWorkflowUsageCataloger() pkg.Cataloger { FILE: syft/pkg/cataloger/githubactions/cataloger_test.go function TestCataloger_Globs (line 10) | func TestCataloger_Globs(t *testing.T) { FILE: syft/pkg/cataloger/githubactions/package.go function newPackageFromUsageStatement (line 14) | func newPackageFromUsageStatement(use, comment string, location file.Loc... function newGithubActionWorkflowPackageUsage (line 29) | func newGithubActionWorkflowPackageUsage(name, version string, workflowL... function newGithubActionPackageUsage (line 44) | func newGithubActionPackageUsage(name, version string, workflowLocation ... function parseStepUsageStatement (line 59) | func parseStepUsageStatement(use, comment string) (string, string) { function packageURL (line 87) | func packageURL(name, version string) string { FILE: syft/pkg/cataloger/githubactions/parse_composite_action.go type compositeActionDef (line 18) | type compositeActionDef struct type compositeActionRunsDef (line 22) | type compositeActionRunsDef struct function parseCompositeActionForActionUsage (line 26) | func parseCompositeActionForActionUsage(_ context.Context, _ file.Resolv... FILE: syft/pkg/cataloger/githubactions/parse_composite_action_test.go function Test_parseCompositeActionForActionUsage (line 12) | func Test_parseCompositeActionForActionUsage(t *testing.T) { function Test_corruptCompositeAction (line 39) | func Test_corruptCompositeAction(t *testing.T) { FILE: syft/pkg/cataloger/githubactions/parse_workflow.go type workflowDef (line 22) | type workflowDef struct type workflowJobDef (line 26) | type workflowJobDef struct type stepDef (line 32) | type stepDef struct function parseWorkflowForWorkflowUsage (line 42) | func parseWorkflowForWorkflowUsage(_ context.Context, _ file.Resolver, _... function parseWorkflowForActionUsage (line 76) | func parseWorkflowForActionUsage(_ context.Context, _ file.Resolver, _ *... function attachUsageComments (line 115) | func attachUsageComments(node *yaml.Node, wf *workflowDef) { function processNode (line 124) | func processNode(node *yaml.Node, wf *workflowDef, currentJob *string, c... function processUsesNode (line 174) | func processUsesNode(node *yaml.Node, wf *workflowDef, currentJob *strin... FILE: syft/pkg/cataloger/githubactions/parse_workflow_test.go function Test_parseWorkflowForActionUsage (line 12) | func Test_parseWorkflowForActionUsage(t *testing.T) { function Test_parseWorkflowForWorkflowUsage (line 63) | func Test_parseWorkflowForWorkflowUsage(t *testing.T) { function Test_parseWorkflowForVersionComments (line 100) | func Test_parseWorkflowForVersionComments(t *testing.T) { function Test_corruptActionWorkflow (line 132) | func Test_corruptActionWorkflow(t *testing.T) { function Test_corruptWorkflowWorkflow (line 139) | func Test_corruptWorkflowWorkflow(t *testing.T) { FILE: syft/pkg/cataloger/golang/billy_adapter.go type billyFSAdapter (line 11) | type billyFSAdapter struct method Stat (line 15) | func (b billyFSAdapter) Stat(name string) (fs.FileInfo, error) { method ReadDir (line 19) | func (b billyFSAdapter) ReadDir(name string) (out []fs.DirEntry, _ err... method Open (line 30) | func (b billyFSAdapter) Open(name string) (fs.File, error) { type billyFile (line 47) | type billyFile struct method Stat (line 52) | func (b billyFile) Stat() (fs.FileInfo, error) { method Read (line 56) | func (b billyFile) Read(i []byte) (int, error) { method Close (line 60) | func (b billyFile) Close() error { type billyDirEntry (line 67) | type billyDirEntry struct method Name (line 71) | func (b billyDirEntry) Name() string { method IsDir (line 75) | func (b billyDirEntry) IsDir() bool { method Type (line 79) | func (b billyDirEntry) Type() fs.FileMode { method Info (line 83) | func (b billyDirEntry) Info() (fs.FileInfo, error) { FILE: syft/pkg/cataloger/golang/billy_adapter_test.go function Test_billyFSAdapter (line 12) | func Test_billyFSAdapter(t *testing.T) { FILE: syft/pkg/cataloger/golang/cataloger.go constant modFileCatalogerName (line 17) | modFileCatalogerName = "go-module-file-cataloger" constant binaryCatalogerName (line 18) | binaryCatalogerName = "go-module-binary-cataloger" function NewGoModuleFileCataloger (line 22) | func NewGoModuleFileCataloger(opts CatalogerConfig) pkg.Cataloger { function NewGoModuleBinaryCataloger (line 28) | func NewGoModuleBinaryCataloger(opts CatalogerConfig) pkg.Cataloger { FILE: syft/pkg/cataloger/golang/cataloger_test.go function Test_PackageCataloger_Binary (line 11) | func Test_PackageCataloger_Binary(t *testing.T) { function Test_Mod_Cataloger_Globs (line 128) | func Test_Mod_Cataloger_Globs(t *testing.T) { function Test_Binary_Cataloger_Globs (line 154) | func Test_Binary_Cataloger_Globs(t *testing.T) { function Test_Binary_Cataloger_Stdlib_Cpe (line 179) | func Test_Binary_Cataloger_Stdlib_Cpe(t *testing.T) { FILE: syft/pkg/cataloger/golang/config.go constant defaultProxies (line 13) | defaultProxies = "https://proxy.golang.org,direct" constant directProxyOnly (line 14) | directProxyOnly = "direct" type CatalogerConfig (line 21) | type CatalogerConfig struct method WithSearchLocalModCacheLicenses (line 132) | func (g CatalogerConfig) WithSearchLocalModCacheLicenses(input bool) C... method WithLocalModCacheDir (line 137) | func (g CatalogerConfig) WithLocalModCacheDir(input string) CatalogerC... method WithSearchLocalVendorLicenses (line 145) | func (g CatalogerConfig) WithSearchLocalVendorLicenses(input bool) Cat... method WithLocalVendorDir (line 150) | func (g CatalogerConfig) WithLocalVendorDir(input string) CatalogerCon... method WithSearchRemoteLicenses (line 158) | func (g CatalogerConfig) WithSearchRemoteLicenses(input bool) Cataloge... method WithProxy (line 163) | func (g CatalogerConfig) WithProxy(input string) CatalogerConfig { method WithNoProxy (line 174) | func (g CatalogerConfig) WithNoProxy(input string) CatalogerConfig { method WithMainModuleVersion (line 182) | func (g CatalogerConfig) WithMainModuleVersion(input MainModuleVersion... method WithUsePackagesLib (line 187) | func (g CatalogerConfig) WithUsePackagesLib(useLib bool) CatalogerConf... type MainModuleVersionConfig (line 56) | type MainModuleVersionConfig struct method WithFromLDFlags (line 192) | func (g MainModuleVersionConfig) WithFromLDFlags(input bool) MainModul... method WithFromContents (line 197) | func (g MainModuleVersionConfig) WithFromContents(input bool) MainModu... method WithFromBuildSettings (line 202) | func (g MainModuleVersionConfig) WithFromBuildSettings(input bool) Mai... function DefaultCatalogerConfig (line 74) | func DefaultCatalogerConfig() CatalogerConfig { function defaultGoModDir (line 109) | func defaultGoModDir() string { function DefaultMainModuleVersionConfig (line 124) | func DefaultMainModuleVersionConfig() MainModuleVersionConfig { FILE: syft/pkg/cataloger/golang/config_test.go function Test_Config (line 12) | func Test_Config(t *testing.T) { function restoreCache (line 116) | func restoreCache(t testing.TB) { FILE: syft/pkg/cataloger/golang/internal/gotestdata/go-source/cmd/bin1/main.go function main (line 8) | func main() { FILE: syft/pkg/cataloger/golang/internal/gotestdata/go-source/cmd/bin2/main.go function main (line 8) | func main() { FILE: syft/pkg/cataloger/golang/internal/gotestdata/go-source/pk1/pk1.go function Test (line 8) | func Test() { function NewID (line 12) | func NewID() string { FILE: syft/pkg/cataloger/golang/internal/gotestdata/go-source/pk1/pk1_test.go function TestNewID (line 9) | func TestNewID(t *testing.T) { FILE: syft/pkg/cataloger/golang/internal/gotestdata/go-source/pk2/pk2.go function Test (line 3) | func Test() { FILE: syft/pkg/cataloger/golang/internal/gotestdata/go-source/pk3/pk3.go function Zap (line 10) | func Zap() { FILE: syft/pkg/cataloger/golang/internal/xcoff/file.go type SectionHeader (line 19) | type SectionHeader struct type Section (line 28) | type Section struct method Data (line 457) | func (s *Section) Data() ([]byte, error) { type AuxiliaryCSect (line 36) | type AuxiliaryCSect struct type AuxiliaryFcn (line 43) | type AuxiliaryFcn struct type Symbol (line 47) | type Symbol struct type Reloc (line 56) | type Reloc struct type ImportedSymbol (line 66) | type ImportedSymbol struct type FileHeader (line 72) | type FileHeader struct type File (line 77) | type File struct method Close (line 105) | func (f *File) Close() error { method Section (line 118) | func (f *File) Section(name string) *Section { method SectionByType (line 129) | func (f *File) SectionByType(typ uint32) *Section { method readImportIDs (line 510) | func (f *File) readImportIDs(s *Section) ([]string, error) { method ImportedSymbols (line 575) | func (f *File) ImportedSymbols() ([]ImportedSymbol, error) { method ImportedLibraries (line 681) | func (f *File) ImportedLibraries() ([]string, error) { function Open (line 88) | func Open(name string) (*File, error) { function cstring (line 140) | func cstring(b []byte) string { function getString (line 148) | func getString(st []byte, offset uint32) (string, bool) { function NewFile (line 156) | func NewFile(r io.ReaderAt) (*File, error) { type zeroReaderAt (line 446) | type zeroReaderAt struct method ReadAt (line 449) | func (w zeroReaderAt) ReadAt(p []byte, off int64) (n int, err error) { FILE: syft/pkg/cataloger/golang/internal/xcoff/file_test.go type fileTest (line 12) | type fileTest struct function TestOpen (line 56) | func TestOpen(t *testing.T) { function TestOpenFailure (line 96) | func TestOpenFailure(t *testing.T) { FILE: syft/pkg/cataloger/golang/internal/xcoff/xcoff.go type FileHeader32 (line 14) | type FileHeader32 struct type FileHeader64 (line 24) | type FileHeader64 struct constant FILHSZ_32 (line 35) | FILHSZ_32 = 20 constant FILHSZ_64 (line 36) | FILHSZ_64 = 24 constant U802TOCMAGIC (line 39) | U802TOCMAGIC = 0737 constant U64_TOCMAGIC (line 40) | U64_TOCMAGIC = 0767 constant F_RELFLG (line 45) | F_RELFLG = 0x0001 constant F_EXEC (line 46) | F_EXEC = 0x0002 constant F_LNNO (line 47) | F_LNNO = 0x0004 constant F_FDPR_PROF (line 48) | F_FDPR_PROF = 0x0010 constant F_FDPR_OPTI (line 49) | F_FDPR_OPTI = 0x0020 constant F_DSA (line 50) | F_DSA = 0x0040 constant F_VARPG (line 51) | F_VARPG = 0x0100 constant F_DYNLOAD (line 52) | F_DYNLOAD = 0x1000 constant F_SHROBJ (line 53) | F_SHROBJ = 0x2000 constant F_LOADONLY (line 54) | F_LOADONLY = 0x4000 type SectionHeader32 (line 58) | type SectionHeader32 struct type SectionHeader64 (line 71) | type SectionHeader64 struct constant STYP_DWARF (line 87) | STYP_DWARF = 0x0010 constant STYP_TEXT (line 88) | STYP_TEXT = 0x0020 constant STYP_DATA (line 89) | STYP_DATA = 0x0040 constant STYP_BSS (line 90) | STYP_BSS = 0x0080 constant STYP_EXCEPT (line 91) | STYP_EXCEPT = 0x0100 constant STYP_INFO (line 92) | STYP_INFO = 0x0200 constant STYP_TDATA (line 93) | STYP_TDATA = 0x0400 constant STYP_TBSS (line 94) | STYP_TBSS = 0x0800 constant STYP_LOADER (line 95) | STYP_LOADER = 0x1000 constant STYP_DEBUG (line 96) | STYP_DEBUG = 0x2000 constant STYP_TYPCHK (line 97) | STYP_TYPCHK = 0x4000 constant STYP_OVRFLO (line 98) | STYP_OVRFLO = 0x8000 constant SSUBTYP_DWINFO (line 101) | SSUBTYP_DWINFO = 0x10000 constant SSUBTYP_DWLINE (line 102) | SSUBTYP_DWLINE = 0x20000 constant SSUBTYP_DWPBNMS (line 103) | SSUBTYP_DWPBNMS = 0x30000 constant SSUBTYP_DWPBTYP (line 104) | SSUBTYP_DWPBTYP = 0x40000 constant SSUBTYP_DWARNGE (line 105) | SSUBTYP_DWARNGE = 0x50000 constant SSUBTYP_DWABREV (line 106) | SSUBTYP_DWABREV = 0x60000 constant SSUBTYP_DWSTR (line 107) | SSUBTYP_DWSTR = 0x70000 constant SSUBTYP_DWRNGES (line 108) | SSUBTYP_DWRNGES = 0x80000 constant SSUBTYP_DWLOC (line 109) | SSUBTYP_DWLOC = 0x90000 constant SSUBTYP_DWFRAME (line 110) | SSUBTYP_DWFRAME = 0xA0000 constant SSUBTYP_DWMAC (line 111) | SSUBTYP_DWMAC = 0xB0000 type SymEnt32 (line 115) | type SymEnt32 struct type SymEnt64 (line 124) | type SymEnt64 struct constant SYMESZ (line 133) | SYMESZ = 18 constant N_DEBUG (line 137) | N_DEBUG = -2 constant N_ABS (line 138) | N_ABS = -1 constant N_UNDEF (line 139) | N_UNDEF = 0 constant SYM_V_INTERNAL (line 142) | SYM_V_INTERNAL = 0x1000 constant SYM_V_HIDDEN (line 143) | SYM_V_HIDDEN = 0x2000 constant SYM_V_PROTECTED (line 144) | SYM_V_PROTECTED = 0x3000 constant SYM_V_EXPORTED (line 145) | SYM_V_EXPORTED = 0x4000 constant SYM_TYPE_FUNC (line 146) | SYM_TYPE_FUNC = 0x0020 constant C_NULL (line 151) | C_NULL = 0 constant C_EXT (line 152) | C_EXT = 2 constant C_STAT (line 153) | C_STAT = 3 constant C_BLOCK (line 154) | C_BLOCK = 100 constant C_FCN (line 155) | C_FCN = 101 constant C_FILE (line 156) | C_FILE = 103 constant C_HIDEXT (line 157) | C_HIDEXT = 107 constant C_BINCL (line 158) | C_BINCL = 108 constant C_EINCL (line 159) | C_EINCL = 109 constant C_WEAKEXT (line 160) | C_WEAKEXT = 111 constant C_DWARF (line 161) | C_DWARF = 112 constant C_GSYM (line 162) | C_GSYM = 128 constant C_LSYM (line 163) | C_LSYM = 129 constant C_PSYM (line 164) | C_PSYM = 130 constant C_RSYM (line 165) | C_RSYM = 131 constant C_RPSYM (line 166) | C_RPSYM = 132 constant C_STSYM (line 167) | C_STSYM = 133 constant C_BCOMM (line 168) | C_BCOMM = 135 constant C_ECOML (line 169) | C_ECOML = 136 constant C_ECOMM (line 170) | C_ECOMM = 137 constant C_DECL (line 171) | C_DECL = 140 constant C_ENTRY (line 172) | C_ENTRY = 141 constant C_FUN (line 173) | C_FUN = 142 constant C_BSTAT (line 174) | C_BSTAT = 143 constant C_ESTAT (line 175) | C_ESTAT = 144 constant C_GTLS (line 176) | C_GTLS = 145 constant C_STTLS (line 177) | C_STTLS = 146 type AuxFile64 (line 181) | type AuxFile64 struct type AuxFcn32 (line 188) | type AuxFcn32 struct type AuxFcn64 (line 195) | type AuxFcn64 struct type AuxSect64 (line 203) | type AuxSect64 struct type AuxCSect32 (line 211) | type AuxCSect32 struct type AuxCSect64 (line 221) | type AuxCSect64 struct constant XTY_ER (line 244) | XTY_ER = 0 constant XTY_SD (line 245) | XTY_SD = 1 constant XTY_LD (line 246) | XTY_LD = 2 constant XTY_CM (line 247) | XTY_CM = 3 constant XFT_FN (line 252) | XFT_FN = 0 constant XFT_CT (line 253) | XFT_CT = 1 constant XFT_CV (line 254) | XFT_CV = 2 constant XFT_CD (line 255) | XFT_CD = 128 constant XMC_PR (line 260) | XMC_PR = 0 constant XMC_RO (line 261) | XMC_RO = 1 constant XMC_DB (line 262) | XMC_DB = 2 constant XMC_TC (line 263) | XMC_TC = 3 constant XMC_UA (line 264) | XMC_UA = 4 constant XMC_RW (line 265) | XMC_RW = 5 constant XMC_GL (line 266) | XMC_GL = 6 constant XMC_XO (line 267) | XMC_XO = 7 constant XMC_SV (line 268) | XMC_SV = 8 constant XMC_BS (line 269) | XMC_BS = 9 constant XMC_DS (line 270) | XMC_DS = 10 constant XMC_UC (line 271) | XMC_UC = 11 constant XMC_TC0 (line 272) | XMC_TC0 = 15 constant XMC_TD (line 273) | XMC_TD = 16 constant XMC_SV64 (line 274) | XMC_SV64 = 17 constant XMC_SV3264 (line 275) | XMC_SV3264 = 18 constant XMC_TL (line 276) | XMC_TL = 20 constant XMC_UL (line 277) | XMC_UL = 21 constant XMC_TE (line 278) | XMC_TE = 22 type LoaderHeader32 (line 282) | type LoaderHeader32 struct type LoaderHeader64 (line 293) | type LoaderHeader64 struct constant LDHDRSZ_32 (line 307) | LDHDRSZ_32 = 32 constant LDHDRSZ_64 (line 308) | LDHDRSZ_64 = 56 type LoaderSymbol32 (line 312) | type LoaderSymbol32 struct type LoaderSymbol64 (line 322) | type LoaderSymbol64 struct type Reloc32 (line 332) | type Reloc32 struct type Reloc64 (line 339) | type Reloc64 struct constant R_POS (line 347) | R_POS = 0x00 constant R_NEG (line 348) | R_NEG = 0x01 constant R_REL (line 349) | R_REL = 0x02 constant R_TOC (line 350) | R_TOC = 0x03 constant R_TRL (line 351) | R_TRL = 0x12 constant R_TRLA (line 353) | R_TRLA = 0x13 constant R_GL (line 354) | R_GL = 0x05 constant R_TCL (line 355) | R_TCL = 0x06 constant R_RL (line 356) | R_RL = 0x0C constant R_RLA (line 357) | R_RLA = 0x0D constant R_REF (line 358) | R_REF = 0x0F constant R_BA (line 359) | R_BA = 0x08 constant R_RBA (line 360) | R_RBA = 0x18 constant R_BR (line 361) | R_BR = 0x0A constant R_RBR (line 362) | R_RBR = 0x1A constant R_TLS (line 364) | R_TLS = 0x20 constant R_TLS_IE (line 365) | R_TLS_IE = 0x21 constant R_TLS_LD (line 366) | R_TLS_LD = 0x22 constant R_TLS_LE (line 367) | R_TLS_LE = 0x23 constant R_TLSM (line 368) | R_TLSM = 0x24 constant R_TLSML (line 369) | R_TLSML = 0x25 constant R_TOCU (line 371) | R_TOCU = 0x30 constant R_TOCL (line 372) | R_TOCL = 0x31 FILE: syft/pkg/cataloger/golang/license_finder.go function resolveModuleLicenses (line 19) | func resolveModuleLicenses(ctx context.Context, scanRoot string, pkgInfo... function readLicenses (line 41) | func readLicenses(ctx context.Context, scanRoot string, fs afero.Fs, f s... function findAllLicenseCandidatesUpwards (line 75) | func findAllLicenseCandidatesUpwards(dir string, stopAt string, fs afero... function findLicenseCandidates (line 87) | func findLicenseCandidates(dir string, stopAt string, fs afero.Fs) ([]st... function getAbsolutePkgPaths (line 114) | func getAbsolutePkgPaths(info pkgInfo) (modDir string, pkgDir string, er... function findLicensesInDir (line 132) | func findLicensesInDir(dir string, fs afero.Fs) ([]string, error) { FILE: syft/pkg/cataloger/golang/license_finder_test.go function TestFindAllLicenseCandidatesUpwards (line 11) | func TestFindAllLicenseCandidatesUpwards(t *testing.T) { FILE: syft/pkg/cataloger/golang/licenses.go type goLicenseResolver (line 32) | type goLicenseResolver struct method getLicenses (line 80) | func (c *goLicenseResolver) getLicenses(ctx context.Context, resolver ... method getLicensesFromLocal (line 125) | func (c *goLicenseResolver) getLicensesFromLocal(ctx context.Context, ... method getLicensesFromLocalVendor (line 144) | func (c *goLicenseResolver) getLicensesFromLocalVendor(ctx context.Con... method getLicensesFromRemote (line 163) | func (c *goLicenseResolver) getLicensesFromRemote(ctx context.Context,... method findLicensesInFS (line 179) | func (c *goLicenseResolver) findLicensesInFS(ctx context.Context, urlP... method findLicensesInSource (line 213) | func (c *goLicenseResolver) findLicensesInSource(ctx context.Context, ... method parseLicenseFromLocation (line 239) | func (c *goLicenseResolver) parseLicenseFromLocation(ctx context.Conte... function newGoLicenseResolver (line 40) | func newGoLicenseResolver(catalogerName string, opts CatalogerConfig) go... function remotesForModule (line 69) | func remotesForModule(proxies []string, noProxy []string, module string)... function moduleDir (line 253) | func moduleDir(moduleName, moduleVersion string) string { function processCaps (line 259) | func processCaps(s string) string { function getModule (line 265) | func getModule(ctx context.Context, proxies []string, moduleName, module... function getModuleProxy (line 291) | func getModuleProxy(ctx context.Context, proxy string, moduleName string... function findVersionPath (line 362) | func findVersionPath(f fs.FS, dir string) string { function getModuleRepository (line 379) | func getModuleRepository(moduleName string, moduleVersion string) (strin... type noLicensesFound (line 436) | type noLicensesFound struct method Error (line 440) | func (l noLicensesFound) Error() string { FILE: syft/pkg/cataloger/golang/licenses_test.go function Test_LicenseSearch (line 26) | func Test_LicenseSearch(t *testing.T) { function Test_processCaps (line 238) | func Test_processCaps(t *testing.T) { function Test_remotesForModule (line 266) | func Test_remotesForModule(t *testing.T) { function Test_findVersionPath (line 299) | func Test_findVersionPath(t *testing.T) { function Test_walkDirErrors (line 305) | func Test_walkDirErrors(t *testing.T) { type badFS (line 311) | type badFS struct method Open (line 313) | func (b badFS) Open(_ string) (fs.File, error) { function Test_noLocalGoModDir (line 319) | func Test_noLocalGoModDir(t *testing.T) { function mustContentsFromLocation (line 364) | func mustContentsFromLocation(t *testing.T, loc file.Location, offset ..... FILE: syft/pkg/cataloger/golang/package.go method newGoBinaryPackage (line 12) | func (c *goBinaryCataloger) newGoBinaryPackage(dep *debug.Module, m pkg.... function newBinaryMetadata (line 48) | func newBinaryMetadata(dep *debug.Module, mainModule, goVersion, archite... function packageURL (line 64) | func packageURL(moduleName, moduleVersion string) string { FILE: syft/pkg/cataloger/golang/package_test.go function Test_packageURL (line 12) | func Test_packageURL(t *testing.T) { function Test_newGoBinaryPackage_relativeReplace (line 59) | func Test_newGoBinaryPackage_relativeReplace(t *testing.T) { FILE: syft/pkg/cataloger/golang/parse_go_binary.go constant goArch (line 30) | goArch = "GOARCH" constant devel (line 47) | devel = "(devel)" type goBinaryCataloger (line 49) | type goBinaryCataloger struct method parseGoBinary (line 62) | func (c *goBinaryCataloger) parseGoBinary(ctx context.Context, resolve... method buildGoPkgInfo (line 122) | func (c *goBinaryCataloger) buildGoPkgInfo(ctx context.Context, resolv... method makeGoMainPackage (line 182) | func (c *goBinaryCataloger) makeGoMainPackage(ctx context.Context, res... method findMainModuleVersion (line 224) | func (c *goBinaryCataloger) findMainModuleVersion(metadata *pkg.Golang... function newGoBinaryCataloger (line 54) | func newGoBinaryCataloger(opts CatalogerConfig) *goBinaryCataloger { function createModuleRelationships (line 87) | func createModuleRelationships(main pkg.Package, deps []pkg.Package) []a... function moduleEqual (line 102) | func moduleEqual(lhs, rhs *debug.Module) bool { function missingMainModule (line 172) | func missingMainModule(mod *extendedBuildInfo) bool { function extractVersionFromContents (line 273) | func extractVersionFromContents(reader io.Reader) string { function extractVersionFromLDFlags (line 287) | func extractVersionFromLDFlags(ldflags string, maimModule string) (major... function getGOARCH (line 318) | func getGOARCH(settings []debug.BuildSetting) string { function getGOARCHFromBin (line 328) | func getGOARCHFromBin(r io.ReaderAt) (string, error) { function getBuildSettings (line 373) | func getBuildSettings(settings []debug.BuildSetting) pkg.KeyValues { function getExperimentsFromVersion (line 384) | func getExperimentsFromVersion(version string) (string, []string) { function createMainModuleFromPath (line 401) | func createMainModuleFromPath(existing *extendedBuildInfo) debug.Module { function ensurePrefix (line 428) | func ensurePrefix(s, prefix string) string { FILE: syft/pkg/cataloger/golang/parse_go_binary_test.go function runMakeTarget (line 29) | func runMakeTarget(t *testing.T, fixtureName string) { function Test_getGOARCHFromBin (line 77) | func Test_getGOARCHFromBin(t *testing.T) { function TestBuildGoPkgInfo (line 128) | func TestBuildGoPkgInfo(t *testing.T) { function Test_extractVersionFromLDFlags (line 1163) | func Test_extractVersionFromLDFlags(t *testing.T) { function Test_extractVersionFromContents (line 1368) | func Test_extractVersionFromContents(t *testing.T) { type alwaysErrorReader (line 1420) | type alwaysErrorReader struct method Read (line 1422) | func (alwaysErrorReader) Read(_ []byte) (int, error) { FILE: syft/pkg/cataloger/golang/parse_go_mod.go type goModCataloger (line 28) | type goModCataloger struct method parseGoModFile (line 41) | func (c *goModCataloger) parseGoModFile(ctx context.Context, resolver ... method loadPackages (line 84) | func (c *goModCataloger) loadPackages(modDir string, loc file.Location... method visitPackages (line 158) | func (c *goModCataloger) visitPackages( method catalogModules (line 246) | func (c *goModCataloger) catalogModules( method parseModFileContents (line 326) | func (c *goModCataloger) parseModFileContents(reader file.LocationRead... method createGoModPackages (line 341) | func (c *goModCataloger) createGoModPackages(ctx context.Context, reso... method applyReplaceDirectives (line 368) | func (c *goModCataloger) applyReplaceDirectives(ctx context.Context, r... method applyExcludeDirectives (line 395) | func (c *goModCataloger) applyExcludeDirectives(modFile *modfile.File,... method assembleResults (line 401) | func (c *goModCataloger) assembleResults(catalogedPkgs []pkg.Package, ... function newGoModCataloger (line 33) | func newGoModCataloger(opts CatalogerConfig) *goModCataloger { type pkgInfo (line 146) | type pkgInfo struct function buildModuleRelationships (line 291) | func buildModuleRelationships( function parseGoSumFile (line 415) | func parseGoSumFile(resolver file.Resolver, reader file.LocationReadClos... function createSourceMetadata (line 454) | func createSourceMetadata(h1Digest string) pkg.GolangSourceEntry { function resolvePkgDir (line 464) | func resolvePkgDir(p *packages.Package) string { function shouldSkipVisit (line 477) | func shouldSkipVisit(p *packages.Package) bool { function isStdLib (line 492) | func isStdLib(pkg *packages.Package) bool { function newModule (line 509) | func newModule(mod *packages.Module) *packages.Module { function isRelativeImportOrMain (line 536) | func isRelativeImportOrMain(p string) bool { FILE: syft/pkg/cataloger/golang/parse_go_mod_test.go function TestParseGoMod (line 17) | func TestParseGoMod(t *testing.T) { function Test_GoSumHashes (line 124) | func Test_GoSumHashes(t *testing.T) { function Test_corruptGoMod (line 182) | func Test_corruptGoMod(t *testing.T) { function Test_parseGoSource_packageResolution (line 190) | func Test_parseGoSource_packageResolution(t *testing.T) { FILE: syft/pkg/cataloger/golang/scan_binary.go type extendedBuildInfo (line 17) | type extendedBuildInfo struct function scanFile (line 24) | func scanFile(location file.Location, reader unionreader.UnionReader) ([... function getCryptoInformation (line 69) | func getCryptoInformation(reader io.ReaderAt) ([]string, error) { function getCryptoSettingsFromVersion (line 78) | func getCryptoSettingsFromVersion(v version.Version) []string { function getBuildInfo (line 92) | func getBuildInfo(r io.ReaderAt, location file.Location) (bi *debug.Buil... FILE: syft/pkg/cataloger/golang/scan_binary_test.go function Test_getBuildInfo (line 15) | func Test_getBuildInfo(t *testing.T) { function Test_getCryptoSettingsFromVersion (line 45) | func Test_getCryptoSettingsFromVersion(t *testing.T) { FILE: syft/pkg/cataloger/golang/stdlib_package.go function stdlibProcessor (line 15) | func stdlibProcessor(ctx context.Context, _ file.Resolver, pkgs []pkg.Pa... function stdlibPackageAndRelationships (line 20) | func stdlibPackageAndRelationships(ctx context.Context, pkgs []pkg.Packa... function newGoStdLib (line 53) | func newGoStdLib(ctx context.Context, version string, location file.Loca... function generateStdlibCpe (line 76) | func generateStdlibCpe(version string) (stdlibCpe cpe.CPE, err error) { FILE: syft/pkg/cataloger/golang/stdlib_package_test.go function Test_stdlibPackageAndRelationships (line 18) | func Test_stdlibPackageAndRelationships(t *testing.T) { function Test_stdlibPackageAndRelationships_values (line 98) | func Test_stdlibPackageAndRelationships_values(t *testing.T) { FILE: syft/pkg/cataloger/golang/subfs.go type subFS (line 9) | type subFS struct method Open (line 32) | func (s subFS) Open(name string) (fs.File, error) { function getSubFS (line 14) | func getSubFS(f fs.FS, root string) fs.FS { function newSubFS (line 25) | func newSubFS(f fs.FS, root string) fs.FS { type rootFile (line 41) | type rootFile struct method Name (line 45) | func (r rootFile) Name() string { method Size (line 49) | func (r rootFile) Size() int64 { method Mode (line 53) | func (r rootFile) Mode() fs.FileMode { method ModTime (line 57) | func (r rootFile) ModTime() time.Time { method IsDir (line 61) | func (r rootFile) IsDir() bool { method Sys (line 65) | func (r rootFile) Sys() any { method ReadDir (line 69) | func (r rootFile) ReadDir(_ int) ([]fs.DirEntry, error) { method Stat (line 73) | func (r rootFile) Stat() (fs.FileInfo, error) { method Read (line 77) | func (r rootFile) Read(_ []byte) (int, error) { method Close (line 81) | func (r rootFile) Close() error { type subFsFileInfo (line 89) | type subFsFileInfo struct method Name (line 93) | func (s subFsFileInfo) Name() string { method Size (line 97) | func (s subFsFileInfo) Size() int64 { method Mode (line 101) | func (s subFsFileInfo) Mode() fs.FileMode { method ModTime (line 105) | func (s subFsFileInfo) ModTime() time.Time { method IsDir (line 109) | func (s subFsFileInfo) IsDir() bool { method Sys (line 113) | func (s subFsFileInfo) Sys() any { FILE: syft/pkg/cataloger/golang/subfs_test.go function Test_NewSubFS (line 11) | func Test_NewSubFS(t *testing.T) { FILE: syft/pkg/cataloger/golang/testdata/archs/src/main.go function main (line 3) | func main() { FILE: syft/pkg/cataloger/golang/testdata/image-not-a-module/main.go function main (line 5) | func main() { FILE: syft/pkg/cataloger/golang/testdata/image-small-upx/main.go function main (line 5) | func main() { FILE: syft/pkg/cataloger/golang/testdata/image-small/main.go function main (line 5) | func main() { FILE: syft/pkg/cataloger/golang/upx.go constant upxMethodLZMA (line 126) | upxMethodLZMA uint8 = 14 constant upxFilterCTO (line 131) | upxFilterCTO uint8 = 0x49 type upxInfo (line 143) | type upxInfo struct type blockInfo (line 153) | type blockInfo struct type upxDecompressor (line 163) | type upxDecompressor function unfilter49 (line 183) | func unfilter49(data []byte, cto8 byte) { function isUPXCompressed (line 215) | func isUPXCompressed(r io.ReaderAt) bool { function decompressUPX (line 243) | func decompressUPX(r io.ReaderAt) (io.ReaderAt, error) { function parseELFPTLoadOffsets (line 328) | func parseELFPTLoadOffsets(elfHeader []byte) []uint64 { function parseUPXInfo (line 369) | func parseUPXInfo(r io.ReaderAt) (*upxInfo, error) { function readBlockInfo (line 428) | func readBlockInfo(r io.ReaderAt, offset int64) (*blockInfo, error) { function nextPowerOf2 (line 453) | func nextPowerOf2(n uint32) uint32 { function decompressLZMA (line 480) | func decompressLZMA(compressedData []byte, uncompressedSize uint32) ([]b... FILE: syft/pkg/cataloger/golang/upx_test.go function TestIsUPXCompressed (line 11) | func TestIsUPXCompressed(t *testing.T) { function TestParseUPXInfo_NotUPX (line 53) | func TestParseUPXInfo_NotUPX(t *testing.T) { function TestParseUPXInfo_ValidHeader (line 62) | func TestParseUPXInfo_ValidHeader(t *testing.T) { function TestDecompressUPX_UnsupportedMethod (line 99) | func TestDecompressUPX_UnsupportedMethod(t *testing.T) { FILE: syft/pkg/cataloger/haskell/cataloger.go function NewHackageCataloger (line 16) | func NewHackageCataloger() pkg.Cataloger { FILE: syft/pkg/cataloger/haskell/cataloger_test.go function TestCataloger_Globs (line 9) | func TestCataloger_Globs(t *testing.T) { FILE: syft/pkg/cataloger/haskell/package.go function newPackage (line 9) | func newPackage(name, version string, m any, location file.Location) pkg... function packageURL (line 25) | func packageURL(name, version string) string { FILE: syft/pkg/cataloger/haskell/parse_cabal_freeze.go function parseCabalFreeze (line 20) | func parseCabalFreeze(_ context.Context, _ file.Resolver, _ *generic.Env... FILE: syft/pkg/cataloger/haskell/parse_cabal_freeze_test.go function TestParseCabalFreeze (line 12) | func TestParseCabalFreeze(t *testing.T) { FILE: syft/pkg/cataloger/haskell/parse_stack_lock.go type stackLock (line 20) | type stackLock struct type stackPackage (line 25) | type stackPackage struct type completedPackage (line 29) | type completedPackage struct type stackSnapshot (line 33) | type stackSnapshot struct type completedSnapshot (line 37) | type completedSnapshot struct function parseStackLock (line 43) | func parseStackLock(_ context.Context, _ file.Resolver, _ *generic.Envir... function parseStackPackageEncoding (line 83) | func parseStackPackageEncoding(pkgEncoding string) (name, version, hash ... FILE: syft/pkg/cataloger/haskell/parse_stack_lock_test.go function TestParseStackLock (line 12) | func TestParseStackLock(t *testing.T) { function Test_corruptStackLock (line 134) | func Test_corruptStackLock(t *testing.T) { FILE: syft/pkg/cataloger/haskell/parse_stack_yaml.go type stackYaml (line 19) | type stackYaml struct function parseStackYaml (line 24) | func parseStackYaml(_ context.Context, _ file.Resolver, _ *generic.Envir... FILE: syft/pkg/cataloger/haskell/parse_stack_yaml_test.go function TestParseStackYaml (line 12) | func TestParseStackYaml(t *testing.T) { function Test_corruptStackYaml (line 114) | func Test_corruptStackYaml(t *testing.T) { FILE: syft/pkg/cataloger/homebrew/cataloger.go function NewCataloger (line 8) | func NewCataloger() pkg.Cataloger { FILE: syft/pkg/cataloger/homebrew/cataloger_test.go function Test_HomebrewCataloger_Globs (line 12) | func Test_HomebrewCataloger_Globs(t *testing.T) { function Test_HomebrewCataloger (line 26) | func Test_HomebrewCataloger(t *testing.T) { FILE: syft/pkg/cataloger/homebrew/package.go function newHomebrewPackage (line 13) | func newHomebrewPackage(ctx context.Context, resolver file.Resolver, pd ... function packageURL (line 41) | func packageURL(name, version string) string { FILE: syft/pkg/cataloger/homebrew/package_test.go function Test_packageURL (line 9) | func Test_packageURL(t *testing.T) { FILE: syft/pkg/cataloger/homebrew/parse_homebrew_formula.go type parsedHomebrewData (line 16) | type parsedHomebrewData struct function parseHomebrewFormula (line 25) | func parseHomebrewFormula(ctx context.Context, resolver file.Resolver, _... function parseFormulaFile (line 46) | func parseFormulaFile(reader file.LocationReadCloser) (*parsedHomebrewDa... function matchesVariable (line 87) | func matchesVariable(line, name string) bool { function getNameAndVersionFromPath (line 92) | func getNameAndVersionFromPath(p string) (string, string) { function getTapFromPath (line 118) | func getTapFromPath(path string) string { function getQuotedValue (line 134) | func getQuotedValue(s string) string { FILE: syft/pkg/cataloger/homebrew/parse_homebrew_formula_test.go function Test_ParseHomebrewPackage (line 11) | func Test_ParseHomebrewPackage(t *testing.T) { function TestGetTapFromPath (line 63) | func TestGetTapFromPath(t *testing.T) { function TestGetNameAndVersionFromPath (line 106) | func TestGetNameAndVersionFromPath(t *testing.T) { function TestGetQuotedValue (line 164) | func TestGetQuotedValue(t *testing.T) { function TestMatchesVariable (line 237) | func TestMatchesVariable(t *testing.T) { FILE: syft/pkg/cataloger/homebrew/testdata/formulas/crazy/1.0.0/.brew/crazy.rb class ExampleFormula (line 19) | class ExampleFormula < Formula method pour_bottle? (line 113) | def pour_bottle? method install (line 254) | def install method caveats (line 414) | def caveats method caveats (line 418) | def caveats method plist (line 469) | def plist; <<-EOS.undent FILE: syft/pkg/cataloger/homebrew/testdata/formulas/syft/1.23.1/.brew/syft.rb class Syft (line 5) | class Syft < Formula method install (line 16) | def install method install (line 24) | def install method install (line 36) | def install method install (line 46) | def install FILE: syft/pkg/cataloger/internal/binutils/branching_matcher.go function BranchingEvidenceMatcher (line 14) | func BranchingEvidenceMatcher(classifiers ...Classifier) EvidenceMatcher { type nonClosingUnionReader (line 45) | type nonClosingUnionReader struct method Close (line 49) | func (c *nonClosingUnionReader) Close() error { FILE: syft/pkg/cataloger/internal/binutils/branching_matcher_test.go function Test_BranchingMatcher (line 12) | func Test_BranchingMatcher(t *testing.T) { FILE: syft/pkg/cataloger/internal/binutils/classifier.go type Classifier (line 31) | type Classifier struct method MarshalJSON (line 53) | func (cfg Classifier) MarshalJSON() ([]byte, error) { type EvidenceMatcher (line 80) | type EvidenceMatcher type MatcherContext (line 82) | type MatcherContext struct function MatchAny (line 90) | func MatchAny(matchers ...EvidenceMatcher) EvidenceMatcher { function MatchAll (line 107) | func MatchAll(matchers ...EvidenceMatcher) EvidenceMatcher { type ContextualEvidenceMatchers (line 123) | type ContextualEvidenceMatchers struct method FileNameTemplateVersionMatcher (line 127) | func (c ContextualEvidenceMatchers) FileNameTemplateVersionMatcher(fil... method FileContentsVersionMatcher (line 131) | func (c ContextualEvidenceMatchers) FileContentsVersionMatcher(pattern... function FileNameTemplateVersionMatcher (line 135) | func FileNameTemplateVersionMatcher(fileNamePattern, contentTemplate, ca... function FileContentsVersionMatcher (line 185) | func FileContentsVersionMatcher(catalogerName string, patterns ...string... function SharedLibraryLookup (line 245) | func SharedLibraryLookup(sharedLibraryPattern string, sharedLibraryMatch... function MatchPath (line 299) | func MatchPath(path string) EvidenceMatcher { function SupportingEvidenceMatcher (line 313) | func SupportingEvidenceMatcher(relativePathGlob string, evidenceMatcher ... function getReader (line 333) | func getReader(context MatcherContext) (unionreader.UnionReader, error) { function sharedLibraries (line 347) | func sharedLibraries(context MatcherContext) ([]string, error) { function makePrimaryLocation (line 393) | func makePrimaryLocation(p *pkg.Package, primaryLocation file.Location) { function collectSupportingEvidence (line 404) | func collectSupportingEvidence(classifier Classifier, context MatcherCon... FILE: syft/pkg/cataloger/internal/binutils/classifier_package.go function NewClassifierPackage (line 17) | func NewClassifierPackage(classifier Classifier, location file.Location,... function templatedUpdate (line 62) | func templatedUpdate(providedValue string, matchMetadata map[string]stri... FILE: syft/pkg/cataloger/internal/binutils/classifier_test.go function Test_ClassifierCPEs (line 19) | func Test_ClassifierCPEs(t *testing.T) { function TestClassifier_MarshalJSON (line 105) | func TestClassifier_MarshalJSON(t *testing.T) { function TestFileContentsVersionMatcher (line 148) | func TestFileContentsVersionMatcher(t *testing.T) { function Test_SupportingEvidenceMatcher (line 189) | func Test_SupportingEvidenceMatcher(t *testing.T) { FILE: syft/pkg/cataloger/internal/cpegenerate/apk.go type upstreamCandidate (line 20) | type upstreamCandidate struct function upstreamCandidates (line 25) | func upstreamCandidates(m pkg.ApkDBEntry) (candidates []upstreamCandidat... function candidateVendorsForAPK (line 62) | func candidateVendorsForAPK(p pkg.Package) fieldCandidateSet { function candidateProductsForAPK (line 103) | func candidateProductsForAPK(p pkg.Package) fieldCandidateSet { FILE: syft/pkg/cataloger/internal/cpegenerate/apk_test.go function Test_candidateVendorsForAPK (line 11) | func Test_candidateVendorsForAPK(t *testing.T) { function Test_candidateProductsForAPK (line 117) | func Test_candidateProductsForAPK(t *testing.T) { function Test_upstreamCandidates (line 212) | func Test_upstreamCandidates(t *testing.T) { FILE: syft/pkg/cataloger/internal/cpegenerate/candidate_by_package_type.go type candidateComposite (line 8) | type candidateComposite struct type candidateRemovalComposite (line 14) | type candidateRemovalComposite struct function buildCandidateLookup (line 682) | func buildCandidateLookup(cc []candidateComposite) (ca map[pkg.Type]map[... function buildCandidateRemovalLookup (line 695) | func buildCandidateRemovalLookup(cc []candidateRemovalComposite) (ca map... type candidateKey (line 707) | type candidateKey struct type candidateRemovals (line 713) | type candidateRemovals struct type candidateAddition (line 719) | type candidateAddition struct function findAdditionalVendors (line 725) | func findAdditionalVendors(allAdditions map[pkg.Type]map[candidateKey]ca... function findAdditionalProducts (line 754) | func findAdditionalProducts(allAdditions map[pkg.Type]map[candidateKey]c... function findVendorsToRemove (line 770) | func findVendorsToRemove(allRemovals map[pkg.Type]map[candidateKey]candi... function findProductsToRemove (line 786) | func findProductsToRemove(allRemovals map[pkg.Type]map[candidateKey]cand... FILE: syft/pkg/cataloger/internal/cpegenerate/candidate_by_package_type_test.go function Test_additionalProducts (line 11) | func Test_additionalProducts(t *testing.T) { function Test_additionalVendors (line 57) | func Test_additionalVendors(t *testing.T) { function Test_findVendorsToRemove (line 158) | func Test_findVendorsToRemove(t *testing.T) { function Test_findProductsToRemove (line 197) | func Test_findProductsToRemove(t *testing.T) { FILE: syft/pkg/cataloger/internal/cpegenerate/candidate_for_pe.go function candidateVendorsForPE (line 11) | func candidateVendorsForPE(p pkg.Package) fieldCandidateSet { function candidateProductsForPE (line 40) | func candidateProductsForPE(p pkg.Package) fieldCandidateSet { FILE: syft/pkg/cataloger/internal/cpegenerate/dictionary/types.go constant EcosystemNPM (line 11) | EcosystemNPM = "npm" constant EcosystemRubyGems (line 12) | EcosystemRubyGems = "rubygems" constant EcosystemPyPI (line 13) | EcosystemPyPI = "pypi" constant EcosystemPHPPear (line 14) | EcosystemPHPPear = "php_pear" constant EcosystemPHPPecl (line 15) | EcosystemPHPPecl = "php_pecl" constant EcosystemPHPComposer (line 16) | EcosystemPHPComposer = "php_composer" constant EcosystemJenkinsPlugins (line 17) | EcosystemJenkinsPlugins = "jenkins_plugins" constant EcosystemRustCrates (line 18) | EcosystemRustCrates = "rust_crates" constant EcosystemGoModules (line 19) | EcosystemGoModules = "go_modules" constant EcosystemWordpressPlugins (line 20) | EcosystemWordpressPlugins = "wordpress_plugins" constant EcosystemWordpressThemes (line 21) | EcosystemWordpressThemes = "wordpress_themes" type Indexed (line 24) | type Indexed struct type Set (line 28) | type Set struct method MarshalJSON (line 38) | func (s *Set) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 44) | func (s *Set) UnmarshalJSON(data []byte) error { type Packages (line 32) | type Packages function NewSet (line 34) | func NewSet(ts ...string) *Set { FILE: syft/pkg/cataloger/internal/cpegenerate/dotnet.go function candidateProductsForDotnet (line 9) | func candidateProductsForDotnet(p pkg.Package) fieldCandidateSet { function dotnetProductVariants (line 32) | func dotnetProductVariants(names ...string) []fieldCandidate { function normalizeDotnetReference (line 52) | func normalizeDotnetReference(name string) string { function candidateVendorsForDotnet (line 61) | func candidateVendorsForDotnet(p pkg.Package) fieldCandidateSet { FILE: syft/pkg/cataloger/internal/cpegenerate/field_candidate.go type fieldCandidate (line 13) | type fieldCandidate struct type fieldCandidateSet (line 19) | type fieldCandidateSet method addValue (line 35) | func (s fieldCandidateSet) addValue(values ...string) { method add (line 45) | func (s fieldCandidateSet) add(candidates ...fieldCandidate) { method removeByValue (line 52) | func (s fieldCandidateSet) removeByValue(values ...string) { method removeWhere (line 59) | func (s fieldCandidateSet) removeWhere(condition fieldCandidateConditi... method clear (line 67) | func (s fieldCandidateSet) clear() { method union (line 73) | func (s fieldCandidateSet) union(others ...fieldCandidateSet) { method list (line 79) | func (s fieldCandidateSet) list() (results []fieldCandidate) { method values (line 87) | func (s fieldCandidateSet) values() (results []string) { method uniqueValues (line 95) | func (s fieldCandidateSet) uniqueValues() []string { method copy (line 99) | func (s fieldCandidateSet) copy() fieldCandidateSet { function newFieldCandidateSetFromSets (line 21) | func newFieldCandidateSetFromSets(sets ...fieldCandidateSet) fieldCandid... function newFieldCandidateSet (line 29) | func newFieldCandidateSet(values ...string) fieldCandidateSet { function cleanCandidateField (line 106) | func cleanCandidateField(field string) string { FILE: syft/pkg/cataloger/internal/cpegenerate/field_candidate_filter.go type fieldCandidateCondition (line 4) | type fieldCandidateCondition function subSelectionsDisallowed (line 6) | func subSelectionsDisallowed(c fieldCandidate) bool { function delimiterVariationsDisallowed (line 10) | func delimiterVariationsDisallowed(c fieldCandidate) bool { function valueEquals (line 14) | func valueEquals(v string) fieldCandidateCondition { FILE: syft/pkg/cataloger/internal/cpegenerate/field_candidate_test.go function Test_cpeCandidateValues_filter (line 10) | func Test_cpeCandidateValues_filter(t *testing.T) { function Test_cpeFieldCandidateSet_addValue (line 144) | func Test_cpeFieldCandidateSet_addValue(t *testing.T) { function Test_cpeFieldCandidateSet_add (line 151) | func Test_cpeFieldCandidateSet_add(t *testing.T) { function Test_cpeFieldCandidateSet_clear (line 160) | func Test_cpeFieldCandidateSet_clear(t *testing.T) { function Test_cpeFieldCandidateSet_union (line 167) | func Test_cpeFieldCandidateSet_union(t *testing.T) { function Test_cpeFieldCandidateSet_union_byValue (line 228) | func Test_cpeFieldCandidateSet_union_byValue(t *testing.T) { function Test_cpeFieldCandidateSet_uniqueValues (line 259) | func Test_cpeFieldCandidateSet_uniqueValues(t *testing.T) { function Test_cpeFieldCandidateSet_removeByValue (line 287) | func Test_cpeFieldCandidateSet_removeByValue(t *testing.T) { function Test_cpeFieldCandidateSet_removeByCondition (line 320) | func Test_cpeFieldCandidateSet_removeByCondition(t *testing.T) { FILE: syft/pkg/cataloger/internal/cpegenerate/filter.go constant jenkinsName (line 10) | jenkinsName = "jenkins" type filterFn (line 13) | type filterFn function filter (line 22) | func filter(cpes []cpe.Attributes, p pkg.Package, filters ...filterFn) (... function disallowNonParseableCPEs (line 36) | func disallowNonParseableCPEs(c cpe.Attributes, _ pkg.Package) bool { function disallowJenkinsServerCPEForPluginPackage (line 46) | func disallowJenkinsServerCPEForPluginPackage(c cpe.Attributes, p pkg.Pa... function disallowJenkinsCPEsNotAssociatedWithJenkins (line 54) | func disallowJenkinsCPEsNotAssociatedWithJenkins(c cpe.Attributes, p pkg... function disallowJiraClientServerMismatch (line 65) | func disallowJiraClientServerMismatch(c cpe.Attributes, p pkg.Package) b... FILE: syft/pkg/cataloger/internal/cpegenerate/filter_test.go function Test_disallowJenkinsServerCPEForPluginPackage (line 12) | func Test_disallowJenkinsServerCPEForPluginPackage(t *testing.T) { function Test_disallowJenkinsCPEsNotAssociatedWithJenkins (line 51) | func Test_disallowJenkinsCPEsNotAssociatedWithJenkins(t *testing.T) { function Test_disallowJiraClientServerMismatch (line 111) | func Test_disallowJiraClientServerMismatch(t *testing.T) { FILE: syft/pkg/cataloger/internal/cpegenerate/generate.go function newCPE (line 27) | func newCPE(product, vendor, version, targetSW string) *cpe.Attributes { function GetIndexedDictionary (line 46) | func GetIndexedDictionary() (_ *dictionary.Indexed, err error) { function FromDictionaryFind (line 63) | func FromDictionaryFind(p pkg.Package) ([]cpe.CPE, bool) { function FromPackageAttributes (line 141) | func FromPackageAttributes(p pkg.Package) []cpe.CPE { function candidateTargetSw (line 186) | func candidateTargetSw(p pkg.Package) []string { function candidateVendors (line 193) | func candidateVendors(p pkg.Package) []string { function candidateProducts (line 280) | func candidateProducts(p pkg.Package) []string { function candidateProductSet (line 284) | func candidateProductSet(p pkg.Package) fieldCandidateSet { function addAllSubSelections (line 339) | func addAllSubSelections(fields fieldCandidateSet) { function generateSubSelections (line 350) | func generateSubSelections(field string) (results []string) { function trimHyphenOrUnderscore (line 381) | func trimHyphenOrUnderscore(r rune) bool { function scanByHyphenOrUnderscore (line 390) | func scanByHyphenOrUnderscore(data []byte, atEOF bool) (advance int, tok... function addDelimiterVariations (line 405) | func addDelimiterVariations(fields fieldCandidateSet) { function removeTrailingDigits (line 433) | func removeTrailingDigits(s string) string { function addBinaryPackageDigitVariations (line 439) | func addBinaryPackageDigitVariations(fields fieldCandidateSet) { function endsWithNumber (line 453) | func endsWithNumber(s string) bool { FILE: syft/pkg/cataloger/internal/cpegenerate/generate_test.go function keyValues (line 17) | func keyValues(m map[string]string) []pkg.KeyValue { function TestGeneratePackageCPEs (line 28) | func TestGeneratePackageCPEs(t *testing.T) { function TestCandidateProducts (line 894) | func TestCandidateProducts(t *testing.T) { function TestCandidateVendor (line 999) | func TestCandidateVendor(t *testing.T) { function Test_generateSubSelections (line 1046) | func Test_generateSubSelections(t *testing.T) { function Test_addSeparatorVariations (line 1095) | func Test_addSeparatorVariations(t *testing.T) { function TestDictionaryFindIsWired (line 1126) | func TestDictionaryFindIsWired(t *testing.T) { function TestAddBinaryPackageDigitVariations (line 1171) | func TestAddBinaryPackageDigitVariations(t *testing.T) { FILE: syft/pkg/cataloger/internal/cpegenerate/go.go function candidateProductForGo (line 10) | func candidateProductForGo(name string) string { function candidateVendorForGo (line 38) | func candidateVendorForGo(name string) string { FILE: syft/pkg/cataloger/internal/cpegenerate/go_test.go function TestCandidateProductForGo (line 9) | func TestCandidateProductForGo(t *testing.T) { function TestCandidateVendorForGo (line 59) | func TestCandidateVendorForGo(t *testing.T) { FILE: syft/pkg/cataloger/internal/cpegenerate/java.go function candidateProductsForJava (line 46) | func candidateProductsForJava(p pkg.Package) []string { function candidateVendorsForJava (line 50) | func candidateVendorsForJava(p pkg.Package) fieldCandidateSet { function vendorsFromJavaManifestNames (line 56) | func vendorsFromJavaManifestNames(p pkg.Package) fieldCandidateSet { function vendorsFromGroupIDs (line 99) | func vendorsFromGroupIDs(groupIDs []string) fieldCandidateSet { function productsFromArtifactAndGroupIDs (line 131) | func productsFromArtifactAndGroupIDs(artifactID string, groupIDs []strin... function artifactIDFromJavaPackage (line 169) | func artifactIDFromJavaPackage(p pkg.Package) string { function GroupIDsFromJavaPackage (line 187) | func GroupIDsFromJavaPackage(p pkg.Package) (groupIDs []string) { function GroupIDsFromJavaMetadata (line 199) | func GroupIDsFromJavaMetadata(pkgName string, metadata pkg.JavaArchive) ... function groupIDsFromPomProperties (line 207) | func groupIDsFromPomProperties(properties *pkg.JavaPomProperties) (group... function groupIDsFromPomProject (line 225) | func groupIDsFromPomProject(project *pkg.JavaPomProject) (groupIDs []str... function addGroupIDsFromGroupIDsAndArtifactID (line 243) | func addGroupIDsFromGroupIDsAndArtifactID(groupID, artifactID string) (g... function groupIDsFromJavaManifest (line 256) | func groupIDsFromJavaManifest(pkgName string, manifest *pkg.JavaManifest... function GetManifestFieldGroupIDs (line 280) | func GetManifestFieldGroupIDs(manifest *pkg.JavaManifest, fields []strin... function cleanGroupID (line 304) | func cleanGroupID(groupID string) string { function removeOSCIDirectives (line 312) | func removeOSCIDirectives(groupID string) string { function startsWithTopLevelDomain (line 319) | func startsWithTopLevelDomain(value string) bool { function looksLikeGroupID (line 323) | func looksLikeGroupID(value string) bool { FILE: syft/pkg/cataloger/internal/cpegenerate/java_test.go function Test_productsFromArtifactAndGroupIDs (line 13) | func Test_productsFromArtifactAndGroupIDs(t *testing.T) { function Test_candidateProductsForJava (line 72) | func Test_candidateProductsForJava(t *testing.T) { function Test_vendorsFromGroupIDs (line 110) | func Test_vendorsFromGroupIDs(t *testing.T) { function Test_groupIDsFromJavaPackage (line 147) | func Test_groupIDsFromJavaPackage(t *testing.T) { function Test_artifactIDFromJavaPackage (line 423) | func Test_artifactIDFromJavaPackage(t *testing.T) { function Test_vendorsFromJavaManifestNames (line 464) | func Test_vendorsFromJavaManifestNames(t *testing.T) { function Test_groupIDsFromJavaManifest (line 533) | func Test_groupIDsFromJavaManifest(t *testing.T) { FILE: syft/pkg/cataloger/internal/cpegenerate/javascript.go function candidateVendorsForJavascript (line 5) | func candidateVendorsForJavascript(p pkg.Package) fieldCandidateSet { FILE: syft/pkg/cataloger/internal/cpegenerate/pe_test.go function TestGhostscriptPEGeneratesArtifexCPE (line 9) | func TestGhostscriptPEGeneratesArtifexCPE(t *testing.T) { FILE: syft/pkg/cataloger/internal/cpegenerate/python.go function additionalVendorsForPython (line 10) | func additionalVendorsForPython(v string) (vendors []string) { function candidateVendorsForPython (line 18) | func candidateVendorsForPython(p pkg.Package) fieldCandidateSet { FILE: syft/pkg/cataloger/internal/cpegenerate/rpm.go function candidateVendorsForRPM (line 5) | func candidateVendorsForRPM(p pkg.Package) fieldCandidateSet { FILE: syft/pkg/cataloger/internal/cpegenerate/ruby.go function candidateVendorsForRuby (line 5) | func candidateVendorsForRuby(p pkg.Package) fieldCandidateSet { FILE: syft/pkg/cataloger/internal/cpegenerate/utils.go function stripEmailSuffix (line 5) | func stripEmailSuffix(email string) string { function normalizePersonName (line 9) | func normalizePersonName(name string) string { function normalizeName (line 17) | func normalizeName(name string) string { FILE: syft/pkg/cataloger/internal/cpegenerate/utils_test.go function Test_normalizeName (line 9) | func Test_normalizeName(t *testing.T) { function Test_normalizePersonName (line 35) | func Test_normalizePersonName(t *testing.T) { FILE: syft/pkg/cataloger/internal/cpegenerate/vendors_from_url.go function candidateVendorsFromURL (line 28) | func candidateVendorsFromURL(url string) fieldCandidateSet { FILE: syft/pkg/cataloger/internal/cpegenerate/vendors_from_url_test.go function Test_candidateVendorsFromURL (line 9) | func Test_candidateVendorsFromURL(t *testing.T) { FILE: syft/pkg/cataloger/internal/cpegenerate/wordpress.go function candidateVendorsForWordpressPlugin (line 16) | func candidateVendorsForWordpressPlugin(p pkg.Package) fieldCandidateSet { function candidateProductsForWordpressPlugin (line 43) | func candidateProductsForWordpressPlugin(p pkg.Package) fieldCandidateSet { function normalizeWordpressPluginName (line 56) | func normalizeWordpressPluginName(name string) string { FILE: syft/pkg/cataloger/internal/cpegenerate/wordpress_test.go function Test_candidateVendorsForWordpressPlugin (line 11) | func Test_candidateVendorsForWordpressPlugin(t *testing.T) { function Test_candidateProductsWordpressPlugin (line 99) | func Test_candidateProductsWordpressPlugin(t *testing.T) { FILE: syft/pkg/cataloger/internal/dependency/resolver.go type Specification (line 17) | type Specification struct type ProvidesRequires (line 25) | type ProvidesRequires struct type Specifier (line 35) | type Specifier function Processor (line 38) | func Processor(s Specifier) generic.Processor { function Resolve (line 55) | func Resolve(specifier Specifier, pkgs []pkg.Package) (relationships []a... function allProvides (line 97) | func allProvides(pkgsProvidingResource map[string]internal.Set[artifact.... function deduplicate (line 113) | func deduplicate(ss []string) []string { FILE: syft/pkg/cataloger/internal/dependency/resolver_test.go function Test_resolve (line 14) | func Test_resolve(t *testing.T) { type specifierBuilder (line 95) | type specifierBuilder struct method WithProvides (line 109) | func (m *specifierBuilder) WithProvides(p pkg.Package, provides ...str... method WithRequires (line 114) | func (m *specifierBuilder) WithRequires(p pkg.Package, requires ...str... method WithVariant (line 119) | func (m *specifierBuilder) WithVariant(p pkg.Package, variantName stri... method Specifier (line 127) | func (m specifierBuilder) Specifier() Specifier { function newSpecifierBuilder (line 101) | func newSpecifierBuilder() *specifierBuilder { function abstractRelationships (line 147) | func abstractRelationships(t testing.TB, relationships []artifact.Relati... function Test_Processor (line 168) | func Test_Processor(t *testing.T) { FILE: syft/pkg/cataloger/internal/licenses/find_licenses.go function RelativeToPackage (line 15) | func RelativeToPackage(ctx context.Context, resolver file.Resolver, p pk... function FindAtLocations (line 36) | func FindAtLocations(ctx context.Context, resolver file.Resolver, locati... function FindAtPaths (line 45) | func FindAtPaths(ctx context.Context, resolver file.Resolver, paths ...s... function FindInDirs (line 61) | func FindInDirs(ctx context.Context, resolver file.Resolver, dirs ...str... function FindRelativeToLocations (line 71) | func FindRelativeToLocations(ctx context.Context, resolver file.Resolver... function FindByGlob (line 83) | func FindByGlob(ctx context.Context, resolver file.Resolver, glob string... function NewFromValues (line 99) | func NewFromValues(ctx context.Context, locations []file.Location, value... function readFromResolver (line 115) | func readFromResolver(ctx context.Context, resolver file.Resolver, locat... FILE: syft/pkg/cataloger/internal/licenses/find_licenses_test.go function Test_FindRelativeLicenses (line 18) | func Test_FindRelativeLicenses(t *testing.T) { function Test_Finders (line 69) | func Test_Finders(t *testing.T) { function licenseNames (line 157) | func licenseNames(slice []pkg.License) []string { function getScanner (line 165) | func getScanner() licenses.Scanner { FILE: syft/pkg/cataloger/internal/licenses/names.go function IsLicenseFile (line 49) | func IsLicenseFile(name string) bool { FILE: syft/pkg/cataloger/internal/licenses/names_test.go function Test_IsLicenseFile (line 7) | func Test_IsLicenseFile(t *testing.T) { FILE: syft/pkg/cataloger/internal/pe/bundle.go type dotNetBundleHeader (line 21) | type dotNetBundleHeader struct type dotNetBundleHeaderV2 (line 28) | type dotNetBundleHeaderV2 struct type dotNetFileType (line 37) | type dotNetFileType constant dotNetFileTypeUnknown (line 40) | dotNetFileTypeUnknown dotNetFileType = iota constant dotNetFileTypeAssembly (line 41) | dotNetFileTypeAssembly constant dotNetFileTypeNativeBinary (line 42) | dotNetFileTypeNativeBinary constant dotNetFileTypeDepsJSON (line 43) | dotNetFileTypeDepsJSON constant dotNetFileTypeRuntimeConfigJSON (line 44) | dotNetFileTypeRuntimeConfigJSON constant dotNetFileTypeSymbols (line 45) | dotNetFileTypeSymbols function extractDepsJSONFromBundle (line 80) | func extractDepsJSONFromBundle(r io.ReadSeeker, sections []pe.SectionHea... function findBundleHeaderOffset (line 94) | func findBundleHeaderOffset(r io.ReadSeeker, sections []pe.SectionHeader... function calculatePEEndOffset (line 120) | func calculatePEEndOffset(sections []pe.SectionHeader32) int64 { function readDepsJSONFromBundleHeader (line 133) | func readDepsJSONFromBundleHeader(r io.ReadSeeker, headerOffset int64) (... function skipDotNetString (line 165) | func skipDotNetString(r io.ReadSeeker) error { function read7BitEncodedInt (line 175) | func read7BitEncodedInt(r io.Reader) (int, error) { function readDepsJSONAtOffset (line 196) | func readDepsJSONAtOffset(r io.ReadSeeker, offset, size int64) (string, ... function findDepsJSONInManifest (line 208) | func findDepsJSONInManifest(r io.ReadSeeker, numFiles int32, majorVersio... FILE: syft/pkg/cataloger/internal/pe/bundle_test.go function Test_extractDepsJSONFromBundle_Versions (line 10) | func Test_extractDepsJSONFromBundle_Versions(t *testing.T) { FILE: syft/pkg/cataloger/internal/pe/pe.go constant peMaxAllowedDirectoryEntries (line 20) | peMaxAllowedDirectoryEntries = 0x1000 type File (line 29) | type File struct type CLREvidence (line 48) | type CLREvidence struct method HasEvidenceOfCLR (line 60) | func (c *CLREvidence) HasEvidenceOfCLR() bool { type peDosHeader (line 64) | type peDosHeader struct type peImageCore20 (line 72) | type peImageCore20 struct type peImageResourceDirectory (line 79) | type peImageResourceDirectory struct type peImageResourceDirectoryEntry (line 89) | type peImageResourceDirectoryEntry struct type peImageResourceDataEntry (line 95) | type peImageResourceDataEntry struct type peVsFixedFileInfo (line 103) | type peVsFixedFileInfo struct type peVsVersionInfo (line 119) | type peVsVersionInfo type peStringFileInfo (line 121) | type peStringFileInfo type peStringTable (line 123) | type peStringTable type peString (line 125) | type peString type peLenValLenType (line 127) | type peLenValLenType struct type extractedSection (line 133) | type extractedSection struct method exists (line 140) | func (s extractedSection) exists() bool { function directoryName (line 144) | func directoryName(i int) string { function Read (line 154) | func Read(f file.LocationReadCloser) (*File, error) { function parsePEFile (line 192) | func parsePEFile(file unionreader.UnionReader) (map[int]*extractedSectio... function parsePEHeader (line 219) | func parsePEHeader(file unionreader.UnionReader) (*pe.FileHeader, uint16... function parseSectionHeaders (line 261) | func parseSectionHeaders(file unionreader.UnionReader, magic uint16, num... function parseCLR (line 313) | func parseCLR(sec *extractedSection, resourceNames *strset.Set) (*CLREvi... function rvaToFileOffset (line 335) | func rvaToFileOffset(rva uint32, sections []pe.SectionHeader32) (uint32,... function readDataFromRVA (line 345) | func readDataFromRVA(file io.ReadSeeker, rva, size uint32, sections []pe... function parseResourceDirectory (line 391) | func parseResourceDirectory(sec *extractedSection, dirs *u32set.Set, fie... function processResourceEntry (line 447) | func processResourceEntry(entry peImageResourceDirectoryEntry, baseRVA u... function parseResourceDataEntry (line 502) | func parseResourceDataEntry(reader *bytes.Reader, baseRVA, rva, remainin... function parseVersionResourceSection (line 583) | func parseVersionResourceSection(reader *bytes.Reader, fields map[string... function readIntoStructAndSzKey (line 662) | func readIntoStructAndSzKey[T any](reader *bytes.Reader, data *T, offset... function readIntoStruct (line 670) | func readIntoStruct[T any](reader io.Reader, data *T, offsets ...*int) e... function alignAndSeek (line 685) | func alignAndSeek(reader io.Seeker, offset *int, trackOffsets ...*int) e... function alignToDWORD (line 697) | func alignToDWORD(offset int) int { function readUTF16 (line 702) | func readUTF16(reader *bytes.Reader, offsets ...*int) string { function readUTF16WithLength (line 731) | func readUTF16WithLength(reader *bytes.Reader) (string, error) { FILE: syft/pkg/cataloger/internal/pe/pe_test.go function Test_Read_DotNetDetection (line 18) | func Test_Read_DotNetDetection(t *testing.T) { function fixtureFile (line 156) | func fixtureFile(t *testing.T, fixture, path string) file.LocationReadCl... FILE: syft/pkg/cataloger/internal/pe/testdata/image-dotnet31-single-file/src/Program.cs class Program (line 5) | class Program method Main (line 7) | static void Main(string[] args) FILE: syft/pkg/cataloger/internal/pkgtest/metadata_tracker.go type MetadataTracker (line 33) | type MetadataTracker struct method RecordParser (line 58) | func (t *MetadataTracker) RecordParser(packageName, parserFunction, me... method RecordCataloger (line 83) | func (t *MetadataTracker) RecordCataloger(catalogerName, metadataType ... method RecordParserPackageType (line 104) | func (t *MetadataTracker) RecordParserPackageType(packageName, parserF... method RecordCatalogerPackageType (line 129) | func (t *MetadataTracker) RecordCatalogerPackageType(catalogerName, pk... method RecordParserPackageMetadata (line 150) | func (t *MetadataTracker) RecordParserPackageMetadata(packageName, par... method RecordCatalogerPackageMetadata (line 163) | func (t *MetadataTracker) RecordCatalogerPackageMetadata(catalogerName... method ensureObservationsInitialized (line 241) | func (t *MetadataTracker) ensureObservationsInitialized(packageName st... method getOrCreateParser (line 259) | func (t *MetadataTracker) getOrCreateParser(parserFunction string) *pk... method getOrCreateCataloger (line 272) | func (t *MetadataTracker) getOrCreateCataloger(catalogerName string) *... method RecordParserObservations (line 284) | func (t *MetadataTracker) RecordParserObservations( method RecordCatalogerObservations (line 302) | func (t *MetadataTracker) RecordCatalogerObservations( method WriteResults (line 474) | func (t *MetadataTracker) WriteResults() error { function getTracker (line 45) | func getTracker() *MetadataTracker { function aggregateObservations (line 177) | func aggregateObservations( function getMetadataTypeName (line 325) | func getMetadataTypeName(metadata interface{}) string { function lastPathSegment (line 352) | func lastPathSegment(path string) string { function hasIntegrityHash (line 364) | func hasIntegrityHash(metadata interface{}) bool { function hasFileDigests (line 381) | func hasFileDigests(metadata interface{}) bool { function dereferenceToStruct (line 403) | func dereferenceToStruct(v interface{}) reflect.Value { function hasPopulatedStringField (line 419) | func hasPopulatedStringField(v reflect.Value, fieldName string) bool { function hasPopulatedDigest (line 425) | func hasPopulatedDigest(fileRecord reflect.Value) bool { function countDependencyRelationships (line 451) | func countDependencyRelationships(relationships []artifact.Relationship)... function contains (line 462) | func contains(slice []string, item string) bool { function writeJSONFile (line 497) | func writeJSONFile(path string, data interface{}) error { function WriteResultsIfEnabled (line 511) | func WriteResultsIfEnabled() error { FILE: syft/pkg/cataloger/internal/pkgtest/observing_resolver.go type ObservingResolver (line 21) | type ObservingResolver struct method ObservedPathQuery (line 44) | func (r *ObservingResolver) ObservedPathQuery(input string) bool { method ObservedPathResponses (line 56) | func (r *ObservingResolver) ObservedPathResponses(path string) bool { method ObservedContentQueries (line 66) | func (r *ObservingResolver) ObservedContentQueries(path string) bool { method AllContentQueries (line 76) | func (r *ObservingResolver) AllContentQueries() []string { method AllPathQueries (line 85) | func (r *ObservingResolver) AllPathQueries() map[string][]string { method PruneUnfulfilledPathResponses (line 92) | func (r *ObservingResolver) PruneUnfulfilledPathResponses(ignore map[s... method HasUnfulfilledPathRequests (line 113) | func (r *ObservingResolver) HasUnfulfilledPathRequests() bool { method PrettyUnfulfilledPathRequests (line 118) | func (r *ObservingResolver) PrettyUnfulfilledPathRequests() string { method recordQuery (line 161) | func (r *ObservingResolver) recordQuery(methodName string, queries ...... method recordResponses (line 166) | func (r *ObservingResolver) recordResponses(methodName string, locs []... method FilesByPath (line 179) | func (r *ObservingResolver) FilesByPath(paths ...string) ([]file.Locat... method FilesByGlob (line 190) | func (r *ObservingResolver) FilesByGlob(patterns ...string) ([]file.Lo... method FilesByMIMEType (line 201) | func (r *ObservingResolver) FilesByMIMEType(types ...string) ([]file.L... method FilesByMediaType (line 212) | func (r *ObservingResolver) FilesByMediaType(_ ...string) ([]file.Loca... method RelativeFileByPath (line 217) | func (r *ObservingResolver) RelativeFileByPath(location file.Location,... method FileContentsByLocation (line 233) | func (r *ObservingResolver) FileContentsByLocation(location file.Locat... method AllLocations (line 239) | func (r *ObservingResolver) AllLocations(ctx context.Context) <-chan f... method HasPath (line 244) | func (r *ObservingResolver) HasPath(path string) bool { method FileMetadataByLocation (line 249) | func (r *ObservingResolver) FileMetadataByLocation(location file.Locat... function NewObservingResolver (line 30) | func NewObservingResolver(resolver file.Resolver) *ObservingResolver { function removeStrings (line 137) | func removeStrings(slice []string, toRemove []string) []string { FILE: syft/pkg/cataloger/internal/pkgtest/test_generic_parser.go type CatalogTester (line 45) | type CatalogTester struct method WithContext (line 107) | func (p *CatalogTester) WithContext(ctx context.Context) *CatalogTester { method FromDirectory (line 112) | func (p *CatalogTester) FromDirectory(t *testing.T, path string) *Cata... method FromFileSource (line 129) | func (p *CatalogTester) FromFileSource(t *testing.T, path string) *Cat... method FromFile (line 141) | func (p *CatalogTester) FromFile(t *testing.T, path string) *CatalogTe... method FromString (line 161) | func (p *CatalogTester) FromString(location, data string) *CatalogTest... method WithLinuxRelease (line 169) | func (p *CatalogTester) WithLinuxRelease(r linux.Release) *CatalogTest... method WithEnv (line 177) | func (p *CatalogTester) WithEnv(env *generic.Environment) *CatalogTest... method WithError (line 182) | func (p *CatalogTester) WithError() *CatalogTester { method WithErrorAssertion (line 187) | func (p *CatalogTester) WithErrorAssertion(a require.ErrorAssertionFun... method WithResolver (line 192) | func (p *CatalogTester) WithResolver(r file.Resolver) *CatalogTester { method WithImageResolver (line 197) | func (p *CatalogTester) WithImageResolver(t *testing.T, fixtureName st... method ExpectsAssertion (line 216) | func (p *CatalogTester) ExpectsAssertion(a func(t *testing.T, pkgs []p... method IgnoreLocationLayer (line 221) | func (p *CatalogTester) IgnoreLocationLayer() *CatalogTester { method IgnorePackageFields (line 227) | func (p *CatalogTester) IgnorePackageFields(fields ...string) *Catalog... method WithCompareOptions (line 232) | func (p *CatalogTester) WithCompareOptions(opts ...cmp.Option) *Catalo... method Expects (line 237) | func (p *CatalogTester) Expects(pkgs []pkg.Package, relationships []ar... method WithPackageStringer (line 244) | func (p *CatalogTester) WithPackageStringer(fn func(pkg.Package) strin... method ExpectsPackageStrings (line 249) | func (p *CatalogTester) ExpectsPackageStrings(expected []string) *Cata... method ExpectsRelationshipStrings (line 256) | func (p *CatalogTester) ExpectsRelationshipStrings(expected []string) ... method ExpectsResolverPathResponses (line 263) | func (p *CatalogTester) ExpectsResolverPathResponses(locations []strin... method ExpectsResolverContentQueries (line 268) | func (p *CatalogTester) ExpectsResolverContentQueries(locations []stri... method IgnoreUnfulfilledPathResponses (line 273) | func (p *CatalogTester) IgnoreUnfulfilledPathResponses(paths ...string... method WithoutTestObserver (line 278) | func (p *CatalogTester) WithoutTestObserver() *CatalogTester { method ensureContext (line 283) | func (p *CatalogTester) ensureContext(t *testing.T) context.Context { method TestParser (line 291) | func (p *CatalogTester) TestParser(t *testing.T, parser generic.Parser) { method TestCataloger (line 307) | func (p *CatalogTester) TestCataloger(t *testing.T, cataloger pkg.Cata... method assertPkgs (line 349) | func (p *CatalogTester) assertPkgs(t *testing.T, pkgs []pkg.Package, r... method trackParserMetadata (line 595) | func (p *CatalogTester) trackParserMetadata(t *testing.T, parser gener... method trackCatalogerMetadata (line 628) | func (p *CatalogTester) trackCatalogerMetadata(t *testing.T, cataloger... function initLicenseScanner (line 66) | func initLicenseScanner() { function Context (line 80) | func Context(t *testing.T) context.Context { function NewCatalogTester (line 88) | func NewCatalogTester() *CatalogTester { function TestFileParser (line 392) | func TestFileParser(t *testing.T, fixturePath string, parser generic.Par... function TestCataloger (line 397) | func TestCataloger(t *testing.T, fixtureDir string, cataloger pkg.Catalo... function TestCatalogerFromFileSource (line 402) | func TestCatalogerFromFileSource(t *testing.T, fixturePath string, catal... function TestFileParserWithEnv (line 407) | func TestFileParserWithEnv(t *testing.T, fixturePath string, parser gene... function AssertPackagesEqual (line 413) | func AssertPackagesEqual(t *testing.T, a, b pkg.Package, userOpts ...cmp... function AssertPackagesEqualIgnoreLayers (line 423) | func AssertPackagesEqualIgnoreLayers(t *testing.T, a, b pkg.Package, use... function diffPackages (line 433) | func diffPackages(t *testing.T, expected []string, actual []pkg.Package,... function diffRelationships (line 441) | func diffRelationships(t *testing.T, expected []string, actual []artifac... function stringRelationships (line 453) | func stringRelationships(relationships []artifact.Relationship, nameLook... function stringPackages (line 481) | func stringPackages(pkgs []pkg.Package, pkgStringer func(pkg.Package) st... function stringPackage (line 490) | func stringPackage(p pkg.Package) string { function getFunctionName (line 501) | func getFunctionName(fn interface{}) string { function getCatalogerName (line 528) | func getCatalogerName(_ *testing.T, cataloger pkg.Cataloger) string { function getPackagePath (line 535) | func getPackagePath(fn interface{}) string { function getPackagePathFromCataloger (line 566) | func getPackagePathFromCataloger(_ pkg.Cataloger) string { FILE: syft/pkg/cataloger/java/archive_filename.go type archiveFilename (line 53) | type archiveFilename struct method extension (line 105) | func (a archiveFilename) extension() string { method pkgType (line 109) | func (a archiveFilename) pkgType() pkg.Type { function getSubexp (line 59) | func getSubexp(matches []string, subexpName string, re *regexp.Regexp, r... function newJavaArchiveFilename (line 80) | func newJavaArchiveFilename(raw string) archiveFilename { FILE: syft/pkg/cataloger/java/archive_filename_test.go function TestExtractInfoFromJavaArchiveFilename (line 11) | func TestExtractInfoFromJavaArchiveFilename(t *testing.T) { FILE: syft/pkg/cataloger/java/archive_parser.go type archiveParser (line 58) | type archiveParser struct method parse (line 135) | func (j *archiveParser) parse(ctx context.Context, parentPkg *pkg.Pack... method discoverMainPackage (line 223) | func (j *archiveParser) discoverMainPackage(ctx context.Context) (*pkg... method discoverNameVersionLicense (line 285) | func (j *archiveParser) discoverNameVersionLicense(ctx context.Context... method findLicenseFromJavaMetadata (line 323) | func (j *archiveParser) findLicenseFromJavaMetadata(ctx context.Contex... method discoverMainPackageFromPomInfo (line 388) | func (j *archiveParser) discoverMainPackageFromPomInfo(ctx context.Con... method buildArtifactsMap (line 401) | func (j *archiveParser) buildArtifactsMap(properties map[string]pkg.Ja... method findBestPomMatch (line 409) | func (j *archiveParser) findBestPomMatch(properties map[string]pkg.Jav... method updateMatchIfBetter (line 429) | func (j *archiveParser) updateMatchIfBetter(currentProps pkg.JavaPomPr... method isExactMatch (line 458) | func (j *archiveParser) isExactMatch(props pkg.JavaPomProperties, pom ... method handleSinglePomXML (line 465) | func (j *archiveParser) handleSinglePomXML(properties map[string]pkg.J... method resolveIdentity (line 475) | func (j *archiveParser) resolveIdentity(ctx context.Context, pomProper... method discoverPkgsFromAllMavenFiles (line 514) | func (j *archiveParser) discoverPkgsFromAllMavenFiles(ctx context.Cont... method getLicenseFromFileInArchive (line 564) | func (j *archiveParser) getLicenseFromFileInArchive(ctx context.Contex... method discoverPkgsFromNestedArchives (line 611) | func (j *archiveParser) discoverPkgsFromNestedArchives(ctx context.Con... type genericArchiveParserAdapter (line 69) | type genericArchiveParserAdapter struct method parseJavaArchive (line 78) | func (gap genericArchiveParserAdapter) parseJavaArchive(ctx context.Co... method processJavaArchive (line 83) | func (gap genericArchiveParserAdapter) processJavaArchive(ctx context.... function newGenericArchiveParserAdapter (line 73) | func newGenericArchiveParserAdapter(cfg ArchiveCatalogerConfig) genericA... function uniquePkgKey (line 94) | func uniquePkgKey(groupID string, p *pkg.Package) string { function newJavaArchiveParser (line 103) | func newJavaArchiveParser(ctx context.Context, reader file.LocationReadC... function finalizePackage (line 208) | func finalizePackage(p *pkg.Package) { function toPkgLicenses (line 359) | func toPkgLicenses(ctx context.Context, location *file.Location, license... type parsedPomProject (line 382) | type parsedPomProject struct function artifactIDMatchesFilename (line 498) | func artifactIDMatchesFilename(artifactID, fileName string, artifactsMap... function getDigestsFromArchive (line 548) | func getDigestsFromArchive(ctx context.Context, archivePath string) ([]f... function discoverPkgsFromZip (line 618) | func discoverPkgsFromZip(ctx context.Context, location file.Location, ar... function discoverPkgsFromOpeners (line 629) | func discoverPkgsFromOpeners(ctx context.Context, location file.Location... function discoverPkgsFromOpener (line 658) | func discoverPkgsFromOpener(ctx context.Context, location file.Location,... function pomPropertiesByParentPath (line 684) | func pomPropertiesByParentPath(ctx context.Context, archivePath string, ... function pomProjectByParentPath (line 713) | func pomProjectByParentPath(ctx context.Context, archivePath string, loc... function newPackageFromMavenData (line 741) | func newPackageFromMavenData(ctx context.Context, r *maven.Resolver, pom... function packageIdentitiesMatch (line 806) | func packageIdentitiesMatch(p pkg.Package, parentPkg *pkg.Package) bool { function updateParentPackage (line 849) | func updateParentPackage(p pkg.Package, parentPkg *pkg.Package) { function sortedIter (line 872) | func sortedIter[K cmp.Ordered, V any](values map[K]V) iter.Seq2[K, V] { FILE: syft/pkg/cataloger/java/archive_parser_test.go function TestSearchMavenForLicenses (line 30) | func TestSearchMavenForLicenses(t *testing.T) { function TestParseJar (line 92) | func TestParseJar(t *testing.T) { function TestParseNestedJar (line 462) | func TestParseNestedJar(t *testing.T) { function Test_newPackageFromMavenData (line 731) | func Test_newPackageFromMavenData(t *testing.T) { function Test_artifactIDMatchesFilename (line 1094) | func Test_artifactIDMatchesFilename(t *testing.T) { function Test_parseJavaArchive_regressions (line 1121) | func Test_parseJavaArchive_regressions(t *testing.T) { function Test_deterministicMatchingPomProperties (line 1477) | func Test_deterministicMatchingPomProperties(t *testing.T) { function assignParent (line 1517) | func assignParent(parent *pkg.Package, childPackages ...pkg.Package) { function generateJavaBuildFixture (line 1526) | func generateJavaBuildFixture(t *testing.T, fixturePath string) { function generateJavaMetadataJarFixture (line 1546) | func generateJavaMetadataJarFixture(t *testing.T, fixtureName string, fi... function run (line 1573) | func run(t testing.TB, cmd *exec.Cmd) { function ptr (line 1619) | func ptr[T any](value T) *T { function Test_corruptJarArchive (line 1623) | func Test_corruptJarArchive(t *testing.T) { function Test_jarPomPropertyResolutionDoesNotPanic (line 1631) | func Test_jarPomPropertyResolutionDoesNotPanic(t *testing.T) { FILE: syft/pkg/cataloger/java/cataloger.go function NewArchiveCataloger (line 12) | func NewArchiveCataloger(cfg ArchiveCatalogerConfig) pkg.Cataloger { function NewPomCataloger (line 34) | func NewPomCataloger(cfg ArchiveCatalogerConfig) pkg.Cataloger { function NewGradleLockfileCataloger (line 42) | func NewGradleLockfileCataloger() pkg.Cataloger { function NewJvmDistributionCataloger (line 48) | func NewJvmDistributionCataloger() pkg.Cataloger { FILE: syft/pkg/cataloger/java/cataloger_test.go function Test_ArchiveCataloger_Globs (line 13) | func Test_ArchiveCataloger_Globs(t *testing.T) { function Test_POMCataloger_Globs (line 78) | func Test_POMCataloger_Globs(t *testing.T) { function TestJvmDistributionCataloger (line 111) | func TestJvmDistributionCataloger(t *testing.T) { function TestJvmDistributionCatalogerFromFile (line 221) | func TestJvmDistributionCatalogerFromFile(t *testing.T) { FILE: syft/pkg/cataloger/java/config.go type ArchiveCatalogerConfig (line 10) | type ArchiveCatalogerConfig struct method WithUseNetwork (line 51) | func (j ArchiveCatalogerConfig) WithUseNetwork(input bool) ArchiveCata... method WithUseMavenLocalRepository (line 56) | func (j ArchiveCatalogerConfig) WithUseMavenLocalRepository(input bool... method WithMavenLocalRepositoryDir (line 61) | func (j ArchiveCatalogerConfig) WithMavenLocalRepositoryDir(input stri... method WithMavenBaseURL (line 66) | func (j ArchiveCatalogerConfig) WithMavenBaseURL(input string) Archive... method WithResolveTransitiveDependencies (line 73) | func (j ArchiveCatalogerConfig) WithResolveTransitiveDependencies(reso... method WithArchiveTraversal (line 78) | func (j ArchiveCatalogerConfig) WithArchiveTraversal(search cataloging... method mavenConfig (line 84) | func (j ArchiveCatalogerConfig) mavenConfig() maven.Config { function DefaultArchiveCatalogerConfig (line 38) | func DefaultArchiveCatalogerConfig() ArchiveCatalogerConfig { FILE: syft/pkg/cataloger/java/graalvm_native_image_cataloger.go type nativeImage (line 26) | type nativeImage interface type nativeImageElf (line 30) | type nativeImageElf struct method fetchPkgs (line 240) | func (ni nativeImageElf) fetchPkgs() (pkgs []pkg.Package, relationship... method getSymbols (line 290) | func (ni nativeImageElf) getSymbols() ([]elf.Symbol, error) { type nativeImageMachO (line 34) | type nativeImageMachO struct method fetchPkgs (line 315) | func (ni nativeImageMachO) fetchPkgs() (pkgs []pkg.Package, relationsh... type exportTypesPE (line 38) | type exportTypesPE struct type exportPrefixPE (line 44) | type exportPrefixPE struct type exportContentPE (line 53) | type exportContentPE struct type nativeImagePE (line 66) | type nativeImagePE struct method fetchExportAttribute (line 362) | func (ni nativeImagePE) fetchExportAttribute(i int) (uint32, error) { method fetchExportFunctionPointer (line 380) | func (ni nativeImagePE) fetchExportFunctionPointer(functionsBase uint3... method fetchExportContent (line 400) | func (ni nativeImagePE) fetchExportContent() (*exportContentPE, error) { method fetchSbomSymbols (line 423) | func (ni nativeImagePE) fetchSbomSymbols(content *exportContentPE) { method fetchPkgs (line 465) | func (ni nativeImagePE) fetchPkgs() (pkgs []pkg.Package, relationships... type nativeImageCataloger (line 75) | type nativeImageCataloger struct method Name (line 91) | func (c *nativeImageCataloger) Name() string { method Catalog (line 550) | func (c *nativeImageCataloger) Catalog(_ context.Context, resolver fil... constant nativeImageCatalogerName (line 77) | nativeImageCatalogerName = "graalvm-native-image-cataloger" constant nativeImageSbomSymbol (line 78) | nativeImageSbomSymbol = "sbom" constant nativeImageSbomLengthSymbol (line 79) | nativeImageSbomLengthSymbol = "sbom_length" constant nativeImageSbomVersionSymbol (line 80) | nativeImageSbomVersionSymbol = "__svm_version_info" constant nativeImageMissingSymbolsError (line 81) | nativeImageMissingSymbolsError = "one or more symbols are missing from t... constant nativeImageInvalidIndexError (line 82) | nativeImageInvalidIndexError = "parsing the executable file generated an... constant nativeImageMissingExportedDataDirectoryError (line 83) | nativeImageMissingExportedDataDirectoryError = "exported data directory ... function NewNativeImageCataloger (line 86) | func NewNativeImageCataloger() pkg.Cataloger { function decompressSbom (line 96) | func decompressSbom(dataBuf []byte, sbomStart uint64, lengthStart uint64... function fileError (line 136) | func fileError(filename string, err error) (nativeImage, error) { function newElf (line 142) | func newElf(filename string, r io.ReaderAt) (nativeImage, error) { function newMachO (line 164) | func newMachO(filename string, r io.ReaderAt) (nativeImage, error) { function newPE (line 185) | func newPE(filename string, r io.ReaderAt) (nativeImage, error) { function fetchPkgs (line 511) | func fetchPkgs(reader unionreader.UnionReader, location file.Location) (... function processLocation (line 570) | func processLocation(location file.Location, resolver file.Resolver) ([]... FILE: syft/pkg/cataloger/java/graalvm_native_image_cataloger_test.go function TestParseNativeImage (line 22) | func TestParseNativeImage(t *testing.T) { function TestParseNativeImageSbom (line 65) | func TestParseNativeImageSbom(t *testing.T) { function makePackage (line 170) | func makePackage(name, version, purl string, cpes []cpe.CPE) pkg.Package { function createCompressedSbom (line 181) | func createCompressedSbom(t *testing.T, filename string) ([]byte, uint64) { function verifyPackages (line 208) | func verifyPackages(t *testing.T, expected, actual []pkg.Package) { function buildPackageMap (line 222) | func buildPackageMap(packages []pkg.Package) map[string]pkg.Package { function verifyPackageFields (line 230) | func verifyPackageFields(t *testing.T, expected, actual pkg.Package) { function verifyRelationships (line 238) | func verifyRelationships(t *testing.T, expected, actual []artifact.Relat... function buildRelationshipMap (line 252) | func buildRelationshipMap(relationships []artifact.Relationship) map[str... function verifyRelationshipFields (line 262) | func verifyRelationshipFields(t *testing.T, expected, actual []artifact.... FILE: syft/pkg/cataloger/java/internal/maven/config.go constant mavenBaseURL (line 17) | mavenBaseURL = "https://repo1.maven.org/maven2" type Config (line 19) | type Config struct function DefaultConfig (line 36) | func DefaultConfig() Config { function defaultMavenLocalRepoDir (line 47) | func defaultMavenLocalRepoDir() string { function getSettingsXMLLocalRepository (line 68) | func getSettingsXMLLocalRepository(settingsXML io.Reader) string { function remotePomURL (line 81) | func remotePomURL(repoURL, groupID, artifactID, version string) (request... FILE: syft/pkg/cataloger/java/internal/maven/config_test.go function Test_defaultMavenLocalRepoDir (line 14) | func Test_defaultMavenLocalRepoDir(t *testing.T) { function Test_getSettingsXmlLocalRepository (line 57) | func Test_getSettingsXmlLocalRepository(t *testing.T) { function Test_remotePomURL (line 81) | func Test_remotePomURL(t *testing.T) { FILE: syft/pkg/cataloger/java/internal/maven/pom_parser.go function ParsePomXML (line 24) | func ParsePomXML(content io.Reader) (project *Project, err error) { function getUtf8Reader (line 42) | func getUtf8Reader(content io.Reader) (io.Reader, error) { FILE: syft/pkg/cataloger/java/internal/maven/pom_parser_test.go function Test_getUtf8Reader (line 16) | func Test_getUtf8Reader(t *testing.T) { function Test_decodePomXML_surviveNonUtf8Encoding (line 41) | func Test_decodePomXML_surviveNonUtf8Encoding(t *testing.T) { FILE: syft/pkg/cataloger/java/internal/maven/resolver.go type ID (line 28) | type ID struct method String (line 42) | func (m ID) String() string { method Valid (line 47) | func (m ID) Valid() bool { function NewID (line 34) | func NewID(groupID, artifactID, version string) ID { type Resolver (line 55) | type Resolver struct method ResolveProperty (line 82) | func (r *Resolver) ResolveProperty(ctx context.Context, pom *Project, ... method resolvePropertyValue (line 89) | func (r *Resolver) resolvePropertyValue(ctx context.Context, propertyV... method resolveExpression (line 102) | func (r *Resolver) resolveExpression(ctx context.Context, resolutionCo... method resolveProperty (line 119) | func (r *Resolver) resolveProperty(ctx context.Context, resolutionCont... method resolveProjectProperty (line 168) | func (r *Resolver) resolveProjectProperty(ctx context.Context, resolut... method ResolveParent (line 233) | func (r *Resolver) ResolveParent(ctx context.Context, pom *Project) (*... method ResolveID (line 262) | func (r *Resolver) ResolveID(ctx context.Context, pom *Project) ID { method resolveID (line 267) | func (r *Resolver) resolveID(ctx context.Context, resolvingProperties ... method ResolveDependencyID (line 293) | func (r *Resolver) ResolveDependencyID(ctx context.Context, pom *Proje... method FindPom (line 317) | func (r *Resolver) FindPom(ctx context.Context, groupID, artifactID, v... method findPomInLocalRepository (line 355) | func (r *Resolver) findPomInLocalRepository(groupID, artifactID, versi... method findPomInRemotes (line 378) | func (r *Resolver) findPomInRemotes(ctx context.Context, groupID, arti... method findPomInRemoteRepository (line 393) | func (r *Resolver) findPomInRemoteRepository(ctx context.Context, repo... method cacheResolveReader (line 453) | func (r *Resolver) cacheResolveReader(key string, resolve func() (io.R... method resolveParent (line 475) | func (r *Resolver) resolveParent(ctx context.Context, pom *Project, re... method resolveInheritedVersion (line 505) | func (r *Resolver) resolveInheritedVersion(ctx context.Context, pom *P... method FindLicenses (line 584) | func (r *Resolver) FindLicenses(ctx context.Context, groupID, artifact... method ResolveLicenses (line 593) | func (r *Resolver) ResolveLicenses(ctx context.Context, pom *Project) ... method resolveLicenses (line 598) | func (r *Resolver) resolveLicenses(ctx context.Context, pom *Project, ... method pomLicenses (line 623) | func (r *Resolver) pomLicenses(ctx context.Context, pom *Project) []Li... method findParentPomByRelativePath (line 636) | func (r *Resolver) findParentPomByRelativePath(ctx context.Context, po... method AddPom (line 694) | func (r *Resolver) AddPom(ctx context.Context, pom *Project, location ... function NewResolver (line 68) | func NewResolver(fileResolver file.Resolver, cfg Config) *Resolver { function DirectPomDependencies (line 709) | func DirectPomDependencies(pom *Project) []Dependency { function pomManagedDependencies (line 719) | func pomManagedDependencies(pom *Project) []Dependency { function deref (line 733) | func deref[T any](ptr *T) T { FILE: syft/pkg/cataloger/java/internal/maven/resolver_test.go function Test_resolveProperty (line 16) | func Test_resolveProperty(t *testing.T) { function Test_mavenResolverLocal (line 165) | func Test_mavenResolverLocal(t *testing.T) { function Test_mavenResolverRemote (line 228) | func Test_mavenResolverRemote(t *testing.T) { function Test_relativePathParent (line 275) | func Test_relativePathParent(t *testing.T) { function ptr (line 368) | func ptr[T any](value T) *T { FILE: syft/pkg/cataloger/java/internal/maven/test/mock_repo.go function MockRepo (line 18) | func MockRepo(t *testing.T, dir string) (url string) { function mockMavenHandler (line 47) | func mockMavenHandler(responseFixture string) http.HandlerFunc { FILE: syft/pkg/cataloger/java/package_url.go function packageURL (line 12) | func packageURL(name, version string, metadata pkg.JavaArchive) string { function groupIDFromJavaMetadata (line 35) | func groupIDFromJavaMetadata(pkgName string, metadata pkg.JavaArchive) (... function groupIDFromKnownPackageList (line 55) | func groupIDFromKnownPackageList(pkgName string) (groupID string) { function groupIDFromJavaManifest (line 62) | func groupIDFromJavaManifest(manifest *pkg.JavaManifest) (groupID string) { function groupIDFromPomProperties (line 82) | func groupIDFromPomProperties(properties *pkg.JavaPomProperties) (groupI... function groupIDFromPomProject (line 100) | func groupIDFromPomProject(project *pkg.JavaPomProject) (groupID string) { function looksLikeGroupID (line 132) | func looksLikeGroupID(value string) bool { function cleanGroupID (line 136) | func cleanGroupID(groupID string) string { function removeOSCIDirectives (line 140) | func removeOSCIDirectives(groupID string) string { FILE: syft/pkg/cataloger/java/package_url_test.go function Test_packageURL (line 11) | func Test_packageURL(t *testing.T) { function Test_groupIDFromJavaMetadata (line 143) | func Test_groupIDFromJavaMetadata(t *testing.T) { FILE: syft/pkg/cataloger/java/parse_gradle_lockfile.go type lockfileDependency (line 15) | type lockfileDependency struct function parseGradleLockfile (line 21) | func parseGradleLockfile(_ context.Context, _ file.Resolver, _ *generic.... FILE: syft/pkg/cataloger/java/parse_gradle_lockfile_test.go function Test_parserGradleLockfile (line 11) | func Test_parserGradleLockfile(t *testing.T) { FILE: syft/pkg/cataloger/java/parse_java_manifest.go constant manifestGlob (line 14) | manifestGlob = "/META-INF/MANIFEST.MF" function parseJavaManifest (line 20) | func parseJavaManifest(path string, reader io.Reader) (*pkg.JavaManifest... function extractNameFromApacheMavenBundlePlugin (line 103) | func extractNameFromApacheMavenBundlePlugin(manifest *pkg.JavaManifest) ... function extractNameFromArchiveFilename (line 148) | func extractNameFromArchiveFilename(a archiveFilename) string { function isValidJavaIdentifier (line 174) | func isValidJavaIdentifier(field string) bool { function selectName (line 191) | func selectName(manifest *pkg.JavaManifest, filenameObj archiveFilename)... function selectVersion (line 226) | func selectVersion(manifest *pkg.JavaManifest, filenameObj archiveFilena... function selectLicenses (line 251) | func selectLicenses(manifest *pkg.JavaManifest) []string { function fieldValueFromManifest (line 271) | func fieldValueFromManifest(manifest pkg.JavaManifest, fieldName string)... FILE: syft/pkg/cataloger/java/parse_java_manifest_test.go function TestParseJavaManifest (line 14) | func TestParseJavaManifest(t *testing.T) { function TestSelectName (line 197) | func TestSelectName(t *testing.T) { function TestSelectVersion (line 340) | func TestSelectVersion(t *testing.T) { FILE: syft/pkg/cataloger/java/parse_jvm_release.go constant oracleVendor (line 25) | oracleVendor = "oracle" constant openJdkProduct (line 26) | openJdkProduct = "openjdk" constant jre (line 27) | jre = "jre" constant jdk (line 28) | jdk = "jdk" type jvmCpeInfo (line 58) | type jvmCpeInfo struct function parseJVMRelease (line 62) | func parseJVMRelease(_ context.Context, resolver file.Resolver, _ *gener... function jvmLicenses (line 110) | func jvmLicenses(_ file.Resolver, _ *pkg.JavaVMRelease) pkg.LicenseSet { function findJvmFiles (line 116) | func findJvmFiles(resolver file.Resolver, installDir string) ([]string, ... function jvmPurl (line 138) | func jvmPurl(ri pkg.JavaVMRelease, version, vendor, product string) stri... function jvmPrimaryVendorProduct (line 162) | func jvmPrimaryVendorProduct(ri *pkg.JavaVMRelease, path string, hasJdk ... function jvmCpes (line 191) | func jvmCpes(version, primaryVendor, primaryProduct, imageType string, h... function getJVMVersionAndUpdate (line 238) | func getJVMVersionAndUpdate(version string) (string, string) { function newJvmCpe (line 263) | func newJvmCpe(candidate jvmCpeInfo) *cpe.CPE { function jvmProjectByType (line 293) | func jvmProjectByType(ty string) string { function jvmPackageVersion (line 364) | func jvmPackageVersion(ri *pkg.JavaVMRelease) string { function trim0sFromLeft (line 384) | func trim0sFromLeft(v string) string { function parseJvmReleaseInfo (line 391) | func parseJvmReleaseInfo(r io.ReadCloser) (*pkg.JavaVMRelease, error) { FILE: syft/pkg/cataloger/java/parse_jvm_release_test.go function TestJvmCpes (line 12) | func TestJvmCpes(t *testing.T) { function TestJvmVersion (line 196) | func TestJvmVersion(t *testing.T) { function TestGetJVMVersionAndUpdate (line 246) | func TestGetJVMVersionAndUpdate(t *testing.T) { function TestJvmPrimaryVendorProduct (line 306) | func TestJvmPrimaryVendorProduct(t *testing.T) { function TestJvmPurl (line 419) | func TestJvmPurl(t *testing.T) { FILE: syft/pkg/cataloger/java/parse_pom_properties.go constant pomPropertiesGlob (line 14) | pomPropertiesGlob = "**/*pom.properties" function parsePomProperties (line 16) | func parsePomProperties(path string, reader io.Reader) (*pkg.JavaPomProp... FILE: syft/pkg/cataloger/java/parse_pom_properties_test.go function TestParseJavaPomProperties (line 12) | func TestParseJavaPomProperties(t *testing.T) { FILE: syft/pkg/cataloger/java/parse_pom_xml.go constant pomXMLGlob (line 19) | pomXMLGlob = "**/*pom.xml" constant pomCatalogerName (line 20) | pomCatalogerName = "java-pom-cataloger" type pomXMLCataloger (line 23) | type pomXMLCataloger struct method Name (line 27) | func (p pomXMLCataloger) Name() string { method Catalog (line 31) | func (p pomXMLCataloger) Catalog(ctx context.Context, fileResolver fil... function readPomFromLocation (line 88) | func readPomFromLocation(fileResolver file.Resolver, pomLocation file.Lo... function newPackageFromMavenPom (line 98) | func newPackageFromMavenPom(ctx context.Context, r *maven.Resolver, pom ... function collectDependencies (line 154) | func collectDependencies(ctx context.Context, r *maven.Resolver, resolve... function newPomProject (line 213) | func newPomProject(ctx context.Context, r *maven.Resolver, path string, ... function newPackageFromDependency (line 231) | func newPackageFromDependency(ctx context.Context, r *maven.Resolver, po... function pomParent (line 282) | func pomParent(ctx context.Context, r *maven.Resolver, pom *maven.Projec... function cleanDescription (line 302) | func cleanDescription(original string) (cleaned string) { FILE: syft/pkg/cataloger/java/parse_pom_xml_test.go function Test_parsePomXML (line 22) | func Test_parsePomXML(t *testing.T) { function Test_parseCommonsTextPomXMLProject (line 123) | func Test_parseCommonsTextPomXMLProject(t *testing.T) { function Test_parsePomXMLProject (line 193) | func Test_parsePomXMLProject(t *testing.T) { function Test_pomParent (line 278) | func Test_pomParent(t *testing.T) { function Test_cleanDescription (line 338) | func Test_cleanDescription(t *testing.T) { function Test_resolveLicenses (line 361) | func Test_resolveLicenses(t *testing.T) { function Test_corruptPomXml (line 458) | func Test_corruptPomXml(t *testing.T) { type expected (line 466) | type expected struct function getCommonsTextExpectedPackages (line 471) | func getCommonsTextExpectedPackages(resolved bool) expected { function expectedTransientPackageData (line 693) | func expectedTransientPackageData() expected { FILE: syft/pkg/cataloger/java/save_archive_to_tmp.go function saveArchiveToTmp (line 12) | func saveArchiveToTmp(td *tmpdir.TempDir, archiveVirtualPath string, rea... FILE: syft/pkg/cataloger/java/tar_wrapped_archive_parser.go type genericTarWrappedJavaArchiveParser (line 51) | type genericTarWrappedJavaArchiveParser struct method parseTarWrappedJavaArchive (line 61) | func (gtp genericTarWrappedJavaArchiveParser) parseTarWrappedJavaArchi... function newGenericTarWrappedJavaArchiveParser (line 55) | func newGenericTarWrappedJavaArchiveParser(cfg ArchiveCatalogerConfig) g... function discoverPkgsFromTar (line 77) | func discoverPkgsFromTar(ctx context.Context, location file.Location, ar... FILE: syft/pkg/cataloger/java/tar_wrapped_archive_parser_test.go function Test_parseTarWrappedJavaArchive (line 15) | func Test_parseTarWrappedJavaArchive(t *testing.T) { function Test_corruptTarArchive (line 68) | func Test_corruptTarArchive(t *testing.T) { FILE: syft/pkg/cataloger/java/testdata/java-builds/example-java-app/src/main/java/hello/Greeter.java class Greeter (line 3) | public class Greeter { method sayHello (line 4) | public String sayHello() { FILE: syft/pkg/cataloger/java/testdata/java-builds/example-java-app/src/main/java/hello/HelloWorld.java class HelloWorld (line 5) | public class HelloWorld { method main (line 6) | public static void main(String[] args) { FILE: syft/pkg/cataloger/java/testdata/java-builds/example-jenkins-plugin/src/main/java/io/jenkins/plugins/sample/HelloWorldBuilder.java class HelloWorldBuilder (line 21) | public class HelloWorldBuilder extends Builder implements SimpleBuildStep { method HelloWorldBuilder (line 26) | @DataBoundConstructor method getName (line 31) | public String getName() { method isUseFrench (line 35) | public boolean isUseFrench() { method setUseFrench (line 39) | @DataBoundSetter method perform (line 44) | @Override class DescriptorImpl (line 53) | @Symbol("greet") method doCheckName (line 57) | public FormValidation doCheckName(@QueryParameter String value, @Que... method isApplicable (line 69) | @Override method getDisplayName (line 74) | @Override FILE: syft/pkg/cataloger/java/testdata/java-builds/example-sb-app/src/main/java/com/example/springboot/Application.java class Application (line 11) | @SpringBootApplication method main (line 14) | public static void main(String[] args) { method commandLineRunner (line 18) | @Bean FILE: syft/pkg/cataloger/java/testdata/java-builds/example-sb-app/src/main/java/com/example/springboot/HelloController.java class HelloController (line 6) | @RestController method index (line 9) | @RequestMapping("/") FILE: syft/pkg/cataloger/java/testdata/java-builds/example-sb-app/src/test/java/com/example/springboot/HelloControllerIT.java class HelloControllerIT (line 16) | @SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT) method setUp (line 27) | @BeforeEach method getHello (line 32) | @Test FILE: syft/pkg/cataloger/java/testdata/java-builds/example-sb-app/src/test/java/com/example/springboot/HelloControllerTest.java class HelloControllerTest (line 16) | @SpringBootTest method getHello (line 23) | @Test FILE: syft/pkg/cataloger/java/zip_wrapped_archive_parser.go type genericZipWrappedJavaArchiveParser (line 23) | type genericZipWrappedJavaArchiveParser struct method parseZipWrappedJavaArchive (line 33) | func (gzp genericZipWrappedJavaArchiveParser) parseZipWrappedJavaArchi... function newGenericZipWrappedJavaArchiveParser (line 27) | func newGenericZipWrappedJavaArchiveParser(cfg ArchiveCatalogerConfig) g... FILE: syft/pkg/cataloger/java/zip_wrapped_archive_parser_test.go function Test_parseZipWrappedJavaArchive (line 15) | func Test_parseZipWrappedJavaArchive(t *testing.T) { FILE: syft/pkg/cataloger/javascript/cataloger.go function NewPackageCataloger (line 12) | func NewPackageCataloger() pkg.Cataloger { function NewLockCataloger (line 18) | func NewLockCataloger(cfg CatalogerConfig) pkg.Cataloger { FILE: syft/pkg/cataloger/javascript/cataloger_test.go function Test_JavascriptCataloger (line 12) | func Test_JavascriptCataloger(t *testing.T) { function Test_PackageCataloger_Globs (line 141) | func Test_PackageCataloger_Globs(t *testing.T) { function Test_LockCataloger_Globs (line 166) | func Test_LockCataloger_Globs(t *testing.T) { FILE: syft/pkg/cataloger/javascript/config.go constant npmBaseURL (line 3) | npmBaseURL = "https://registry.npmjs.org" type CatalogerConfig (line 5) | type CatalogerConfig struct method WithSearchRemoteLicenses (line 24) | func (j CatalogerConfig) WithSearchRemoteLicenses(input bool) Cataloge... method WithNpmBaseURL (line 29) | func (j CatalogerConfig) WithNpmBaseURL(input string) CatalogerConfig { method WithIncludeDevDependencies (line 36) | func (j CatalogerConfig) WithIncludeDevDependencies(input bool) Catalo... function DefaultCatalogerConfig (line 17) | func DefaultCatalogerConfig() CatalogerConfig { FILE: syft/pkg/cataloger/javascript/dependency.go function packageLockDependencySpecifier (line 13) | func packageLockDependencySpecifier(p pkg.Package) dependency.Specificat... function pnpmLockDependencySpecifier (line 43) | func pnpmLockDependencySpecifier(p pkg.Package) dependency.Specification { function yarnLockDependencySpecifier (line 65) | func yarnLockDependencySpecifier(p pkg.Package) dependency.Specification { FILE: syft/pkg/cataloger/javascript/package.go function newPackageJSONPackage (line 21) | func newPackageJSONPackage(ctx context.Context, resolver file.Resolver, ... function newPackageLockV1Package (line 88) | func newPackageLockV1Package(ctx context.Context, cfg CatalogerConfig, r... function newPackageLockV2Package (line 133) | func newPackageLockV2Package(ctx context.Context, cfg CatalogerConfig, r... function newPnpmPackage (line 165) | func newPnpmPackage(ctx context.Context, cfg CatalogerConfig, resolver f... function newYarnLockPackage (line 194) | func newYarnLockPackage(ctx context.Context, cfg CatalogerConfig, resolv... function formatNpmRegistryURL (line 223) | func formatNpmRegistryURL(baseURL, packageName, version string) (request... function getLicenseFromNpmRegistry (line 232) | func getLicenseFromNpmRegistry(baseURL, packageName, version string) (st... function finalizeLockPkg (line 273) | func finalizeLockPkg(ctx context.Context, resolver file.Resolver, locati... function addLicenses (line 280) | func addLicenses(name string, resolver file.Resolver, location file.Loca... function parseLicensesFromLocation (line 311) | func parseLicensesFromLocation(l file.Location, resolver file.Resolver, ... function packageURL (line 335) | func packageURL(name, version string) string { FILE: syft/pkg/cataloger/javascript/package_test.go function Test_packageURL (line 13) | func Test_packageURL(t *testing.T) { FILE: syft/pkg/cataloger/javascript/parse_package_json.go type packageJSON (line 25) | type packageJSON struct method licensesFromJSON (line 170) | func (p packageJSON) licensesFromJSON() ([]string, error) { type person (line 43) | type person struct method UnmarshalJSON (line 86) | func (p *person) UnmarshalJSON(b []byte) error { method AuthorString (line 112) | func (p *person) AuthorString() string { type people (line 49) | type people method UnmarshalJSON (line 221) | func (p *people) UnmarshalJSON(b []byte) error { method String (line 264) | func (p people) String() string { type repository (line 51) | type repository struct method UnmarshalJSON (line 123) | func (r *repository) UnmarshalJSON(b []byte) error { function parsePackageJSON (line 61) | func parsePackageJSON(ctx context.Context, resolver file.Resolver, _ *ge... type npmPackageLicense (line 147) | type npmPackageLicense struct function licenseFromJSON (line 152) | func licenseFromJSON(b []byte) (string, error) { function licensesFromJSON (line 199) | func licensesFromJSON(b []byte) ([]npmPackageLicense, error) { function pathContainsNodeModulesDirectory (line 212) | func pathContainsNodeModulesDirectory(p string) bool { FILE: syft/pkg/cataloger/javascript/parse_package_json_test.go function TestParsePackageJSON (line 14) | func TestParsePackageJSON(t *testing.T) { function Test_corruptPackageJSON (line 341) | func Test_corruptPackageJSON(t *testing.T) { function TestParsePackageJSON_Partial (line 348) | func TestParsePackageJSON_Partial(t *testing.T) { // see https://github.... function Test_pathContainsNodeModulesDirectory (line 365) | func Test_pathContainsNodeModulesDirectory(t *testing.T) { FILE: syft/pkg/cataloger/javascript/parse_package_lock.go type packageLock (line 21) | type packageLock struct type lockDependency (line 29) | type lockDependency struct type lockPackage (line 36) | type lockPackage struct type packageLockLicense (line 47) | type packageLockLicense method UnmarshalJSON (line 119) | func (licenses *packageLockLicense) UnmarshalJSON(data []byte) (err er... type genericPackageLockAdapter (line 49) | type genericPackageLockAdapter struct method parsePackageLock (line 60) | func (a genericPackageLockAdapter) parsePackageLock(ctx context.Contex... function newGenericPackageLockAdapter (line 53) | func newGenericPackageLockAdapter(cfg CatalogerConfig) genericPackageLoc... function getNameFromPath (line 149) | func getNameFromPath(path string) string { FILE: syft/pkg/cataloger/javascript/parse_package_lock_test.go function TestParsePackageLock (line 13) | func TestParsePackageLock(t *testing.T) { function TestParsePackageLockV2 (line 114) | func TestParsePackageLockV2(t *testing.T) { function TestParsePackageLockV3 (line 201) | func TestParsePackageLockV3(t *testing.T) { function TestParsePackageLockAlias (line 275) | func TestParsePackageLockAlias(t *testing.T) { function TestParsePackageLockLicenseWithArray (line 357) | func TestParsePackageLockLicenseWithArray(t *testing.T) { function Test_corruptPackageLock (line 418) | func Test_corruptPackageLock(t *testing.T) { FILE: syft/pkg/cataloger/javascript/parse_pnpm_lock.go type pnpmPackage (line 23) | type pnpmPackage struct type pnpmLockfileParser (line 32) | type pnpmLockfileParser interface type pnpmV6PackageEntry (line 36) | type pnpmV6PackageEntry struct type pnpmV6LockYaml (line 43) | type pnpmV6LockYaml struct method Parse (line 80) | func (p *pnpmV6LockYaml) Parse(version float64, data []byte) ([]pnpmPa... type pnpmV9SnapshotEntry (line 48) | type pnpmV9SnapshotEntry struct type pnpmV9PackageEntry (line 55) | type pnpmV9PackageEntry struct type pnpmV9LockYaml (line 62) | type pnpmV9LockYaml struct method Parse (line 130) | func (p *pnpmV9LockYaml) Parse(_ float64, data []byte) ([]pnpmPackage,... type genericPnpmLockAdapter (line 69) | type genericPnpmLockAdapter struct method parsePnpmLock (line 181) | func (a genericPnpmLockAdapter) parsePnpmLock(ctx context.Context, res... function newGenericPnpmLockAdapter (line 73) | func newGenericPnpmLockAdapter(cfg CatalogerConfig) genericPnpmLockAdapt... function newPnpmLockfileParser (line 173) | func newPnpmLockfileParser(version float64) pnpmLockfileParser { function parseVersionField (line 217) | func parseVersionField(name string, info interface{}) (string, error) { function parsePnpmPackageKey (line 238) | func parsePnpmPackageKey(key, separator string) (name, version string, o... function toSortedSlice (line 257) | func toSortedSlice(packages map[string]pnpmPackage) []pnpmPackage { FILE: syft/pkg/cataloger/javascript/parse_pnpm_lock_test.go function TestParsePnpmLock (line 17) | func TestParsePnpmLock(t *testing.T) { function TestParsePnpmLock_ExcludeDevDependencies (line 69) | func TestParsePnpmLock_ExcludeDevDependencies(t *testing.T) { function TestParsePnpmV6Lock (line 109) | func TestParsePnpmV6Lock(t *testing.T) { function TestParsePnpmLockV9 (line 307) | func TestParsePnpmLockV9(t *testing.T) { function TestParsePnpmLockV9WithDependencies (line 355) | func TestParsePnpmLockV9WithDependencies(t *testing.T) { function TestSearchPnpmForLicenses (line 466) | func TestSearchPnpmForLicenses(t *testing.T) { function Test_corruptPnpmLock (line 519) | func Test_corruptPnpmLock(t *testing.T) { function generateMockNpmRegistryHandler (line 527) | func generateMockNpmRegistryHandler(responseFixture string) func(w http.... function setupNpmRegistry (line 549) | func setupNpmRegistry() (mux *http.ServeMux, serverURL string, teardown ... FILE: syft/pkg/cataloger/javascript/parse_yarn_lock.go type yarnPackage (line 51) | type yarnPackage struct type yarnV2PackageEntry (line 59) | type yarnV2PackageEntry struct type genericYarnLockAdapter (line 66) | type genericYarnLockAdapter struct method parseYarnLock (line 262) | func (a genericYarnLockAdapter) parseYarnLock(ctx context.Context, res... function newGenericYarnLockAdapter (line 70) | func newGenericYarnLockAdapter(cfg CatalogerConfig) genericYarnLockAdapt... function readPackageJSONDeps (line 81) | func readPackageJSONDeps(resolver file.Resolver, lockfileLocation file.L... function findReachable (line 120) | func findReachable(roots map[string]string, pkgByName map[string]yarnPac... function findDevOnlyPkgs (line 149) | func findDevOnlyPkgs(yarnPkgs []yarnPackage, prodDeps, devDeps map[strin... function parseYarnV1LockFile (line 168) | func parseYarnV1LockFile(reader io.ReadCloser) ([]yarnPackage, error) { function parseYarnLockYaml (line 242) | func parseYarnLockYaml(reader io.ReadCloser) ([]yarnPackage, error) { function findPackageName (line 307) | func findPackageName(line string) string { function findResolvedPackageAndVersion (line 315) | func findResolvedPackageAndVersion(line string) (string, string, string) { FILE: syft/pkg/cataloger/javascript/parse_yarn_lock_test.go function TestParseYarnBerry (line 19) | func TestParseYarnBerry(t *testing.T) { function TestParseYarnLock (line 207) | func TestParseYarnLock(t *testing.T) { function TestParseYarnLockWithRelationships (line 363) | func TestParseYarnLockWithRelationships(t *testing.T) { function TestParseYarnLockWithDuplicates (line 531) | func TestParseYarnLockWithDuplicates(t *testing.T) { type handlerPath (line 608) | type handlerPath struct function TestSearchYarnForLicenses (line 613) | func TestSearchYarnForLicenses(t *testing.T) { function TestParseYarnFindPackageNames (line 674) | func TestParseYarnFindPackageNames(t *testing.T) { function TestParseYarnLock_DevDependencies (line 742) | func TestParseYarnLock_DevDependencies(t *testing.T) { function generateMockYarnRegistryHandler (line 1010) | func generateMockYarnRegistryHandler(responseFixture string) func(w http... function setupYarnRegistry (line 1032) | func setupYarnRegistry() (mux *http.ServeMux, serverURL string, teardown... FILE: syft/pkg/cataloger/kernel/cataloger.go type LinuxKernelCatalogerConfig (line 19) | type LinuxKernelCatalogerConfig struct type linuxKernelCataloger (line 25) | type linuxKernelCataloger struct method Name (line 55) | func (l linuxKernelCataloger) Name() string { method Catalog (line 59) | func (l linuxKernelCataloger) Catalog(ctx context.Context, resolver fi... function DefaultLinuxKernelCatalogerConfig (line 29) | func DefaultLinuxKernelCatalogerConfig() LinuxKernelCatalogerConfig { function NewLinuxKernelCataloger (line 49) | func NewLinuxKernelCataloger(cfg LinuxKernelCatalogerConfig) pkg.Catalog... function createKernelToModuleRelationships (line 88) | func createKernelToModuleRelationships(kernelPackages, modulePackages []... FILE: syft/pkg/cataloger/kernel/cataloger_test.go function Test_KernelCataloger (line 14) | func Test_KernelCataloger(t *testing.T) { FILE: syft/pkg/cataloger/kernel/package.go constant linuxKernelPackageName (line 13) | linuxKernelPackageName = "linux-kernel" function createLinuxKernelCPEs (line 15) | func createLinuxKernelCPEs(version string) []cpe.CPE { function newLinuxKernelPackage (line 28) | func newLinuxKernelPackage(metadata pkg.LinuxKernel, archiveLocation fil... function newLinuxKernelModulePackage (line 44) | func newLinuxKernelModulePackage(ctx context.Context, metadata pkg.Linux... function packageURL (line 61) | func packageURL(name, version string) string { FILE: syft/pkg/cataloger/kernel/parse_linux_kernel_file.go constant linuxKernelMagicName (line 19) | linuxKernelMagicName = "Linux kernel" function parseLinuxKernelFile (line 21) | func parseLinuxKernelFile(_ context.Context, _ file.Resolver, _ *generic... function parseLinuxKernelMetadata (line 46) | func parseLinuxKernelMetadata(magicType []string) (p pkg.LinuxKernel) { FILE: syft/pkg/cataloger/kernel/parse_linux_kernel_module_file.go constant modinfoName (line 16) | modinfoName = ".modinfo" function parseLinuxKernelModuleFile (line 18) | func parseLinuxKernelModuleFile(ctx context.Context, _ file.Resolver, _ ... function parseLinuxKernelModuleMetadata (line 42) | func parseLinuxKernelModuleMetadata(r unionreader.UnionReader) (p *pkg.L... function addLinuxKernelModuleEntry (line 105) | func addLinuxKernelModuleEntry(k *pkg.LinuxKernelModule, entry []byte) e... FILE: syft/pkg/cataloger/lua/cataloger.go function NewPackageCataloger (line 12) | func NewPackageCataloger() pkg.Cataloger { FILE: syft/pkg/cataloger/lua/cataloger_test.go function Test_PackageCataloger_Globs (line 9) | func Test_PackageCataloger_Globs(t *testing.T) { FILE: syft/pkg/cataloger/lua/package.go function newLuaRocksPackage (line 13) | func newLuaRocksPackage(ctx context.Context, resolver file.Resolver, u l... function packageURL (line 43) | func packageURL(name, version string) string { FILE: syft/pkg/cataloger/lua/package_test.go function Test_packageURL (line 12) | func Test_packageURL(t *testing.T) { FILE: syft/pkg/cataloger/lua/parse_rockspec.go type luaRocksPackage (line 15) | type luaRocksPackage struct type repository (line 25) | type repository struct function parseRockspec (line 30) | func parseRockspec(ctx context.Context, resolver file.Resolver, _ *gener... function parseDependency (line 102) | func parseDependency(dep string) (name string, version string) { FILE: syft/pkg/cataloger/lua/parse_rockspec_test.go function TestParseRockspec (line 14) | func TestParseRockspec(t *testing.T) { function Test_corruptRockspec (line 157) | func Test_corruptRockspec(t *testing.T) { function Test_parseDependency (line 164) | func Test_parseDependency(t *testing.T) { FILE: syft/pkg/cataloger/lua/rockspec_parser.go type rockspec (line 11) | type rockspec struct type rockspecNode (line 15) | type rockspecNode struct method Slice (line 20) | func (r rockspecNode) Slice() []rockspecNode { method String (line 28) | func (r rockspecNode) String() string { function parseRockspecData (line 41) | func parseRockspecData(reader io.Reader) (rockspec, error) { function parseRockspecBlock (line 60) | func parseRockspecBlock(data []byte, i *int, locals map[string]string) (... function parseRockspecNode (line 111) | func parseRockspecNode(data []byte, i *int, locals map[string]string) (*... function parseRockspecListItem (line 268) | func parseRockspecListItem(data []byte, i *int, locals map[string]string... function parseRockspecValue (line 307) | func parseRockspecValue(data []byte, i *int, locals map[string]string, i... function parseRockspecLiteral (line 363) | func parseRockspecLiteral(data []byte, i *int, locals map[string]string)... function parseRockspecString (line 390) | func parseRockspecString(data []byte, i *int, _ map[string]string) (*roc... function parseComment (line 415) | func parseComment(data []byte, i *int) { function parseLocal (line 432) | func parseLocal(data []byte, i *int, locals map[string]string) error { function skipBuildNode (line 532) | func skipBuildNode(data []byte, i *int) { function skipFunction (line 553) | func skipFunction(data []byte, i *int) error { function skipExpression (line 580) | func skipExpression(data []byte, i *int) { function skipWhitespaceNoNewLine (line 584) | func skipWhitespaceNoNewLine(data []byte, i *int) { function isLiteral (line 590) | func isLiteral(c byte) bool { FILE: syft/pkg/cataloger/lua/rockspec_parser_test.go function Test_parseRockspecData (line 11) | func Test_parseRockspecData(t *testing.T) { FILE: syft/pkg/cataloger/nix/cataloger.go type Config (line 12) | type Config struct method WithCaptureOwnedFiles (line 18) | func (c Config) WithCaptureOwnedFiles(set bool) Config { function DefaultConfig (line 23) | func DefaultConfig() Config { type cataloger (line 30) | type cataloger struct method Name (line 43) | func (c cataloger) Name() string { method Catalog (line 47) | func (c cataloger) Catalog(ctx context.Context, resolver file.Resolver... function NewCataloger (line 35) | func NewCataloger(cfg Config) pkg.Cataloger { FILE: syft/pkg/cataloger/nix/cataloger_test.go function TestCataloger_Image (line 18) | func TestCataloger_Image(t *testing.T) { function TestCataloger_Image_FilesListing (line 77) | func TestCataloger_Image_FilesListing(t *testing.T) { function TestCataloger_Directory (line 144) | func TestCataloger_Directory(t *testing.T) { FILE: syft/pkg/cataloger/nix/db_cataloger.go constant defaultSchema (line 19) | defaultSchema = 10 type dbProcessor (line 21) | type dbProcessor type dbCataloger (line 23) | type dbCataloger struct method catalog (line 49) | func (c dbCataloger) catalog(ctx context.Context, resolver file.Resolv... method selectDBParser (line 82) | func (c dbCataloger) selectDBParser(dbLocation file.Location, resolver... method findClosestSchema (line 122) | func (c dbCataloger) findClosestSchema(got int) int { function newDBCataloger (line 29) | func newDBCataloger(cfg Config, catalogerName string) dbCataloger { type dbPackageEntry (line 39) | type dbPackageEntry struct FILE: syft/pkg/cataloger/nix/db_cataloger_v10.go function processV10DB (line 20) | func processV10DB(ctx context.Context, config Config, dbLocation file.Lo... function extractV10DBPackages (line 61) | func extractV10DBPackages(config Config, db *sql.DB, dbLocation file.Loc... function extractV10DBValidPaths (line 75) | func extractV10DBValidPaths(config Config, db *sql.DB, dbLocation file.L... function listOutputPaths (line 128) | func listOutputPaths(storePath string, resolver file.Resolver) []string { function extractV10DBDerivationOutputs (line 142) | func extractV10DBDerivationOutputs(db *sql.DB, packages map[int]*dbPacka... function finalizeV10DBResults (line 172) | func finalizeV10DBResults(db *sql.DB, packageEntries map[int]*dbPackageE... function createTempDB (line 244) | func createTempDB(td *tmpdir.TempDir, content io.ReadCloser) (*os.File, ... FILE: syft/pkg/cataloger/nix/derivation.go type derivationFile (line 13) | type derivationFile struct function newDerivationFromPath (line 18) | func newDerivationFromPath(p string, resolver file.Resolver) (*derivatio... function newDerivationFromLocation (line 32) | func newDerivationFromLocation(loc file.Location, resolver file.Resolver... type derivations (line 50) | type derivations struct method add (line 62) | func (c *derivations) add(df derivationFile) { method findDerivationForOutputPath (line 72) | func (c *derivations) findDerivationForOutputPath(outputPath string) *... method findDependencies (line 86) | func (c *derivations) findDependencies(p string) []string { method namedOutputStorePath (line 115) | func (c *derivations) namedOutputStorePath(drvPath, name string) string { function newDerivations (line 55) | func newDerivations() *derivations { FILE: syft/pkg/cataloger/nix/derivation_test.go function TestDerivationCollection_Add (line 13) | func TestDerivationCollection_Add(t *testing.T) { function TestDerivationCollection_AddNilOutputs (line 38) | func TestDerivationCollection_AddNilOutputs(t *testing.T) { function TestDerivationCollection_FindDerivationForOutputPath (line 58) | func TestDerivationCollection_FindDerivationForOutputPath(t *testing.T) { function TestDerivationCollection_FindDependencies (line 183) | func TestDerivationCollection_FindDependencies(t *testing.T) { function TestDerivationCollection_NamedOutputStorePath (line 350) | func TestDerivationCollection_NamedOutputStorePath(t *testing.T) { FILE: syft/pkg/cataloger/nix/package.go type nixStorePackage (line 12) | type nixStorePackage struct function newNixStorePackage (line 19) | func newNixStorePackage(pp nixStorePackage, catalogerName string) pkg.Pa... function newDBPackage (line 49) | func newDBPackage(entry *dbPackageEntry, catalogerName string) pkg.Packa... function newDerivation (line 79) | func newDerivation(df *derivationFile) pkg.NixDerivation { function packageURL (line 107) | func packageURL(storePath nixStorePath, drvPath string) string { FILE: syft/pkg/cataloger/nix/package_test.go function Test_packageURL (line 9) | func Test_packageURL(t *testing.T) { FILE: syft/pkg/cataloger/nix/parse_store_path.go type nixStorePath (line 28) | type nixStorePath struct method isValidPackage (line 36) | func (p nixStorePath) isValidPackage() bool { function findParentNixStorePath (line 40) | func findParentNixStorePath(source string) string { function parseNixStorePath (line 58) | func parseNixStorePath(og string) *nixStorePath { function hasNumeric (line 102) | func hasNumeric(s string) bool { function findVersionIsh (line 106) | func findVersionIsh(input string) (int, string, string) { FILE: syft/pkg/cataloger/nix/parse_store_path_test.go function Test_findVersionIsh (line 9) | func Test_findVersionIsh(t *testing.T) { function Test_parseNixStorePath (line 146) | func Test_parseNixStorePath(t *testing.T) { function Test_parentNixStorePath (line 279) | func Test_parentNixStorePath(t *testing.T) { FILE: syft/pkg/cataloger/nix/store_cataloger.go type storeCataloger (line 22) | type storeCataloger struct method Name (line 41) | func (c storeCataloger) Name() string { method Catalog (line 45) | func (c storeCataloger) Catalog(ctx context.Context, resolver file.Res... method finalizeStorePackages (line 67) | func (c storeCataloger) finalizeStorePackages(ctx context.Context, res... method findDerivationsFromStore (line 97) | func (c storeCataloger) findDerivationsFromStore(resolver file.Resolve... method findPackagesFromStore (line 126) | func (c storeCataloger) findPackagesFromStore(ctx context.Context, res... function NewStoreCataloger (line 30) | func NewStoreCataloger() pkg.Cataloger { function newStoreCataloger (line 34) | func newStoreCataloger(cfg Config, name string) storeCataloger { function filePaths (line 193) | func filePaths(files []file.Location) []string { FILE: syft/pkg/cataloger/nix/store_cataloger_test.go function TestStoreCataloger_Image (line 12) | func TestStoreCataloger_Image(t *testing.T) { function TestStoreCataloger_Directory (line 66) | func TestStoreCataloger_Directory(t *testing.T) { FILE: syft/pkg/cataloger/ocaml/cataloger.go function NewOpamPackageManagerCataloger (line 12) | func NewOpamPackageManagerCataloger() pkg.Cataloger { FILE: syft/pkg/cataloger/ocaml/cataloger_test.go function Test_PackageCataloger_Globs (line 9) | func Test_PackageCataloger_Globs(t *testing.T) { FILE: syft/pkg/cataloger/ocaml/package.go function newOpamPackage (line 11) | func newOpamPackage(ctx context.Context, m pkg.OpamPackage, fileLocation... function opamPackageURL (line 28) | func opamPackageURL(name, version string) string { FILE: syft/pkg/cataloger/ocaml/package_test.go function Test_packageURL (line 9) | func Test_packageURL(t *testing.T) { FILE: syft/pkg/cataloger/ocaml/parse_opam.go function parseOpamPackage (line 19) | func parseOpamPackage(ctx context.Context, _ file.Resolver, _ *generic.E... function parseLicenses (line 106) | func parseLicenses(licensesStr string) []string { function parseURL (line 124) | func parseURL(data []byte) (string, []string) { FILE: syft/pkg/cataloger/ocaml/parse_opam_test.go function TestParseOpamPackage (line 15) | func TestParseOpamPackage(t *testing.T) { function TestParseLicense (line 89) | func TestParseLicense(t *testing.T) { function TestParseUrl (line 120) | func TestParseUrl(t *testing.T) { FILE: syft/pkg/cataloger/php/cataloger.go function NewComposerInstalledCataloger (line 15) | func NewComposerInstalledCataloger() pkg.Cataloger { function NewComposerLockCataloger (line 21) | func NewComposerLockCataloger() pkg.Cataloger { function NewPearCataloger (line 27) | func NewPearCataloger() pkg.Cataloger { function NewPeclCataloger (line 36) | func NewPeclCataloger() pkg.Cataloger { FILE: syft/pkg/cataloger/php/cataloger_test.go function Test_ComposerInstalledCataloger_Globs (line 9) | func Test_ComposerInstalledCataloger_Globs(t *testing.T) { function Test_ComposerLockCataloger_Globs (line 34) | func Test_ComposerLockCataloger_Globs(t *testing.T) { function Test_PearCataloger_Globs (line 59) | func Test_PearCataloger_Globs(t *testing.T) { function Test_PeclCataloger_Globs (line 84) | func Test_PeclCataloger_Globs(t *testing.T) { FILE: syft/pkg/cataloger/php/interpreter_cataloger.go type interpreterCataloger (line 19) | type interpreterCataloger struct method Name (line 107) | func (p interpreterCataloger) Name() string { method Catalog (line 111) | func (p interpreterCataloger) Catalog(_ context.Context, resolver file... method catalogInterpreters (line 138) | func (p interpreterCataloger) catalogInterpreters(resolver file.Resolv... method catalogExtensions (line 160) | func (p interpreterCataloger) catalogExtensions(resolver file.Resolver... method catalogExtension (line 180) | func (p interpreterCataloger) catalogExtension(resolver file.Resolver,... method getClassifier (line 200) | func (p interpreterCataloger) getClassifier(realPath string) (string, ... function NewInterpreterCataloger (line 26) | func NewInterpreterCataloger() pkg.Cataloger { //nolint:funlen FILE: syft/pkg/cataloger/php/interpreter_cataloger_test.go function Test_InterpreterCataloger (line 9) | func Test_InterpreterCataloger(t *testing.T) { FILE: syft/pkg/cataloger/php/package.go function newComposerLockPackage (line 12) | func newComposerLockPackage(ctx context.Context, pd parsedLockData, inde... function newComposerInstalledPackage (line 28) | func newComposerInstalledPackage(ctx context.Context, pd parsedInstalled... function newPearPackage (line 44) | func newPearPackage(ctx context.Context, pd peclPearData, indexLocation ... function newPeclPackage (line 60) | func newPeclPackage(ctx context.Context, pd peclPearData, indexLocation ... function packageURLFromComposer (line 76) | func packageURLFromComposer(name, version string) string { function packageURLFromPear (line 102) | func packageURLFromPear(pkgName, channel, version string) string { FILE: syft/pkg/cataloger/php/package_test.go function Test_packageURL (line 9) | func Test_packageURL(t *testing.T) { function Test_packageURLFromPear (line 48) | func Test_packageURLFromPear(t *testing.T) { FILE: syft/pkg/cataloger/php/parse_composer_lock.go type parsedLockData (line 19) | type parsedLockData struct type composerLock (line 24) | type composerLock struct function parseComposerLock (line 30) | func parseComposerLock(ctx context.Context, _ file.Resolver, _ *generic.... FILE: syft/pkg/cataloger/php/parse_composer_lock_test.go function TestParseComposerFileLock (line 13) | func TestParseComposerFileLock(t *testing.T) { function Test_corruptComposerLock (line 119) | func Test_corruptComposerLock(t *testing.T) { FILE: syft/pkg/cataloger/php/parse_installed_json.go type installedJSONComposerV2 (line 20) | type installedJSONComposerV2 struct method UnmarshalJSON (line 29) | func (w *installedJSONComposerV2) UnmarshalJSON(data []byte) error { type parsedInstalledData (line 24) | type parsedInstalledData struct function parseInstalledJSON (line 51) | func parseInstalledJSON(ctx context.Context, _ file.Resolver, _ *generic... FILE: syft/pkg/cataloger/php/parse_installed_json_test.go function TestParseInstalledJsonComposerV1 (line 13) | func TestParseInstalledJsonComposerV1(t *testing.T) { function Test_corruptInstalledJSON (line 148) | func Test_corruptInstalledJSON(t *testing.T) { FILE: syft/pkg/cataloger/php/parse_pecl_pear.go type peclPearData (line 17) | type peclPearData struct method ToPear (line 24) | func (p *peclPearData) ToPear() pkg.PhpPearEntry { method ToPecl (line 33) | func (p *peclPearData) ToPecl() pkg.PhpPeclEntry { //nolint:staticcheck function parsePecl (line 37) | func parsePecl(ctx context.Context, _ file.Resolver, _ *generic.Environm... function parsePear (line 48) | func parsePear(ctx context.Context, _ file.Resolver, _ *generic.Environm... function parsePeclPearSerialized (line 60) | func parsePeclPearSerialized(reader file.LocationReadCloser) (*peclPearD... function readStruct (line 99) | func readStruct(metadata any, fields ...string) string { FILE: syft/pkg/cataloger/php/parse_pecl_pear_test.go function TestParsePear (line 13) | func TestParsePear(t *testing.T) { function TestParsePecl (line 75) | func TestParsePecl(t *testing.T) { function Test_corruptPecl (line 137) | func Test_corruptPecl(t *testing.T) { FILE: syft/pkg/cataloger/python/cataloger.go constant eggInfoGlob (line 11) | eggInfoGlob = "**/*.egg-info" function NewPackageCataloger (line 14) | func NewPackageCataloger(cfg CatalogerConfig) pkg.Cataloger { function NewInstalledPackageCataloger (line 31) | func NewInstalledPackageCataloger() pkg.Cataloger { FILE: syft/pkg/cataloger/python/cataloger_test.go function Test_InstalledPackageCataloger (line 17) | func Test_InstalledPackageCataloger(t *testing.T) { function Test_PackageCataloger (line 413) | func Test_PackageCataloger(t *testing.T) { function Test_PackageCataloger_IgnorePackage (line 460) | func Test_PackageCataloger_IgnorePackage(t *testing.T) { function Test_IndexCataloger_Globs (line 486) | func Test_IndexCataloger_Globs(t *testing.T) { function Test_PackageCataloger_Globs (line 519) | func Test_PackageCataloger_Globs(t *testing.T) { function Test_PackageCataloger_Relationships (line 549) | func Test_PackageCataloger_Relationships(t *testing.T) { function Test_PackageCataloger_SitePackageRelationships (line 899) | func Test_PackageCataloger_SitePackageRelationships(t *testing.T) { function stringPackage (line 1014) | func stringPackage(p pkg.Package) string { function mustContentsFromLocation (line 1025) | func mustContentsFromLocation(t *testing.T, contentsPath string, offset ... FILE: syft/pkg/cataloger/python/config.go constant pypiBaseURL (line 3) | pypiBaseURL = "https://pypi.org/pypi" type CatalogerConfig (line 5) | type CatalogerConfig struct method WithSearchRemoteLicenses (line 25) | func (c CatalogerConfig) WithSearchRemoteLicenses(input bool) Cataloge... method WithGuessUnpinnedRequirements (line 30) | func (c CatalogerConfig) WithGuessUnpinnedRequirements(input bool) Cat... method WithPypiBaseURL (line 35) | func (c CatalogerConfig) WithPypiBaseURL(input string) CatalogerConfig { function DefaultCatalogerConfig (line 17) | func DefaultCatalogerConfig() CatalogerConfig { FILE: syft/pkg/cataloger/python/dependency.go function poetryLockDependencySpecifier (line 18) | func poetryLockDependencySpecifier(p pkg.Package) dependency.Specificati... function isDependencyForExtra (line 72) | func isDependencyForExtra(dep pkg.PythonPoetryLockDependencyEntry) bool { function packageRef (line 76) | func packageRef(name, extra string) string { function pdmLockDependencySpecifier (line 87) | func pdmLockDependencySpecifier(p pkg.Package) dependency.Specification { function wheelEggDependencySpecifier (line 144) | func wheelEggDependencySpecifier(p pkg.Package) dependency.Specification { function extractPackageName (line 179) | func extractPackageName(s string) string { function extractPackageNames (line 192) | func extractPackageNames(ss []string) []string { function wheelEggRelationships (line 200) | func wheelEggRelationships(ctx context.Context, resolver file.Resolver, ... function collectPackages (line 271) | func collectPackages(pkgsBySitePackageAndName map[string]map[string]pkg.... function deriveSitePackageDir (line 288) | func deriveSitePackageDir(p pkg.Package) string { function packagePrimaryLocations (line 298) | func packagePrimaryLocations(p pkg.Package) []file.Location { function extractSitePackageDir (line 312) | func extractSitePackageDir(p string) string { FILE: syft/pkg/cataloger/python/dependency_test.go function Test_poetryLockDependencySpecifier (line 17) | func Test_poetryLockDependencySpecifier(t *testing.T) { function Test_poetryLockDependencySpecifier_againstPoetryLock (line 216) | func Test_poetryLockDependencySpecifier_againstPoetryLock(t *testing.T) { function Test_packageRef (line 338) | func Test_packageRef(t *testing.T) { function Test_extractPackageName (line 393) | func Test_extractPackageName(t *testing.T) { function Test_wheelEggDependencySpecifier (line 463) | func Test_wheelEggDependencySpecifier(t *testing.T) { function Test_pdmLockDependencySpecifier (line 549) | func Test_pdmLockDependencySpecifier(t *testing.T) { FILE: syft/pkg/cataloger/python/license.go type pythonLicenseResolver (line 16) | type pythonLicenseResolver struct method getLicenses (line 28) | func (lr *pythonLicenseResolver) getLicenses(ctx context.Context, pack... method getLicensesFromRemote (line 43) | func (lr *pythonLicenseResolver) getLicensesFromRemote(ctx context.Con... function newPythonLicenseResolver (line 21) | func newPythonLicenseResolver(config CatalogerConfig) pythonLicenseResol... function formatPypiRegistryURL (line 57) | func formatPypiRegistryURL(baseURL, packageName, version string) (reques... function getLicenseFromPypiRegistry (line 70) | func getLicenseFromPypiRegistry(baseURL, packageName, version string) (s... FILE: syft/pkg/cataloger/python/license_test.go function TestFormatPyPiRegistryURL (line 14) | func TestFormatPyPiRegistryURL(t *testing.T) { function TestGetLicenseFromPypiRegistry (line 64) | func TestGetLicenseFromPypiRegistry(t *testing.T) { type handlerPath (line 128) | type handlerPath struct function generateMockPypiRegistryHandler (line 133) | func generateMockPypiRegistryHandler(responseFixture string) func(w http... function generateMockPypiRegistryHandlerWithStatus (line 137) | func generateMockPypiRegistryHandlerWithStatus(responseFixture string, m... function setupPypiRegistry (line 164) | func setupPypiRegistry() (mux *http.ServeMux, serverURL string, teardown... FILE: syft/pkg/cataloger/python/package.go function normalize (line 14) | func normalize(name string) string { function newPackageForIndex (line 21) | func newPackageForIndex(ctx context.Context, lr pythonLicenseResolver, n... function newPackageForIndexWithMetadata (line 40) | func newPackageForIndexWithMetadata(ctx context.Context, lr pythonLicens... function newPackageForRequirementsWithMetadata (line 60) | func newPackageForRequirementsWithMetadata(ctx context.Context, lr pytho... function newPackageForPackage (line 80) | func newPackageForPackage(m parsedData, licenses pkg.LicenseSet, sources... function packageURL (line 99) | func packageURL(name, version string, m *pkg.PythonPackage) string { function purlQualifiersForPackage (line 112) | func purlQualifiersForPackage(m *pkg.PythonPackage) packageurl.Qualifiers { function vcsURLQualifierForPackage (line 123) | func vcsURLQualifierForPackage(p *pkg.PythonDirectURLOriginInfo) package... FILE: syft/pkg/cataloger/python/package_test.go function Test_packageURL (line 11) | func Test_packageURL(t *testing.T) { function Test_normalization (line 48) | func Test_normalization(t *testing.T) { FILE: syft/pkg/cataloger/python/parse_pdm_lock.go type pdmLock (line 18) | type pdmLock struct type pdmLockPackage (line 28) | type pdmLockPackage struct type pdmLockPackageFile (line 39) | type pdmLockPackageFile struct type pdmLockParser (line 44) | type pdmLockParser struct method parsePdmLock (line 168) | func (plp pdmLockParser) parsePdmLock(ctx context.Context, _ file.Reso... function newPdmLockParser (line 49) | func newPdmLockParser(cfg CatalogerConfig) pdmLockParser { function mergePdmLockPackages (line 84) | func mergePdmLockPackages(packages []pdmLockPackage) pkg.PythonPdmLockEn... function filesEqual (line 155) | func filesEqual(a, b []pkg.PythonPdmFileEntry) bool { FILE: syft/pkg/cataloger/python/parse_pdm_lock_test.go function TestParsePdmLock (line 17) | func TestParsePdmLock(t *testing.T) { function TestParsePdmLockWithLicenseEnrichment (line 375) | func TestParsePdmLockWithLicenseEnrichment(t *testing.T) { function TestParsePdmLockWithExtras (line 444) | func TestParsePdmLockWithExtras(t *testing.T) { function TestParsePdmLockWithSeparateFilesFixture (line 576) | func TestParsePdmLockWithSeparateFilesFixture(t *testing.T) { function TestMergePdmLockPackagesNoBasePackage (line 645) | func TestMergePdmLockPackagesNoBasePackage(t *testing.T) { function Test_corruptPdmLock (line 697) | func Test_corruptPdmLock(t *testing.T) { FILE: syft/pkg/cataloger/python/parse_pipfile_lock.go type pipfileLock (line 17) | type pipfileLock struct type pipfileLockDependency (line 36) | type pipfileLockDependency struct type pipfileLockParser (line 42) | type pipfileLockParser struct method parsePipfileLock (line 55) | func (plp pipfileLockParser) parsePipfileLock(ctx context.Context, _ f... function newPipfileLockParser (line 47) | func newPipfileLockParser(cfg CatalogerConfig) pipfileLockParser { FILE: syft/pkg/cataloger/python/parse_pipfile_lock_test.go function TestParsePipFileLock (line 13) | func TestParsePipFileLock(t *testing.T) { function TestParsePipfileLockWithLicenseEnrichment (line 86) | func TestParsePipfileLockWithLicenseEnrichment(t *testing.T) { function Test_corruptPipfileLock (line 141) | func Test_corruptPipfileLock(t *testing.T) { FILE: syft/pkg/cataloger/python/parse_poetry_lock.go type poetryPackageSource (line 19) | type poetryPackageSource struct type poetryPackages (line 25) | type poetryPackages struct type poetryPackage (line 29) | type poetryPackage struct type poetryPackageDependency (line 41) | type poetryPackageDependency struct type poetryLockParser (line 48) | type poetryLockParser struct method parsePoetryLock (line 61) | func (plp poetryLockParser) parsePoetryLock(ctx context.Context, _ fil... method poetryLockPackages (line 73) | func (plp poetryLockParser) poetryLockPackages(ctx context.Context, re... function newPoetryLockParser (line 53) | func newPoetryLockParser(cfg CatalogerConfig) poetryLockParser { function newPythonPoetryLockEntry (line 120) | func newPythonPoetryLockEntry(p poetryPackage) pkg.PythonPoetryLockEntry { function extractIndex (line 128) | func extractIndex(p poetryPackage) string { function extractPoetryDependencies (line 136) | func extractPoetryDependencies(p poetryPackage) []pkg.PythonPoetryLockDe... function extractPoetryExtras (line 154) | func extractPoetryExtras(p poetryPackage) []pkg.PythonPoetryLockExtraEnt... FILE: syft/pkg/cataloger/python/parse_poetry_lock_test.go function TestParsePoetryLock (line 13) | func TestParsePoetryLock(t *testing.T) { function TestParsePoetryLockWithLicenseEnrichment (line 87) | func TestParsePoetryLockWithLicenseEnrichment(t *testing.T) { function Test_corruptPoetryLock (line 137) | func Test_corruptPoetryLock(t *testing.T) { FILE: syft/pkg/cataloger/python/parse_requirements.go constant namePattern (line 30) | namePattern = `(?P\w[\w\[\],\s-_\.]+)` constant versionConstraintPattern (line 33) | versionConstraintPattern = `(?P([^\S\r\n]*[~=>!<]+\s*... constant markersPattern (line 36) | markersPattern = `(;(?P.*))?` constant hashesPattern (line 39) | hashesPattern = `(?P([^\S\r\n]*--hash=[a-zA-Z0-9:]+)+)?` constant whiteSpaceNoNewlinePattern (line 42) | whiteSpaceNoNewlinePattern = `[^\S\r\n]*` type unprocessedRequirement (line 55) | type unprocessedRequirement struct function newRequirement (line 63) | func newRequirement(raw string) *unprocessedRequirement { type requirementsParser (line 85) | type requirementsParser struct method parseRequirementsTxt (line 99) | func (rp requirementsParser) parseRequirementsTxt(ctx context.Context,... function newRequirementsParser (line 90) | func newRequirementsParser(cfg CatalogerConfig) requirementsParser { function parseVersion (line 172) | func parseVersion(version string, guessFromConstraint bool) string { function isPinnedConstraint (line 184) | func isPinnedConstraint(version string) bool { function guessVersion (line 188) | func guessVersion(constraint string) string { function trimRequirementsTxtLine (line 238) | func trimRequirementsTxtLine(line string) string { function removeTrailingComment (line 246) | func removeTrailingComment(line string) string { function removeExtras (line 257) | func removeExtras(packageName string) string { function parseExtras (line 266) | func parseExtras(packageName string) []string { function parseURL (line 282) | func parseURL(line string) string { FILE: syft/pkg/cataloger/python/parse_requirements_test.go function TestParseRequirementsTxt (line 15) | func TestParseRequirementsTxt(t *testing.T) { function TestParseRequirementsTxtWithLicenseEnrichment (line 230) | func TestParseRequirementsTxtWithLicenseEnrichment(t *testing.T) { function Test_newRequirement (line 282) | func Test_newRequirement(t *testing.T) { function Test_parseVersion (line 349) | func Test_parseVersion(t *testing.T) { function Test_corruptRequirementsTxt (line 410) | func Test_corruptRequirementsTxt(t *testing.T) { FILE: syft/pkg/cataloger/python/parse_setup.go type setupFileParser (line 16) | type setupFileParser struct method parseSetupFile (line 36) | func (sp setupFileParser) parseSetupFile(ctx context.Context, _ file.R... method processQuotedDependencies (line 52) | func (sp setupFileParser) processQuotedDependencies(ctx context.Contex... method parseQuotedDependency (line 61) | func (sp setupFileParser) parseQuotedDependency(ctx context.Context, m... method processUnquotedDependency (line 74) | func (sp setupFileParser) processUnquotedDependency(ctx context.Contex... method validateAndCreatePackage (line 99) | func (sp setupFileParser) validateAndCreatePackage(ctx context.Context... function newSetupFileParser (line 21) | func newSetupFileParser(cfg CatalogerConfig) setupFileParser { function cleanDependencyString (line 92) | func cleanDependencyString(s string) string { function isDuplicatePackage (line 121) | func isDuplicatePackage(p pkg.Package, packages []pkg.Package) bool { function hasTemplateDirective (line 130) | func hasTemplateDirective(s string) bool { FILE: syft/pkg/cataloger/python/parse_setup_test.go function TestParseSetup (line 15) | func TestParseSetup(t *testing.T) { function TestParseSetupFileWithLicenseEnrichment (line 170) | func TestParseSetupFileWithLicenseEnrichment(t *testing.T) { function Test_hasTemplateDirective (line 217) | func Test_hasTemplateDirective(t *testing.T) { FILE: syft/pkg/cataloger/python/parse_uv_lock.go type uvLockFileVersion (line 24) | type uvLockFileVersion struct type uvLockFile (line 29) | type uvLockFile struct type uvPackage (line 36) | type uvPackage struct type uvDependencies (line 48) | type uvDependencies type uvDistribution (line 54) | type uvDistribution struct type uvRequiresDist (line 60) | type uvRequiresDist type uvMetadata (line 67) | type uvMetadata struct type uvLockParser (line 72) | type uvLockParser struct method parseUvLock (line 85) | func (ulp uvLockParser) parseUvLock(ctx context.Context, _ file.Resolv... method uvLockPackages (line 142) | func (ulp uvLockParser) uvLockPackages(ctx context.Context, reader fil... function newUvLockParser (line 77) | func newUvLockParser(cfg CatalogerConfig) uvLockParser { function extractUvIndex (line 94) | func extractUvIndex(p uvPackage) string { function extractUvDependencies (line 104) | func extractUvDependencies(p uvPackage) []pkg.PythonUvLockDependencyEntry { function extractUvExtras (line 119) | func extractUvExtras(p uvPackage) []pkg.PythonUvLockExtraEntry { function newPythonUvLockEntry (line 134) | func newPythonUvLockEntry(p uvPackage) pkg.PythonUvLockEntry { function isDependencyForUvExtra (line 195) | func isDependencyForUvExtra(dep pkg.PythonUvLockDependencyEntry) bool { function uvLockDependencySpecifier (line 203) | func uvLockDependencySpecifier(p pkg.Package) dependency.Specification {... FILE: syft/pkg/cataloger/python/parse_uv_lock_test.go function TestParseUvLock (line 13) | func TestParseUvLock(t *testing.T) { function TestParseUvLockWithLicenseEnrichment (line 132) | func TestParseUvLockWithLicenseEnrichment(t *testing.T) { FILE: syft/pkg/cataloger/python/parse_wheel_egg.go function parseWheelOrEgg (line 25) | func parseWheelOrEgg(ctx context.Context, resolver file.Resolver, _ *gen... function fetchInstalledFiles (line 50) | func fetchInstalledFiles(resolver file.Resolver, metadataLocation file.L... function fetchRecordFiles (line 80) | func fetchRecordFiles(resolver file.Resolver, metadataLocation file.Loca... function fetchTopLevelPackages (line 108) | func fetchTopLevelPackages(resolver file.Resolver, metadataLocation file... type directURLOrigin (line 138) | type directURLOrigin struct type dirInfo (line 145) | type dirInfo struct type archiveInfo (line 149) | type archiveInfo struct type vcsInfo (line 153) | type vcsInfo struct function fetchDirectURLData (line 159) | func fetchDirectURLData(resolver file.Resolver, metadataLocation file.Lo... function assembleEggOrWheelMetadata (line 189) | func assembleEggOrWheelMetadata(resolver file.Resolver, metadataLocation... function findLicenses (line 244) | func findLicenses(ctx context.Context, resolver file.Resolver, m parsedD... FILE: syft/pkg/cataloger/python/parse_wheel_egg_metadata.go type parsedData (line 17) | type parsedData struct function parseWheelOrEggMetadata (line 39) | func parseWheelOrEggMetadata(locationReader file.LocationReadCloser) (pa... function extractRFC5322Fields (line 65) | func extractRFC5322Fields(locationReader file.LocationReadCloser) (map[s... function handleSingleOrMultiField (line 114) | func handleSingleOrMultiField(existingValue, val any) any { function getFieldType (line 133) | func getFieldType(key, in string) any { function isEggRegularFile (line 143) | func isEggRegularFile(path string) bool { function determineSitePackagesRootPath (line 149) | func determineSitePackagesRootPath(path string) string { function handleFieldBodyContinuation (line 159) | func handleFieldBodyContinuation(key, line string, fields map[string]any... FILE: syft/pkg/cataloger/python/parse_wheel_egg_metadata_test.go function TestParseWheelEggMetadata (line 19) | func TestParseWheelEggMetadata(t *testing.T) { function TestIsRegularEggFile (line 88) | func TestIsRegularEggFile(t *testing.T) { function TestDetermineSitePackagesRootPath (line 118) | func TestDetermineSitePackagesRootPath(t *testing.T) { function TestParseWheelEggMetadataInvalid (line 148) | func TestParseWheelEggMetadataInvalid(t *testing.T) { function Test_extractRFC5322Fields (line 191) | func Test_extractRFC5322Fields(t *testing.T) { FILE: syft/pkg/cataloger/python/parse_wheel_egg_record.go function parseWheelOrEggRecord (line 20) | func parseWheelOrEggRecord(reader file.LocationReadCloser) ([]pkg.Python... function parseInstalledFiles (line 76) | func parseInstalledFiles(reader io.Reader, location, sitePackagesRootPat... FILE: syft/pkg/cataloger/python/parse_wheel_egg_record_test.go function TestParseWheelEggRecord (line 14) | func TestParseWheelEggRecord(t *testing.T) { function TestParseInstalledFiles (line 61) | func TestParseInstalledFiles(t *testing.T) { FILE: syft/pkg/cataloger/python/testdata/pypi-remote/setup.py function main (line 11) | def main(): FILE: syft/pkg/cataloger/python/testdata/setup/dynamic-setup.py function eval_marker (line 45) | def eval_marker(value): function _opt_value (line 72) | def _opt_value(cfg, into, section, key, transform = None): function _as_bool (line 87) | def _as_bool(value): function _as_list (line 96) | def _as_list(value): function _as_lines (line 98) | def _as_lines(value): function _map_requirement (line 111) | def _map_requirement(value): function _as_requires (line 129) | def _as_requires(value): function parse_setup_cfg (line 141) | def parse_setup_cfg(): function _python_cmd (line 221) | def _python_cmd(*args): function _python_cmd (line 225) | def _python_cmd(*args): function get_pypi_src_download (line 233) | def get_pypi_src_download(package): function get_pypi_src_download (line 254) | def get_pypi_src_download(package): function _build_egg (line 305) | def _build_egg(egg, tarball, to_dir): function _do_download (line 328) | def _do_download(to_dir, packagename=SETUPTOOLS_PACKAGE): function use_setuptools (line 338) | def use_setuptools(): function download_setuptools (line 341) | def download_setuptools(packagename, to_dir): function _extractall (line 371) | def _extractall(self, path=".", members=None): class upload_docs (line 432) | class upload_docs (Command): method initialize_options (line 435) | def initialize_options(self): method finalize_options (line 437) | def finalize_options(self): method run (line 439) | def run(self): method initialize_options (line 445) | def initialize_options(self): method finalize_options (line 449) | def finalize_options(self): method run (line 455) | def run(self): class upload_docs (line 442) | class upload_docs (PyPIRCCommand): method initialize_options (line 435) | def initialize_options(self): method finalize_options (line 437) | def finalize_options(self): method run (line 439) | def run(self): method initialize_options (line 445) | def initialize_options(self): method finalize_options (line 449) | def finalize_options(self): method run (line 455) | def run(self): function recursiveGlob (line 554) | def recursiveGlob(root, pathPattern): function importExternalTestCases (line 565) | def importExternalTestCases(unittest, class test (line 587) | class test (Command): method initialize_options (line 592) | def initialize_options(self): method finalize_options (line 594) | def finalize_options(self): method cleanup_environment (line 597) | def cleanup_environment(self): method add_project_to_sys_path (line 609) | def add_project_to_sys_path(self): method remove_from_sys_path (line 635) | def remove_from_sys_path(self): method run (line 641) | def run(self): FILE: syft/pkg/cataloger/python/testdata/setup/setup.py function main (line 21) | def main(): FILE: syft/pkg/cataloger/python/virtual_env.go type virtualEnvInfo (line 19) | type virtualEnvInfo struct method majorMinorVersion (line 29) | func (v virtualEnvInfo) majorMinorVersion() string { method matchSystemPackagesPath (line 70) | func (v virtualEnvInfo) matchSystemPackagesPath(sitePackagePaths []str... method matchVirtualEnvSitePackagesPath (line 96) | func (v virtualEnvInfo) matchVirtualEnvSitePackagesPath(sitePackagePat... function findVirtualEnvs (line 37) | func findVirtualEnvs(_ context.Context, resolver file.Resolver, sitePack... function parsePyvenvCfg (line 120) | func parsePyvenvCfg(_ context.Context, resolver file.Resolver, location ... function parsePyvenvCfgReader (line 135) | func parsePyvenvCfgReader(reader file.LocationReadCloser) (*virtualEnvIn... FILE: syft/pkg/cataloger/python/virtual_env_test.go function Test_parsePyvenvCfgReader (line 13) | func Test_parsePyvenvCfgReader(t *testing.T) { FILE: syft/pkg/cataloger/r/cataloger.go function NewPackageCataloger (line 12) | func NewPackageCataloger() pkg.Cataloger { FILE: syft/pkg/cataloger/r/cataloger_test.go function TestRPackageCataloger (line 13) | func TestRPackageCataloger(t *testing.T) { FILE: syft/pkg/cataloger/r/package.go function newPackage (line 12) | func newPackage(ctx context.Context, pd parseData, locations ...file.Loc... function packageURL (line 35) | func packageURL(m parseData) string { function parseLicenseData (line 48) | func parseLicenseData(ctx context.Context, license string, locations ...... function parseVersion (line 94) | func parseVersion(version string) string { FILE: syft/pkg/cataloger/r/package_test.go function Test_NewPackageLicenses (line 10) | func Test_NewPackageLicenses(t *testing.T) { FILE: syft/pkg/cataloger/r/parse_description.go function parseDescriptionFile (line 33) | func parseDescriptionFile(ctx context.Context, resolver file.Resolver, _... type parseData (line 44) | type parseData struct function parseDataFromDescriptionMap (line 51) | func parseDataFromDescriptionMap(values map[string]string) parseData { function yesNoToBool (line 72) | func yesNoToBool(s string) bool { function commaSeparatedList (line 85) | func commaSeparatedList(s string) []string { function cleanMultiLineValue (line 100) | func cleanMultiLineValue(s string) string { function extractFieldsFromDescriptionFile (line 104) | func extractFieldsFromDescriptionFile(reader io.Reader) map[string]string { function startsWithWhitespace (line 145) | func startsWithWhitespace(s string) bool { FILE: syft/pkg/cataloger/r/parse_description_test.go function Test_parseDescriptionFile (line 17) | func Test_parseDescriptionFile(t *testing.T) { function Test_extractFieldsFromDescriptionFile (line 71) | func Test_extractFieldsFromDescriptionFile(t *testing.T) { FILE: syft/pkg/cataloger/redhat/cataloger.go function NewDBCataloger (line 17) | func NewDBCataloger() pkg.Cataloger { function denySelfReferences (line 25) | func denySelfReferences(pkgs []pkg.Package, rels []artifact.Relationship... function NewArchiveCataloger (line 41) | func NewArchiveCataloger() pkg.Cataloger { function ensureSqliteDriverAvailable (line 46) | func ensureSqliteDriverAvailable() error { FILE: syft/pkg/cataloger/redhat/cataloger_test.go function Test_DBCataloger (line 19) | func Test_DBCataloger(t *testing.T) { function Test_DBCataloger_Globs (line 194) | func Test_DBCataloger_Globs(t *testing.T) { function Test_RPMFileCataloger_Globs (line 228) | func Test_RPMFileCataloger_Globs(t *testing.T) { function Test_denySelfReferences (line 253) | func Test_denySelfReferences(t *testing.T) { function mustParseSignatures (line 342) | func mustParseSignatures(t testing.TB, sigs ...string) []pkg.RpmSignature { FILE: syft/pkg/cataloger/redhat/dependency.go function dbEntryDependencySpecifier (line 13) | func dbEntryDependencySpecifier(p pkg.Package) dependency.Specification { function isSupportedKey (line 55) | func isSupportedKey(key string) bool { FILE: syft/pkg/cataloger/redhat/dependency_test.go function Test_dbEntryDependencySpecifier (line 12) | func Test_dbEntryDependencySpecifier(t *testing.T) { function Test_isSupportedKey (line 74) | func Test_isSupportedKey(t *testing.T) { FILE: syft/pkg/cataloger/redhat/package.go function newDBPackage (line 15) | func newDBPackage(ctx context.Context, dbOrRpmLocation file.Location, m ... function newArchivePackage (line 30) | func newArchivePackage(ctx context.Context, archiveLocation file.Locatio... function newMetadataFromManifestLine (line 49) | func newMetadataFromManifestLine(entry string) (*pkg.RpmDBEntry, error) { function packageURL (line 88) | func packageURL(name, arch string, epoch *int, srpm string, version, rel... FILE: syft/pkg/cataloger/redhat/package_test.go function Test_packageURL (line 12) | func Test_packageURL(t *testing.T) { FILE: syft/pkg/cataloger/redhat/parse_rpm_archive.go type pgpSig (line 23) | type pgpSig struct type textSig (line 31) | type textSig struct type pgp4Sig (line 41) | type pgp4Sig struct function parseRpmArchive (line 60) | func parseRpmArchive(ctx context.Context, _ file.Resolver, _ *generic.En... function parseSignatureHeaders (line 116) | func parseSignatureHeaders(data [][]byte) ([]pkg.RpmSignature, error) { function parsePGP (line 145) | func parsePGP(data []byte) (*pkg.RpmSignature, error) { function decodePGPSig (line 187) | func decodePGPSig(version uint8, r io.Reader) (*pkg.RpmSignature, error) { function getDigestAlgorithm (line 222) | func getDigestAlgorithm(location file.Location, header *rpmutils.RpmHead... function mapFiles (line 239) | func mapFiles(files []rpmutils.FileInfo, digestAlgorithm string) []pkg.R... function parseEpoch (line 262) | func parseEpoch(epoch string) *int { function logRpmArchiveErr (line 270) | func logRpmArchiveErr(location file.Location, operation string, err erro... FILE: syft/pkg/cataloger/redhat/parse_rpm_archive_test.go function TestParseRpmFiles (line 18) | func TestParseRpmFiles(t *testing.T) { function Test_parseRSA (line 171) | func Test_parseRSA(t *testing.T) { function ref (line 230) | func ref[T any](v T) *T { function Test_corruptRpmArchive (line 234) | func Test_corruptRpmArchive(t *testing.T) { FILE: syft/pkg/cataloger/redhat/parse_rpm_db.go function parseRpmDB (line 24) | func parseRpmDB(ctx context.Context, resolver file.Resolver, env *generi... function parseSignatures (line 118) | func parseSignatures(sigs ...string) ([]pkg.RpmSignature, error) { function toELVersion (line 188) | func toELVersion(epoch *int, version, release string) string { function extractRpmFileRecords (line 195) | func extractRpmFileRecords(resolver file.PathResolver, entry rpmdb.Packa... FILE: syft/pkg/cataloger/redhat/parse_rpm_db_test.go type rpmdbTestFileResolverMock (line 19) | type rpmdbTestFileResolverMock struct method FilesByExtension (line 23) | func (r rpmdbTestFileResolverMock) FilesByExtension(extensions ...stri... method FilesByBasename (line 27) | func (r rpmdbTestFileResolverMock) FilesByBasename(filenames ...string... method FilesByBasenameGlob (line 31) | func (r rpmdbTestFileResolverMock) FilesByBasenameGlob(globs ...string... method FileContentsByLocation (line 35) | func (r rpmdbTestFileResolverMock) FileContentsByLocation(location fil... method AllLocations (line 39) | func (r rpmdbTestFileResolverMock) AllLocations(_ context.Context) <-c... method FileMetadataByLocation (line 43) | func (r rpmdbTestFileResolverMock) FileMetadataByLocation(location fil... method HasPath (line 53) | func (r rpmdbTestFileResolverMock) HasPath(path string) bool { method FilesByPath (line 57) | func (r *rpmdbTestFileResolverMock) FilesByPath(paths ...string) ([]fi... method FilesByGlob (line 70) | func (r *rpmdbTestFileResolverMock) FilesByGlob(...string) ([]file.Loc... method RelativeFileByPath (line 74) | func (r *rpmdbTestFileResolverMock) RelativeFileByPath(file.Location, ... method FilesByMIMEType (line 79) | func (r *rpmdbTestFileResolverMock) FilesByMIMEType(...string) ([]file... method FilesByMediaType (line 83) | func (r *rpmdbTestFileResolverMock) FilesByMediaType(...string) ([]fil... function newTestFileResolver (line 47) | func newTestFileResolver(ignorePaths bool) *rpmdbTestFileResolverMock { function TestParseRpmDB (line 87) | func TestParseRpmDB(t *testing.T) { function TestToElVersion (line 179) | func TestToElVersion(t *testing.T) { function Test_corruptRpmDbEntry (line 223) | func Test_corruptRpmDbEntry(t *testing.T) { function TestParseSignatures (line 230) | func TestParseSignatures(t *testing.T) { function intRef (line 356) | func intRef(i int) *int { function strRef (line 360) | func strRef(s string) *string { FILE: syft/pkg/cataloger/redhat/parse_rpm_manifest.go function parseRpmManifest (line 19) | func parseRpmManifest(ctx context.Context, _ file.Resolver, _ *generic.E... FILE: syft/pkg/cataloger/redhat/parse_rpm_manifest_test.go function TestParseRpmManifest (line 11) | func TestParseRpmManifest(t *testing.T) { FILE: syft/pkg/cataloger/redhat/sqlitetest/no_sqlite_driver_test.go function Test_noSQLiteDriverError (line 13) | func Test_noSQLiteDriverError(t *testing.T) { FILE: syft/pkg/cataloger/ruby/cataloger.go function NewGemFileLockCataloger (line 12) | func NewGemFileLockCataloger() pkg.Cataloger { function NewInstalledGemSpecCataloger (line 18) | func NewInstalledGemSpecCataloger() pkg.Cataloger { function NewGemSpecCataloger (line 24) | func NewGemSpecCataloger() pkg.Cataloger { FILE: syft/pkg/cataloger/ruby/cataloger_test.go function Test_GemFileLock_Globs (line 9) | func Test_GemFileLock_Globs(t *testing.T) { function Test_GemSpec_Globs (line 35) | func Test_GemSpec_Globs(t *testing.T) { FILE: syft/pkg/cataloger/ruby/package.go function newGemfileLockPackage (line 12) | func newGemfileLockPackage(name, version string, locations ...file.Locat... function newGemspecPackage (line 27) | func newGemspecPackage(ctx context.Context, resolver file.Resolver, m ge... function packageURL (line 46) | func packageURL(name, version string) string { FILE: syft/pkg/cataloger/ruby/package_test.go function Test_packageURL (line 10) | func Test_packageURL(t *testing.T) { FILE: syft/pkg/cataloger/ruby/parse_gemfile_lock.go function parseGemFileLockEntries (line 22) | func parseGemFileLockEntries(_ context.Context, _ file.Resolver, _ *gene... function isDependencyLine (line 61) | func isDependencyLine(line string) bool { FILE: syft/pkg/cataloger/ruby/parse_gemfile_lock_test.go function TestParseGemfileLockEntries (line 11) | func TestParseGemfileLockEntries(t *testing.T) { FILE: syft/pkg/cataloger/ruby/parse_gemspec.go type postProcessor (line 22) | type postProcessor type gemData (line 24) | type gemData struct function processList (line 60) | func processList(s string) []string { function parseGemSpecEntries (line 69) | func parseGemSpecEntries(ctx context.Context, resolver file.Resolver, _ ... function renderUtf8 (line 120) | func renderUtf8(s string) string { FILE: syft/pkg/cataloger/ruby/parse_gemspec_test.go function TestParseGemspec (line 12) | func TestParseGemspec(t *testing.T) { FILE: syft/pkg/cataloger/rust/cataloger.go function NewCargoLockCataloger (line 13) | func NewCargoLockCataloger() pkg.Cataloger { function NewAuditBinaryCataloger (line 20) | func NewAuditBinaryCataloger() pkg.Cataloger { FILE: syft/pkg/cataloger/rust/cataloger_test.go function TestNewAuditBinaryCataloger (line 12) | func TestNewAuditBinaryCataloger(t *testing.T) { function Test_CargoLockCataloger_Globs (line 263) | func Test_CargoLockCataloger_Globs(t *testing.T) { function Test_AuditBinaryCataloger_Globs (line 288) | func Test_AuditBinaryCataloger_Globs(t *testing.T) { function Test_corruptAuditBinary (line 313) | func Test_corruptAuditBinary(t *testing.T) { FILE: syft/pkg/cataloger/rust/package.go function newPackageFromCargoMetadata (line 12) | func newPackageFromCargoMetadata(m pkg.RustCargoLockEntry, locations ...... function newPackageFromAudit (line 28) | func newPackageFromAudit(dep *rustaudit.Package, locations ...file.Locat... function packageURL (line 49) | func packageURL(name, version string) string { FILE: syft/pkg/cataloger/rust/package_test.go function Test_packageURL (line 9) | func Test_packageURL(t *testing.T) { FILE: syft/pkg/cataloger/rust/parse_audit_binary.go function parseAuditBinary (line 20) | func parseAuditBinary(_ context.Context, _ file.Resolver, _ *generic.Env... function parseAuditBinaryEntry (line 40) | func parseAuditBinaryEntry(reader unionreader.UnionReader, filename stri... type auditPkgPair (line 70) | type auditPkgPair struct function processAuditVersionInfo (line 76) | func processAuditVersionInfo(location file.Location, versionInfo rustaud... FILE: syft/pkg/cataloger/rust/parse_cargo_lock.go type cargoLockFile (line 21) | type cargoLockFile struct function parseCargoLock (line 26) | func parseCargoLock(_ context.Context, _ file.Resolver, _ *generic.Envir... function dependencySpecification (line 57) | func dependencySpecification(p pkg.Package) dependency.Specification { FILE: syft/pkg/cataloger/rust/parse_cargo_lock_test.go function TestParseCargoLock (line 14) | func TestParseCargoLock(t *testing.T) { function TestCargoLockWithGitDependencies (line 328) | func TestCargoLockWithGitDependencies(t *testing.T) { function TestCargoLockDependencySpecification (line 676) | func TestCargoLockDependencySpecification(t *testing.T) { function Test_corruptCargoLock (line 835) | func Test_corruptCargoLock(t *testing.T) { FILE: syft/pkg/cataloger/rust/testdata/image-audit/src/main.rs type Args (line 5) | struct Args { function main (line 10) | fn main() { FILE: syft/pkg/cataloger/sbom/cataloger.go constant catalogerName (line 20) | catalogerName = "sbom-cataloger" function NewCataloger (line 23) | func NewCataloger() pkg.Cataloger { function parseSBOM (line 40) | func parseSBOM(_ context.Context, _ file.Resolver, _ *generic.Environmen... function adaptToReadSeeker (line 78) | func adaptToReadSeeker(reader io.Reader) (io.ReadSeeker, error) { FILE: syft/pkg/cataloger/sbom/cataloger_test.go function mustCPEs (line 16) | func mustCPEs(s ...string) (c []cpe.CPE) { function Test_parseSBOM (line 23) | func Test_parseSBOM(t *testing.T) { function Test_Cataloger_Globs (line 421) | func Test_Cataloger_Globs(t *testing.T) { function Test_corruptSBOM (line 456) | func Test_corruptSBOM(t *testing.T) { FILE: syft/pkg/cataloger/snap/cataloger.go constant catalogerName (line 13) | catalogerName = "snap-cataloger" function NewCataloger (line 16) | func NewCataloger() pkg.Cataloger { FILE: syft/pkg/cataloger/snap/cataloger_test.go function TestCataloger_Globs (line 9) | func TestCataloger_Globs(t *testing.T) { FILE: syft/pkg/cataloger/snap/integration_test.go function TestRealDpkgYamlParsing (line 16) | func TestRealDpkgYamlParsing(t *testing.T) { FILE: syft/pkg/cataloger/snap/package.go function newPackage (line 10) | func newPackage(name, version string, metadata pkg.SnapEntry, locations ... function packageURL (line 26) | func packageURL(name, version string, metadata pkg.SnapEntry) string { function newDebianPackageFromSnap (line 61) | func newDebianPackageFromSnap(name, version string, snapMetadata pkg.Sna... function debianPackageURL (line 76) | func debianPackageURL(name, version, architecture string) string { FILE: syft/pkg/cataloger/snap/parse_base_dpkg.go type dpkgYaml (line 17) | type dpkgYaml struct type packageRepository (line 22) | type packageRepository struct function parseBaseDpkgYaml (line 29) | func parseBaseDpkgYaml(_ context.Context, _ file.Resolver, _ *generic.En... FILE: syft/pkg/cataloger/snap/parse_base_dpkg_test.go function TestParseBaseDpkgYaml (line 11) | func TestParseBaseDpkgYaml(t *testing.T) { FILE: syft/pkg/cataloger/snap/parse_integration_test.go function TestParseSystemManifest (line 11) | func TestParseSystemManifest(t *testing.T) { FILE: syft/pkg/cataloger/snap/parse_kernel_changelog.go type kernelVersionInfo (line 18) | type kernelVersionInfo struct function parseKernelChangelog (line 28) | func parseKernelChangelog(_ context.Context, _ file.Resolver, _ *generic... function extractKernelVersion (line 73) | func extractKernelVersion(firstLine string) (*kernelVersionInfo, error) { function createMainKernelPackage (line 103) | func createMainKernelPackage(versionInfo *kernelVersionInfo, snapMetadat... function parseBaseKernelLine (line 116) | func parseBaseKernelLine(line string, majorVersion string, snapMetadata ... FILE: syft/pkg/cataloger/snap/parse_kernel_changelog_test.go function gzipContent (line 19) | func gzipContent(t *testing.T, content string) []byte { function locationReadCloser (line 29) | func locationReadCloser(t *testing.T, data []byte) file.LocationReadClos... function TestExtractKernelVersion (line 37) | func TestExtractKernelVersion(t *testing.T) { function TestCreateMainKernelPackage (line 108) | func TestCreateMainKernelPackage(t *testing.T) { function TestParseBaseKernelLine (line 133) | func TestParseBaseKernelLine(t *testing.T) { function TestParseKernelChangelog (line 194) | func TestParseKernelChangelog(t *testing.T) { FILE: syft/pkg/cataloger/snap/parse_snapd_snapcraft.go type snapcraftYaml (line 17) | type snapcraftYaml struct type snapcraftPart (line 30) | type snapcraftPart struct function parseSnapdSnapcraft (line 45) | func parseSnapdSnapcraft(_ context.Context, _ file.Resolver, _ *generic.... function createMetadata (line 60) | func createMetadata(snapcraft snapcraftYaml) pkg.SnapEntry { function extractPackagesFromParts (line 76) | func extractPackagesFromParts(snapcraft snapcraftYaml, baseMetadata pkg.... function processBuildPackages (line 94) | func processBuildPackages(buildPackages []string, metadata pkg.SnapEntry... function processStagePackages (line 115) | func processStagePackages(stagePackages []string, metadata pkg.SnapEntry... function parsePackageWithVersion (line 137) | func parsePackageWithVersion(pkgEntry string) (string, string) { function processSnapPackages (line 160) | func processSnapPackages(buildSnaps, stageSnaps []string, baseMetadata p... FILE: syft/pkg/cataloger/snap/parse_system_manifest.go type systemManifest (line 17) | type systemManifest struct function parseSystemManifest (line 30) | func parseSystemManifest(_ context.Context, _ file.Resolver, _ *generic.... FILE: syft/pkg/cataloger/swift/cataloger.go function NewSwiftPackageManagerCataloger (line 12) | func NewSwiftPackageManagerCataloger() pkg.Cataloger { function NewCocoapodsCataloger (line 18) | func NewCocoapodsCataloger() pkg.Cataloger { FILE: syft/pkg/cataloger/swift/cataloger_test.go function Test_Cataloger_Globs (line 9) | func Test_Cataloger_Globs(t *testing.T) { FILE: syft/pkg/cataloger/swift/package.go function newSwiftPackageManagerPackage (line 11) | func newSwiftPackageManagerPackage(name, version, sourceURL, revision st... function newCocoaPodsPackage (line 29) | func newCocoaPodsPackage(name, version, hash string, locations ...file.L... function cocoaPodsPackageURL (line 47) | func cocoaPodsPackageURL(name, version string) string { function swiftPackageManagerPackageURL (line 60) | func swiftPackageManagerPackageURL(name, version, sourceURL string) stri... FILE: syft/pkg/cataloger/swift/package_test.go function Test_cocoaPodsPackageURL (line 9) | func Test_cocoaPodsPackageURL(t *testing.T) { FILE: syft/pkg/cataloger/swift/parse_package_resolved.go type packageResolvedV1 (line 23) | type packageResolvedV1 struct type packageObjectV1 (line 28) | type packageObjectV1 struct type packagePinsV1 (line 32) | type packagePinsV1 struct type packageResolvedV2 (line 38) | type packageResolvedV2 struct type packagePinsV2 (line 42) | type packagePinsV2 struct type packagePin (line 49) | type packagePin struct type packageState (line 56) | type packageState struct function parsePackageResolved (line 62) | func parsePackageResolved(_ context.Context, _ file.Resolver, _ *generic... function pinsForVersion (line 104) | func pinsForVersion(data map[string]interface{}, version float64) ([]pac... FILE: syft/pkg/cataloger/swift/parse_package_resolved_test.go function TestParsePackageResolved (line 16) | func TestParsePackageResolved(t *testing.T) { function TestParsePackageResolvedV3 (line 83) | func TestParsePackageResolvedV3(t *testing.T) { function TestParsePackageResolved_empty (line 117) | func TestParsePackageResolved_empty(t *testing.T) { function TestParsePackageResolved_versionNotANumber (line 131) | func TestParsePackageResolved_versionNotANumber(t *testing.T) { function Test_corruptPackageResolved (line 138) | func Test_corruptPackageResolved(t *testing.T) { FILE: syft/pkg/cataloger/swift/parse_podfile_lock.go type podfileLock (line 19) | type podfileLock struct function parsePodfileLock (line 29) | func parsePodfileLock(_ context.Context, _ file.Resolver, _ *generic.Env... FILE: syft/pkg/cataloger/swift/parse_podfile_lock_test.go function TestParsePodfileLock (line 12) | func TestParsePodfileLock(t *testing.T) { function Test_corruptPodfile (line 277) | func Test_corruptPodfile(t *testing.T) { FILE: syft/pkg/cataloger/swipl/cataloger.go function NewSwiplPackCataloger (line 12) | func NewSwiplPackCataloger() pkg.Cataloger { FILE: syft/pkg/cataloger/swipl/cataloger_test.go function Test_Cataloger_Globs (line 9) | func Test_Cataloger_Globs(t *testing.T) { FILE: syft/pkg/cataloger/swipl/package.go function newSwiplPackPackage (line 12) | func newSwiplPackPackage(ctx context.Context, resolver file.Resolver, m ... function swiplpackPackageURL (line 29) | func swiplpackPackageURL(name, version string) string { FILE: syft/pkg/cataloger/swipl/package_test.go function Test_swiplpackPackageURL (line 9) | func Test_swiplpackPackageURL(t *testing.T) { FILE: syft/pkg/cataloger/swipl/parse_pack.go function parsePackPackage (line 15) | func parsePackPackage(ctx context.Context, resolver file.Resolver, _ *ge... FILE: syft/pkg/cataloger/swipl/parse_pack_test.go function TestParsePackPackage (line 12) | func TestParsePackPackage(t *testing.T) { FILE: syft/pkg/cataloger/terraform/cataloger.go function NewLockCataloger (line 8) | func NewLockCataloger() pkg.Cataloger { FILE: syft/pkg/cataloger/terraform/cataloger_test.go function TestTerraformCataloger (line 13) | func TestTerraformCataloger(t *testing.T) { FILE: syft/pkg/cataloger/terraform/parse_tf_lock.go type terraformLockFile (line 16) | type terraformLockFile struct function parseTerraformLock (line 20) | func parseTerraformLock(_ context.Context, _ file.Resolver, _ *generic.E... FILE: syft/pkg/cataloger/wordpress/cataloger.go constant catalogerName (line 9) | catalogerName = "wordpress-plugins-cataloger" constant wordpressPluginsGlob (line 10) | wordpressPluginsGlob = "**/wp-content/plugins/*/*.php" function NewWordpressPluginCataloger (line 13) | func NewWordpressPluginCataloger() pkg.Cataloger { FILE: syft/pkg/cataloger/wordpress/cataloger_test.go function Test_WordpressPlugin_Globs (line 9) | func Test_WordpressPlugin_Globs(t *testing.T) { FILE: syft/pkg/cataloger/wordpress/package.go function newWordpressPluginPackage (line 11) | func newWordpressPluginPackage(ctx context.Context, resolver file.Resolv... FILE: syft/pkg/cataloger/wordpress/parse_plugin.go constant contentBufferSize (line 17) | contentBufferSize = 4096 type pluginData (line 36) | type pluginData struct function parseWordpressPluginFiles (line 41) | func parseWordpressPluginFiles(ctx context.Context, resolver file.Resolv... function extractFields (line 96) | func extractFields(in string) map[string]any { FILE: syft/pkg/cataloger/wordpress/parse_plugin_test.go function TestParseWordpressPluginFiles (line 14) | func TestParseWordpressPluginFiles(t *testing.T) { function Test_extractFields (line 37) | func Test_extractFields(t *testing.T) { FILE: syft/pkg/cocoapods.go type CocoaPodfileLockEntry (line 4) | type CocoaPodfileLockEntry struct FILE: syft/pkg/collection.go type Collection (line 14) | type Collection struct method PackageCount (line 39) | func (c *Collection) PackageCount() int { method Package (line 47) | func (c *Collection) Package(id artifact.ID) *Package { method PackagesByPath (line 65) | func (c *Collection) PackagesByPath(path string) []Package { method PackagesByName (line 73) | func (c *Collection) PackagesByName(name string) []Package { method Packages (line 81) | func (c *Collection) Packages(ids []artifact.ID) (result []Package) { method packages (line 88) | func (c *Collection) packages(ids []artifact.ID) (result []Package) { method Add (line 101) | func (c *Collection) Add(pkgs ...Package) { method add (line 108) | func (c *Collection) add(p Package) { method addToIndex (line 133) | func (c *Collection) addToIndex(p Package) { method addNameToIndex (line 142) | func (c *Collection) addNameToIndex(p Package) { method addTypeToIndex (line 150) | func (c *Collection) addTypeToIndex(p Package) { method addPathsToIndex (line 158) | func (c *Collection) addPathsToIndex(p Package) { method addPathToIndex (line 174) | func (c *Collection) addPathToIndex(id artifact.ID, path string) { method Delete (line 182) | func (c *Collection) Delete(ids ...artifact.ID) { method deleteNameFromIndex (line 199) | func (c *Collection) deleteNameFromIndex(p Package) { method deleteTypeFromIndex (line 211) | func (c *Collection) deleteTypeFromIndex(p Package) { method deletePathsFromIndex (line 223) | func (c *Collection) deletePathsFromIndex(p Package) { method deletePathFromIndex (line 239) | func (c *Collection) deletePathFromIndex(id artifact.ID, path string) { method Enumerate (line 252) | func (c *Collection) Enumerate(types ...Type) <-chan Package { method Sorted (line 292) | func (c *Collection) Sorted(types ...Type) (pkgs []Package) { function NewCollection (line 23) | func NewCollection(pkgs ...Package) *Collection { type orderedIDSet (line 302) | type orderedIDSet struct method add (line 306) | func (s *orderedIDSet) add(ids ...artifact.ID) { method delete (line 318) | func (s *orderedIDSet) delete(id artifact.ID) { FILE: syft/pkg/collection_test.go type expectedIndexes (line 16) | type expectedIndexes struct function TestCatalogMergePackageLicenses (line 21) | func TestCatalogMergePackageLicenses(t *testing.T) { function TestCatalogDeleteRemovesPackages (line 65) | func TestCatalogDeleteRemovesPackages(t *testing.T) { function TestCatalogAddPopulatesIndex (line 225) | func TestCatalogAddPopulatesIndex(t *testing.T) { function assertIndexes (line 284) | func assertIndexes(t *testing.T, c *Collection, expectedIndexes expected... function TestCatalog_PathIndexDeduplicatesRealVsVirtualPaths (line 312) | func TestCatalog_PathIndexDeduplicatesRealVsVirtualPaths(t *testing.T) { function TestCatalog_MergeRecords (line 380) | func TestCatalog_MergeRecords(t *testing.T) { function TestCatalog_EnumerateNilCatalog (line 447) | func TestCatalog_EnumerateNilCatalog(t *testing.T) { function Test_idOrderedSet_add (line 452) | func Test_idOrderedSet_add(t *testing.T) { FILE: syft/pkg/conan.go type ConanV1LockEntry (line 4) | type ConanV1LockEntry struct type ConanV2LockEntry (line 34) | type ConanV2LockEntry struct type ConanfileEntry (line 58) | type ConanfileEntry struct type ConaninfoEntry (line 64) | type ConaninfoEntry struct FILE: syft/pkg/conda.go type CondaPathData (line 10) | type CondaPathData struct type CondaPathsData (line 28) | type CondaPathsData struct type CondaLink (line 37) | type CondaLink struct type CondaMetaPackage (line 46) | type CondaMetaPackage struct method OwnedFiles (line 111) | func (m CondaMetaPackage) OwnedFiles() (result []string) { FILE: syft/pkg/dart.go type DartPubspecLockEntry (line 4) | type DartPubspecLockEntry struct type DartPubspec (line 19) | type DartPubspec struct type DartPubspecEnvironment (line 43) | type DartPubspecEnvironment struct FILE: syft/pkg/dotnet.go type DotnetDepsEntry (line 4) | type DotnetDepsEntry struct type DotnetPackagesLockEntry (line 28) | type DotnetPackagesLockEntry struct type DotnetPortableExecutableEntry (line 43) | type DotnetPortableExecutableEntry struct FILE: syft/pkg/dpkg.go constant DpkgDBGlob (line 11) | DpkgDBGlob = "**/var/lib/dpkg/{status,status.d/**}" type DpkgArchiveEntry (line 16) | type DpkgArchiveEntry type DpkgDBEntry (line 25) | type DpkgDBEntry struct method OwnedFiles (line 75) | func (m DpkgDBEntry) OwnedFiles() (result []string) { type DpkgFileRecord (line 64) | type DpkgFileRecord struct FILE: syft/pkg/elixir.go type ElixirMixLockEntry (line 4) | type ElixirMixLockEntry struct FILE: syft/pkg/erlang.go type ErlangRebarLockEntry (line 4) | type ErlangRebarLockEntry struct FILE: syft/pkg/evidence.go constant EvidenceAnnotationKey (line 6) | EvidenceAnnotationKey = evidence.AnnotationKey constant PrimaryEvidenceAnnotation (line 7) | PrimaryEvidenceAnnotation = evidence.PrimaryAnnotation constant SupportingEvidenceAnnotation (line 8) | SupportingEvidenceAnnotation = evidence.SupportingAnnotation FILE: syft/pkg/file_owner.go type FileOwner (line 7) | type FileOwner interface FILE: syft/pkg/gguf.go type GGUFFileHeader (line 7) | type GGUFFileHeader struct FILE: syft/pkg/github.go type GitHubActionsUseStatement (line 4) | type GitHubActionsUseStatement struct FILE: syft/pkg/golang.go type GolangBinaryBuildinfoEntry (line 4) | type GolangBinaryBuildinfoEntry struct type GolangModuleEntry (line 28) | type GolangModuleEntry struct type GolangSourceEntry (line 34) | type GolangSourceEntry struct FILE: syft/pkg/hackage.go type HackageStackYamlLockEntry (line 4) | type HackageStackYamlLockEntry struct type HackageStackYamlEntry (line 13) | type HackageStackYamlEntry struct FILE: syft/pkg/homebrew.go type HomebrewFormula (line 4) | type HomebrewFormula struct FILE: syft/pkg/java.go type JavaVMInstallation (line 22) | type JavaVMInstallation struct method OwnedFiles (line 30) | func (m JavaVMInstallation) OwnedFiles() []string { type JavaVMRelease (line 35) | type JavaVMRelease struct type JavaArchive (line 101) | type JavaArchive struct type JavaPomProperties (line 122) | type JavaPomProperties struct method PkgTypeIndicated (line 185) | func (p JavaPomProperties) PkgTypeIndicated() Type { type JavaPomProject (line 146) | type JavaPomProject struct type JavaPomParent (line 173) | type JavaPomParent struct type JavaManifest (line 194) | type JavaManifest struct method UnmarshalJSON (line 209) | func (m *JavaManifest) UnmarshalJSON(b []byte) error { method Section (line 255) | func (m JavaManifest) Section(name string) KeyValues { type unmarshalJavaManifest (line 202) | type unmarshalJavaManifest type legacyJavaManifest (line 204) | type legacyJavaManifest struct method toNewManifest (line 232) | func (lm legacyJavaManifest) toNewManifest() JavaManifest { FILE: syft/pkg/java_test.go function TestPomProperties_PkgTypeIndicated (line 10) | func TestPomProperties_PkgTypeIndicated(t *testing.T) { function Test_legacyJavaManifest_toNewManifest (line 114) | func Test_legacyJavaManifest_toNewManifest(t *testing.T) { FILE: syft/pkg/key_value.go type KeyValue (line 10) | type KeyValue struct type KeyValues (line 19) | type KeyValues method Get (line 21) | func (k KeyValues) Get(key string) (string, bool) { method MustGet (line 31) | func (k KeyValues) MustGet(key string) string { method UnmarshalJSON (line 57) | func (k *KeyValues) UnmarshalJSON(b []byte) error { function keyValuesFromMap (line 41) | func keyValuesFromMap(m map[string]string) KeyValues { FILE: syft/pkg/language.go type Language (line 10) | type Language method String (line 58) | func (l Language) String() string { constant UnknownLanguage (line 14) | UnknownLanguage Language = "" constant CPP (line 15) | CPP Language = "c++" constant Dart (line 16) | Dart Language = "dart" constant Dotnet (line 17) | Dotnet Language = "dotnet" constant Elixir (line 18) | Elixir Language = "elixir" constant Erlang (line 19) | Erlang Language = "erlang" constant Go (line 20) | Go Language = "go" constant Haskell (line 21) | Haskell Language = "haskell" constant Java (line 22) | Java Language = "java" constant JavaScript (line 23) | JavaScript Language = "javascript" constant Lua (line 24) | Lua Language = "lua" constant OCaml (line 25) | OCaml Language = "ocaml" constant PHP (line 26) | PHP Language = "php" constant Python (line 27) | Python Language = "python" constant R (line 28) | R Language = "R" constant Ruby (line 29) | Ruby Language = "ruby" constant Rust (line 30) | Rust Language = "rust" constant Swift (line 31) | Swift Language = "swift" constant Swipl (line 32) | Swipl Language = "swipl" function LanguageFromPURL (line 62) | func LanguageFromPURL(p string) Language { function LanguageByName (line 71) | func LanguageByName(name string) Language { FILE: syft/pkg/language_test.go function TestLanguageFromPURL (line 10) | func TestLanguageFromPURL(t *testing.T) { function TestLanguageByName (line 121) | func TestLanguageByName(t *testing.T) { FILE: syft/pkg/license.go type License (line 31) | type License struct method Empty (line 161) | func (s License) Empty() bool { method Merge (line 168) | func (s License) Merge(l License) (*License, error) { type Licenses (line 57) | type Licenses method Len (line 59) | func (l Licenses) Len() int { method Less (line 63) | func (l Licenses) Less(i, j int) bool { method Swap (line 85) | func (l Licenses) Swap(i, j int) { function NewLicensesFromReadCloserWithContext (line 89) | func NewLicensesFromReadCloserWithContext(ctx context.Context, closer fi... function NewLicenseWithContext (line 96) | func NewLicenseWithContext(ctx context.Context, value string) License { function NewLicenseFromTypeWithContext (line 100) | func NewLicenseFromTypeWithContext(ctx context.Context, value string, t ... function NewLicensesFromValuesWithContext (line 109) | func NewLicensesFromValuesWithContext(ctx context.Context, values ...str... function NewLicensesFromLocationWithContext (line 113) | func NewLicensesFromLocationWithContext(ctx context.Context, location fi... function NewLicenseFromLocationsWithContext (line 117) | func NewLicenseFromLocationsWithContext(ctx context.Context, value strin... function NewLicenseFromURLsWithContext (line 126) | func NewLicenseFromURLsWithContext(ctx context.Context, value string, ur... function stripUnwantedCharacters (line 135) | func stripUnwantedCharacters(rawURL string) (string, error) { function NewLicenseFromFieldsWithContext (line 145) | func NewLicenseFromFieldsWithContext(ctx context.Context, value, url str... type licenseBuilder (line 204) | type licenseBuilder struct method WithValues (line 223) | func (b *licenseBuilder) WithValues(expr ...string) *licenseBuilder { method WithOptionalLocation (line 233) | func (b *licenseBuilder) WithOptionalLocation(location *file.Location)... method WithURLs (line 240) | func (b *licenseBuilder) WithURLs(urls ...string) *licenseBuilder { method WithLocations (line 258) | func (b *licenseBuilder) WithLocations(locations ...file.Location) *li... method WithContents (line 267) | func (b *licenseBuilder) WithContents(contents ...io.ReadCloser) *lice... method WithType (line 276) | func (b *licenseBuilder) WithType(t license.Type) *licenseBuilder { method Build (line 281) | func (b *licenseBuilder) Build(ctx context.Context) LicenseSet { method buildFromContents (line 342) | func (b *licenseBuilder) buildFromContents(ctx context.Context, conten... method licensesFromEvidenceAndContent (line 378) | func (b *licenseBuilder) licensesFromEvidenceAndContent(evidence []lic... method licenseFromContentHash (line 401) | func (b *licenseBuilder) licenseFromContentHash(content string) License { function newLicenseBuilder (line 217) | func newLicenseBuilder() *licenseBuilder { function contentFromReader (line 413) | func contentFromReader(r io.Reader) (string, error) { function sha256HexFromString (line 421) | func sha256HexFromString(s string) string { FILE: syft/pkg/license_deprecated.go function NewLicense (line 14) | func NewLicense(value string) License { function NewLicenseFromType (line 18) | func NewLicenseFromType(value string, t license.Type) License { function NewLicensesFromValues (line 52) | func NewLicensesFromValues(values ...string) (licenses []License) { function NewLicensesFromLocation (line 59) | func NewLicensesFromLocation(location file.Location, values ...string) (... function NewLicenseFromLocations (line 69) | func NewLicenseFromLocations(value string, locations ...file.Location) L... function NewLicenseFromURLs (line 77) | func NewLicenseFromURLs(value string, urls ...string) License { function NewLicenseFromFields (line 97) | func NewLicenseFromFields(value, url string, location *file.Location) Li... FILE: syft/pkg/license_set.go type LicenseSet (line 13) | type LicenseSet struct method addToExisting (line 25) | func (s *LicenseSet) addToExisting(license License) (id artifact.ID, m... method Add (line 48) | func (s *LicenseSet) Add(licenses ...License) { method ToSlice (line 67) | func (s LicenseSet) ToSlice(sorters ...func(a, b License) int) []Licen... method ToUnorderedSlice (line 89) | func (s LicenseSet) ToUnorderedSlice() []License { method Hash (line 102) | func (s LicenseSet) Hash() (uint64, error) { method Empty (line 110) | func (s LicenseSet) Empty() bool { function NewLicenseSet (line 17) | func NewLicenseSet(licenses ...License) (s LicenseSet) { FILE: syft/pkg/license_set_test.go function TestLicenseSet_Add (line 16) | func TestLicenseSet_Add(t *testing.T) { function defaultLocationComparer (line 171) | func defaultLocationComparer(x, y file.Location) bool { function defaultLicenseComparer (line 175) | func defaultLicenseComparer(x, y License) bool { function readFileAsString (line 194) | func readFileAsString(filepath string) string { FILE: syft/pkg/license_test.go function Test_Hash (line 16) | func Test_Hash(t *testing.T) { function Test_Sort (line 35) | func Test_Sort(t *testing.T) { function TestLicense_Merge (line 114) | func TestLicense_Merge(t *testing.T) { function TestFullText (line 245) | func TestFullText(t *testing.T) { function TestLicenseConstructors (line 273) | func TestLicenseConstructors(t *testing.T) { FILE: syft/pkg/license_url_enrichment_test.go function TestNewLicenseFromFieldsWithContext_URLEnrichment (line 8) | func TestNewLicenseFromFieldsWithContext_URLEnrichment(t *testing.T) { function TestLicenseBuilder_URLOnlyEnrichment (line 74) | func TestLicenseBuilder_URLOnlyEnrichment(t *testing.T) { function TestNewLicenseFromURLsWithContext_URLEnrichment (line 149) | func TestNewLicenseFromURLsWithContext_URLEnrichment(t *testing.T) { FILE: syft/pkg/linux_kernel.go type LinuxKernel (line 4) | type LinuxKernel struct type LinuxKernelModule (line 40) | type LinuxKernelModule struct type LinuxKernelModuleParameter (line 73) | type LinuxKernelModuleParameter struct FILE: syft/pkg/microsoft.go type MicrosoftKbPatch (line 5) | type MicrosoftKbPatch struct FILE: syft/pkg/nix.go type NixStoreEntry (line 10) | type NixStoreEntry struct method OwnedFiles (line 51) | func (m NixStoreEntry) OwnedFiles() (result []string) { type NixDerivation (line 28) | type NixDerivation struct type NixDerivationReference (line 43) | type NixDerivationReference struct FILE: syft/pkg/npm.go type NpmPackage (line 4) | type NpmPackage struct type NpmPackageLockEntry (line 28) | type NpmPackageLockEntry struct type YarnLockEntry (line 40) | type YarnLockEntry struct type PnpmLockResolution (line 52) | type PnpmLockResolution struct type PnpmLockEntry (line 58) | type PnpmLockEntry struct FILE: syft/pkg/ocaml.go type OpamPackage (line 4) | type OpamPackage struct FILE: syft/pkg/package.go type Package (line 19) | type Package struct method OverrideID (line 54) | func (p *Package) OverrideID(id artifact.ID) { method SetID (line 58) | func (p *Package) SetID() { method ID (line 68) | func (p Package) ID() artifact.ID { method String (line 73) | func (p Package) String() string { method merge (line 77) | func (p *Package) merge(other Package) error { function IsValid (line 104) | func IsValid(p *Package) bool { function Less (line 109) | func Less(i, j Package) bool { function Sort (line 143) | func Sort(pkgs []Package) { FILE: syft/pkg/package_test.go function TestIDUniqueness (line 15) | func TestIDUniqueness(t *testing.T) { function TestPackage_Merge (line 231) | func TestPackage_Merge(t *testing.T) { function licenseComparer (line 429) | func licenseComparer(x, y License) bool { function locationComparer (line 433) | func locationComparer(x, y file.Location) bool { function TestIsValid (line 437) | func TestIsValid(t *testing.T) { FILE: syft/pkg/php.go type PhpComposerInstalledEntry (line 4) | type PhpComposerInstalledEntry type PhpComposerLockEntry (line 7) | type PhpComposerLockEntry struct type PhpComposerExternalReference (line 61) | type PhpComposerExternalReference struct type PhpComposerAuthors (line 76) | type PhpComposerAuthors struct type PhpPeclEntry (line 90) | type PhpPeclEntry type PhpPearEntry (line 93) | type PhpPearEntry struct FILE: syft/pkg/portage.go type PortageEntry (line 14) | type PortageEntry struct method OwnedFiles (line 34) | func (m PortageEntry) OwnedFiles() (result []string) { type PortageFileRecord (line 26) | type PortageFileRecord struct FILE: syft/pkg/python.go type PythonPackage (line 15) | type PythonPackage struct method OwnedFiles (line 70) | func (m PythonPackage) OwnedFiles() (result []string) { type PythonFileDigest (line 43) | type PythonFileDigest struct type PythonFileRecord (line 51) | type PythonFileRecord struct type PythonDirectURLOriginInfo (line 61) | type PythonDirectURLOriginInfo struct type PythonPdmLockExtraVariant (line 84) | type PythonPdmLockExtraVariant struct type PythonPdmLockEntry (line 96) | type PythonPdmLockEntry struct type PythonPdmFileEntry (line 111) | type PythonPdmFileEntry struct type PythonPipfileLockEntry (line 119) | type PythonPipfileLockEntry struct type PythonPoetryLockEntry (line 127) | type PythonPoetryLockEntry struct type PythonPoetryLockDependencyEntry (line 137) | type PythonPoetryLockDependencyEntry struct type PythonPoetryLockExtraEntry (line 151) | type PythonPoetryLockExtraEntry struct type PythonRequirementsEntry (line 159) | type PythonRequirementsEntry struct type PythonUvLockDependencyEntry (line 173) | type PythonUvLockDependencyEntry struct type PythonUvLockExtraEntry (line 185) | type PythonUvLockExtraEntry struct type PythonUvLockEntry (line 193) | type PythonUvLockEntry struct FILE: syft/pkg/python_test.go function TestPythonMetadata_FileOwner (line 10) | func TestPythonMetadata_FileOwner(t *testing.T) { FILE: syft/pkg/r.go type RDescription (line 11) | type RDescription struct FILE: syft/pkg/rockspec.go type LuaRocksPackage (line 4) | type LuaRocksPackage struct FILE: syft/pkg/rpm.go constant RpmDBGlob (line 18) | RpmDBGlob = "**/{var/lib,usr/share,usr/lib/sysimage}/rpm/{Packages,Packa... constant RpmManifestGlob (line 21) | RpmManifestGlob = "**/var/lib/rpmmanifest/container-manifest-2" type RpmArchive (line 26) | type RpmArchive type RpmDBEntry (line 29) | type RpmDBEntry struct method OwnedFiles (line 121) | func (m RpmDBEntry) OwnedFiles() (result []string) { type RpmSignature (line 71) | type RpmSignature struct method String (line 85) | func (s RpmSignature) String() string { type RpmFileRecord (line 95) | type RpmFileRecord struct type RpmFileMode (line 119) | type RpmFileMode FILE: syft/pkg/rpm_test.go function TestRpmMetadata_FileOwner (line 11) | func TestRpmMetadata_FileOwner(t *testing.T) { function TestRpmSignature_String (line 51) | func TestRpmSignature_String(t *testing.T) { FILE: syft/pkg/ruby.go type RubyGemspec (line 4) | type RubyGemspec struct FILE: syft/pkg/rust.go type RustCargoLockEntry (line 4) | type RustCargoLockEntry struct type RustBinaryAuditEntry (line 22) | type RustBinaryAuditEntry struct FILE: syft/pkg/snap.go constant SnapTypeBase (line 4) | SnapTypeBase = "base" constant SnapTypeKernel (line 5) | SnapTypeKernel = "kernel" constant SnapTypeApp (line 6) | SnapTypeApp = "app" constant SnapTypeGadget (line 7) | SnapTypeGadget = "gadget" constant SnapTypeSnapd (line 8) | SnapTypeSnapd = "snapd" type SnapEntry (line 12) | type SnapEntry struct FILE: syft/pkg/swift.go type SwiftPackageManagerResolvedEntry (line 4) | type SwiftPackageManagerResolvedEntry struct FILE: syft/pkg/swipl.go type SwiplPackEntry (line 4) | type SwiplPackEntry struct FILE: syft/pkg/terraform.go type TerraformLockProviderEntry (line 4) | type TerraformLockProviderEntry struct FILE: syft/pkg/type.go type Type (line 8) | type Type method String (line 10) | func (t Type) String() string { method PackageURLType (line 108) | func (t Type) PackageURLType() string { constant UnknownPkg (line 16) | UnknownPkg Type = "UnknownPackage" constant AlpmPkg (line 17) | AlpmPkg Type = "alpm" constant ApkPkg (line 18) | ApkPkg Type = "apk" constant BinaryPkg (line 19) | BinaryPkg Type = "binary" constant BitnamiPkg (line 20) | BitnamiPkg Type = "bitnami" constant CocoapodsPkg (line 21) | CocoapodsPkg Type = "pod" constant ConanPkg (line 22) | ConanPkg Type = "conan" constant CondaPkg (line 23) | CondaPkg Type = "conda" constant DartPubPkg (line 24) | DartPubPkg Type = "dart-pub" constant DebPkg (line 25) | DebPkg Type = "deb" constant DotnetPkg (line 26) | DotnetPkg Type = "dotnet" constant ErlangOTPPkg (line 27) | ErlangOTPPkg Type = "erlang-otp" constant GemPkg (line 28) | GemPkg Type = "gem" constant GithubActionPkg (line 29) | GithubActionPkg Type = "github-action" constant GithubActionWorkflowPkg (line 30) | GithubActionWorkflowPkg Type = "github-action-workflow" constant GoModulePkg (line 31) | GoModulePkg Type = "go-module" constant GraalVMNativeImagePkg (line 32) | GraalVMNativeImagePkg Type = "graalvm-native-image" constant HackagePkg (line 33) | HackagePkg Type = "hackage" constant HexPkg (line 34) | HexPkg Type = "hex" constant JavaPkg (line 35) | JavaPkg Type = "java-archive" constant JenkinsPluginPkg (line 36) | JenkinsPluginPkg Type = "jenkins-plugin" constant KbPkg (line 37) | KbPkg Type = "msrc-kb" constant LinuxKernelPkg (line 38) | LinuxKernelPkg Type = "linux-kernel" constant LinuxKernelModulePkg (line 39) | LinuxKernelModulePkg Type = "linux-kernel-module" constant NixPkg (line 40) | NixPkg Type = "nix" constant NpmPkg (line 41) | NpmPkg Type = "npm" constant OpamPkg (line 42) | OpamPkg Type = "opam" constant PhpComposerPkg (line 43) | PhpComposerPkg Type = "php-composer" constant PhpPeclPkg (line 44) | PhpPeclPkg Type = "php-pecl" constant PhpPearPkg (line 45) | PhpPearPkg Type = "php-pear" constant PortagePkg (line 46) | PortagePkg Type = "portage" constant PythonPkg (line 47) | PythonPkg Type = "python" constant Rpkg (line 48) | Rpkg Type = "R-package" constant LuaRocksPkg (line 49) | LuaRocksPkg Type = "lua-rocks" constant RpmPkg (line 50) | RpmPkg Type = "rpm" constant RustPkg (line 51) | RustPkg Type = "rust-crate" constant SwiftPkg (line 52) | SwiftPkg Type = "swift" constant SwiplPackPkg (line 53) | SwiplPackPkg Type = "swiplpack" constant TerraformPkg (line 54) | TerraformPkg Type = "terraform" constant WordpressPluginPkg (line 55) | WordpressPluginPkg Type = "wordpress-plugin" constant HomebrewPkg (line 56) | HomebrewPkg Type = "homebrew" constant ModelPkg (line 57) | ModelPkg Type = "model" function TypeFromPURL (line 185) | func TypeFromPURL(p string) Type { function TypeByName (line 199) | func TypeByName(name string) Type { FILE: syft/pkg/type_test.go function TestTypeFromPURL (line 10) | func TestTypeFromPURL(t *testing.T) { FILE: syft/pkg/url.go constant PURLQualifierArch (line 12) | PURLQualifierArch = "arch" constant PURLQualifierCPES (line 13) | PURLQualifierCPES = "cpes" constant PURLQualifierDistro (line 14) | PURLQualifierDistro = "distro" constant PURLQualifierEpoch (line 15) | PURLQualifierEpoch = "epoch" constant PURLQualifierVCSURL (line 16) | PURLQualifierVCSURL = "vcs_url" constant PURLQualifierUpstream (line 19) | PURLQualifierUpstream = "upstream" constant PURLQualifierRpmModularity (line 22) | PURLQualifierRpmModularity = "rpmmod" constant purlCargoPkgType (line 24) | purlCargoPkgType = "cargo" constant purlGradlePkgType (line 25) | purlGradlePkgType = "gradle" function PURLQualifiers (line 28) | func PURLQualifiers(vars map[string]string, release *linux.Release) (q p... FILE: syft/pkg/wordpress.go type WordpressPluginEntry (line 4) | type WordpressPluginEntry struct FILE: syft/sbom/format.go type FormatID (line 7) | type FormatID method String (line 10) | func (f FormatID) String() string { constant AnyVersion (line 14) | AnyVersion = "" type FormatEncoder (line 16) | type FormatEncoder interface type FormatDecoder (line 23) | type FormatDecoder interface FILE: syft/sbom/sbom.go type SBOM (line 15) | type SBOM struct method RelationshipsSorted (line 41) | func (s SBOM) RelationshipsSorted() []artifact.Relationship { method AllCoordinates (line 55) | func (s SBOM) AllCoordinates() []file.Coordinates { method RelationshipsForPackage (line 80) | func (s SBOM) RelationshipsForPackage(p pkg.Package, rt ...artifact.Re... method CoordinatesForPackage (line 114) | func (s SBOM) CoordinatesForPackage(p pkg.Package, rt ...artifact.Rela... type Artifacts (line 22) | type Artifacts struct type Descriptor (line 33) | type Descriptor struct function extractCoordinates (line 123) | func extractCoordinates(relationship artifact.Relationship) (results []f... FILE: syft/sbom/writer.go type Writer (line 4) | type Writer interface FILE: syft/source/alias.go type Alias (line 3) | type Alias struct method IsEmpty (line 9) | func (a *Alias) IsEmpty() bool { FILE: syft/source/description.go type Description (line 4) | type Description struct FILE: syft/source/directory_metadata.go type DirectoryMetadata (line 3) | type DirectoryMetadata struct FILE: syft/source/directorysource/cache_excludes.go function excludeCachePathVisitors (line 13) | func excludeCachePathVisitors() []fileresolver.PathIndexVisitor { type excludeCacheDirPathVisitor (line 23) | type excludeCacheDirPathVisitor struct method excludeCacheDir (line 27) | func (d excludeCacheDirPathVisitor) excludeCacheDir(_, path string, _ ... FILE: syft/source/directorysource/directory_source.go type Config (line 23) | type Config struct type directorySource (line 30) | type directorySource struct method ID (line 58) | func (s directorySource) ID() artifact.ID { method Describe (line 62) | func (s directorySource) Describe() source.Description { method FileResolver (line 92) | func (s *directorySource) FileResolver(_ source.Scope) (file.Resolver,... method Close (line 117) | func (s *directorySource) Close() error { function NewFromPath (line 37) | func NewFromPath(path string) (source.Source, error) { function New (line 41) | func New(cfg Config) (source.Source, error) { function GetDirectoryExclusionFunctions (line 125) | func GetDirectoryExclusionFunctions(root string, exclusions []string) ([... function deriveIDFromDirectory (line 184) | func deriveIDFromDirectory(cfg Config) artifact.ID { function cleanDirPath (line 199) | func cleanDirPath(path, base string) string { FILE: syft/source/directorysource/directory_source_provider.go function NewSourceProvider (line 13) | func NewSourceProvider(path string, exclude source.ExcludeConfig, alias ... type directorySourceProvider (line 22) | type directorySourceProvider struct method Name (line 29) | func (l directorySourceProvider) Name() string { method Provide (line 33) | func (l directorySourceProvider) Provide(_ context.Context) (source.So... function basePath (line 60) | func basePath(base, location string) string { FILE: syft/source/directorysource/directory_source_test.go function TestNewFromDirectory (line 20) | func TestNewFromDirectory(t *testing.T) { function Test_DirectorySource_FilesByGlob (line 88) | func Test_DirectorySource_FilesByGlob(t *testing.T) { function Test_DirectorySource_Exclusions (line 137) | func Test_DirectorySource_Exclusions(t *testing.T) { function Test_getDirectoryExclusionFunctions_crossPlatform (line 315) | func Test_getDirectoryExclusionFunctions_crossPlatform(t *testing.T) { function Test_DirectorySource_FilesByPathDoesNotExist (line 410) | func Test_DirectorySource_FilesByPathDoesNotExist(t *testing.T) { function Test_DirectorySource_ID (line 444) | func Test_DirectorySource_ID(t *testing.T) { function Test_cleanDirPath (line 539) | func Test_cleanDirPath(t *testing.T) { FILE: syft/source/directorysource/directory_source_win_test.go function Test_DirectorySource_crossPlatformExclusions (line 22) | func Test_DirectorySource_crossPlatformExclusions(t *testing.T) { FILE: syft/source/exclude.go type ExcludeConfig (line 3) | type ExcludeConfig struct FILE: syft/source/file_metadata.go type FileMetadata (line 5) | type FileMetadata struct FILE: syft/source/filesource/file_source.go type Config (line 29) | type Config struct type fileSource (line 37) | type fileSource struct method ID (line 101) | func (s fileSource) ID() artifact.ID { method Describe (line 105) | func (s fileSource) Describe() source.Description { method FileResolver (line 136) | func (s fileSource) FileResolver(_ source.Scope) (file.Resolver, error) { method Close (line 175) | func (s *fileSource) Close() error { function NewFromPath (line 49) | func NewFromPath(path string) (source.Source, error) { function New (line 53) | func New(cfg Config) (source.Source, error) { function deriveIDFromFile (line 190) | func deriveIDFromFile(cfg Config) (artifact.ID, string) { function fileAnalysisPath (line 207) | func fileAnalysisPath(path string, skipExtractArchive bool) (string, fun... function digestOfFileContents (line 228) | func digestOfFileContents(path string) string { function unarchiveToTmp (line 243) | func unarchiveToTmp(path string, unarchiver archives.Extractor) (string,... FILE: syft/source/filesource/file_source_provider.go function NewSourceProvider (line 14) | func NewSourceProvider(path string, exclude source.ExcludeConfig, digest... type fileSourceProvider (line 23) | type fileSourceProvider struct method Name (line 30) | func (p fileSourceProvider) Name() string { method Provide (line 34) | func (p fileSourceProvider) Provide(_ context.Context) (source.Source,... FILE: syft/source/filesource/file_source_test.go function TestNewFromFile (line 21) | func TestNewFromFile(t *testing.T) { function TestNewFromFile_WithArchive (line 98) | func TestNewFromFile_WithArchive(t *testing.T) { function setupArchiveTest (line 176) | func setupArchiveTest(t testing.TB, sourceDirPath string, layer2 bool) s... function createArchive (line 203) | func createArchive(t testing.TB, sourceDirPath, destinationArchivePath s... function Test_FileSource_ID (line 246) | func Test_FileSource_ID(t *testing.T) { FILE: syft/source/image_metadata.go type ImageMetadata (line 5) | type ImageMetadata struct type LayerMetadata (line 24) | type LayerMetadata struct FILE: syft/source/internal/digest_utils.go function ArtifactIDFromDigest (line 9) | func ArtifactIDFromDigest(input string) artifact.ID { FILE: syft/source/internal/image_id.go function DeriveImageID (line 19) | func DeriveImageID(alias source.Alias, metadata source.ImageMetadata) ar... function calculateChainID (line 46) | func calculateChainID(lm []source.LayerMetadata) string { function chain (line 59) | func chain(chainID string, layers []source.LayerMetadata) string { FILE: syft/source/internal/image_id_test.go function TestDeriveImageID (line 15) | func TestDeriveImageID(t *testing.T) { function TestDeriveImageID_CrossSourceConsistency (line 162) | func TestDeriveImageID_CrossSourceConsistency(t *testing.T) { function TestCalculateChainID (line 244) | func TestCalculateChainID(t *testing.T) { FILE: syft/source/oci_model_metadata.go type OCIModelMetadata (line 4) | type OCIModelMetadata FILE: syft/source/ocimodelsource/oci_model_source.go type Config (line 26) | type Config struct type ociModelSource (line 33) | type ociModelSource struct method ID (line 196) | func (s *ociModelSource) ID() artifact.ID { method Describe (line 201) | func (s *ociModelSource) Describe() source.Description { method FileResolver (line 228) | func (s *ociModelSource) FileResolver(_ source.Scope) (file.Resolver, ... method Close (line 233) | func (s *ociModelSource) Close() error { function NewFromRegistry (line 47) | func NewFromRegistry(ctx context.Context, cfg Config) (source.Source, er... function validateAndFetchArtifact (line 73) | func validateAndFetchArtifact(ctx context.Context, client *registryClien... function fetchAndStoreGGUFHeaders (line 88) | func fetchAndStoreGGUFHeaders(ctx context.Context, client *registryClien... function fetchSingleGGUFHeader (line 113) | func fetchSingleGGUFHeader(ctx context.Context, client *registryClient, ... function buildMetadata (line 133) | func buildMetadata(artifact *modelArtifact) source.OCIModelMetadata { function extractManifestAnnotations (line 179) | func extractManifestAnnotations(manifest *v1.Manifest) map[string]string { function calculateTotalSize (line 187) | func calculateTotalSize(layers []source.LayerMetadata) int64 { FILE: syft/source/ocimodelsource/oci_model_source_provider.go type ociModelSourceProvider (line 10) | type ociModelSourceProvider struct method Name (line 25) | func (p *ociModelSourceProvider) Name() string { method Provide (line 29) | func (p *ociModelSourceProvider) Provide(ctx context.Context) (source.... function NewSourceProvider (line 17) | func NewSourceProvider(reference string, registryOpts *image.RegistryOpt... FILE: syft/source/ocimodelsource/registry_client.go constant modelConfigMediaTypePrefix (line 27) | modelConfigMediaTypePrefix = "application/vnd.docker.ai.model.config." constant ggufLayerMediaType (line 28) | ggufLayerMediaType = "application/vnd.docker.ai.gguf.v3" constant maxHeaderBytes (line 31) | maxHeaderBytes = 8 * 1024 * 1024 type registryClient (line 35) | type registryClient struct method fetchModelArtifact (line 116) | func (c *registryClient) fetchModelArtifact(ctx context.Context, refSt... method fetchBlobRange (line 182) | func (c *registryClient) fetchBlobRange(ctx context.Context, ref name.... function newRegistryClient (line 40) | func newRegistryClient(registryOpts *image.RegistryOptions) *registryCli... function buildRemoteOptions (line 49) | func buildRemoteOptions(registryOpts *image.RegistryOptions) []remote.Op... function buildAuthenticator (line 83) | func buildAuthenticator(registryOpts *image.RegistryOptions) authn.Authe... type modelArtifact (line 106) | type modelArtifact struct function isModelArtifact (line 167) | func isModelArtifact(manifest *v1.Manifest) bool { function extractGGUFLayers (line 172) | func extractGGUFLayers(manifest *v1.Manifest) []v1.Descriptor { FILE: syft/source/ocimodelsource/registry_client_test.go function TestIsModelArtifact (line 11) | func TestIsModelArtifact(t *testing.T) { function TestExtractGGUFLayers (line 54) | func TestExtractGGUFLayers(t *testing.T) { FILE: syft/source/provider.go type Provider (line 8) | type Provider interface FILE: syft/source/scope.go type Scope (line 6) | type Scope method String (line 39) | func (o Scope) String() string { constant UnknownScope (line 10) | UnknownScope Scope = "unknown-scope" constant SquashedScope (line 12) | SquashedScope Scope = "squashed" constant AllLayersScope (line 14) | AllLayersScope Scope = "all-layers" constant DeepSquashedScope (line 16) | DeepSquashedScope Scope = "deep-squashed" function ParseScope (line 27) | func ParseScope(userStr string) Scope { FILE: syft/source/scope_test.go function TestParseScope (line 9) | func TestParseScope(t *testing.T) { FILE: syft/source/snap_metadata.go type SnapMetadata (line 5) | type SnapMetadata struct FILE: syft/source/snapsource/manifest.go type snapManifest (line 12) | type snapManifest struct constant manifestLocation (line 22) | manifestLocation = "/meta/snap.yaml" function parseManifest (line 24) | func parseManifest(resolver file.Resolver) (*snapManifest, error) { FILE: syft/source/snapsource/snap.go type snapFile (line 23) | type snapFile struct type remoteSnap (line 30) | type remoteSnap struct constant NotSpecifiedRevision (line 35) | NotSpecifiedRevision int = 0 type snapIdentity (line 37) | type snapIdentity struct method String (line 44) | func (s snapIdentity) String() string { function getRemoteSnapFile (line 62) | func getRemoteSnapFile(ctx context.Context, fs afero.Fs, getter intFile.... function newSnapFileFromRemote (line 80) | func newSnapFileFromRemote(ctx context.Context, fs afero.Fs, cfg Config,... function newSnapFromFile (line 109) | func newSnapFromFile(ctx context.Context, fs afero.Fs, cfg Config) (*sna... function getSnapFileInfo (line 137) | func getSnapFileInfo(ctx context.Context, fs afero.Fs, path string, hash... function resolveRemoteSnap (line 178) | func resolveRemoteSnap(request, architecture string) (*remoteSnap, error) { function parseSnapRequest (line 215) | func parseSnapRequest(request string) (name string, revision int, channe... function downloadSnap (line 239) | func downloadSnap(getter intFile.Getter, info *remoteSnap, dest string) ... function fileExists (line 265) | func fileExists(fs afero.Fs, path string) bool { FILE: syft/source/snapsource/snap_source.go type Config (line 39) | type Config struct type snapSource (line 51) | type snapSource struct method extractManifest (line 125) | func (s *snapSource) extractManifest() error { method ID (line 142) | func (s snapSource) ID() artifact.ID { method NameVersion (line 146) | func (s snapSource) NameVersion() (string, string) { method Describe (line 162) | func (s snapSource) Describe() source.Description { method Close (line 179) | func (s *snapSource) Close() error { method FileResolver (line 200) | func (s *snapSource) FileResolver(_ source.Scope) (file.Resolver, erro... function NewFromLocal (line 64) | func NewFromLocal(cfg Config) (source.Source, error) { function getLocalSnapFile (line 72) | func getLocalSnapFile(cfg *Config) (*snapFile, error) { function NewFromRemote (line 92) | func NewFromRemote(cfg Config) (source.Source, error) { function newFromPath (line 112) | func newFromPath(cfg Config, f *snapFile) (source.Source, error) { type linker (line 265) | type linker interface function squashfsVisitor (line 269) | func squashfsVisitor(ft filetree.Writer, fileCatalog *image.FileCatalog,... function isSquashFSFile (line 338) | func isSquashFSFile(mimeType, path string) bool { function deriveID (line 347) | func deriveID(path, name, version string, digests []file.Digest) artifac... function digestOfFileContents (line 365) | func digestOfFileContents(path string) string { function digestOfReader (line 374) | func digestOfReader(r io.Reader) string { FILE: syft/source/snapsource/snap_source_provider.go type snapSourceProvider (line 10) | type snapSourceProvider struct method Name (line 39) | func (p snapSourceProvider) Name() string { method Provide (line 43) | func (p snapSourceProvider) Provide(_ context.Context) (source.Source,... function NewLocalSourceProvider (line 19) | func NewLocalSourceProvider(path string, exclude source.ExcludeConfig, d... function NewRemoteSourceProvider (line 30) | func NewRemoteSourceProvider(path string, exclude source.ExcludeConfig, ... FILE: syft/source/snapsource/snap_source_test.go function TestNewFromLocal (line 16) | func TestNewFromLocal(t *testing.T) { FILE: syft/source/snapsource/snap_test.go function TestSnapIdentity_String (line 21) | func TestSnapIdentity_String(t *testing.T) { function TestFileExists (line 78) | func TestFileExists(t *testing.T) { function TestNewSnapFromFile (line 131) | func TestNewSnapFromFile(t *testing.T) { function TestNewSnapFileFromRemote (line 216) | func TestNewSnapFileFromRemote(t *testing.T) { function TestGetSnapFileInfo (line 349) | func TestGetSnapFileInfo(t *testing.T) { function TestDownloadSnap (line 439) | func TestDownloadSnap(t *testing.T) { function TestParseSnapRequest (line 509) | func TestParseSnapRequest(t *testing.T) { type mockFileGetter (line 618) | type mockFileGetter struct method GetFile (line 623) | func (m *mockFileGetter) GetFile(dst, src string, monitor ...*progress... function createMockSquashfsFile (line 628) | func createMockSquashfsFile(fs afero.Fs, path string) error { FILE: syft/source/snapsource/snapcraft_api.go constant defaultChannel (line 15) | defaultChannel = "stable" constant defaultArchitecture (line 16) | defaultArchitecture = "amd64" constant defaultSeries (line 17) | defaultSeries = "16" type snapcraftClient (line 21) | type snapcraftClient struct method GetSnapDownloadURL (line 171) | func (c *snapcraftClient) GetSnapDownloadURL(id snapIdentity) (string,... method CheckSnapExists (line 234) | func (c *snapcraftClient) CheckSnapExists(snapName string) (bool, stri... function newSnapcraftClient (line 28) | func newSnapcraftClient() *snapcraftClient { type snapcraftInfo (line 37) | type snapcraftInfo struct type snapChannelMapEntry (line 41) | type snapChannelMapEntry struct type snapChannel (line 45) | type snapChannel struct type snapDownload (line 50) | type snapDownload struct type snapFindResponse (line 55) | type snapFindResponse struct type SnapRisk (line 63) | type SnapRisk constant RiskStable (line 66) | RiskStable SnapRisk = "stable" constant RiskCandidate (line 67) | RiskCandidate SnapRisk = "candidate" constant RiskBeta (line 68) | RiskBeta SnapRisk = "beta" constant RiskEdge (line 69) | RiskEdge SnapRisk = "edge" constant RiskUnknown (line 70) | RiskUnknown SnapRisk = "unknown" function isValidSnapRisk (line 73) | func isValidSnapRisk(r SnapRisk) bool { function stringToSnapRisk (line 82) | func stringToSnapRisk(s string) SnapRisk { function getRevisionFromURL (line 90) | func getRevisionFromURL(cm snapChannelMapEntry) (rev int, err error) { function isEligibleChannel (line 118) | func isEligibleChannel(candidate, request string) (bool, error) { function splitChannel (line 132) | func splitChannel(ch string) (track string, risk string, branch string) { function matchSnapDownloadURL (line 151) | func matchSnapDownloadURL(cm snapChannelMapEntry, id snapIdentity) (stri... FILE: syft/source/snapsource/snapcraft_api_test.go function TestSnapcraftClient_CheckSnapExists (line 13) | func TestSnapcraftClient_CheckSnapExists(t *testing.T) { function TestSnapcraftClient_GetSnapDownloadURL (line 128) | func TestSnapcraftClient_GetSnapDownloadURL(t *testing.T) { function TestSnapcraftClient_GetSnapDownloadURL_WithVersion (line 474) | func TestSnapcraftClient_GetSnapDownloadURL_WithVersion(t *testing.T) { function TestSnapcraftClient_GetSnapDownloadURL_DoesntExist (line 577) | func TestSnapcraftClient_GetSnapDownloadURL_DoesntExist(t *testing.T) { function TestSnapcraftClient_GetSnapDownloadURL_InvalidJSON (line 682) | func TestSnapcraftClient_GetSnapDownloadURL_InvalidJSON(t *testing.T) { function TestNewSnapcraftClient (line 705) | func TestNewSnapcraftClient(t *testing.T) { FILE: syft/source/source.go type Source (line 16) | type Source interface type emptySource (line 23) | type emptySource struct method ID (line 33) | func (e emptySource) ID() artifact.ID { method FileResolver (line 37) | func (e emptySource) FileResolver(_ Scope) (file.Resolver, error) { method Describe (line 41) | func (e emptySource) Describe() Description { method Close (line 45) | func (e emptySource) Close() error { function FromDescription (line 27) | func FromDescription(d Description) Source { FILE: syft/source/sourceproviders/source_provider_config.go type Config (line 11) | type Config struct method WithAlias (line 20) | func (c *Config) WithAlias(alias source.Alias) *Config { method WithRegistryOptions (line 25) | func (c *Config) WithRegistryOptions(registryOptions *image.RegistryOp... method WithPlatform (line 30) | func (c *Config) WithPlatform(platform *image.Platform) *Config { method WithExcludeConfig (line 35) | func (c *Config) WithExcludeConfig(excludeConfig source.ExcludeConfig)... method WithDigestAlgorithms (line 40) | func (c *Config) WithDigestAlgorithms(algorithms ...crypto.Hash) *Conf... method WithBasePath (line 45) | func (c *Config) WithBasePath(basePath string) *Config { function DefaultConfig (line 50) | func DefaultConfig() *Config { FILE: syft/source/sourceproviders/source_providers.go constant FileTag (line 16) | FileTag = stereoscope.FileTag constant DirTag (line 17) | DirTag = stereoscope.DirTag constant PullTag (line 18) | PullTag = stereoscope.PullTag constant SnapTag (line 19) | SnapTag = "snap" function All (line 23) | func All(userInput string, cfg *Config) []collections.TaggedValue[source... function stereoscopeSourceProviders (line 59) | func stereoscopeSourceProviders(userInput string, cfg *Config) collectio... function tagProvider (line 76) | func tagProvider(provider source.Provider, tags ...string) collections.T... FILE: syft/source/stereoscopesource/image_source.go type ImageConfig (line 20) | type ImageConfig struct type stereoscopeImageSource (line 28) | type stereoscopeImageSource struct method ID (line 45) | func (s stereoscopeImageSource) ID() artifact.ID { method Describe (line 49) | func (s stereoscopeImageSource) Describe() source.Description { method FileResolver (line 98) | func (s stereoscopeImageSource) FileResolver(scope source.Scope) (file... method Close (line 125) | func (s stereoscopeImageSource) Close() error { function New (line 35) | func New(img *image.Image, cfg ImageConfig) source.Source { function imageMetadataFromStereoscopeImage (line 132) | func imageMetadataFromStereoscopeImage(img *image.Image, reference strin... function getImageExclusionFunction (line 165) | func getImageExclusionFunction(exclusions []string) func(string) bool { FILE: syft/source/stereoscopesource/image_source_provider.go constant ImageTag (line 12) | ImageTag = "image" type ProviderConfig (line 14) | type ProviderConfig struct type stereoscopeImageSourceProvider (line 20) | type stereoscopeImageSourceProvider struct method Name (line 27) | func (l stereoscopeImageSourceProvider) Name() string { method Provide (line 31) | func (l stereoscopeImageSourceProvider) Provide(ctx context.Context) (... function Providers (line 46) | func Providers(cfg ProviderConfig) []collections.TaggedValue[source.Prov... FILE: syft/source/stereoscopesource/image_source_test.go function Test_StereoscopeImage_Exclusions (line 17) | func Test_StereoscopeImage_Exclusions(t *testing.T) { function Test_Describe (line 112) | func Test_Describe(t *testing.T) { FILE: syft/testutil/completion_testing.go type PackageMetadataCompletionTester (line 10) | type PackageMetadataCompletionTester struct type SourceMetadataCompletionTester (line 14) | type SourceMetadataCompletionTester struct function NewPackageMetadataCompletionTester (line 18) | func NewPackageMetadataCompletionTester(t testing.TB, ignore ...any) *Pa... function NewSourceMetadataCompletionTester (line 25) | func NewSourceMetadataCompletionTester(t testing.TB, ignore ...any) *Sou... FILE: test/cli/all_formats_convertible_test.go function TestAllFormatsConvertable (line 13) | func TestAllFormatsConvertable(t *testing.T) { FILE: test/cli/all_formats_expressible_test.go function TestAllFormatsExpressible (line 13) | func TestAllFormatsExpressible(t *testing.T) { function Test_formatVersionsExpressible (line 43) | func Test_formatVersionsExpressible(t *testing.T) { FILE: test/cli/archive_test.go function TestArchiveScan (line 12) | func TestArchiveScan(t *testing.T) { function createArchive (line 47) | func createArchive(t *testing.T, path string, destDir string) string { FILE: test/cli/cataloger_info_test.go function TestCatalogerCapsExperimentalFeatureGate (line 7) | func TestCatalogerCapsExperimentalFeatureGate(t *testing.T) { FILE: test/cli/config_test.go function Test_configLoading (line 13) | func Test_configLoading(t *testing.T) { FILE: test/cli/convert_cmd_test.go function TestConvertCmd (line 18) | func TestConvertCmd(t *testing.T) { function mustEncoder (line 66) | func mustEncoder(enc sbom.FormatEncoder, err error) sbom.FormatEncoder { FILE: test/cli/cyclonedx_valid_test.go function TestValidCycloneDX (line 17) | func TestValidCycloneDX(t *testing.T) { function assertValidCycloneDX (line 64) | func assertValidCycloneDX(tb testing.TB, stdout, stderr string, rc int) { function validateCycloneDXJSON (line 100) | func validateCycloneDXJSON(t *testing.T, stdout string) { FILE: test/cli/dir_root_scan_regression_test.go function TestDirectoryScanCompletesWithinTimeout (line 9) | func TestDirectoryScanCompletesWithinTimeout(t *testing.T) { FILE: test/cli/json_schema_test.go constant jsonSchemaPath (line 16) | jsonSchemaPath = "schema/json" function TestJSONSchema (line 18) | func TestJSONSchema(t *testing.T) { function validateJsonAgainstSchema (line 68) | func validateJsonAgainstSchema(t testing.TB, json string) { FILE: test/cli/license_test.go function Test_Licenses (line 5) | func Test_Licenses(t *testing.T) { FILE: test/cli/root_cmd_test.go function TestRootCmdAliasesToPackagesSubcommand (line 12) | func TestRootCmdAliasesToPackagesSubcommand(t *testing.T) { function TestPersistentFlags (line 61) | func TestPersistentFlags(t *testing.T) { function TestLogFile (line 116) | func TestLogFile(t *testing.T) { FILE: test/cli/scan_cmd_test.go constant coverageImageSquashedPackageCount (line 12) | coverageImageSquashedPackageCount = 42 function TestPackagesCmdFlags (line 15) | func TestPackagesCmdFlags(t *testing.T) { function TestRegistryAuth (line 432) | func TestRegistryAuth(t *testing.T) { FILE: test/cli/spdx_json_schema_test.go constant spdxJsonSchemaPath (line 15) | spdxJsonSchemaPath = "schema/spdx-json" function TestSPDXJSONSchema (line 17) | func TestSPDXJSONSchema(t *testing.T) { function validateSpdxJsonAgainstSchema (line 66) | func validateSpdxJsonAgainstSchema(t testing.TB, json string) { FILE: test/cli/spdx_tooling_validation_test.go function TestSpdxValidationTooling (line 17) | func TestSpdxValidationTooling(t *testing.T) { FILE: test/cli/symlink_test.go function Test_RequestedPathIncludesSymlink (line 9) | func Test_RequestedPathIncludesSymlink(t *testing.T) { FILE: test/cli/trait_assertions_test.go type traitAssertion (line 19) | type traitAssertion function assertFileOutput (line 21) | func assertFileOutput(tb testing.TB, path string, assertions ...traitAss... function assertJsonReport (line 36) | func assertJsonReport(tb testing.TB, stdout, _ string, _ int) { function assertTableReport (line 45) | func assertTableReport(tb testing.TB, stdout, _ string, _ int) { function assertLoggingLevel (line 64) | func assertLoggingLevel(level string) traitAssertion { function assertNotInOutput (line 77) | func assertNotInOutput(data string) traitAssertion { function assertNoStderr (line 89) | func assertNoStderr(tb testing.TB, _, stderr string, _ int) { function assertInOutput (line 99) | func assertInOutput(data string) traitAssertion { function assertStdoutLengthGreaterThan (line 113) | func assertStdoutLengthGreaterThan(length uint) traitAssertion { function assertPackageCount (line 122) | func assertPackageCount(length uint) traitAssertion { function assertUnknownLicenseContent (line 154) | func assertUnknownLicenseContent(required bool) traitAssertion { function assertFailingReturnCode (line 182) | func assertFailingReturnCode(tb testing.TB, _, _ string, rc int) { function assertSuccessfulReturnCode (line 189) | func assertSuccessfulReturnCode(tb testing.TB, _, _ string, rc int) { function assertFileExists (line 196) | func assertFileExists(file string) traitAssertion { FILE: test/cli/unknowns_test.go function Test_Unknowns (line 7) | func Test_Unknowns(t *testing.T) { FILE: test/cli/utils_test.go function logOutputOnFailure (line 25) | func logOutputOnFailure(t testing.TB, cmd *exec.Cmd, stdout, stderr stri... function setupPKI (line 33) | func setupPKI(t *testing.T, pw string) func() { function getFixtureImage (line 66) | func getFixtureImage(t testing.TB, fixtureImageName string) string { function pullDockerImage (line 72) | func pullDockerImage(t testing.TB, image string) { function runCycloneDXInDocker (line 83) | func runCycloneDXInDocker(t testing.TB, env map[string]string, image str... function runSyftInDocker (line 104) | func runSyftInDocker(t testing.TB, env map[string]string, image string, ... function runSyft (line 123) | func runSyft(t testing.TB, env map[string]string, args ...string) (*exec... function runSyftSafe (line 127) | func runSyftSafe(t testing.TB, env map[string]string, args ...string) (*... function runSyftCommand (line 131) | func runSyftCommand(t testing.TB, env map[string]string, expectError boo... function runCommandObj (line 187) | func runCommandObj(t testing.TB, cmd *exec.Cmd, env map[string]string, e... function runCosign (line 229) | func runCosign(t testing.TB, env map[string]string, args ...string) (*ex... function getCommand (line 244) | func getCommand(t testing.TB, location string, args ...string) *exec.Cmd { function runCommand (line 248) | func runCommand(cmd *exec.Cmd, env map[string]string) (string, string, e... function envMapToSlice (line 262) | func envMapToSlice(env map[string]string) (envList []string) { function getSyftCommand (line 272) | func getSyftCommand(t testing.TB, args ...string) *exec.Cmd { function getSyftBinaryLocation (line 276) | func getSyftBinaryLocation(t testing.TB) string { function getSyftBinaryLocationByOS (line 288) | func getSyftBinaryLocationByOS(t testing.TB, goOS string) string { function buildBinary (line 309) | func buildBinary(t testing.TB, loc string) { function repoRoot (line 324) | func repoRoot(t testing.TB) string { function testRetryIntervals (line 337) | func testRetryIntervals(done <-chan struct{}) <-chan time.Duration { function exponentialBackoffDurations (line 341) | func exponentialBackoffDurations(minDuration, maxDuration time.Duration,... function exponentialBackoffDuration (line 364) | func exponentialBackoffDuration(minDuration, maxDuration time.Duration, ... FILE: test/cli/version_cmd_test.go function TestVersionCmdPrintsToStdout (line 7) | func TestVersionCmdPrintsToStdout(t *testing.T) { FILE: test/compare/compare.py class Syft (line 13) | class Syft: method __init__ (line 14) | def __init__(self, report_path): method _enumerate_section (line 17) | def _enumerate_section(self, section): method packages (line 23) | def packages(self): function print_rows (line 39) | def print_rows(rows): function main (line 50) | def main(baseline_report, new_report): class colors (line 123) | class colors: class fg (line 131) | class fg: class bg (line 147) | class bg: FILE: test/rules/rules.go function resourceCleanup (line 12) | func resourceCleanup(m dsl.Matcher) { function isPtr (line 23) | func isPtr(ctx *dsl.VarFilterContext) bool { function noUnboundedReads (line 28) | func noUnboundedReads(m dsl.Matcher) { function noDirectTempFiles (line 42) | func noDirectTempFiles(m dsl.Matcher) { function tmpCleanupDeferred (line 54) | func tmpCleanupDeferred(m dsl.Matcher) { function packagesInRelationshipsAsValues (line 72) | func packagesInRelationshipsAsValues(m dsl.Matcher) {