Class NewElfDump
java.lang.Object
com.ibm.dtfj.corereaders.CoreReaderSupport
com.ibm.dtfj.corereaders.NewElfDump
- All Implemented Interfaces:
ICoreFileReader, ResourceReleaser
struct and constant reference: /usr/include/elf.h
-
Field Summary
FieldsFields declared in class CoreReaderSupport
_j9rasReader -
Method Summary
Modifier and TypeMethodDescriptionstatic ICoreFileReaderdumpFromFile(ImageInputStream stream, boolean verbose) voidUsed to extract OS-specific data.protected MemoryRange[]protected booleanis64Bit()protected booleanstatic booleanisSupportedDump(ImageInputStream stream) Methods declared in class CoreReaderSupport
coreCheckOffset, coreGetPosition, coreReadAddress, coreReadByte, coreReadBytes, coreReadInt, coreReadLong, coreReadShort, coreSeek, getAddressSpace, isTruncated, releaseResourcesModifier and TypeMethodDescriptionprotected booleancoreCheckOffset(long location) protected longprotected longprotected byteprotected byte[]coreReadBytes(int n) protected intprotected longprotected shortprotected voidcoreSeek(long position) Creates a representation of the address space capable of reading data from memory as a flat address space even though it may be fragmented across regions of several files or transport media.booleanvoid
-
Field Details
-
NT_FILE
public static final int NT_FILE- See Also:
-
-
Method Details
-
extract
Description copied from interface:ICoreFileReaderUsed to extract OS-specific data. Called with a builder which is a sort of factory which will create the required implementation-specific data structures exist solely above the layer of this project.- Parameters:
builder-
-
isSupportedDump
- Throws:
IOException
-
dumpFromFile
public static ICoreFileReader dumpFromFile(ImageInputStream stream, boolean verbose) throws IOException - Throws:
IOException
-
getAdditionalFileNames
-
getMemoryRangesAsArray
-
isLittleEndian
protected boolean isLittleEndian() -
is64Bit
protected boolean is64Bit()
-