MCPcopy Create free account
hub / github.com/rabbitstack/fibratus / isImageExcluded

Method isImageExcluded

pkg/pe/parser.go:69–77  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

67}
68
69func (o opts) isImageExcluded(path string) bool {
70 for _, img := range o.excludedImages {
71 if strings.EqualFold(img, filepath.Base(path)) {
72 skippedImages.Add(1)
73 return true
74 }
75 }
76 return false
77}
78
79// Option represents the option type for the PE parser.
80type Option func(o *opts)

Callers 1

parseFunction · 0.95

Calls 1

AddMethod · 0.65

Tested by

no test coverage detected