Documentation ¶
Overview ¶
Copyright (c) 2015-2016 The GoAnalysis Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControlFlowGraph ¶
func GetControlFlowGraph ¶
func GetControlFlowGraph(basicBlocks []*bblock.BasicBlock) (cfg []*ControlFlowGraph)
GetControlFlowGraph generates the control flow graph for each function or method found in the sequence of basic-blocks. Returning an array of control flow graphs where each entry represents an function or method.
func New ¶
func New() *ControlFlowGraph
func (ControlFlowGraph) Draw ¶
func (controlFlowGraph ControlFlowGraph) Draw(name string) error
Click to show internal directories.
Click to hide internal directories.