public class PECoffRelocationTable extends ObjectFile.Element
Modifier and Type | Method and Description |
---|---|
com.oracle.objectfile.pecoff.PECoffRelocationTable.Entry |
addEntry(PECoffObjectFile.PECoffSection s,
long offset,
com.oracle.objectfile.pecoff.PECoffRelocationTable.PECoffRelocationMethod t,
com.oracle.objectfile.pecoff.PECoffSymtab.Entry sym,
Long explicitAddend) |
LayoutDecisionMap |
getDecisions(LayoutDecisionMap copyingIn) |
Iterable<BuildDependency> |
getDependencies(Map<ObjectFile.Element,LayoutDecisionMap> decisions)
Implementing this method allows to declare dependencies to other Sections (i.e.
|
ElementImpl |
getImpl() |
byte[] |
getOrDecideContent(Map<ObjectFile.Element,LayoutDecisionMap> alreadyDecided,
byte[] contentHint)
Implement this method to deliver the content of the section.
|
int |
getOrDecideOffset(Map<ObjectFile.Element,LayoutDecisionMap> alreadyDecided,
int offsetHint)
Implement this method to provide the offset this section should be placed at.
|
int |
getOrDecideSize(Map<ObjectFile.Element,LayoutDecisionMap> alreadyDecided,
int sizeHint)
Implement this method to provide the size of this section.
|
int |
getOrDecideVaddr(Map<ObjectFile.Element,LayoutDecisionMap> alreadyDecided,
int vaddrHint)
Implement this method to provide the virtual address of this section.
|
PECoffObjectFile |
getOwner() |
int |
getRelocCount(int sectionIndex) |
int |
getRelocOffset(int sectionIndex) |
boolean |
isLoadable()
Returns whether or not this section will be mapped into memory.
|
getAlignment, getElement, getElementName, getMemSize, getName, isReferenceable, setElement, toString
public ElementImpl getImpl()
getImpl
in class ObjectFile.Element
public com.oracle.objectfile.pecoff.PECoffRelocationTable.Entry addEntry(PECoffObjectFile.PECoffSection s, long offset, com.oracle.objectfile.pecoff.PECoffRelocationTable.PECoffRelocationMethod t, com.oracle.objectfile.pecoff.PECoffSymtab.Entry sym, Long explicitAddend)
public int getRelocCount(int sectionIndex)
public int getRelocOffset(int sectionIndex)
public PECoffObjectFile getOwner()
getOwner
in class ObjectFile.Element
public boolean isLoadable()
ObjectFile.Element
isLoadable
in interface ElementImpl
isLoadable
in class ObjectFile.Element
public Iterable<BuildDependency> getDependencies(Map<ObjectFile.Element,LayoutDecisionMap> decisions)
ElementImpl
public byte[] getOrDecideContent(Map<ObjectFile.Element,LayoutDecisionMap> alreadyDecided, byte[] contentHint)
ElementImpl
public int getOrDecideOffset(Map<ObjectFile.Element,LayoutDecisionMap> alreadyDecided, int offsetHint)
ElementImpl
public int getOrDecideSize(Map<ObjectFile.Element,LayoutDecisionMap> alreadyDecided, int sizeHint)
ElementImpl
public int getOrDecideVaddr(Map<ObjectFile.Element,LayoutDecisionMap> alreadyDecided, int vaddrHint)
ElementImpl
ElementImpl.isLoadable()
).public LayoutDecisionMap getDecisions(LayoutDecisionMap copyingIn)
getDecisions
in interface ElementImpl
getDecisions
in class ObjectFile.Element