README ¶ valgraph This repository is experimental. It may be breaked and may have many bugs. Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func AddEdge(from *Node, site ssa.Instruction, to *Node) type Edge func (e Edge) Description() string func (e Edge) Pos() token.Pos func (e Edge) String() string type Graph func New() *Graph func (g *Graph) CreateNode(v ssa.Value) *Node type Node func (n *Node) String() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func AddEdge ¶ func AddEdge(from *Node, site ssa.Instruction, to *Node) Types ¶ type Edge ¶ type Edge struct { From *Node Site ssa.Instruction To *Node } func (Edge) Description ¶ func (e Edge) Description() string func (Edge) Pos ¶ func (e Edge) Pos() token.Pos func (Edge) String ¶ func (e Edge) String() string type Graph ¶ type Graph struct { Nodes map[ssa.Value]*Node } func New ¶ func New() *Graph func (*Graph) CreateNode ¶ func (g *Graph) CreateNode(v ssa.Value) *Node type Node ¶ type Node struct { ID int Value ssa.Value In []*Edge Out []*Edge } func (*Node) String ¶ func (n *Node) String() string Source Files ¶ View all Source files graph.go Directories ¶ Show internal Expand all Path Synopsis builder passes buildvalgraph Click to show internal directories. Click to hide internal directories.