|
Static Value-Flow Analysis
|
#include <CFLGraph.h>
Public Types | |
| typedef CFGrammar::Symbol | Symbol |
| typedef CFGrammar::Kind | Kind |
| typedef GenericNode< CFLNode, CFLEdge >::GEdgeSetTy | CFLEdgeSet |
| Public Types inherited from SVF::GenericGraph< CFLNode, CFLEdge > | |
| typedef CFLNode | NodeType |
| typedef CFLEdge | EdgeType |
| typedef OrderedMap< NodeID, NodeType * > | IDToNodeMapTy |
| NodeID to GenericNode map. | |
| typedef IDToNodeMapTy::iterator | iterator |
| Node Iterators. | |
| typedef IDToNodeMapTy::const_iterator | const_iterator |
Public Member Functions | |
| CFLGraph (Kind kind) | |
| ~CFLGraph () override=default | |
| Kind | getStartKind () const |
| virtual void | addCFLNode (NodeID id, CFLNode *node) |
| virtual const CFLEdge * | addCFLEdge (CFLNode *src, CFLNode *dst, CFLEdge::GEdgeFlag label) |
| virtual const CFLEdge * | hasEdge (CFLNode *src, CFLNode *dst, CFLEdge::GEdgeFlag label) |
| void | dump (const std::string &filename) |
| void | view () |
| const CFLEdgeSet & | getCFLEdges () const |
| Public Member Functions inherited from SVF::GenericGraph< CFLNode, CFLEdge > | |
| GenericGraph () | |
| Constructor. | |
| virtual | ~GenericGraph () |
| Destructor. | |
| void | destroy () |
| Release memory. | |
| iterator | begin () |
| Iterators. | |
| iterator | end () |
| const_iterator | begin () const |
| const_iterator | end () const |
| void | addGNode (NodeID id, NodeType *node) |
| Add a Node. | |
| NodeType * | getGNode (NodeID id) const |
| Get a node. | |
| bool | hasGNode (NodeID id) const |
| Has a node. | |
| void | removeGNode (NodeType *node) |
| Delete a node. | |
| u32_t | getTotalNodeNum () const |
| Get total number of node/edge. | |
| u32_t | getTotalEdgeNum () const |
| void | incNodeNum () |
| Increase number of node/edge. | |
| void | incEdgeNum () |
Public Attributes | |
| Kind | startKind |
| Public Attributes inherited from SVF::GenericGraph< CFLNode, CFLEdge > | |
| u32_t | edgeNum |
| total num of node | |
| u32_t | nodeNum |
| total num of edge | |
Private Attributes | |
| CFLEdgeSet | cflEdgeSet |
Additional Inherited Members | |
| Protected Attributes inherited from SVF::GenericGraph< CFLNode, CFLEdge > | |
| IDToNodeMapTy | IDToNodeMap |
| node map | |
Definition at line 172 of file CFLGraph.h.
Definition at line 177 of file CFLGraph.h.
| typedef CFGrammar::Kind SVF::CFLGraph::Kind |
Definition at line 176 of file CFLGraph.h.
Definition at line 175 of file CFLGraph.h.
|
inline |
Definition at line 180 of file CFLGraph.h.
|
overridedefault |
|
virtual |
Definition at line 47 of file CFLGraph.cpp.
Definition at line 42 of file CFLGraph.cpp.
| void CFLGraph::dump | ( | const std::string & | filename | ) |
Definition at line 73 of file CFLGraph.cpp.
|
inline |
Definition at line 198 of file CFLGraph.h.
| CFLGraph::Kind CFLGraph::getStartKind | ( | ) | const |
Definition at line 37 of file CFLGraph.cpp.
|
virtual |
Definition at line 63 of file CFLGraph.cpp.
| void CFLGraph::view | ( | ) |
Definition at line 78 of file CFLGraph.cpp.
|
private |
Definition at line 204 of file CFLGraph.h.
| Kind SVF::CFLGraph::startKind |
Definition at line 178 of file CFLGraph.h.