StaticCFG::CFG
Synopsis
Declared in <SageIII/virtualCFG/staticCFG.h>
class CFG;
Member Functions
Name |
Description |
|
The constructor building the CFG. The valid nodes are SgProject, SgStatement, SgExpression and SgInitializedName. |
|
Destructor |
|
Build CFG according to the 'is_filtered_' flag. |
|
Build filtered CFG which only contains interesting nodes. |
|
Build CFG for debugging. |
Output the graph to a DOT file. |
|
Get the entry node of the CFG |
|
Get the exit node of the CFG |
|
Get the pointer pointing to the graph used by static CFG. |
|
Set the start node for graph building. The valid nodes are SgProject, SgStatement, SgExpression and SgInitializedName. |
|
Turn a graph node into a CFGNode which is defined in VirtualCFG namespace. |
|
Turn a CFG node into a GraphNode which is defined in VirtualCFG namespace. Returns NULL if CFGNode is not present |
Static Member Functions
Name |
Description |
Get the index of a CFG node. |
Protected Member Functions
Name |
Description |
|
|
Delete all nodes and edges in the graph and release memories. |
|
|
|
|
|
|
|
|
Protected Data Members
Name |
Description |
A map from CFGNode in virtualCFG to node from staticCFG. |
|
The entry node. |
|
The exit node. |
|
The graph data structure holding the CFG. |
|
A flag shows whether this CFG is filtered or not. |
|
The start node to begin CFG build. |
Derived Classes
Name |
Description |
A CFG implementation with Custom filters |
|
Created with MrDocs