unknownbinariesextr

package
v0.3.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

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

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) Name

func (e *Extractor) Name() string

Name of the extractor.

func (*Extractor) Requirements

func (e *Extractor) Requirements() *plugin.Capabilities

Requirements of the extractor.

func (*Extractor) Version

func (e *Extractor) Version() int

Version of the extractor.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL