analyzer

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileAnalyzer

type FileAnalyzer interface {
	Analyze(ctx context.Context, path string) Result
}

type Result

type Result struct {
	Path      string
	Format    binary.Format
	Toolchain toolchain.Toolchain
	SHA256    string
	Results   []rule.ProcessedResult
	Error     error
	Skipped   bool
}

func (*Result) FailedRules

func (r *Result) FailedRules() int

func (*Result) PassedRules

func (r *Result) PassedRules() int

type Results

type Results struct {
	Results []Result
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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