java.lang.Object
com.ibm.j9ddr.corereaders.elf.ELFFileReader
com.ibm.j9ddr.corereaders.elf.ELF64FileReader
-
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
ConstructorsConstructorDescriptionELF64FileReader(File file, ByteOrder byteOrder) ELF64FileReader(ImageInputStream in, long offset, long limit) -
Method Summary
Modifier and TypeMethodDescriptionprotected intprotected longpadToWordBoundary(long l) protected longprotected com.ibm.j9ddr.corereaders.elf.Addressprotected ProgramHeaderEntryprotected List<com.ibm.j9ddr.corereaders.elf.ELFSymbol> readSymbolsAt(com.ibm.j9ddr.corereaders.elf.SectionHeaderEntry entry) booleanvalidDump(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
-
ELF64FileReader
public ELF64FileReader(File file, ByteOrder byteOrder) throws IOException, InvalidDumpFormatException -
ELF64FileReader
public ELF64FileReader(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
-