Static Value-Flow Analysis
Public Member Functions | Static Public Member Functions | Private Member Functions | List of all members
SVF::CopyCGEdge Class Reference

#include <ConsGEdge.h>

Inheritance diagram for SVF::CopyCGEdge:
SVF::ConstraintEdge SVF::GenericEdge< NodeTy >

Public Member Functions

 CopyCGEdge (ConstraintNode *s, ConstraintNode *d, EdgeID id)
 constructor More...
 
- Public Member Functions inherited from SVF::ConstraintEdge
 ConstraintEdge (ConstraintNode *s, ConstraintNode *d, ConstraintEdgeK k, EdgeID id=0)
 Constructor. More...
 
 ~ConstraintEdge ()
 Destructor. More...
 
EdgeID getEdgeID () const
 Return edge ID. More...
 
- Public Member Functions inherited from SVF::GenericEdge< NodeTy >
 GenericEdge (NodeTy *s, NodeTy *d, GEdgeFlag k)
 Constructor. More...
 
virtual ~GenericEdge ()
 Destructor. More...
 
NodeID getSrcID () const
 get methods of the components More...
 
NodeID getDstID () const
 
GEdgeKind getEdgeKind () const
 
GEdgeKind getEdgeKindWithoutMask () const
 
NodeTypegetSrcNode () const
 
NodeTypegetDstNode () const
 
virtual bool operator== (const GenericEdge< NodeType > *rhs) const
 

Static Public Member Functions

static bool classof (const CopyCGEdge *)
 Methods for support type inquiry through isa, cast, and dyn_cast: More...
 
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. More...
 

Private Member Functions

 CopyCGEdge ()
 place holder More...
 
 CopyCGEdge (const CopyCGEdge &)
 place holder More...
 
void operator= (const CopyCGEdge &)
 place holder More...
 

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. More...
 
- Public Types inherited from SVF::GenericEdge< NodeTy >
typedef NodeTy NodeType
 Node type. More...
 
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) More...
 
- Static Protected Attributes inherited from SVF::GenericEdge< NodeTy >
static constexpr unsigned char EdgeKindMaskBits = 8
 We use the lower 8 bits to denote edge kind. More...
 
static constexpr u64_t EdgeKindMask = (~0ULL) >> (64 - EdgeKindMaskBits)
 

Detailed Description

Copy edge

Definition at line 124 of file ConsGEdge.h.

Constructor & Destructor Documentation

◆ CopyCGEdge() [1/3]

SVF::CopyCGEdge::CopyCGEdge ( )
private

place holder

◆ CopyCGEdge() [2/3]

SVF::CopyCGEdge::CopyCGEdge ( const CopyCGEdge )
private

place holder

◆ CopyCGEdge() [3/3]

SVF::CopyCGEdge::CopyCGEdge ( ConstraintNode s,
ConstraintNode d,
EdgeID  id 
)
inline

constructor

Definition at line 148 of file ConsGEdge.h.

148  : ConstraintEdge(s,d,Copy,id)
149  {
150  }
ConstraintEdge(ConstraintNode *s, ConstraintNode *d, ConstraintEdgeK k, EdgeID id=0)
Constructor.
Definition: ConsGEdge.h:62

Member Function Documentation

◆ classof() [1/3]

static bool SVF::CopyCGEdge::classof ( const ConstraintEdge edge)
inlinestatic

Definition at line 137 of file ConsGEdge.h.

138  {
139  return edge->getEdgeKind() == Copy;
140  }

◆ classof() [2/3]

static bool SVF::CopyCGEdge::classof ( const CopyCGEdge )
inlinestatic

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

Definition at line 133 of file ConsGEdge.h.

134  {
135  return true;
136  }

◆ classof() [3/3]

static bool SVF::CopyCGEdge::classof ( const GenericConsEdgeTy edge)
inlinestatic

Definition at line 141 of file ConsGEdge.h.

142  {
143  return edge->getEdgeKind() == Copy;
144  }

◆ operator=()

void SVF::CopyCGEdge::operator= ( const CopyCGEdge )
private

place holder


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