|
Static Value-Flow Analysis
|
#include <SparseObjGraph.h>
Public Member Functions | |
| SparseObjEdge (SparseObjNode *source, SparseObjNode *target, const NodeBS *bases) | |
| const NodeBS & | getBases () const |
| Base Obj IDs routed over this edge; each base carries all its fields. | |
| std::string | toString () const |
| Public Member Functions inherited from SVF::GenericEdge< SparseObjNode > | |
| GenericEdge (SparseObjNode *s, SparseObjNode *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 | |
| const NodeBS * | bases |
Friends | |
| class | SparseObjGraph |
Additional Inherited Members | |
| Public Types inherited from SVF::GenericEdge< SparseObjNode > | |
| typedef SparseObjNode | 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< SparseObjNode > | |
| static constexpr unsigned char | EdgeKindMaskBits |
| We use the lower 8 bits to denote edge kind. | |
| static constexpr u64_t | EdgeKindMask |
An edge carries a set of packed base Objs from the source ICFG location to the target ICFG location. The set (label) is interned: edges routing the same bases share one NodeBS.
Definition at line 25 of file SparseObjGraph.h.
|
inline |
Definition at line 28 of file SparseObjGraph.h.
|
inline |
Base Obj IDs routed over this edge; each base carries all its fields.
Definition at line 33 of file SparseObjGraph.h.
| std::string SparseObjEdge::toString | ( | ) | const |
Definition at line 31 of file SparseObjGraph.cpp.
|
friend |
Definition at line 40 of file SparseObjGraph.h.
|
private |
Definition at line 41 of file SparseObjGraph.h.