|
Static Value-Flow Analysis
|
#include <SVFStatements.h>
Public Types | |
| typedef std::vector< const ICFGNode * > | OpICFGNodeVec |
Public Types inherited from SVF::MultiOpndStmt | |
| typedef std::vector< SVFVar * > | OPVars |
Public Types inherited from SVF::SVFStmt | |
| enum | PEDGEK { Addr , Copy , Store , Load , Call , Ret , Gep , Phi , Select , Cmp , BinaryOp , UnaryOp , Branch , ThreadFork , ThreadJoin } |
| typedef GenericNode< SVFVar, SVFStmt >::GEdgeSetTy | SVFStmtSetTy |
| typedef Map< EdgeID, SVFStmtSetTy > | PAGEdgeToSetMapTy |
| typedef PAGEdgeToSetMapTy | KindToSVFStmtMapTy |
| typedef SVFStmtSetTy | PAGEdgeSetTy |
Public Types inherited from SVF::GenericEdge< NodeTy > | |
| typedef NodeTy | NodeType |
| Node type. | |
| typedef u64_t | GEdgeFlag |
| typedef s64_t | GEdgeKind |
| typedef struct SVF::GenericEdge::equalGEdge | equalGEdge |
| Add the hash function for std::set (we also can overload operator< to implement this) | |
Private Member Functions | |
| PhiStmt (const PhiStmt &) | |
| place holder | |
| void | operator= (const PhiStmt &) |
| place holder | |
Private Attributes | |
| OpICFGNodeVec | opICFGNodes |
Friends | |
| class | GraphDBClient |
Additional Inherited Members | |
Protected Member Functions inherited from SVF::MultiOpndStmt | |
| MultiOpndStmt (SVFVar *r, const OPVars &opnds, GEdgeFlag k) | |
| Constructor, only used by subclasses but not external users. | |
Protected Member Functions inherited from SVF::SVFStmt | |
| SVFStmt (GEdgeFlag k) | |
| Private constructor for reading SVFIR from file without side-effect. | |
| SVFStmt (SVFVar *s, SVFVar *d, GEdgeFlag k, EdgeID eid, SVFVar *value, ICFGNode *icfgNode, bool real=true) | |
| void | setBasicBlock (const SVFBasicBlock *bb) |
| void | setCallEdgeLabelCounter (u64_t counter) |
| void | setStoreEdgeLabelCounter (u64_t counter) |
| void | setMultiOpndLabelCounter (u64_t counter) |
Static Protected Member Functions inherited from SVF::SVFStmt | |
| static void | addInst2Labeled (const ICFGNode *cs, u32_t label) |
| static void | addVar2Labeled (const SVFVar *var, u32_t label) |
Protected Attributes inherited from SVF::MultiOpndStmt | |
| OPVars | opVars |
Static Protected Attributes inherited from SVF::GenericEdge< NodeTy > | |
| static constexpr unsigned char | EdgeKindMaskBits = 8 |
| We use the lower 8 bits to denote edge kind. | |
| static constexpr u64_t | EdgeKindMask = (~0ULL) >> (64 - EdgeKindMaskBits) |
Phi statement (e.g., p = phi(q,r) which receives values from variables q and r from different paths) it is typically at a joint point of the control-flow graph
Definition at line 866 of file SVFStatements.h.
| typedef std::vector<const ICFGNode*> SVF::PhiStmt::OpICFGNodeVec |
Definition at line 870 of file SVFStatements.h.
|
inline |
constructor
Definition at line 900 of file SVFStatements.h.
Definition at line 906 of file SVFStatements.h.
|
inlinestatic |
Definition at line 893 of file SVFStatements.h.
|
inlinestatic |
Definition at line 889 of file SVFStatements.h.
Methods for support type inquiry through isa, cast, and dyn_cast:
Definition at line 881 of file SVFStatements.h.
Definition at line 885 of file SVFStatements.h.
Return the corresponding ICFGNode of this operand.
Definition at line 927 of file SVFStatements.h.
|
inline |
Definition at line 921 of file SVFStatements.h.
| bool PhiStmt::isFunctionRetPhi | ( | ) | const |
Return true if this is a phi at the function exit to receive one or multiple return values of this function
Definition at line 315 of file SVFStatements.cpp.
|
inline |
Definition at line 914 of file SVFStatements.h.
|
overridevirtual |
Reimplemented from SVF::SVFStmt.
Definition at line 110 of file SVFStatements.cpp.
Definition at line 868 of file SVFStatements.h.
|
private |
Definition at line 876 of file SVFStatements.h.