Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DoPointerAnalysis ¶
func DoPointerAnalysis(c *config.Config, p *ssa.Program, functionFilter func(*ssa.Function) bool, functionSet map[*ssa.Function]bool) (*pointer.Result, error)
DoPointerAnalysis runs the pointer analysis on the program p, marking every Value in the functions filtered by functionFilter as potential Value to query for aliasing.
- p is the program to be analyzed
- functionFilter determines whether to add the values of the function in the Queries or IndirectQueries of the result
- functionSet is the set of functions that will be queried.
If error != nil, the *pointer.Result is such that every Value in the functions f such that functionFilter(f) is true will be in the Queries or IndirectQueries of the pointer.Result
Types ¶
Click to show internal directories.
Click to hide internal directories.