Public Member Functions

BinNavi.API.disassembly.FlowGraph Class Reference

Represents a single flowgraph. More...

Inherits com::zynamics::zylib::types::graphs::DirectedGraph< BasicBlock, BlockEdge >, and com::zynamics::zylib::types::graphs::IDirectedGraph< BasicBlock, BlockEdge >.

List of all members.

Public Member Functions

List< BlockEdgegetEdges ()
 The edges of the flowgraph.
List< BasicBlockgetNodes ()
 The nodes of the flowgraph.
String toString ()
 Printable representation of the flowgraph.

Detailed Description

Flowgraph objects describe the control flow inside a function. The nodes of a flowgraph are BasicBlock objects, the edges between the BasicBlock nodes are BlockEdge objects.


Member Function Documentation

List<BlockEdge> BinNavi.API.disassembly.FlowGraph.getEdges (  ) 

Returns all edges that are part of this flowgraph.

Returns:
A list of edges.
List<BasicBlock> BinNavi.API.disassembly.FlowGraph.getNodes (  ) 

Returns all nodes that are part of this flowgraph.

Returns:
A list of nodes.
String BinNavi.API.disassembly.FlowGraph.toString (  ) 

Returns a string representation of the flowgraph.

Returns:
A string representation of the flowgraph.