protected override IEnumerable <RtlInstructionCluster> GetRtlStream(IStorageBinder binder, IRewriterHost host) { var state = (SuperHState)arch.CreateProcessorState(); return(new SuperHRewriter(arch, new LeImageReader(image, 0), state, binder, host)); }
public void Setup() { state = (SuperHState)arch.CreateProcessorState(); }
protected override IEnumerable <RtlInstructionCluster> GetRtlStream(MemoryArea mem, IStorageBinder binder, IRewriterHost host) { var state = arch.CreateProcessorState(); return(arch.CreateRewriter(arch.CreateImageReader(mem, 0), state, binder, host)); }