Memory Region class.
More...
#include <MemRegion.h>
Memory Region class.
Definition at line 59 of file MemRegion.h.
◆ Condition
◆ equalMemRegion
| typedef struct SVF::MemRegion::equalMemRegion SVF::MemRegion::equalMemRegion |
add the hash function here to sort elements and remove and remove duplicated element in the set (binary tree comparison)
◆ MemRegion()
| SVF::MemRegion::MemRegion |
( |
const NodeBS & | cp | ) |
|
|
inline |
Constructor.
Definition at line 72 of file MemRegion.h.
72 :
74 {
75 }
static u32_t totalMRNum
region ID 0 is reserved
◆ ~MemRegion()
| SVF::MemRegion::~MemRegion |
( |
| ) |
|
|
inline |
◆ dumpStr()
| std::string SVF::MemRegion::dumpStr |
( |
| ) |
const |
|
inline |
Dump string.
Definition at line 97 of file MemRegion.h.
98 {
99 std::string str;
100 str += "pts{";
102 ii != ie; ii++)
103 {
104 char int2str[16];
105 snprintf(int2str, sizeof(int2str), "%d", *ii);
106 str += int2str;
107 str += " ";
108 }
109 str += "}";
110 return str;
111 }
SparseBitVectorIterator iterator
◆ getMRID()
| MRID SVF::MemRegion::getMRID |
( |
| ) |
const |
|
inline |
Return memory region ID.
Definition at line 82 of file MemRegion.h.
◆ getPointsTo()
| const NodeBS & SVF::MemRegion::getPointsTo |
( |
| ) |
const |
|
inline |
◆ getRegionSize()
| u32_t SVF::MemRegion::getRegionSize |
( |
| ) |
const |
|
inline |
Return memory object number inside a region.
Definition at line 126 of file MemRegion.h.
◆ operator==()
| bool SVF::MemRegion::operator== |
( |
const MemRegion * | rhs | ) |
const |
|
inline |
Operator== overriding.
Definition at line 92 of file MemRegion.h.
93 {
95 }
const NodeBS & getPointsTo() const
Return points-to.
◆ cptsSet
| const NodeBS SVF::MemRegion::cptsSet |
|
private |
◆ rid
◆ totalMRNum
| u32_t MemRegion::totalMRNum = 0 |
|
staticprivate |
region ID 0 is reserved
Definition at line 66 of file MemRegion.h.
The documentation for this class was generated from the following files: