Static Value-Flow Analysis
|
#include <SCC.h>
Classes | |
class | GNodeSCCInfo |
Public Types | |
typedef std::stack< NodeID > | GNodeStack |
typedef Map< NodeID, GNodeSCCInfo > | GNODESCCInfoMap |
typedef Map< NodeID, NodeID > | NodeToNodeMap |
Public Member Functions | |
SCCDetection (const GraphType >) | |
GNodeStack & | topoNodeStack () |
const GNODESCCInfoMap & | GNodeSCCInfo () const |
NodeID | repNode (NodeID n) const |
get the rep node if not found return itself | |
bool | isInCycle (NodeID n) const |
whether the node is in a cycle | |
const NodeBS & | subNodes (NodeID n) const |
get all subnodes in one scc, if size is empty insert itself into the set | |
const NodeBS & | getRepNodes () const |
get all repNodeID | |
const GraphType & | graph () |
void | find (void) |
void | find (NodeSet &candidates) |
Private Types | |
typedef SVF::GenericGraphTraits< GraphType > | GTraits |
Define the GTraits and node iterator for printing. | |
typedef GTraits::NodeRef | GNODE |
typedef GTraits::nodes_iterator | node_iterator |
typedef GTraits::ChildIteratorType | child_iterator |
typedef unsigned | NodeID |
Private Member Functions | |
bool | visited (NodeID n) |
bool | inSCC (NodeID n) |
void | setVisited (NodeID n, bool v) |
void | setInSCC (NodeID n, bool v) |
void | rep (NodeID n, NodeID r) |
NodeID | rep (NodeID n) |
bool | isInSCC (NodeID n) |
GNODE | Node (NodeID id) const |
NodeID | Node_Index (GNODE node) const |
void | visit (NodeID v) |
void | clear () |
Private Attributes | |
GNODESCCInfoMap | _NodeSCCAuxInfo |
const GraphType & | _graph |
NodeID | _I |
NodeToNodeMap | _D |
GNodeStack | _SS |
GNodeStack | _T |
NodeBS | repNodes |
|
private |
|
private |
typedef Map<NodeID,GNodeSCCInfo > SVF::SCCDetection< GraphType >::GNODESCCInfoMap |
typedef std::stack<NodeID> SVF::SCCDetection< GraphType >::GNodeStack |
|
private |
|
private |
|
private |
|
inline |
|
inlineprivate |
|
inline |
|
inline |
Definition at line 308 of file SCC.h.
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
inline |
whether the node is in a cycle
Definition at line 149 of file SCC.h.
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inline |
get the rep node if not found return itself
|
inlineprivate |
|
inlineprivate |
|
inline |
|
inline |
|
inlineprivate |
|
inlineprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |