- All Superinterfaces:
Comparable<IMemoryRange>,IMemoryRange
- All Known Implementing Classes:
BufferedMemorySource,DetailedDumpMemorySource,DumpMemorySource,ELFMemorySource,UnbackedMemorySource
A memory range that holds its data.
-
Method Summary
Methods declared in interface java.lang.Comparable
compareToMethods declared in interface com.ibm.j9ddr.corereaders.memory.IMemoryRange
contains, getAddressSpaceId, getBaseAddress, getName, getSize, getTopAddress, isExecutable, isReadOnly, isShared, isSubRange, overlaps
-
Method Details
-
getBytes
Reads data from the memory range- Parameters:
address- Starting addressbuffer- Buffer to read intooffset- Offset in buffer to write tolength- Number of bytes to read- Returns:
- Bytes read
- Throws:
MemoryFault
-
isBacked
boolean isBacked()- Specified by:
isBackedin interfaceIMemoryRange- Returns:
- True if this memory range is backed with data (such that getBytes() won't always throw MemoryFault).
-