Static Value-Flow Analysis
|
#include <ConsGEdge.h>
Public Types | |
enum | ConstraintEdgeK { Addr , Copy , Store , Load , NormalGep , VariantGep } |
typedef GenericNode< ConstraintNode, ConstraintEdge >::GEdgeSetTy | ConstraintEdgeSetTy |
Constraint edge type. | |
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) | |
Public Member Functions | |
ConstraintEdge (ConstraintNode *s, ConstraintNode *d, ConstraintEdgeK k, EdgeID id=0) | |
Constructor. | |
~ConstraintEdge () | |
Destructor. | |
EdgeID | getEdgeID () const |
Return edge ID. | |
Public Member Functions inherited from SVF::GenericEdge< NodeTy > | |
GenericEdge (NodeTy *s, NodeTy *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 GenericConsEdgeTy *edge) |
ClassOf. | |
Private Attributes | |
EdgeID | edgeId |
Additional Inherited Members | |
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) |
Definition at line 48 of file ConsGEdge.h.
typedef GenericNode<ConstraintNode,ConstraintEdge>::GEdgeSetTy SVF::ConstraintEdge::ConstraintEdgeSetTy |
Constraint edge type.
Definition at line 85 of file ConsGEdge.h.
five kinds of constraint graph edges Gep edge is used for field sensitivity
Enumerator | |
---|---|
Addr | |
Copy | |
Store | |
Load | |
NormalGep | |
VariantGep |
Definition at line 54 of file ConsGEdge.h.
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
private |
Definition at line 59 of file ConsGEdge.h.