package vta
import "golang.org/x/tools/go/callgraph/vta"
Index ¶
Functions ¶
func CallGraph ¶
CallGraph uses the VTA algorithm to compute call graph for all functions f:true in funcs. VTA refines the results of initial call graph and uses it to establish interprocedural type flow. The resulting graph does not have a root node.
CallGraph does not make any assumptions on initial types global variables and function/method inputs can have. CallGraph is then sound, modulo use of reflection and unsafe, if the initial call graph is sound.
Source Files ¶
graph.go propagation.go utils.go vta.go
Directories ¶
Path | Synopsis |
---|---|
go/callgraph/vta/internal |
- Version
- v0.1.9
- Published
- Jan 25, 2022
- Platform
- windows/amd64
- Imports
- 7 packages
- Last checked
- 12 seconds ago –
Tools for package owners.