Package ghidra.trace.model.memory
Interface TraceMemorySpace
- All Superinterfaces:
TraceMemoryOperations
- All Known Implementing Classes:
DBTraceMemorySpace
A portion of the memory manager bound to a particular address space
For most memory operations, the methods on TraceMemoryManager are sufficient, as they
will automatically obtain the appropriate TraceMemorySpace for the address space of the
given address or range. If many operations on the same space are anticipated, it may be slightly
faster to bind to the space once and then perform all the operations. It is also necessary to
bind when operating on (per-thread) register spaces
-
Method Summary
Modifier and TypeMethodDescriptionGet the address spacegetCodeSpace(boolean createIfAbsent) Get the code space for this memory spaceMethods inherited from interface ghidra.trace.model.memory.TraceMemoryOperations
findBytes, getAddressesWithState, getAddressesWithState, getAddressesWithState, getAddressesWithState, getBlockSize, getBufferAt, getBufferAt, getBytes, getBytes, getBytes, getMostRecentStateEntry, getMostRecentStates, getMostRecentStates, getSnapOfMostRecentChangeToBlock, getState, getState, getState, getStates, getStates, getStates, getTrace, getValue, getValue, getViewBytes, getViewMostRecentStateEntry, getViewMostRecentStateEntry, getViewState, getViewValue, getViewValue, isKnown, pack, putBytes, putBytes, putBytes, removeBytes, removeValue, removeValue, setState, setState, setState, setState, setState, setState, setValue, setValue
-
Method Details
-
getAddressSpace
AddressSpace getAddressSpace()Get the address space- Returns:
- the address space
-
getCodeSpace
Get the code space for this memory spaceThis is a convenience for
TraceCodeManager.getCodeSpace(AddressSpace, boolean)on this same address space.- Parameters:
createIfAbsent- true to create the space if it's not already present- Returns:
- the code space
-