Package ghidra.pcode.memstate
Class MemoryPageBank
- java.lang.Object
-
- ghidra.pcode.memstate.MemoryBank
-
- ghidra.pcode.memstate.MemoryPageBank
-
- Direct Known Subclasses:
FilteredRegisterBank
,MemoryPageOverlay
public class MemoryPageBank extends MemoryBank
-
-
Field Summary
Fields Modifier and Type Field Description protected MapSTL<java.lang.Long,MemoryPage>
page
-
Fields inherited from class ghidra.pcode.memstate.MemoryBank
faultHandler
-
-
Constructor Summary
Constructors Constructor Description MemoryPageBank(AddressSpace spc, boolean isBigEndian, int ps, MemoryFaultHandler faultHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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
-
-
-
-
Field Detail
-
page
protected MapSTL<java.lang.Long,MemoryPage> page
-
-
Constructor Detail
-
MemoryPageBank
public MemoryPageBank(AddressSpace spc, boolean isBigEndian, int ps, MemoryFaultHandler faultHandler)
-
-
Method Detail
-
getPage
protected 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
-
-