public class MachOZeroFillSection extends MachOUserDefinedSection implements ObjectFile.NobitsSectionImpl
impl| Constructor and Description |
|---|
MachOZeroFillSection(MachOObjectFile owner,
String name,
MachOObjectFile.Segment64Command segment,
ObjectFile.NobitsSectionImpl impl) |
MachOZeroFillSection(MachOObjectFile owner,
String name,
MachOObjectFile.Segment64Command segment,
ObjectFile.NobitsSectionImpl impl,
EnumSet<MachOObjectFile.SectionFlag> flags) |
| Modifier and Type | Method and Description |
|---|---|
int |
getMemSize(Map<ObjectFile.Element,LayoutDecisionMap> alreadyDecided)
Implement this method to provide the section size in memory (at runtime).
|
byte[] |
getOrDecideContent(Map<ObjectFile.Element,LayoutDecisionMap> alreadyDecided,
byte[] contentHint)
Implement this method to deliver the content of the section.
|
int |
getOrDecideSize(Map<ObjectFile.Element,LayoutDecisionMap> alreadyDecided,
int sizeHint)
Implement this method to provide the size of this section.
|
long |
getSizeInMemory() |
void |
setSizeInMemory(long size) |
getDecisions, getDependencies, getImpl, getOrCreateRelocationElement, getOrDecideOffset, getOrDecideVaddr, markRelocationSite, setImplgetOwner, getSegment, isLoadable, isReferenceable, setDestinationSegmentNamegetAlignment, getElement, getElementName, getName, setElement, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAlignment, getDecisions, getDependencies, getElement, getOrDecideOffset, getOrDecideVaddr, isLoadable, isReferenceable, setElementpublic MachOZeroFillSection(MachOObjectFile owner, String name, MachOObjectFile.Segment64Command segment, ObjectFile.NobitsSectionImpl impl)
public MachOZeroFillSection(MachOObjectFile owner, String name, MachOObjectFile.Segment64Command segment, ObjectFile.NobitsSectionImpl impl, EnumSet<MachOObjectFile.SectionFlag> flags)
public byte[] getOrDecideContent(Map<ObjectFile.Element,LayoutDecisionMap> alreadyDecided, byte[] contentHint)
ElementImplgetOrDecideContent in interface ElementImplgetOrDecideContent in class MachOUserDefinedSectionpublic int getOrDecideSize(Map<ObjectFile.Element,LayoutDecisionMap> alreadyDecided, int sizeHint)
ElementImplgetOrDecideSize in interface ElementImplgetOrDecideSize in class MachOUserDefinedSectionpublic int getMemSize(Map<ObjectFile.Element,LayoutDecisionMap> alreadyDecided)
ElementImplgetMemSize in interface ElementImplgetMemSize in class MachOUserDefinedSectionpublic long getSizeInMemory()
getSizeInMemory in interface ObjectFile.NobitsSectionImplpublic void setSizeInMemory(long size)
setSizeInMemory in interface ObjectFile.NobitsSectionImpl