ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RoseBin_DotGraph Class Reference

#include <RoseBin_DotGraph.h>

Inheritance diagram for RoseBin_DotGraph:
Collaboration diagram for RoseBin_DotGraph:

Public Member Functions

 RoseBin_DotGraph ()
 
 ~RoseBin_DotGraph ()
 
void printNodes (bool dfg, RoseBin_FlowAnalysis *flow, bool forward_analysis, std::ofstream &myfile, std::string &recursiveFunctionName)
 
void printNodesCallGraph (std::ofstream &myfile)
 
void printEdges (VirtualBinCFG::AuxiliaryInformation *info, bool forward_analysis, std::ofstream &myfile, bool mergedEdges)
 
void printProlog (std::ofstream &myfile, std::string &fileType)
 
void printEpilog (std::ofstream &myfile)
 
- Public Member Functions inherited from RoseBin_Graph
 RoseBin_Graph ()
 
virtual ~RoseBin_Graph ()
 
void setGrouping (bool val)
 
void createUniqueEdges ()
 

Private Types

typedef std::multimap
< SgAsmFunction *, std::pair
< int, SgGraphNode * > > 
inverseNodeType
 

Private Member Functions

void printInternalNodes (bool dfg, bool forward_analysis, std::ofstream &myfile, std::string &recursiveFunctionName, SgAsmFunction *p_binFunc)
 
void printEdges_single (VirtualBinCFG::AuxiliaryInformation *info, bool forward_analysis, std::ofstream &myfile)
 
void printEdges_multiple (VirtualBinCFG::AuxiliaryInformation *info, bool forward_analysis, std::ofstream &myfile)
 
void printEdges (VirtualBinCFG::AuxiliaryInformation *info, bool forward_analysis, std::ofstream &myfile, SgDirectedGraphEdge *edge)
 

Private Attributes

inverseNodeType inverse_nodesMap
 

Additional Inherited Members

- Public Types inherited from SgIncidenceDirectedGraph
enum  { static_variant = V_SgIncidenceDirectedGraph }
 static variant value More...
 
typedef SgGraph base_node_type
 
- Static Public Member Functions inherited from SgIncidenceDirectedGraph
static size_t numberOfNodes ()
 Returns the total number of IR nodes of this type. More...
 
static size_t memoryUsage ()
 Returns the size in bytes of the total memory allocated for all IR nodes of this type. More...
 
static void traverseMemoryPoolNodes (ROSE_VisitTraversal &visit)
 FOR INTERNAL USE Support for visitor pattern. More...
 
static void traverseMemoryPoolVisitorPattern (ROSE_VisitorPattern &visitor)
 FOR INTERNAL USE Support for visitor pattern. More...
 
static void visitRepresentativeNode (ROSE_VisitTraversal &visit)
 FOR INTERNAL USE Support for type-based traversal. More...
 
- Public Attributes inherited from RoseBin_Graph
SgIncidenceDirectedGraphgraph
 
- Protected Attributes inherited from RoseBin_Graph
bool grouping
 
bool nodest_jmp
 
bool error
 
bool nodest_call
 
bool interrupt
 
bool checked
 
bool dfa_standard
 
bool dfa_resolved_func
 
bool dfa_unresolved_func
 
bool dfa_conditional
 
rose_graph_integer_edge_hash_multimap unique_edges
 
- Static Protected Attributes inherited from SgGraph
static int p_index_counter
 

Detailed Description

Definition at line 14 of file RoseBin_DotGraph.h.

Member Typedef Documentation

typedef std::multimap< SgAsmFunction*, std::pair <int, SgGraphNode*> > RoseBin_DotGraph::inverseNodeType
private

Definition at line 21 of file RoseBin_DotGraph.h.

Constructor & Destructor Documentation

RoseBin_DotGraph::RoseBin_DotGraph ( )
inline

Definition at line 32 of file RoseBin_DotGraph.h.

RoseBin_DotGraph::~RoseBin_DotGraph ( )
inline

Definition at line 33 of file RoseBin_DotGraph.h.

Member Function Documentation

void RoseBin_DotGraph::printInternalNodes ( bool  dfg,
bool  forward_analysis,
std::ofstream &  myfile,
std::string &  recursiveFunctionName,
SgAsmFunction p_binFunc 
)
private
void RoseBin_DotGraph::printEdges_single ( VirtualBinCFG::AuxiliaryInformation info,
bool  forward_analysis,
std::ofstream &  myfile 
)
private
void RoseBin_DotGraph::printEdges_multiple ( VirtualBinCFG::AuxiliaryInformation info,
bool  forward_analysis,
std::ofstream &  myfile 
)
private
void RoseBin_DotGraph::printEdges ( VirtualBinCFG::AuxiliaryInformation info,
bool  forward_analysis,
std::ofstream &  myfile,
SgDirectedGraphEdge edge 
)
private
void RoseBin_DotGraph::printNodes ( bool  dfg,
RoseBin_FlowAnalysis *  flow,
bool  forward_analysis,
std::ofstream &  myfile,
std::string &  recursiveFunctionName 
)
virtual

Implements RoseBin_Graph.

void RoseBin_DotGraph::printNodesCallGraph ( std::ofstream &  myfile)
void RoseBin_DotGraph::printEdges ( VirtualBinCFG::AuxiliaryInformation info,
bool  forward_analysis,
std::ofstream &  myfile,
bool  mergedEdges 
)
virtual

Implements RoseBin_Graph.

void RoseBin_DotGraph::printProlog ( std::ofstream &  myfile,
std::string &  fileType 
)
virtual

Implements RoseBin_Graph.

void RoseBin_DotGraph::printEpilog ( std::ofstream &  myfile)
virtual

Implements RoseBin_Graph.

Member Data Documentation

inverseNodeType RoseBin_DotGraph::inverse_nodesMap
private

Definition at line 22 of file RoseBin_DotGraph.h.


The documentation for this class was generated from the following file: