|
Static Value-Flow Analysis
|
#include <SVFValue.h>
Public Types | |
| enum | GNodeK { IntraBlock , GlobalBlock , FunEntryBlock , FunExitBlock , FunCallBlock , FunRetBlock , ValNode , ArgValNode , FunValNode , GepValNode , RetValNode , VarargValNode , GlobalValNode , ConstDataValNode , BlackHoleValNode , ConstFPValNode , ConstIntValNode , ConstNullptrValNode , DummyValNode , IntrinsicValNode , AsmPCValNode , ObjNode , GepObjNode , BaseObjNode , FunObjNode , HeapObjNode , StackObjNode , GlobalObjNode , 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 , 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 42 of file SVFValue.h.
Definition at line 47 of file SVFValue.h.
Definition at line 152 of file SVFValue.h.
|
inline |
|
inlinevirtual |
Reimplemented in SVF::CallGraphNode, and SVF::CHNode.
Definition at line 184 of file SVFValue.h.
|
inline |
|
inlinevirtual |
Reimplemented in SVF::CallICFGNode, SVF::FunEntryICFGNode, SVF::FunExitICFGNode, SVF::GlobalICFGNode, and SVF::RetICFGNode.
Definition at line 194 of file SVFValue.h.
|
inlinevirtual |
Reimplemented in SVF::BaseObjVar, SVF::GepObjVar, and SVF::GepValVar.
Definition at line 169 of file SVFValue.h.
| SVF_WEAK const bool SVFValue::hasLLVMValue | ( | ) | const |
Definition at line 766 of file LLVMUtil.cpp.
|
inlinestaticprotected |
Definition at line 287 of file SVFValue.h.
|
inlinestaticprotected |
Definition at line 263 of file SVFValue.h.
|
inlinestaticprotected |
Definition at line 271 of file SVFValue.h.
|
inlinestaticprotected |
Definition at line 247 of file SVFValue.h.
|
inlinestaticprotected |
Helper functions to check node kinds.
Definition at line 213 of file SVFValue.h.
|
inlinestaticprotected |
Definition at line 221 of file SVFValue.h.
|
inlinestaticprotected |
Definition at line 311 of file SVFValue.h.
|
inlinestaticprotected |
Definition at line 319 of file SVFValue.h.
|
inlinestaticprotected |
Definition at line 255 of file SVFValue.h.
|
inlinestaticprotected |
Definition at line 303 of file SVFValue.h.
|
inlinestaticprotected |
Definition at line 295 of file SVFValue.h.
|
inlinestaticprotected |
Definition at line 229 of file SVFValue.h.
|
inlinestaticprotected |
Definition at line 238 of file SVFValue.h.
|
inlinestaticprotected |
Definition at line 279 of file SVFValue.h.
|
inlinevirtual |
Definition at line 174 of file SVFValue.h.
|
inlinevirtual |
Definition at line 179 of file SVFValue.h.
|
inlinevirtual |
Definition at line 189 of file SVFValue.h.
| SVF_WEAK const std::string SVFValue::valueOnlyToString | ( | ) | const |
Definition at line 747 of file LLVMUtil.cpp.
|
protected |
Node ID.
Definition at line 204 of file SVFValue.h.
|
protected |
Definition at line 208 of file SVFValue.h.
|
protected |
Node kind.
Definition at line 205 of file SVFValue.h.
|
protected |
Source code information of this value.
Definition at line 209 of file SVFValue.h.
|
protected |
SVF type.
Definition at line 206 of file SVFValue.h.