Documentation ¶
Overview ¶
Package ctrlflow represents and constructs control-flow graph (CFG) of MiGo functions in a MiGo program.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Graph ¶
type Graph struct { Nodes []*Node // contains filtered or unexported fields }
Graph is a control flow graph.
func NewGraph ¶
func NewGraph(prog *migo.Program) *Graph
NewGraph returns a new CFG given MiGo program prog.
Click to show internal directories.
Click to hide internal directories.