References:
| Modifier and Type | Field and Description |
|---|---|
| public final ElfHeaderPart2 | eh2
Public access to the elf header |
| private final int | |
| private String | |
| public final Shdr | raw
Public access to the raw elf section header |
| public static final short | |
| public static final short | |
| public static final short | |
| public static final short | |
| public static final short | |
| public static final short | |
| public static final short | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int |
| Access | Constructor and Description |
|---|---|
| pack-priv | SectionHeader(final ElfHeaderPart2 eh, final byte[] buf, final int offset, final int length, final int sectionIdx)
|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public int | |
| public String | |
| public long | |
| public int | |
| pack-priv void | initName(final Section
the strS, final int SectionHeader#SHT_STRTAB section containing all stringsname offset within strS nameOffset)
|
| public Section | readSection(final RandomAccessFile
file owning the section in)Returns the Section referenced w/ this section header |
| public Section | readSection(final RandomAccessFile
file owning the section in, final byte[] destination buffer b, final int offset in destination buffer b_off, final int requested read length in bytes, which shall be ≤ than this section size r_len)Returns the Section referenced w/ this section header using given byte array. |
| pack-priv Section | |
| public String |
| eh2 | back to summary |
|---|---|
| public final ElfHeaderPart2 eh2 Public access to the elf header | |
| idx | back to summary |
|---|---|
| private final int idx | |
| name | back to summary |
|---|---|
| private String name | |
| raw | back to summary |
|---|---|
| public final Shdr raw Public access to the raw elf section header | |
| SHN_ABS | back to summary |
|---|---|
| public static final short SHN_ABS | |
| SHN_COMMON | back to summary |
|---|---|
| public static final short SHN_COMMON | |
| SHN_HIPROC | back to summary |
|---|---|
| public static final short SHN_HIPROC | |
| SHN_HIRESERVE | back to summary |
|---|---|
| public static final short SHN_HIRESERVE | |
| SHN_LOPROC | back to summary |
|---|---|
| public static final short SHN_LOPROC | |
| SHN_LORESERVE | back to summary |
|---|---|
| public static final short SHN_LORESERVE | |
| SHN_UNDEF | back to summary |
|---|---|
| public static final short SHN_UNDEF | |
| SHT_AARCH64_ATTRIBUTES | back to summary |
|---|---|
| public static final int SHT_AARCH64_ATTRIBUTES . FIXME: Same as | |
| SHT_ARM_ATTRIBUTES | back to summary |
|---|---|
| public static final int SHT_ARM_ATTRIBUTES | |
| SHT_ARM_DEBUGOVERLAY | back to summary |
|---|---|
| public static final int SHT_ARM_DEBUGOVERLAY | |
| SHT_ARM_EXIDX | back to summary |
|---|---|
| public static final int SHT_ARM_EXIDX | |
| SHT_ARM_OVERLAYSECTION | back to summary |
|---|---|
| public static final int SHT_ARM_OVERLAYSECTION | |
| SHT_ARM_PREEMPTMAP | back to summary |
|---|---|
| public static final int SHT_ARM_PREEMPTMAP | |
| SHT_DYNAMIC | back to summary |
|---|---|
| public static final int SHT_DYNAMIC | |
| SHT_DYNSYM | back to summary |
|---|---|
| public static final int SHT_DYNSYM | |
| SHT_HASH | back to summary |
|---|---|
| public static final int SHT_HASH | |
| SHT_HIPROC | back to summary |
|---|---|
| public static final int SHT_HIPROC | |
| SHT_HIUSER | back to summary |
|---|---|
| public static final int SHT_HIUSER | |
| SHT_LOPROC | back to summary |
|---|---|
| public static final int SHT_LOPROC | |
| SHT_LOUSER | back to summary |
|---|---|
| public static final int SHT_LOUSER | |
| SHT_NOBITS | back to summary |
|---|---|
| public static final int SHT_NOBITS | |
| SHT_NOTE | back to summary |
|---|---|
| public static final int SHT_NOTE | |
| SHT_NULL | back to summary |
|---|---|
| public static final int SHT_NULL | |
| SHT_NUM | back to summary |
|---|---|
| public static final int SHT_NUM | |
| SHT_PROGBITS | back to summary |
|---|---|
| public static final int SHT_PROGBITS | |
| SHT_REL | back to summary |
|---|---|
| public static final int SHT_REL | |
| SHT_RELA | back to summary |
|---|---|
| public static final int SHT_RELA | |
| SHT_SHLIB | back to summary |
|---|---|
| public static final int SHT_SHLIB | |
| SHT_STRTAB | back to summary |
|---|---|
| public static final int SHT_STRTAB | |
| SHT_SYMTAB | back to summary |
|---|---|
| public static final int SHT_SYMTAB | |
| SectionHeader | back to summary |
|---|---|
| pack-priv SectionHeader(final ElfHeaderPart2 eh, final byte[] buf, final int offset, final int length, final int sectionIdx) | |
| SectionHeader | back to summary |
|---|---|
| pack-priv SectionHeader(final ElfHeaderPart2 eh, final ByteBuffer buf, final int idx) | |
| getFlags | back to summary |
|---|---|
| public long getFlags() Returns the flags of this section. | |
| getIndex | back to summary |
|---|---|
| public int getIndex() Returns the index of this section within the Elf section header table. | |
| getName | back to summary |
|---|---|
| public String getName() Returns this section name, maybe | |
| getSize | back to summary |
|---|---|
| public long getSize() Returns the size of this section. | |
| getType | back to summary |
|---|---|
| public int getType() Returns the type of this section. | |
| initName | back to summary |
|---|---|
pack-priv void initName(final Section strS, final int nameOffset) throws IndexOutOfBoundsException
| |
| readSection | back to summary |
|---|---|
| public Section readSection(final RandomAccessFile in) throws IOException, IllegalArgumentException Returns the Section referenced w/ this section header
| |
| readSection | back to summary |
|---|---|
| public Section readSection(final RandomAccessFile in, final byte[] b, final int b_off, final int r_len) throws IOException, IllegalArgumentException Returns the Section referenced w/ this section header using given byte array.
| |
| readSectionImpl | back to summary |
|---|---|
| pack-priv Section readSectionImpl(final RandomAccessFile in, final byte[] b, final int b_off, final int r_len) throws IOException, IllegalArgumentException | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |