package vta

import "golang.org/x/tools/go/callgraph/vta"

Index

Functions

func CallGraph

func CallGraph(funcs map[*ssa.Function]bool, initial *callgraph.Graph) *callgraph.Graph

CallGraph uses the VTA algorithm to compute call graph for all functions f such that f:true is in `funcs`. VTA refines the results of 'initial' callgraph and uses it to establish interprocedural data flow. VTA is sound if 'initial` is sound modulo reflection and unsage. The resulting callgraph does not have a root node.

Source Files

graph.go propagation.go utils.go vta.go

Version
v0.1.5
Published
Jul 13, 2021
Platform
darwin/amd64
Imports
6 packages
Last checked
11 hours ago

Tools for package owners.