Static Value-Flow Analysis
|
#include <GenericGraph.h>
Classes | |
struct | equalGEdge |
Add the hash function for std::set (we also can overload operator< to implement this) More... | |
Public Types | |
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 | |
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 Protected Attributes | |
static constexpr unsigned char | EdgeKindMaskBits = 8 |
We use the lower 8 bits to denote edge kind. | |
static constexpr u64_t | EdgeKindMask = (~0ULL) >> (64 - EdgeKindMaskBits) |
Private Attributes | |
NodeTy * | src |
source node | |
NodeTy * | dst |
destination node | |
GEdgeFlag | edgeFlag |
edge kind | |
Friends | |
class | SVFIRWriter |
class | SVFIRReader |
Generic edge on the graph as base class
Definition at line 49 of file GenericGraph.h.
typedef struct SVF::GenericEdge::equalGEdge SVF::GenericEdge< NodeTy >::equalGEdge |
Add the hash function for std::set (we also can overload operator< to implement this)
Edge Flag Edge format as follows (from lowest bit): (1) 0-7 bits encode an edge kind (allow maximum 16 kinds) (2) 8-63 bits encode a callsite instruction
Definition at line 61 of file GenericGraph.h.
Definition at line 62 of file GenericGraph.h.
Node type.
Definition at line 56 of file GenericGraph.h.
|
inline |
|
inlinevirtual |
|
inline |
Definition at line 85 of file GenericGraph.h.
|
inline |
Definition at line 101 of file GenericGraph.h.
|
inline |
Definition at line 89 of file GenericGraph.h.
|
inline |
Definition at line 93 of file GenericGraph.h.
|
inline |
get methods of the components
Definition at line 81 of file GenericGraph.h.
|
inline |
Definition at line 97 of file GenericGraph.h.
|
inlinevirtual |
|
friend |
Definition at line 52 of file GenericGraph.h.
|
friend |
Definition at line 51 of file GenericGraph.h.
|
private |
destination node
Definition at line 65 of file GenericGraph.h.
|
private |
edge kind
Definition at line 66 of file GenericGraph.h.
|
staticconstexprprotected |
Definition at line 133 of file GenericGraph.h.
|
staticconstexprprotected |
We use the lower 8 bits to denote edge kind.
Definition at line 132 of file GenericGraph.h.
|
private |
source node
Definition at line 64 of file GenericGraph.h.