java.lang.Object
com.ibm.dtfj.addressspace.CommonAddressSpace
com.ibm.dtfj.addressspace.LayeredAddressSpace
- All Implemented Interfaces:
IAbstractAddressSpace
-
Constructor Summary
ConstructorsConstructorDescriptionLayeredAddressSpace(IAbstractAddressSpace base, boolean isLittleEndian, boolean is64Bit) -
Method Summary
Modifier and TypeMethodDescriptionintgetBytesAt(int asid, long address, byte[] buffer) booleanisExecutable(int asid, long address) booleanisReadOnly(int asid, long address) booleanisShared(int asid, long address) voidmapRegion(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)
-