|
static SegmentObj * | createSegmentObj (SegmentType type) |
|
◆ isValidOffset()
bool Sci::DynMem::isValidOffset |
( |
uint32 |
offset | ) |
const |
|
inlineoverridevirtual |
Check whether the given offset into this memory object is valid, i.e., suitable for passing to dereference.
Implements Sci::SegmentObj.
◆ dereference()
Dereferences a raw memory pointer.
- Parameters
-
reg | reference to dereference |
- Returns
- the data block referenced
Reimplemented from Sci::SegmentObj.
◆ findCanonicAddress()
Finds the canonic address associated with sub_reg. Used by the garbage collector.
For each valid address a, there exists a canonic address c(a) such that c(a) = c(c(a)). This address "governs" a in the sense that deallocating c(a) will deallocate a.
- Parameters
-
sub_addr | base address whose canonic address is to be found |
Reimplemented from Sci::SegmentObj.
◆ listAllDeallocatable()
Iterates over and reports all addresses within the segment. Used by the garbage collector.
- Returns
- a list of addresses within the segment
Reimplemented from Sci::SegmentObj.
The documentation for this struct was generated from the following file: