Static Value-Flow Analysis
|
#include <GenericGraph.h>
Public Types | |
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 } |
Public Member Functions | |
SVFBaseNode (NodeID i, GNodeK k, SVFType *ty=nullptr) | |
NodeID | getId () const |
Get ID. | |
GNodeK | getNodeKind () const |
Get node kind. | |
virtual const SVFType * | getType () const |
virtual void | setSourceLoc (const std::string &sourceCodeInfo) |
virtual const std::string | getSourceLoc () const |
const std::string | valueOnlyToString () const |
Static Protected Member Functions | |
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 | |
NodeID | id |
Node ID. | |
GNodeK | nodeKind |
Node kind. | |
const SVFType * | type |
SVF type. | |
std::string | sourceLoc |
Source code information of this value. | |
Definition at line 137 of file GenericGraph.h.
Definition at line 142 of file GenericGraph.h.
Definition at line 219 of file GenericGraph.h.
|
inline |
|
inline |
Reimplemented in SVF::GlobalICFGNode, SVF::FunEntryICFGNode, SVF::FunExitICFGNode, SVF::CallICFGNode, and SVF::RetICFGNode.
Definition at line 246 of file GenericGraph.h.
Reimplemented in SVF::SVFVar, SVF::ObjVar, SVF::GepValVar, and SVF::GepObjVar.
Definition at line 236 of file GenericGraph.h.
Definition at line 320 of file GenericGraph.h.
Definition at line 304 of file GenericGraph.h.
Helper functions to check node kinds.
Definition at line 263 of file GenericGraph.h.
Definition at line 271 of file GenericGraph.h.
Definition at line 344 of file GenericGraph.h.
Definition at line 352 of file GenericGraph.h.
Definition at line 296 of file GenericGraph.h.
Definition at line 336 of file GenericGraph.h.
Definition at line 328 of file GenericGraph.h.
Definition at line 279 of file GenericGraph.h.
Definition at line 288 of file GenericGraph.h.
Definition at line 312 of file GenericGraph.h.
Definition at line 241 of file GenericGraph.h.
const std::string SVF::SVFBaseNode::valueOnlyToString | ( | ) | const |
Definition at line 746 of file LLVMUtil.cpp.
|
protected |
Node ID.
Definition at line 255 of file GenericGraph.h.
|
protected |
Node kind.
Definition at line 256 of file GenericGraph.h.
|
protected |
Source code information of this value.
Definition at line 259 of file GenericGraph.h.
SVF type.
Definition at line 257 of file GenericGraph.h.