public abstract static class AbstractImageHeapLayouter.AbstractImageHeapPartition extends Object implements ImageHeapPartition
Constructor and Description |
---|
AbstractImageHeapPartition(String name,
boolean writable) |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the name of the partition.
|
long |
getOffsetInSection()
Returns the offset at which this partition will be placed in the specified ELF/PE/Mach-O
section.
|
String |
getSectionName()
Returns the name of the ELF/PE/Mach-O section to which this partition was assigned.
|
boolean |
isWritable()
Returns true if the partition is writable.
|
void |
setSection(String sectionName,
long offsetInSection)
Sets the ELF/PE/Mach-O file position where this partition will be placed.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addPadding, allocate, getSize
public AbstractImageHeapPartition(String name, boolean writable)
public String getName()
ImageHeapPartition
getName
in interface ImageHeapPartition
public boolean isWritable()
ImageHeapPartition
isWritable
in interface ImageHeapPartition
public void setSection(String sectionName, long offsetInSection)
ImageHeapPartition
setSection
in interface ImageHeapPartition
public String getSectionName()
ImageHeapPartition
getSectionName
in interface ImageHeapPartition
public long getOffsetInSection()
ImageHeapPartition
getOffsetInSection
in interface ImageHeapPartition