Class SimpleAddressSpace
java.lang.Object
com.ibm.dtfj.addressspace.CommonAddressSpace
com.ibm.dtfj.addressspace.SimpleAddressSpace
- All Implemented Interfaces:
 IAbstractAddressSpace
- 
Constructor Summary
ConstructorsConstructorDescriptionSimpleAddressSpace(MemoryRange[] deprecatedMemoryRanges, ClosingFileReader file, 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) Methods declared in class CommonAddressSpace
_residentRange, bytesPerPointer, compareAddress, findPattern, findWhichMemoryRange, getByteAt, getByteOrder, getIntAt, getLongAt, getMemoryBytes, getMemoryBytes, getMemoryRanges, getPointerAt, getShortAt 
- 
Constructor Details
- 
SimpleAddressSpace
public SimpleAddressSpace(MemoryRange[] deprecatedMemoryRanges, ClosingFileReader file, 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
 
 -