Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormattedReport ¶
func FormattedReport(res AnalysisResult) (string, bool)
FormattedReport writes res to a string and returns true if the analysis has findings.
Types ¶
type AnalysisReqs ¶
type AnalysisReqs struct {
// Tag is the tag to analyze, ignored if non-empty.
Tag string
}
AnalysisReqs specifies requirements for the analysis that are not in the config.
type AnalysisResult ¶
An AnalysisResult of the condition checking analysis returns the list of location where unchecked calls occur.
func Analyze ¶
func Analyze(state *ptr.State, reqs AnalysisReqs) (AnalysisResult, error)
Analyze runs the analysis on the program wrapped in the pointer state.
Click to show internal directories.
Click to hide internal directories.