Static Value-Flow Analysis
|
#include <CHG.h>
Public Types | |
enum | RELATIONTYPE { CONSTRUCTOR = 0x1 , DESTRUCTOR = 0x2 } |
typedef Set< const CHNode * > | CHNodeSetTy |
typedef FIFOWorkList< const CHNode * > | WorkList |
typedef Map< std::string, CHNodeSetTy > | NameToCHNodesMap |
typedef Map< const ICFGNode *, CHNodeSetTy > | CallNodeToCHNodesMap |
typedef Map< const ICFGNode *, VTableSet > | CallNodeToVTableSetMap |
typedef Map< const ICFGNode *, VFunSet > | CallNodeToVFunSetMap |
Public Types inherited from SVF::CommonCHGraph | |
enum | CHGKind { Standard , DI } |
Public Types inherited from SVF::GenericGraph< NodeTy, EdgeTy > | |
typedef NodeTy | NodeType |
typedef EdgeTy | EdgeType |
typedef OrderedMap< NodeID, NodeType * > | IDToNodeMapTy |
NodeID to GenericNode map. | |
typedef IDToNodeMapTy::iterator | iterator |
Node Iterators. | |
typedef IDToNodeMapTy::const_iterator | const_iterator |
Static Public Member Functions | |
static bool | classof (const CommonCHGraph *chg) |
Friends | |
class | SVFIRWriter |
class | SVFIRReader |
class | CHGBuilder |
Additional Inherited Members | |
Public Attributes inherited from SVF::GenericGraph< NodeTy, EdgeTy > | |
u32_t | edgeNum |
total num of node | |
u32_t | nodeNum |
total num of edge | |
Protected Attributes inherited from SVF::CommonCHGraph | |
CHGKind | kind |
Protected Attributes inherited from SVF::GenericGraph< NodeTy, EdgeTy > | |
IDToNodeMapTy | IDToNodeMap |
node map | |
typedef Map<std::string, CHNodeSetTy> SVF::CHGraph::NameToCHNodesMap |
|
inline |
|
overridedefault |
void CHGraph::addEdge | ( | const std::string | className, |
const std::string | baseClassName, | ||
CHEdge::CHEDGETYPE | edgeType | ||
) |
Definition at line 97 of file CHG.cpp.
Definition at line 290 of file CHG.h.
|
inlinestatic |
|
overridevirtual |
|
overridevirtual |
void CHGraph::dump | ( | const std::string & | filename | ) |
Dump call graph into dot file
Definition at line 242 of file CHG.cpp.
|
overridevirtual |
|
overridevirtual |
|
inline |
|
inline |
|
overridevirtual |
get target virtual functions
get the function name of the virtual callsite
Implements SVF::CommonCHGraph.
Definition at line 124 of file CHG.cpp.
|
inline |
|
inline |
void CHGraph::printCH | ( | ) |
Definition at line 218 of file CHG.cpp.
void CHGraph::view | ( | ) |
Definition at line 248 of file CHG.cpp.
|
friend |
|
friend |
|
friend |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |