-
- All Known Subinterfaces:
IAddressSpace
,IProcess
- All Known Implementing Classes:
AbstractMemory
,ASNoProcess
,BufferedMemory
,LinuxProcessAddressSpace
,OSXProcessAddressSpace
,ProcessAddressSpace
,SearchableMemory
,WindowsProcessAddressSpace
public interface IMemory
Common interface representing an area of addressable memory.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
findPattern(byte[] whatBytes, int alignment, long startFrom)
byte
getByteAt(long address)
ByteOrder
getByteOrder()
int
getBytesAt(long address, byte[] buffer)
int
getBytesAt(long address, byte[] buffer, int offset, int length)
int
getIntAt(long address)
long
getLongAt(long address)
Collection<? extends IMemoryRange>
getMemoryRanges()
Platform
getPlatform()
Properties
getProperties(long address)
short
getShortAt(long address)
boolean
isExecutable(long address)
boolean
isReadOnly(long address)
boolean
isShared(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()
-
-