Static Value-Flow Analysis
Loading...
Searching...
No Matches
SVF::LoadCGEdge Class Reference

#include <ConsGEdge.h>

Inheritance diagram for SVF::LoadCGEdge:
SVF::ConstraintEdge SVF::GenericEdge< ConstraintNode >

Public Member Functions

 LoadCGEdge (ConstraintNode *s, ConstraintNode *d, EdgeID id)
 Constructor.
Public Member Functions inherited from SVF::ConstraintEdge
 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< ConstraintNode >
 GenericEdge (ConstraintNode *s, ConstraintNode *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 LoadCGEdge *)
 Methods for support type inquiry through isa, cast, and dyn_cast:
static bool classof (const ConstraintEdge *edge)
static bool classof (const GenericConsEdgeTy *edge)
Static Public Member Functions inherited from SVF::ConstraintEdge
static bool classof (const GenericConsEdgeTy *edge)
 ClassOf.

Private Member Functions

 LoadCGEdge ()
 place holder
 LoadCGEdge (const LoadCGEdge &)
 place holder
void operator= (const LoadCGEdge &)
 place holder

Additional Inherited Members

Public Types inherited from SVF::ConstraintEdge
enum  ConstraintEdgeK {
  Addr , Copy , Store , Load ,
  NormalGep , VariantGep
}
typedef GenericNode< ConstraintNode, ConstraintEdge >::GEdgeSetTy ConstraintEdgeSetTy
 Constraint edge type.
Public Types inherited from SVF::GenericEdge< ConstraintNode >
typedef ConstraintNode 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< ConstraintNode >
static constexpr unsigned char EdgeKindMaskBits
 We use the lower 8 bits to denote edge kind.
static constexpr u64_t EdgeKindMask

Detailed Description

Load edge

Definition at line 191 of file ConsGEdge.h.

Constructor & Destructor Documentation

◆ LoadCGEdge() [1/3]

SVF::LoadCGEdge::LoadCGEdge ( )
private

place holder

◆ LoadCGEdge() [2/3]

SVF::LoadCGEdge::LoadCGEdge ( const LoadCGEdge & )
private

place holder

◆ LoadCGEdge() [3/3]

SVF::LoadCGEdge::LoadCGEdge ( ConstraintNode * s,
ConstraintNode * d,
EdgeID id )
inline

Constructor.

Definition at line 216 of file ConsGEdge.h.

216 : ConstraintEdge(s,d,Load,id)
217 {
218 }
ConstraintEdge(ConstraintNode *s, ConstraintNode *d, ConstraintEdgeK k, EdgeID id=0)
Constructor.
Definition ConsGEdge.h:62

Member Function Documentation

◆ classof() [1/3]

bool SVF::LoadCGEdge::classof ( const ConstraintEdge * edge)
inlinestatic

Definition at line 205 of file ConsGEdge.h.

206 {
207 return edge->getEdgeKind() == Load;
208 }

◆ classof() [2/3]

bool SVF::LoadCGEdge::classof ( const GenericConsEdgeTy * edge)
inlinestatic

Definition at line 209 of file ConsGEdge.h.

210 {
211 return edge->getEdgeKind() == Load;
212 }

◆ classof() [3/3]

bool SVF::LoadCGEdge::classof ( const LoadCGEdge * )
inlinestatic

Methods for support type inquiry through isa, cast, and dyn_cast:

Definition at line 201 of file ConsGEdge.h.

202 {
203 return true;
204 }

◆ operator=()

void SVF::LoadCGEdge::operator= ( const LoadCGEdge & )
private

place holder


The documentation for this class was generated from the following file: