Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrOnStartCallback = errors.New("failed to execute OnStart callback") ErrPerformCodeAnalysis = errors.New("failed to perform codeanalysis") ErrReportCodeAnalysisFindings = errors.New("failed to report code analysis findings") ErrFinishReporting = errors.New("failed to finish reporting") ErrOnFinishCallback = errors.New("failed to execute OnFinish callback") ErrCreateLocalFileSystem = errors.New("failed to create local filesystem") ErrGetAllLanguages = errors.New("failed to get all languages") ErrCreateSourceWalker = errors.New("failed to create source walker") ErrCreateTreeWalker = errors.New("failed to create tree walker") ErrSetupCallgraphPlugin = errors.New("failed to setup callgraph plugin") ErrCreatePluginExecutor = errors.New("failed to create plugin executor") ErrExecutePlugin = errors.New("failed to execute plugin") ErrCreateSignatureMatcher = errors.New("failed to create signature matcher") ErrGetTreeData = errors.New("failed to get tree data") ErrMatchSignatures = errors.New("failed to match signatures") ErrRecordCodeAnalysisFindings = errors.New("failed to record code analysis findings in reporter") ErrFinishReporter = errors.New("failed to finish reporter") )
Error constants for code analysis workflow
Functions ¶
This section is empty.
Types ¶
type CodeAnalysisWorkflow ¶
type CodeAnalysisWorkflow struct {
// contains filtered or unexported fields
}
func NewCodeAnalysisWorkflow ¶
func NewCodeAnalysisWorkflow(config CodeAnalysisWorkflowConfig, reporters []reporter.Reporter) *CodeAnalysisWorkflow
func (*CodeAnalysisWorkflow) Execute ¶
func (w *CodeAnalysisWorkflow) Execute() (*common.CodeAnalysisFindings, error)
type CodeAnalysisWorkflowConfig ¶
type CodeAnalysisWorkflowConfig struct {
Tool common.ToolMetadata
SourcePath string
SignaturesToMatch []*callgraphv1.Signature
Callbacks CodeAnalysisCallbackRegistry
}
Click to show internal directories.
Click to hide internal directories.