public SparcRewriter(SparcArchitecture arch, EndianImageReader rdr, SparcProcessorState state, Frame frame, IRewriterHost host) { this.arch = arch; this.frame = frame; this.host = host; this.dasm = new LookaheadEnumerator <SparcInstruction>(CreateDisassemblyStream(rdr)); }
public SparcRewriter(SparcArchitecture arch, IEnumerator <SparcInstruction> instrs, SparcProcessorState state, Frame frame, IRewriterHost host) { this.arch = arch; this.state = state; this.frame = frame; this.host = host; this.dasm = new LookaheadEnumerator <SparcInstruction>(instrs); }
public SparcProcessorState(SparcProcessorState old) { this.arch = old.arch; this.regs = old.regs.ToArray(); this.valid = old.valid.ToArray(); this.flags = old.flags; this.validFlags = old.validFlags; }
public SparcProcessorState(SparcProcessorState old) { this.arch = old.arch; this.regs = old .regs.ToArray(); this.valid = old.valid.ToArray(); this.flags = old.flags; this.validFlags = old.validFlags; }
public SparcRewriter(SparcArchitecture arch, EndianImageReader rdr, SparcProcessorState state, IStorageBinder binder, IRewriterHost host) { this.arch = arch; this.binder = binder; this.host = host; this.rdr = rdr; this.dasm = new LookaheadEnumerator <SparcInstruction>(CreateDisassemblyStream(rdr)); this.instrCur = null !; this.m = null !; }
public SparcRewriter(SparcArchitecture arch, IEnumerator <SparcInstruction> instrs, SparcProcessorState state, IStorageBinder binder, IRewriterHost host) { this.arch = arch; this.binder = binder; this.host = host; this.dasm = new LookaheadEnumerator <SparcInstruction>(instrs); }
public void Setup() { state = (SparcProcessorState)arch.CreateProcessorState(); repository = new MockRepository(); host = repository.StrictMock<IRewriterHost>(); }