Static Value-Flow Analysis
|
#include <DCHG.h>
Public Types | |
enum | { INHERITANCE , INSTANCE , FIRST_FIELD , STD_DEF } |
typedef GenericNode< DCHNode, DCHEdge >::GEdgeSetTy | DCHEdgeSetTy |
Public Types inherited from SVF::GenericEdge< DCHNode > | |
typedef DCHNode | 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 | |
DCHEdge (DCHNode *src, DCHNode *dst, GEdgeFlag k=0) | |
u32_t | getConstantFieldIdx (void) const |
void | setOffset (u32_t offset) |
Public Member Functions inherited from SVF::GenericEdge< DCHNode > | |
GenericEdge (DCHNode *s, DCHNode *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 |
Private Attributes | |
u32_t | offset |
Additional Inherited Members | |
Static Protected Attributes inherited from SVF::GenericEdge< DCHNode > | |
static constexpr unsigned char | EdgeKindMaskBits |
We use the lower 8 bits to denote edge kind. | |
static constexpr u64_t | EdgeKindMask |
typedef GenericNode<DCHNode,DCHEdge>::GEdgeSetTy SVF::DCHEdge::DCHEdgeSetTy |
|
inline |
|
inline |