Public Member Functions | Static Public Member Functions

com.google.security.zynamics.binnavi.API.reil.mono.InstructionGraph Class Reference

Inherits com::google::security::zynamics::zylib::types::graphs::MutableDirectedGraph< InstructionGraphNode, InstructionGraphEdge >, and com::google::security::zynamics::binnavi::API::disassembly::IDirectedGraph< InstructionGraphNode, InstructionGraphEdge >.

List of all members.

Public Member Functions

void addEdge (final InstructionGraphEdge edge)
void addNode (final InstructionGraphNode node)
 InstructionGraph (final List< InstructionGraphNode > nodes, final List< InstructionGraphEdge > edges)
void removeEdge (final InstructionGraphEdge edge)
void removeNode (final InstructionGraphNode node)
String toString ()

Static Public Member Functions

static InstructionGraph create (final ReilGraph graph)

Detailed Description

Graph class that describes graphs with nodes that contain exactly one REIL instruction.


Constructor & Destructor Documentation

com.google.security.zynamics.binnavi.API.reil.mono.InstructionGraph.InstructionGraph ( final List< InstructionGraphNode nodes,
final List< InstructionGraphEdge edges 
)

Creates a new instruction graph.

Parameters:
nodes List of nodes to put into the graph.
edges List of edges to put into the graph.

Member Function Documentation

void com.google.security.zynamics.binnavi.API.reil.mono.InstructionGraph.addEdge ( final InstructionGraphEdge  edge  ) 

Adds an instruction edge to the instruction graph.

Parameters:
edge The edge to add to the graph.
void com.google.security.zynamics.binnavi.API.reil.mono.InstructionGraph.addNode ( final InstructionGraphNode  node  ) 

Adds an instruction node to the instruction graph.

Parameters:
node The node to add to the graph.
static InstructionGraph com.google.security.zynamics.binnavi.API.reil.mono.InstructionGraph.create ( final ReilGraph  graph  )  [static]

Creates an instruction graph from a REIL graph.

Parameters:
graph The REIL graph to convert.
Returns:
The created instruction graph.
void com.google.security.zynamics.binnavi.API.reil.mono.InstructionGraph.removeEdge ( final InstructionGraphEdge  edge  ) 

Removes an instruction edge from the instruction graph.

Parameters:
edge The edge to remove.
void com.google.security.zynamics.binnavi.API.reil.mono.InstructionGraph.removeNode ( final InstructionGraphNode  node  ) 

Removes an instruction node from the instruction graph.

Parameters:
node The node to remove.
String com.google.security.zynamics.binnavi.API.reil.mono.InstructionGraph.toString (  ) 

Returns a string representation of the instruction graph.

Returns:
A string representation of the instruction graph.