|
Static Value-Flow Analysis
|
#include <ICFGEdge.h>
Public Member Functions | |
| CallCFGEdge (ICFGNode *s, ICFGNode *d) | |
| Constructor. | |
| void | addCallPE (const CallPE *callPE) |
| Add call parameter edge to this CallCFGEdge. | |
| const CallICFGNode * | getCallSite () const |
| Return call ICFGNode at the callsite. | |
| const std::vector< const CallPE * > & | getCallPEs () const |
| Add get parameter edge to this CallCFGEdge. | |
| virtual const std::string | toString () const |
| Public Member Functions inherited from SVF::ICFGEdge | |
| ICFGEdge (ICFGNode *s, ICFGNode *d, GEdgeFlag k) | |
| Constructor. | |
| ~ICFGEdge () | |
| Destructor. | |
| bool | isCFGEdge () const |
| Get methods of the components. | |
| bool | isCallCFGEdge () const |
| bool | isRetCFGEdge () const |
| bool | isIntraCFGEdge () const |
| Public Member Functions inherited from SVF::GenericEdge< ICFGNode > | |
| GenericEdge (ICFGNode *s, ICFGNode *d, GEdgeFlag k) | |
| Constructor. | |
| virtual | ~GenericEdge () |
| Destructor. | |
| NodeID | getSrcID () const |
| get methods of the components | |
| NodeID | getDstID () const |
| GEdgeKind | getEdgeKind () const |
| GEdgeKind | getEdgeKindWithoutMask () const |
| NodeType * | getSrcNode () const |
| NodeType * | getDstNode () const |
| virtual bool | operator== (const GenericEdge< NodeType > *rhs) const |
Static Public Member Functions | |
| static bool | classof (const CallCFGEdge *) |
| Methods for support type inquiry through isa, cast, and dyn_cast: | |
| static bool | classof (const ICFGEdge *edge) |
| static bool | classof (const GenericICFGEdgeTy *edge) |
| Static Public Member Functions inherited from SVF::ICFGEdge | |
| static GEdgeFlag | makeEdgeFlagWithInvokeID (GEdgeKind k, CallSiteID cs) |
| Compute the unique edgeFlag value from edge kind and CallSiteID. | |
Private Attributes | |
| std::vector< const CallPE * > | callPEs |
Additional Inherited Members | |
| Public Types inherited from SVF::ICFGEdge | |
| enum | ICFGEdgeK { IntraCF , CallCF , RetCF } |
| typedef ICFGEdgeK | SVFGEdgeK |
| typedef GenericNode< ICFGNode, ICFGEdge >::GEdgeSetTy | ICFGEdgeSetTy |
| typedef ICFGEdgeSetTy | SVFGEdgeSetTy |
| Public Types inherited from SVF::GenericEdge< ICFGNode > | |
| typedef ICFGNode | 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). | |
| Static Protected Attributes inherited from SVF::GenericEdge< ICFGNode > | |
| static constexpr unsigned char | EdgeKindMaskBits |
| We use the lower 8 bits to denote edge kind. | |
| static constexpr u64_t | EdgeKindMask |
Call ICFG edge representing parameter passing/return from a caller to a callee
Definition at line 179 of file ICFGEdge.h.
Constructor.
Definition at line 187 of file ICFGEdge.h.
|
inline |
Add call parameter edge to this CallCFGEdge.
Definition at line 192 of file ICFGEdge.h.
|
inlinestatic |
Methods for support type inquiry through isa, cast, and dyn_cast:
Definition at line 209 of file ICFGEdge.h.
|
inlinestatic |
Definition at line 217 of file ICFGEdge.h.
|
inlinestatic |
Definition at line 213 of file ICFGEdge.h.
|
inline |
Add get parameter edge to this CallCFGEdge.
Definition at line 203 of file ICFGEdge.h.
|
inline |
Return call ICFGNode at the callsite.
Definition at line 197 of file ICFGEdge.h.
|
virtual |
Reimplemented from SVF::ICFGEdge.
Definition at line 175 of file ICFG.cpp.
|
private |
Definition at line 183 of file ICFGEdge.h.