public class MachORegularSection extends MachOUserDefinedSection implements ObjectFile.ProgbitsSectionImpl
impl| Constructor and Description |
|---|
MachORegularSection(MachOObjectFile owner,
String name,
int alignment,
MachOObjectFile.Segment64Command segment,
ObjectFile.ProgbitsSectionImpl impl,
EnumSet<MachOObjectFile.SectionFlag> flags) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getContent() |
ObjectFile.RelocationRecord |
markRelocationSite(int offset,
int length,
ObjectFile.RelocationKind k,
String symbolName,
boolean useImplicitAddend,
Long explicitAddend)
This is like
ObjectFile.RelocatableSectionImpl.markRelocationSite(int, int, java.nio.ByteBuffer, com.oracle.objectfile.ObjectFile.RelocationKind, java.lang.String, boolean, java.lang.Long), but doesn't need to be
passed a buffer. |
void |
setContent(byte[] c) |
getDecisions, getDependencies, getImpl, getMemSize, getOrCreateRelocationElement, getOrDecideContent, getOrDecideOffset, getOrDecideSize, getOrDecideVaddr, markRelocationSite, setImplgetOwner, getSegment, isLoadable, isReferenceable, setDestinationSegmentNamegetAlignment, getElement, getElementName, getName, isReferenceable, setElement, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetOrCreateRelocationElement, markRelocationSitegetAlignment, getDecisions, getDependencies, getElement, getMemSize, getOrDecideContent, getOrDecideOffset, getOrDecideSize, getOrDecideVaddr, isLoadable, isReferenceable, setElementpublic MachORegularSection(MachOObjectFile owner, String name, int alignment, MachOObjectFile.Segment64Command segment, ObjectFile.ProgbitsSectionImpl impl, EnumSet<MachOObjectFile.SectionFlag> flags)
public void setContent(byte[] c)
setContent in interface ObjectFile.ProgbitsSectionImplpublic byte[] getContent()
getContent in interface ObjectFile.ProgbitsSectionImplpublic ObjectFile.RelocationRecord markRelocationSite(int offset, int length, ObjectFile.RelocationKind k, String symbolName, boolean useImplicitAddend, Long explicitAddend)
ObjectFile.ProgbitsSectionImplObjectFile.RelocatableSectionImpl.markRelocationSite(int, int, java.nio.ByteBuffer, com.oracle.objectfile.ObjectFile.RelocationKind, java.lang.String, boolean, java.lang.Long), but doesn't need to be
passed a buffer. It uses the byte array accessed by ObjectFile.ProgbitsSectionImpl.getContent() and
ObjectFile.ProgbitsSectionImpl.setContent(byte[]).markRelocationSite in interface ObjectFile.ProgbitsSectionImpl