Interface IMemorySource
- All Superinterfaces:
Comparable<IMemoryRange>, IMemoryRange
- All Known Implementing Classes:
BufferedMemorySource, DetailedDumpMemorySource, DumpMemorySource, ELFMemorySource, UnbackedMemorySource
A memory range that holds its data.
-
Method Summary
Methods declared in interface Comparable
compareToMethods declared in interface IMemoryRange
contains, getAddressSpaceId, getBaseAddress, getName, getSize, getTopAddress, isExecutable, isReadOnly, isShared, isSubRange, overlaps
-
Method Details
-
getBytes
Reads data from the memory range- Parameters:
address- Starting addressbuffer- Buffer to read intooffset- Offset in buffer to write tolength- Number of bytes to read- Returns:
- Bytes read
- Throws:
MemoryFault
-
isBacked
boolean isBacked()- Specified by:
isBackedin interfaceIMemoryRange- Returns:
- True if this memory range is backed with data (such that getBytes() won't always throw MemoryFault).
-