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() |
void |
markRelocationSite(int offset,
ObjectFile.RelocationKind k,
String symbolName,
long addend)
This is like
ObjectFile.RelocatableSectionImpl.markRelocationSite(int, java.nio.ByteBuffer, com.oracle.objectfile.ObjectFile.RelocationKind, java.lang.String, 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, setElement, toStringclone, equals, 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 void markRelocationSite(int offset,
ObjectFile.RelocationKind k,
String symbolName,
long addend)
ObjectFile.ProgbitsSectionImplObjectFile.RelocatableSectionImpl.markRelocationSite(int, java.nio.ByteBuffer, com.oracle.objectfile.ObjectFile.RelocationKind, java.lang.String, 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