|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ImagePointer
Represents an address in image memory.
| Method Summary | |
|---|---|
ImagePointer |
add(long offset)
Build a new image pointer offset from this one by the given amount. |
boolean |
equals(java.lang.Object obj)
|
long |
getAddress()
Get the unwrapped address, represented as a 64-bit integer. |
ImageAddressSpace |
getAddressSpace()
Get the address space to which this pointer belongs. |
byte |
getByteAt(long index)
Get the value at the given offset from this pointer. |
double |
getDoubleAt(long index)
Get the value at the given offset from this pointer. |
float |
getFloatAt(long index)
Get the value at the given offset from this pointer. |
int |
getIntAt(long index)
Get the value at the given offset from this pointer. |
long |
getLongAt(long index)
Get the value at the given offset from this pointer. |
ImagePointer |
getPointerAt(long index)
Get the value at the given offset from this pointer. |
short |
getShortAt(long index)
Get the value at the given offset from this pointer. |
int |
hashCode()
|
boolean |
isExecutable()
Is the referenced location executable ? |
boolean |
isReadOnly()
Is the referenced location read only ? |
boolean |
isShared()
Is the referenced location shared ? |
| Method Detail |
|---|
long getAddress()
ImageAddressSpace getAddressSpace()
ImagePointer add(long offset)
offset -
boolean isExecutable()
throws DataUnavailable
DataUnavailable
boolean isReadOnly()
throws DataUnavailable
DataUnavailable
boolean isShared()
throws DataUnavailable
DataUnavailable
ImagePointer getPointerAt(long index)
throws MemoryAccessException,
CorruptDataException
ImageProcess.getPointerSize().
index - an offset (in bytes) from the current position
MemoryAccessException - if the memory cannot be read
CorruptDataException - if the memory should be in the image, but is missing or corruptedImageProcess.getPointerSize()
long getLongAt(long index)
throws MemoryAccessException,
CorruptDataException
index - an offset (in bytes) from the current position
MemoryAccessException - if the memory cannot be read
CorruptDataException - if the memory should be in the image, but is missing or corrupted
int getIntAt(long index)
throws MemoryAccessException,
CorruptDataException
index - an offset (in bytes) from the current position
MemoryAccessException - if the memory cannot be read
CorruptDataException - if the memory should be in the image, but is missing or corrupted
short getShortAt(long index)
throws MemoryAccessException,
CorruptDataException
index - an offset (in bytes) from the current position
MemoryAccessException - if the memory cannot be read
CorruptDataException - if the memory should be in the image, but is missing or corrupted
byte getByteAt(long index)
throws MemoryAccessException,
CorruptDataException
index - an offset (in bytes) from the current position
MemoryAccessException - if the memory cannot be read
CorruptDataException - if the memory should be in the image, but is missing or corrupted
float getFloatAt(long index)
throws MemoryAccessException,
CorruptDataException
index - an offset (in bytes) from the current position
MemoryAccessException - if the memory cannot be read
CorruptDataException - if the memory should be in the image, but is missing or corrupted
double getDoubleAt(long index)
throws MemoryAccessException,
CorruptDataException
index - an offset (in bytes) from the current position
MemoryAccessException - if the memory cannot be read
CorruptDataException - if the memory should be in the image, but is missing or corruptedboolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj -
int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||