public abstract class PECoffObjectFile.PECoffSection extends ObjectFile.Section
| Constructor and Description |
|---|
PECoffSection(String name) |
PECoffSection(String name,
EnumSet<PECoffObjectFile.PECoffSectionFlag> flags) |
PECoffSection(String name,
int alignment,
EnumSet<PECoffObjectFile.PECoffSectionFlag> flags,
int sectionIndex)
Constructs an PECoff section of given name, flags and section index.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getEntrySize() |
EnumSet<PECoffObjectFile.PECoffSectionFlag> |
getFlags() |
long |
getLinkedInfo() |
PECoffObjectFile.PECoffSection |
getLinkedSection() |
PECoffObjectFile |
getOwner() |
Object |
getRelocEntries() |
int |
getSectionID() |
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 |
setFlags(EnumSet<PECoffObjectFile.PECoffSectionFlag> flags) |
void |
setRelocEntries(Object entries) |
void |
setSectionID(int id) |
getAlignment, getDecisions, getElement, getElementName, getImpl, getMemSize, getName, setElement, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDependencies, getOrDecideContent, getOrDecideOffset, getOrDecideSize, getOrDecideVaddrpublic PECoffSection(String name)
public PECoffSection(String name, EnumSet<PECoffObjectFile.PECoffSectionFlag> flags)
public PECoffSection(String name, int alignment, EnumSet<PECoffObjectFile.PECoffSectionFlag> flags, int sectionIndex)
name - the section nameflags - the section's flagssectionIndex - the desired index in the PECoff section header tablepublic PECoffObjectFile getOwner()
getOwner in class ObjectFile.Elementpublic boolean isLoadable()
ObjectFile.ElementisLoadable in interface ElementImplisLoadable in class ObjectFile.Elementpublic boolean isReferenceable()
ElementImplisReferenceable in interface ElementImplisReferenceable in class ObjectFile.Elementpublic PECoffObjectFile.PECoffSection getLinkedSection()
public long getLinkedInfo()
public int getEntrySize()
public EnumSet<PECoffObjectFile.PECoffSectionFlag> getFlags()
public void setFlags(EnumSet<PECoffObjectFile.PECoffSectionFlag> flags)
public void setSectionID(int id)
public int getSectionID()
public void setRelocEntries(Object entries)
public Object getRelocEntries()