Part-2 can only be read w/ knowledge of CPUType!
References:
| Modifier and Type | Field and Description |
|---|---|
| public final Platform. | |
| public final String | cpuName
Lower case CPUType name |
| public final Platform. | |
| public static final int | EF_ARM_ABI5
ARM ABI version 5. |
| public static final int | EF_ARM_ABI_FLOAT_HARD
Set in executable file headers (e_type = ET_EXEC or ET_DYN) to note that the executable file was built to conform to the hardware floating-point procedure-call standard. |
| public static final int | EF_ARM_ABI_FLOAT_SOFT
Set in executable file headers (e_type = ET_EXEC or ET_DYN) to note explicitly that the executable file was built to conform to the software floating-point procedure-call standard (the base standard). |
| public static final int | EF_ARM_ABIMASK
This masks an 8-bit version number, the version of the ABI to which this ELF file conforms. |
| public static final int | |
| public static final int | EF_ARM_BE8
The ELF file contains BE-8 code, suitable for execution on an ARM Architecture v6 processor. |
| public static final int | EF_ARM_GCCMASK
Legacy code (ABI version 4 and earlier) generated by gcc-arm-xxx might use these bits. |
| public final ElfHeaderPart1 | eh1
Public access to the elf header part-1 (CPU/ABI independent read) |
| public final Ehdr_p2 | raw
Public access to the raw elf header part-2 (CPU/ABI dependent read) |
| public final SectionHeader[] | sht
Public access to the |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public byte | |
| public byte | getArmFloatMode()
Returns the ARM EABI float mode from |
| public int | getArmLegacyGCCFlags()
Returns the ARM EABI legacy GCC |
| public final int | |
| public final SectionHeader | getSectionHeader(final int type)
Returns the 1st occurence of matching SectionHeader |
| public final SectionHeader | getSectionHeader(final String name)
Returns the 1st occurence of matching SectionHeader |
| public final short | |
| private static Platform. | |
| public static ElfHeaderPart2 | read(final ElfHeaderPart1 eh1, final RandomAccessFile
input stream of a binary file at position zero in)Note The input stream shall stay untouch to be able to read sections! |
| pack-priv final SectionHeader[] | |
| public final String |
| abiType | back to summary |
|---|---|
| public final Platform. | |
| cpuName | back to summary |
|---|---|
| public final String cpuName Lower case CPUType name | |
| cpuType | back to summary |
|---|---|
| public final Platform. | |
| EF_ARM_ABI5 | back to summary |
|---|---|
| public static final int EF_ARM_ABI5 ARM ABI version 5. | |
| EF_ARM_ABI_FLOAT_HARD | back to summary |
|---|---|
| public static final int EF_ARM_ABI_FLOAT_HARD Set in executable file headers (e_type = ET_EXEC or ET_DYN) to note that the executable file was built to conform to the hardware floating-point procedure-call standard. Compatible with legacy (pre version 5) gcc use as EF_ARM_VFP_FLOAT. Note This is not used (anymore) | |
| EF_ARM_ABI_FLOAT_SOFT | back to summary |
|---|---|
| public static final int EF_ARM_ABI_FLOAT_SOFT Set in executable file headers (e_type = ET_EXEC or ET_DYN) to note
explicitly that the executable file was built to conform to the software
floating-point procedure-call standard (the base standard). If both
Compatible with legacy (pre version 5) gcc use as EF_ARM_SOFT_FLOAT. Note This is not used (anymore) | |
| EF_ARM_ABIMASK | back to summary |
|---|---|
| public static final int EF_ARM_ABIMASK This masks an 8-bit version number, the version of the ABI to which this ELF file conforms. This ABI is version 5. A value of 0 denotes unknown conformance. | |
| EF_ARM_ABISHIFT | back to summary |
|---|---|
| public static final int EF_ARM_ABISHIFT | |
| EF_ARM_BE8 | back to summary |
|---|---|
| public static final int EF_ARM_BE8 The ELF file contains BE-8 code, suitable for execution on an ARM Architecture v6 processor. This flag must only be set on an executable file. | |
| EF_ARM_GCCMASK | back to summary |
|---|---|
| public static final int EF_ARM_GCCMASK Legacy code (ABI version 4 and earlier) generated by gcc-arm-xxx might use these bits. | |
| eh1 | back to summary |
|---|---|
| public final ElfHeaderPart1 eh1 Public access to the elf header part-1 (CPU/ABI independent read) | |
| raw | back to summary |
|---|---|
| public final Ehdr_p2 raw Public access to the raw elf header part-2 (CPU/ABI dependent read) | |
| sht | back to summary |
|---|---|
| public final SectionHeader[] sht Public access to the | |
| ElfHeaderPart2 | back to summary |
|---|---|
pack-priv ElfHeaderPart2(final ElfHeaderPart1 eh1, final RandomAccessFile in) throws IllegalArgumentException, IOException
| |
| getArmABI | back to summary |
|---|---|
| public byte getArmABI() Returns the ARM EABI version from | |
| getArmFloatMode | back to summary |
|---|---|
| public byte getArmFloatMode() Returns the ARM EABI float mode from Note This is not used (anymore) | |
| getArmLegacyGCCFlags | back to summary |
|---|---|
| public int getArmLegacyGCCFlags() Returns the ARM EABI legacy GCC | |
| getFlags | back to summary |
|---|---|
| public final int getFlags() Returns the processor-specific flags associated with the file. | |
| getSectionHeader | back to summary |
|---|---|
| public final SectionHeader getSectionHeader(final int type) Returns the 1st occurence of matching SectionHeader | |
| getSectionHeader | back to summary |
|---|---|
| public final SectionHeader getSectionHeader(final String name) Returns the 1st occurence of matching SectionHeader | |
| getSize | back to summary |
|---|---|
| public final short getSize() | |
| queryCPUTypeSafe | back to summary |
|---|---|
| private static Platform. | |
| read | back to summary |
|---|---|
| public static ElfHeaderPart2 read(final ElfHeaderPart1 eh1, final RandomAccessFile in) throws IOException, IllegalArgumentException Note The input stream shall stay untouch to be able to read sections!
| |
| readSectionHeaderTable | back to summary |
|---|---|
| pack-priv final SectionHeader[] readSectionHeaderTable(final RandomAccessFile in) throws IOException, IllegalArgumentException | |
| toString | back to summary |
|---|---|
| public final String toString() Overrides java. Doc from java. Returns a string representation of the object. | |