Package ghidra.app.emulator.memory
Class MemoryImage
- java.lang.Object
-
- ghidra.pcode.memstate.MemoryBank
-
- ghidra.app.emulator.memory.MemoryImage
-
public class MemoryImage extends MemoryBank
-
-
Field Summary
-
Fields inherited from class ghidra.pcode.memstate.MemoryBank
faultHandler
-
-
Constructor Summary
Constructors Constructor Description MemoryImage(AddressSpace spc, boolean isBigEndian, int ps, MemoryLoadImage ld, MemoryFaultHandler faultHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MemoryPage
getPage(long addr)
protected void
setPage(long addr, byte[] val, int skip, int size, int bufOffset)
protected void
setPageInitialized(long addr, boolean initialized, int skip, int size, int bufOffset)
-
Methods inherited from class ghidra.pcode.memstate.MemoryBank
constructValue, deconstructValue, getChunk, getInitializedMaskSize, getMemoryFaultHandler, getPageSize, getSpace, isBigEndian, setChunk, setInitialized
-
-
-
-
Constructor Detail
-
MemoryImage
public MemoryImage(AddressSpace spc, boolean isBigEndian, int ps, MemoryLoadImage ld, MemoryFaultHandler faultHandler)
-
-
Method Detail
-
getPage
public MemoryPage getPage(long addr)
- Specified by:
getPage
in classMemoryBank
-
setPage
protected void setPage(long addr, byte[] val, int skip, int size, int bufOffset)
- Specified by:
setPage
in classMemoryBank
-
setPageInitialized
protected void setPageInitialized(long addr, boolean initialized, int skip, int size, int bufOffset)
- Specified by:
setPageInitialized
in classMemoryBank
-
-