Class ELF32FileReader
java.lang.Object
com.ibm.j9ddr.corereaders.elf.ELFFileReader
com.ibm.j9ddr.corereaders.elf.ELF32FileReader
-
Field Summary
Fields declared in class com.ibm.j9ddr.corereaders.elf.ELFFileReader
ARCH_AARCH64, ARCH_AMD64, ARCH_ARM, ARCH_IA32, ARCH_IA64, ARCH_PPC32, ARCH_PPC64, ARCH_RISCV64, ARCH_S390, AT_ENTRY, AT_HWCAP, AT_NULL, AT_PLATFORM, DT_DEBUG, DT_NULL, DT_SONAME, DT_STRTAB, EI_NIDENT, ELF_NOTE_HEADER_SIZE, ELF_PRARGSZ, ELFCLASS32, ELFCLASS64, ELFDATA2LSB, ELFDATA2MSB, ET_CORE, ET_DYN, ET_EXEC, ET_HIOS, ET_HIPROC, ET_LOOS, ET_LOPROC, ET_NONE, ET_NUM, ET_REL, is, NT_AUXV, NT_HGPRS, NT_PRPSINFO, NT_PRSTATUS, sourceName
-
Constructor Summary
ConstructorDescriptionELF32FileReader
(File file, ByteOrder byteOrder) ELF32FileReader
(ImageInputStream in, long offset, long limit) -
Method Summary
Modifier and TypeMethodDescriptionprotected int
protected long
padToWordBoundary
(long l) protected long
protected com.ibm.j9ddr.corereaders.elf.Address
protected ProgramHeaderEntry
protected List
<com.ibm.j9ddr.corereaders.elf.ELFSymbol> readSymbolsAt
(com.ibm.j9ddr.corereaders.elf.SectionHeaderEntry entry) boolean
validDump
(byte[] data, long filesize) Methods declared in class com.ibm.j9ddr.corereaders.elf.ELFFileReader
canResolveAddress, close, getByteOrder, getDynamicTableEntry, getELFFileReader, getELFFileReader, getELFFileReaderWithOffset, getFile, getMachineType, getMemoryRanges, getProgramHeaderEntries, getProperties, getSectionHeaderEntries, getSectionHeaderStringTable, getSourceName, getStream, getSymbols, is64Bit, isCompatibleWith, isELF, isExecutable, isTruncated, readByte, readBytes, readFully, readInt, readLong, readShort, readSONAME, readString, sectionHeaderMapsToProgramHeader, seek
-
Constructor Details
-
ELF32FileReader
public ELF32FileReader(File file, ByteOrder byteOrder) throws IOException, InvalidDumpFormatException -
ELF32FileReader
public ELF32FileReader(ImageInputStream in, long offset, long limit) throws IOException, InvalidDumpFormatException
-
-
Method Details
-
validDump
public boolean validDump(byte[] data, long filesize) -
readProgramHeaderEntry
- Throws:
IOException
-
padToWordBoundary
protected long padToWordBoundary(long l) -
readElfWord
- Throws:
IOException
-
readElfWordAsAddress
- Throws:
IOException
-
addressSizeBits
protected int addressSizeBits() -
readSymbolsAt
protected List<com.ibm.j9ddr.corereaders.elf.ELFSymbol> readSymbolsAt(com.ibm.j9ddr.corereaders.elf.SectionHeaderEntry entry) throws IOException - Throws:
IOException
-