codeanalysis

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CodeAnalysisCallbackRegistry

type CodeAnalysisCallbackRegistry struct {
	OnStart  func() error
	OnFinish func() error
	OnErr    func(msg string, err error)
}

type CodeAnalysisFindings

type CodeAnalysisFindings struct {
	SignatureWiseMatchResults map[string][]EnrichedSignatureMatchResult
}

type CodeAnalysisWorkflow

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

func NewCodeAnalysisWorkflow

func NewCodeAnalysisWorkflow(config CodeAnalysisWorkflowConfig) *CodeAnalysisWorkflow

func (*CodeAnalysisWorkflow) Execute

func (w *CodeAnalysisWorkflow) Execute() error

func (*CodeAnalysisWorkflow) Finish

type CodeAnalysisWorkflowConfig

type CodeAnalysisWorkflowConfig struct {
	Tool              common.ToolMetadata
	SourcePath        string
	SignaturesToMatch []*callgraphv1.Signature
	Callbacks         *CodeAnalysisCallbackRegistry
}

type EnrichedSignatureMatchResult added in v0.0.2

type EnrichedSignatureMatchResult struct {
	callgraph.SignatureMatchResult
	TreeData *[]byte
}

Jump to

Keyboard shortcuts

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