Class AddressesReadTracePcodeExecutorStatePiece

java.lang.Object
ghidra.pcode.exec.AbstractLongOffsetPcodeExecutorStatePiece<byte[],AddressSetView,AddressSpace>
ghidra.pcode.exec.trace.AddressesReadTracePcodeExecutorStatePiece
All Implemented Interfaces:
PcodeExecutorStatePiece<byte[],AddressSetView>

public class AddressesReadTracePcodeExecutorStatePiece extends AbstractLongOffsetPcodeExecutorStatePiece<byte[],AddressSetView,AddressSpace> implements PcodeExecutorStatePiece<byte[],AddressSetView>
An auxilliary state piece that reports the (trace) address ranges

Except for unique spaces, sets are ignored, and gets simply echo back the range of addresses of the requested read. In unique spaces, the "addresses read" is treated as the value, so that values transiting unique space can correct have their source address ranges reported. Use this with AddressesReadPcodeArithmetic to compute the union of these ranges during Sleigh expression evaluation. The ranges are translated from the guest platform, if applicable, to the trace address. In the case of registers, the addresses are also translated to the appropriate overlay space, if applicable.