Documentation
¶
Overview ¶
Package unknownbinariesextr identifies binary files on the filesystem and adds them as packages.
Index ¶
Constants ¶
View Source
const (
// Name is the unique name of this extractor.
Name = "ffa/unknownbinaries"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Extractor ¶
type Extractor struct {
}
Extractor finds unknown binaries on the filesystem
func (*Extractor) Extract ¶
func (e *Extractor) Extract(ctx context.Context, input *filesystem.ScanInput) (inventory.Inventory, error)
Extract determines the most likely package version from the directory and returns them as package entries with "Location" filled in.
func (*Extractor) FileRequired ¶
func (e *Extractor) FileRequired(fapi filesystem.FileAPI) bool
FileRequired returns true for likely directories to contain vendored c/c++ code
func (*Extractor) Requirements ¶
func (e *Extractor) Requirements() *plugin.Capabilities
Requirements of the extractor.
Click to show internal directories.
Click to hide internal directories.