Package ghidra.trace.database.program
Class ByteCache
java.lang.Object
ghidra.trace.database.program.ByteCache
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final longstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected intchoosePage(Address address, int len) protected abstract intdoLoad(Address address, ByteBuffer buf) voidinvalidate(AddressRange range) protected ghidra.trace.database.program.ByteCache.PagenewPage()byteintread(Address address, ByteBuffer buf)
-
Field Details
-
BITS
public static final int BITS- See Also:
-
OFFSET_MASK
public static final long OFFSET_MASK- See Also:
-
SIZE
public static final int SIZE- See Also:
-
-
Constructor Details
-
ByteCache
public ByteCache(int pageCount)
-
-
Method Details
-
newPage
protected ghidra.trace.database.program.ByteCache.Page newPage() -
canCache
-
read
- Throws:
MemoryAccessException
-
read
- Throws:
MemoryAccessException
-
choosePage
-
doLoad
- Throws:
MemoryAccessException
-
invalidate
-