|
Static Value-Flow Analysis
|
#include <ICFGNode.h>
Public Member Functions | |
| RetICFGNode (NodeID id, CallICFGNode *cb) | |
| const CallICFGNode * | getCallICFGNode () const |
| const SVFVar * | getActualRet () const |
| Return actual return parameter. | |
| void | addActualRet (const SVFVar *ar) |
| Add actual return parameter. | |
| 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 FunObjVar * | getFun () const |
| Return the function of this ICFGNode. | |
| 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 RetICFGNode *) |
| 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 *) |
Protected Member Functions | |
| void | setCallBlockNode (const CallICFGNode *cb) |
| Add call block node from database for the new RetICFGNode [only used this function when loading from db results]. | |
Private Attributes | |
| const SVFVar * | actualRet |
| const CallICFGNode * | callBlockNode |
Friends | |
| class | GraphDBClient |
Return ICFGNode containing (at most one) ActualRetVFGNode at a callsite
Definition at line 593 of file ICFGNode.h.
|
inline |
Definition at line 609 of file ICFGNode.h.
|
inline |
Add actual return parameter.
Definition at line 631 of file ICFGNode.h.
|
inlinestatic |
Definition at line 653 of file ICFGNode.h.
|
inlinestatic |
Definition at line 648 of file ICFGNode.h.
|
inlinestatic |
Definition at line 643 of file ICFGNode.h.
|
inlinestatic |
Methods for support type inquiry through isa, cast, and dyn_cast:
Definition at line 638 of file ICFGNode.h.
|
inlinestatic |
Definition at line 657 of file ICFGNode.h.
|
inline |
Return actual return parameter.
Definition at line 625 of file ICFGNode.h.
|
inline |
Definition at line 620 of file ICFGNode.h.
|
inlineoverridevirtual |
|
inlineprotected |
Add call block node from database for the new RetICFGNode [only used this function when loading from db results].
Definition at line 599 of file ICFGNode.h.
|
overridevirtual |
Reimplemented from SVF::ICFGNode.
Definition at line 142 of file ICFG.cpp.
|
friend |
Definition at line 595 of file ICFGNode.h.
|
private |
Definition at line 605 of file ICFGNode.h.
|
private |
Definition at line 606 of file ICFGNode.h.