java.lang.Object
com.ibm.dtfj.addressspace.CommonAddressSpace
com.ibm.dtfj.addressspace.LayeredAddressSpace
- All Implemented Interfaces:
IAbstractAddressSpace
-
Constructor Summary
ConstructorDescriptionLayeredAddressSpace
(IAbstractAddressSpace base, 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) void
mapRegion
(long virtualAddress, ClosingFileReader residentFile, long fileOffset, long size) 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
-
LayeredAddressSpace
-
-
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
-
mapRegion
public void mapRegion(long virtualAddress, ClosingFileReader residentFile, long fileOffset, long size)
-