public abstract class MachOObjectFile.MachOSection extends ObjectFile.Section
Constructor and Description |
---|
MachOSection(String name,
int alignment,
MachOObjectFile.Segment64Command segment,
MachOObjectFile.SectionType t,
EnumSet<MachOObjectFile.SectionFlag> flags) |
Modifier and Type | Method and Description |
---|---|
MachOObjectFile |
getOwner() |
ObjectFile.Segment |
getSegment() |
boolean |
isLoadable()
Returns whether or not this section will be mapped into memory.
|
boolean |
isReferenceable()
Locations in this section are referenceable by symbol names, section names, or by relocation,
so the section needs a virtual address.
|
void |
setDestinationSegmentName(String dest) |
getAlignment, getDecisions, getElement, getElementName, getImpl, getMemSize, getName, setElement, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDependencies, getOrDecideContent, getOrDecideOffset, getOrDecideSize, getOrDecideVaddr
public MachOSection(String name, int alignment, MachOObjectFile.Segment64Command segment, MachOObjectFile.SectionType t, EnumSet<MachOObjectFile.SectionFlag> flags)
public boolean isLoadable()
ObjectFile.Element
isLoadable
in interface ElementImpl
isLoadable
in class ObjectFile.Element
public boolean isReferenceable()
ElementImpl
isReferenceable
in interface ElementImpl
isReferenceable
in class ObjectFile.Element
public ObjectFile.Segment getSegment()
public void setDestinationSegmentName(String dest)
public MachOObjectFile getOwner()
getOwner
in class ObjectFile.Element