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
- Version
- v0.1.7
- Published
- Sep 28, 2021
- Platform
- darwin/amd64
- Imports
- 6 packages
- Last checked
- 11 hours ago –
Tools for package owners.