|
static SegmentObj * | createSegmentObj (SegmentType type) |
|
◆ isValidOffset()
virtual bool Sci::SegmentObj::isValidOffset |
( |
uint32 |
offset | ) |
const |
|
pure virtual |
Check whether the given offset into this memory object is valid, i.e., suitable for passing to dereference.
Implemented in Sci::DynMem, Sci::SegmentObjTable< T >, Sci::SegmentObjTable< Node >, Sci::SegmentObjTable< Clone >, Sci::SegmentObjTable< Hunk >, Sci::SegmentObjTable< List >, Sci::DataStack, Sci::LocalVariables, and Sci::Script.
◆ dereference()
◆ 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 in Sci::DynMem, Sci::DataStack, Sci::LocalVariables, and Sci::Script.
◆ freeAtAddress()
virtual void Sci::SegmentObj::freeAtAddress |
( |
SegManager * |
segMan, |
|
|
reg_t |
sub_addr |
|
) |
| |
|
inlinevirtual |
◆ listAllDeallocatable()
virtual Common::Array<reg_t> Sci::SegmentObj::listAllDeallocatable |
( |
SegmentId |
segId | ) |
const |
|
inlinevirtual |
◆ listAllOutgoingReferences()
The documentation for this struct was generated from the following file: