-
- All Known Subinterfaces:
IAddressSpace,IProcess
- All Known Implementing Classes:
AbstractMemory,ASNoProcess,BufferedMemory,LinuxProcessAddressSpace,OSXProcessAddressSpace,ProcessAddressSpace,SearchableMemory,WindowsProcessAddressSpace
public interface IMemoryCommon interface representing an area of addressable memory.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longfindPattern(byte[] whatBytes, int alignment, long startFrom)bytegetByteAt(long address)ByteOrdergetByteOrder()intgetBytesAt(long address, byte[] buffer)intgetBytesAt(long address, byte[] buffer, int offset, int length)intgetIntAt(long address)longgetLongAt(long address)Collection<? extends IMemoryRange>getMemoryRanges()PlatformgetPlatform()PropertiesgetProperties(long address)shortgetShortAt(long address)booleanisExecutable(long address)booleanisReadOnly(long address)booleanisShared(long address)
-
-
-
Method Detail
-
getMemoryRanges
Collection<? extends IMemoryRange> getMemoryRanges()
-
getByteAt
byte getByteAt(long address) throws MemoryFault- Throws:
MemoryFault
-
getShortAt
short getShortAt(long address) throws MemoryFault- Throws:
MemoryFault
-
getIntAt
int getIntAt(long address) throws MemoryFault- Throws:
MemoryFault
-
getLongAt
long getLongAt(long address) throws MemoryFault- Throws:
MemoryFault
-
getBytesAt
int getBytesAt(long address, byte[] buffer) throws MemoryFault- Throws:
MemoryFault
-
getBytesAt
int getBytesAt(long address, byte[] buffer, int offset, int length) throws MemoryFault- Throws:
MemoryFault
-
findPattern
long findPattern(byte[] whatBytes, int alignment, long startFrom)
-
getByteOrder
ByteOrder getByteOrder()
-
isExecutable
boolean isExecutable(long address)
-
isReadOnly
boolean isReadOnly(long address)
-
isShared
boolean isShared(long address)
-
getProperties
Properties getProperties(long address)
-
getPlatform
Platform getPlatform()
-
-