|
Static Value-Flow Analysis
|
#include <SVFValue.h>
Public Types | |
| enum | GNodeK { IntraBlock , GlobalBlock , FunEntryBlock , FunExitBlock , FunCallBlock , FunRetBlock , ValNode , ArgValNode , FunValNode , GepValNode , RetValNode , VarargValNode , GlobalValNode , ConstAggValNode , ConstDataValNode , BlackHoleValNode , ConstFPValNode , ConstIntValNode , ConstNullptrValNode , DummyValNode , IntrinsicValNode , BasicBlockValNode , AsmPCValNode , ObjNode , GepObjNode , BaseObjNode , FunObjNode , HeapObjNode , StackObjNode , GlobalObjNode , ConstAggObjNode , ConstDataObjNode , ConstFPObjNode , ConstIntObjNode , ConstNullptrObjNode , 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 , BasicBlockKd , OtherKd } |
Public Member Functions | |
| SVFValue (NodeID i, GNodeK k, const SVFType *ty=nullptr) | |
| NodeID | getId () const |
| Get ID. | |
| GNodeK | getNodeKind () const |
| Get node kind. | |
| virtual const SVFType * | getType () const |
| virtual void | setName (const std::string &nameInfo) |
| virtual void | setName (std::string &&nameInfo) |
| virtual const std::string & | getName () const |
| virtual void | setSourceLoc (const std::string &sourceCodeInfo) |
| virtual const std::string | getSourceLoc () const |
| const std::string | valueOnlyToString () const |
| const bool | hasLLVMValue () 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 | isConstantDataValVar (GNodeK n) |
| static bool | isObjVarKinds (GNodeK n) |
| static bool | isBaseObjVarKinds (GNodeK n) |
| static bool | isConstantDataObjVarKinds (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 | name |
| std::string | sourceLoc |
| Source code information of this value. | |
Definition at line 43 of file SVFValue.h.
Definition at line 48 of file SVFValue.h.
Definition at line 157 of file SVFValue.h.
|
inline |
Reimplemented in SVF::DCHNode, SVF::CallGraphNode, and SVF::CHNode.
Definition at line 189 of file SVFValue.h.
|
inline |
Reimplemented in SVF::GlobalICFGNode, SVF::FunEntryICFGNode, SVF::FunExitICFGNode, SVF::CallICFGNode, and SVF::RetICFGNode.
Definition at line 199 of file SVFValue.h.
Reimplemented in SVF::GepValVar, SVF::BaseObjVar, and SVF::GepObjVar.
Definition at line 174 of file SVFValue.h.
Definition at line 758 of file LLVMUtil.cpp.
Definition at line 292 of file SVFValue.h.
Definition at line 268 of file SVFValue.h.
Definition at line 276 of file SVFValue.h.
Definition at line 252 of file SVFValue.h.
Helper functions to check node kinds.
Definition at line 218 of file SVFValue.h.
Definition at line 226 of file SVFValue.h.
Definition at line 316 of file SVFValue.h.
Definition at line 324 of file SVFValue.h.
Definition at line 260 of file SVFValue.h.
Definition at line 308 of file SVFValue.h.
Definition at line 300 of file SVFValue.h.
Definition at line 234 of file SVFValue.h.
Definition at line 243 of file SVFValue.h.
Definition at line 284 of file SVFValue.h.
Definition at line 179 of file SVFValue.h.
|
inlinevirtual |
Definition at line 184 of file SVFValue.h.
Definition at line 194 of file SVFValue.h.
| const std::string SVF::SVFValue::valueOnlyToString | ( | ) | const |
Definition at line 739 of file LLVMUtil.cpp.
|
protected |
Node ID.
Definition at line 209 of file SVFValue.h.
|
protected |
Definition at line 213 of file SVFValue.h.
|
protected |
Node kind.
Definition at line 210 of file SVFValue.h.
|
protected |
Source code information of this value.
Definition at line 214 of file SVFValue.h.
SVF type.
Definition at line 211 of file SVFValue.h.