public override ProcessorState Clone() { var state = new ArmProcessorState(arch); state.isValid = this.isValid; state.regData = (uint[])regData.Clone(); return state; }
public ArmRewriter(Arm32ProcessorArchitecture arch, EndianImageReader rdr, ArmProcessorState state, Frame frame, IRewriterHost host) { this.arch = arch; this.instrs = CreateInstructionStream(rdr); this.frame = frame; this.host = host; }
public override ProcessorState Clone() { var state = new ArmProcessorState(arch); state.isValid = this.isValid; state.regData = (uint[])regData.Clone(); return(state); }
public ThumbRewriter(ThumbProcessorArchitecture arch, EndianImageReader rdr, ArmProcessorState state, Frame frame, IRewriterHost host) { this.instrs = CreateInstructionStream(rdr); this.frame = frame; this.host = host; this.itState = 0; this.itStateCondition = ArmCodeCondition.AL; }
internal ArmRewriter(Dictionary <int, RegisterStorage> regs, EndianImageReader rdr, ArmProcessorState state, IStorageBinder binder, IRewriterHost host) { this.regs = regs; this.rdr = rdr; this.binder = binder; this.host = host; }
public void Setup() { arch = new ThumbProcessorArchitecture(); state = new ArmProcessorState(arch); }
public override ProcessorState Clone() { var state = new ArmProcessorState(this); return(state); }
public ArmProcessorState(ArmProcessorState that) : base(that) { this.arch = that.arch; this.regData = new Dictionary <int, ulong>(that.regData); this.pc = that.pc; }
public ThumbRewriterNew(Dictionary <int, RegisterStorage> regs, INativeArchitecture nArch, EndianImageReader rdr, ArmProcessorState state, IStorageBinder binder, IRewriterHost host) { this.regs = regs; this.nArch = nArch; this.rdr = rdr; this.binder = binder; this.host = host; }