Class DumpReaderAddressSpace
java.lang.Object
com.ibm.dtfj.addressspace.CommonAddressSpace
com.ibm.dtfj.addressspace.DumpReaderAddressSpace
- All Implemented Interfaces:
IAbstractAddressSpace
-
Constructor Summary
ConstructorDescriptionDumpReaderAddressSpace
(MemoryRange[] ranges, DumpReader reader, boolean isLittleEndian, boolean is64Bit) -
Method Summary
Modifier and TypeMethodDescriptionint
getBytesAt
(int asid, long address, byte[] buffer) boolean
isExecutable
(int asid, long address) boolean
isReadOnly
(int asid, long address) boolean
isShared
(int asid, long address) Methods declared in class com.ibm.dtfj.addressspace.CommonAddressSpace
_residentRange, bytesPerPointer, compareAddress, findPattern, findWhichMemoryRange, getByteAt, getByteOrder, getIntAt, getLongAt, getMemoryBytes, getMemoryBytes, getMemoryRanges, getPointerAt, getShortAt
-
Constructor Details
-
DumpReaderAddressSpace
public DumpReaderAddressSpace(MemoryRange[] ranges, DumpReader reader, boolean isLittleEndian, boolean is64Bit)
-
-
Method Details
-
isExecutable
- Parameters:
asid
- an address space IDaddress
- a byte-offset into the asid- Returns:
- true if this memory address is within an executable page
- Throws:
MemoryAccessException
- if the memory cannot be read
-
isReadOnly
- Parameters:
asid
- an address space IDaddress
- a byte-offset into the asid- Returns:
- true if write access to this memory address was disabled in the image
- Throws:
MemoryAccessException
- if the memory cannot be read
-
getBytesAt
- Parameters:
asid
- an address space IDaddress
- a byte-offset into the asidbuffer
- a byte array to receive the bytes- Returns:
- the number of bytes read into buffer
- Throws:
MemoryAccessException
- if the memory cannot be read
-