Class TaintPieceHandler

All Implemented Interfaces:
TraceEmulationIntegration.PieceHandler<byte[],TaintVec>

public class TaintPieceHandler extends TraceEmulationIntegration.AbstractPropertyBasedPieceHandler<byte[],TaintVec,String>
The piece handler for TaintVec

This contains the logic for integrating the Taint emulator with traces. That is, it is the mechanism that loads previous taint analysis from a trace and stores new results back into the trace. The object passed into these methods as piece is almost certainly a TaintPcodeExecutorStatePiece, but not necessarily. As a matter of best practice, it should not be necessary to cast. The given PcodeExecutorStatePiece interface should be sufficient as internals can often be reached via PcodeExecutorStatePiece.getVarInternal(AddressSpace, long, int, Reason).