|
| | ActualParmVFGNode (NodeID id, const PAGNode *n, const CallICFGNode *c) |
| | Constructor.
|
| |
| const CallICFGNode * | getCallSite () const |
| | Return callsite.
|
| |
| const PAGNode * | getParam () const |
| | Return parameter.
|
| |
| const NodeBS | getDefSVFVars () const override |
| | Return the left hand side SVF Vars.
|
| |
| const std::string | toString () const override |
| |
| | ArgumentVFGNode (NodeID id, const PAGNode *p, VFGNodeK k) |
| | Constructor.
|
| |
| bool | isPTANode () const |
| | Whether this argument node is of pointer type (used for pointer analysis).
|
| |
| const SVFVar * | getValue () const override |
| | Return the corresponding LLVM value, if possible, nullptr otherwise.
|
| |
| const std::string | toString () const override |
| |
| | VFGNode (NodeID i, VFGNodeK k) |
| | Constructor.
|
| |
| virtual const ICFGNode * | getICFGNode () const |
| | Return corresponding ICFG node.
|
| |
| virtual void | setICFGNode (const ICFGNode *node) |
| | Set corresponding ICFG node.
|
| |
| virtual const FunObjVar * | getFun () const |
| | Get the function of this SVFGNode.
|
| |
| | GenericNode (NodeID i, GNodeK k, const SVFType *svfType=nullptr) |
| | Constructor.
|
| |
| virtual | ~GenericNode () |
| | Destructor.
|
| |
| bool | hasIncomingEdge () const |
| | Has incoming/outgoing edge set.
|
| |
| bool | hasOutgoingEdge () const |
| |
| iterator | OutEdgeBegin () |
| | iterators
|
| |
| iterator | OutEdgeEnd () |
| |
| iterator | InEdgeBegin () |
| |
| iterator | InEdgeEnd () |
| |
| const_iterator | OutEdgeBegin () const |
| |
| const_iterator | OutEdgeEnd () const |
| |
| const_iterator | InEdgeBegin () const |
| |
| const_iterator | InEdgeEnd () const |
| |
| virtual iterator | directOutEdgeBegin () |
| | Iterators used for SCC detection, overwrite it in child class if necessary.
|
| |
| virtual iterator | directOutEdgeEnd () |
| |
| virtual iterator | directInEdgeBegin () |
| |
| virtual iterator | directInEdgeEnd () |
| |
| virtual const_iterator | directOutEdgeBegin () const |
| |
| virtual const_iterator | directOutEdgeEnd () const |
| |
| virtual const_iterator | directInEdgeBegin () const |
| |
| virtual const_iterator | directInEdgeEnd () const |
| |
| bool | addIncomingEdge (EdgeType *inEdge) |
| | Add incoming and outgoing edges.
|
| |
| bool | addOutgoingEdge (EdgeType *outEdge) |
| |
| EdgeType * | hasIncomingEdge (EdgeType *edge) const |
| | Find incoming and outgoing edges.
|
| |
| EdgeType * | hasOutgoingEdge (EdgeType *edge) const |
| |
| const GEdgeSetTy & | getOutEdges () const |
| |
| const GEdgeSetTy & | getInEdges () const |
| |
| u32_t | removeIncomingEdge (EdgeType *edge) |
| |
| u32_t | removeOutgoingEdge (EdgeType *edge) |
| |
| | 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 |
| |
|
| typedef GNodeK | VFGNodeK |
| |
| typedef VFGEdge::VFGEdgeSetTy::iterator | iterator |
| |
| typedef VFGEdge::VFGEdgeSetTy::const_iterator | const_iterator |
| |
| typedef Set< const CallPE * > | CallPESet |
| |
| typedef Set< const RetPE * > | RetPESet |
| |
| 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 |
| |
| enum | GNodeK {
IntraBlock
, GlobalBlock
, FunEntryBlock
, FunExitBlock
,
FunCallBlock
, FunRetBlock
, ValNode
, ArgValNode
,
FunValNode
, GepValNode
, RetValNode
, VarargValNode
,
GlobalValNode
, ConstAggValNode
, ConstDataValNode
, BlackHoleValNode
,
ConstFPValNode
, ConstIntValNode
, ConstNullptrValNode
, DummyValNode
,
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
} |
| |
| 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) |
| |
| const PAGNode * | param |
| |
| const ICFGNode * | icfgNode |
| |
| 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 891 of file VFGNode.h.