|
Static Value-Flow Analysis
|
#include <ICFGNode.h>
Public Member Functions | |
| FunEntryICFGNode (NodeID id, const FunObjVar *f) | |
| const FunObjVar * | getFun () const override |
| Return function. | |
| const FormalParmNodeVec & | getFormalParms () const |
| Return the set of formal parameters. | |
| void | addFormalParms (const SVFVar *fp) |
| Add formal parameters. | |
| const std::string | toString () const override |
| const std::string | getSourceLoc () const override |
| Public Member Functions inherited from SVF::InterICFGNode | |
| InterICFGNode (NodeID id, ICFGNodeK k) | |
| Constructor. | |
| Public Member Functions inherited from SVF::ICFGNode | |
| ICFGNode (NodeID i, GNodeK k) | |
| Constructor. | |
| virtual const SVFBasicBlock * | getBB () const |
| Return the basic block of this ICFGNode. | |
| void | dump () const |
| void | addVFGNode (const VFGNode *vfgNode) |
| const VFGNodeList & | getVFGNodes () const |
| void | addSVFStmt (const SVFStmt *edge) |
| const SVFStmtList & | getSVFStmts () const |
| Public Member Functions inherited from SVF::GenericNode< ICFGNode, ICFGEdge > | |
| 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) |
| Public Member Functions inherited from SVF::SVFValue | |
| 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) |
| const std::string | valueOnlyToString () const |
| const bool | hasLLVMValue () const |
Static Public Member Functions | |
| static bool | classof (const FunEntryICFGNode *) |
| Methods for support type inquiry through isa, cast, and dyn_cast: | |
| static bool | classof (const InterICFGNode *node) |
| static bool | classof (const ICFGNode *node) |
| static bool | classof (const GenericICFGNodeTy *node) |
| static bool | classof (const SVFValue *node) |
| Static Public Member Functions inherited from SVF::InterICFGNode | |
| static bool | classof (const InterICFGNode *) |
| Methods for support type inquiry through isa, cast, and dyn_cast: | |
| static bool | classof (const ICFGNode *node) |
| static bool | classof (const GenericICFGNodeTy *node) |
| static bool | classof (const SVFValue *node) |
| Static Public Member Functions inherited from SVF::ICFGNode | |
| static bool | classof (const ICFGNode *) |
| static bool | classof (const GenericICFGNodeTy *node) |
| static bool | classof (const SVFValue *node) |
| Static Public Member Functions inherited from SVF::GenericNode< ICFGNode, ICFGEdge > | |
| static bool | classof (const GenericNode< ICFGNode, ICFGEdge > *) |
| static bool | classof (const SVFValue *) |
Private Attributes | |
| FormalParmNodeVec | FPNodes |
Friends | |
| class | GraphDBClient |
Additional Inherited Members | |
| Static Protected Member Functions inherited from SVF::SVFValue | |
| 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 inherited from SVF::ICFGNode | |
| const FunObjVar * | fun |
| const SVFBasicBlock * | bb |
| VFGNodeList | VFGNodes |
| SVFStmtList | pagEdges |
| Protected Attributes inherited from SVF::SVFValue | |
| 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. | |
Function entry ICFGNode containing a set of FormalParmVFGNodes of a function
Definition at line 272 of file ICFGNode.h.
| typedef std::vector<const SVFVar *> SVF::FunEntryICFGNode::FormalParmNodeVec |
Definition at line 277 of file ICFGNode.h.
Definition at line 40 of file ICFG.cpp.
|
inline |
Add formal parameters.
Definition at line 297 of file ICFGNode.h.
|
inlinestatic |
Methods for support type inquiry through isa, cast, and dyn_cast:
Definition at line 304 of file ICFGNode.h.
|
inlinestatic |
Definition at line 319 of file ICFGNode.h.
|
inlinestatic |
Definition at line 314 of file ICFGNode.h.
|
inlinestatic |
Definition at line 309 of file ICFGNode.h.
|
inlinestatic |
Definition at line 324 of file ICFGNode.h.
|
inline |
Return the set of formal parameters.
Definition at line 291 of file ICFGNode.h.
|
inlineoverridevirtual |
|
overridevirtual |
Reimplemented from SVF::SVFValue.
|
overridevirtual |
Reimplemented from SVF::ICFGNode.
Definition at line 88 of file ICFG.cpp.
|
friend |
Definition at line 274 of file ICFGNode.h.
|
private |
Definition at line 279 of file ICFGNode.h.