cfgraph

package
v0.0.0-...-433e763 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2016 License: BSD-3-Clause Imports: 9 Imported by: 1

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

type ControlFlowGraph struct {
	*graph.Graph
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL