Package ghidra.pcode.exec
Class AbstractLongOffsetPcodeExecutorStatePiece.AbstractSpaceMap<S>
java.lang.Object
ghidra.pcode.exec.AbstractLongOffsetPcodeExecutorStatePiece.AbstractSpaceMap<S>
- Type Parameters:
S
- the type of object for each address space
- Direct Known Subclasses:
AbstractLongOffsetPcodeExecutorStatePiece.CacheingSpaceMap
,AbstractLongOffsetPcodeExecutorStatePiece.SimpleSpaceMap
- Enclosing class:
AbstractLongOffsetPcodeExecutorStatePiece<A,
T, S>
public abstract static class AbstractLongOffsetPcodeExecutorStatePiece.AbstractSpaceMap<S>
extends Object
A map of address spaces to objects which store or cache state for that space
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfork()
Deep copy this map, for use in a forked state (or piece)fork
(Map<AddressSpace, S> spaces) Produce a deep copy of the given mapDeep copy the given spaceabstract S
getForSpace
(AddressSpace space, boolean toWrite) values()
-
Field Details
-
spaces
-
-
Constructor Details
-
AbstractSpaceMap
public AbstractSpaceMap() -
AbstractSpaceMap
-
-
Method Details
-
getForSpace
-
values
-
fork
Deep copy this map, for use in a forked state (or piece)- Returns:
- the copy
-
fork
Deep copy the given space- Parameters:
s
- the space- Returns:
- the copy
-
fork
Produce a deep copy of the given map- Parameters:
spaces
- the map to copy- Returns:
- the copy
-