engine

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	EnableSSA      bool // Enables SSA-based analyzers
	EnableTaint    bool // Enables taint analysis
	EnableAST      bool // Enables AST-based rules
	EnableBuiltins bool // Enables built-in rule handlers
}

Config defines the configuration for analysis execution.

type Engine

type Engine struct {
	// contains filtered or unexported fields
}

Engine coordinates the entire static analysis process.

func New

func New(cfg *Config) *Engine

New creates a new Engine instance.

func (*Engine) Run

func (e *Engine) Run(ctx context.Context, proj *context.ProjectContext) ([]*result.Issue, error)

Run executes the full analysis pipeline and returns discovered issues.

Jump to

Keyboard shortcuts

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