Static Value-Flow Analysis
|
#include <GenericGraph.h>
Public Types | |
typedef NodeTy | NodeType |
typedef EdgeTy | EdgeType |
typedef OrderedSet< EdgeType *, typename EdgeType::equalGEdge > | GEdgeSetTy |
Edge kind. | |
typedef GEdgeSetTy::iterator | iterator |
typedef GEdgeSetTy::const_iterator | const_iterator |
Public Types inherited from SVF::SVFBaseNode | |
enum | GNodeK { IntraBlock , GlobalBlock , FunEntryBlock , FunExitBlock , FunCallBlock , FunRetBlock , ValNode , FunValNode , GepValNode , RetNode , VarargNode , DummyValNode , ObjNode , GepObjNode , BaseObjNode , FunObjNode , HeapObjNode , StackObjNode , DummyObjNode , Cmp , BinaryOp , UnaryOp , Branch , DummyVProp , NPtr , FRet , ARet , AParm , FParm , Addr , Copy , Gep , Store , Load , TPhi , TIntraPhi , TInterPhi , FPIN , FPOUT , APIN , APOUT , MPhi , MIntraPhi , MInterPhi , CallNodeKd , CDNodeKd , CFLNodeKd , CHNodeKd , ConstraintNodeKd , TCTNodeKd , DCHNodeKd , OtherKd } |
Static Public Member Functions | |
static bool | classof (const GenericNode< NodeTy, EdgeTy > *) |
static bool | classof (const SVFBaseNode *) |
Private Attributes | |
GEdgeSetTy | InEdges |
all incoming edge of this node | |
GEdgeSetTy | OutEdges |
all outgoing edge of this node | |
Friends | |
class | SVFIRWriter |
class | SVFIRReader |
Additional Inherited Members | |
Static Protected Member Functions inherited from SVF::SVFBaseNode | |
static bool | isICFGNodeKinds (GNodeK n) |
Helper functions to check node kinds. | |
static bool | isInterICFGNodeKind (GNodeK n) |
static bool | isSVFVarKind (GNodeK n) |
static bool | isValVarKinds (GNodeK n) |
static bool | isObjVarKinds (GNodeK n) |
static bool | isBaseObjVarKinds (GNodeK n) |
static bool | isVFGNodeKinds (GNodeK n) |
static bool | isArgumentVFGNodeKinds (GNodeK n) |
static bool | isStmtVFGNodeKinds (GNodeK n) |
static bool | isPHIVFGNodeKinds (GNodeK n) |
static bool | isMRSVFGNodeKinds (GNodeK n) |
static bool | isMSSAPHISVFGNodeKinds (GNodeK n) |
Protected Attributes inherited from SVF::SVFBaseNode | |
NodeID | id |
Node ID. | |
GNodeK | nodeKind |
Node kind. | |
const SVFType * | type |
SVF type. | |
std::string | sourceLoc |
Source code information of this value. | |
Generic node on the graph as base class
Definition at line 366 of file GenericGraph.h.
typedef GEdgeSetTy::const_iterator SVF::GenericNode< NodeTy, EdgeTy >::const_iterator |
Definition at line 379 of file GenericGraph.h.
Definition at line 373 of file GenericGraph.h.
typedef OrderedSet<EdgeType*, typename EdgeType::equalGEdge> SVF::GenericNode< NodeTy, EdgeTy >::GEdgeSetTy |
Edge kind.
Definition at line 375 of file GenericGraph.h.
typedef GEdgeSetTy::iterator SVF::GenericNode< NodeTy, EdgeTy >::iterator |
Edge iterator
Definition at line 378 of file GenericGraph.h.
Definition at line 372 of file GenericGraph.h.
|
inline |
Constructor.
Definition at line 389 of file GenericGraph.h.
|
inlinevirtual |
Destructor.
Definition at line 395 of file GenericGraph.h.
|
inline |
Add incoming and outgoing edges.
Definition at line 500 of file GenericGraph.h.
|
inline |
Definition at line 504 of file GenericGraph.h.
|
inlinestatic |
Definition at line 548 of file GenericGraph.h.
|
inlinestatic |
Definition at line 553 of file GenericGraph.h.
|
inlinevirtual |
Reimplemented in SVF::ConstraintNode.
Definition at line 471 of file GenericGraph.h.
|
inlinevirtual |
Reimplemented in SVF::ConstraintNode.
Definition at line 488 of file GenericGraph.h.
|
inlinevirtual |
Reimplemented in SVF::ConstraintNode.
Definition at line 475 of file GenericGraph.h.
|
inlinevirtual |
Reimplemented in SVF::ConstraintNode.
Definition at line 492 of file GenericGraph.h.
|
inlinevirtual |
Iterators used for SCC detection, overwrite it in child class if necessary.
Reimplemented in SVF::ConstraintNode.
Definition at line 463 of file GenericGraph.h.
|
inlinevirtual |
Reimplemented in SVF::ConstraintNode.
Definition at line 480 of file GenericGraph.h.
|
inlinevirtual |
Reimplemented in SVF::ConstraintNode.
Definition at line 467 of file GenericGraph.h.
|
inlinevirtual |
Reimplemented in SVF::ConstraintNode.
Definition at line 484 of file GenericGraph.h.
|
inline |
Definition at line 407 of file GenericGraph.h.
|
inline |
Get incoming/outgoing edge set
Definition at line 403 of file GenericGraph.h.
|
inline |
Has incoming/outgoing edge set.
Definition at line 415 of file GenericGraph.h.
|
inline |
Find incoming and outgoing edges.
Definition at line 530 of file GenericGraph.h.
|
inline |
Definition at line 419 of file GenericGraph.h.
|
inline |
Definition at line 538 of file GenericGraph.h.
|
inline |
Definition at line 435 of file GenericGraph.h.
|
inline |
Definition at line 451 of file GenericGraph.h.
|
inline |
Definition at line 439 of file GenericGraph.h.
|
inline |
Definition at line 455 of file GenericGraph.h.
|
inline |
|
inline |
Definition at line 443 of file GenericGraph.h.
|
inline |
Definition at line 431 of file GenericGraph.h.
|
inline |
Definition at line 447 of file GenericGraph.h.
|
inline |
Remove incoming and outgoing edges
Definition at line 512 of file GenericGraph.h.
|
inline |
Definition at line 369 of file GenericGraph.h.
Definition at line 368 of file GenericGraph.h.
|
private |
all incoming edge of this node
Definition at line 384 of file GenericGraph.h.
|
private |
all outgoing edge of this node
Definition at line 385 of file GenericGraph.h.