public void Setup() { this.mr = new MockRepository(); this.arch = new MipsLe32Architecture(); this.typeLoader = mr.Stub <ISerializedTypeVisitor <DataType> >(); this.ssig = null; this.sig = null; }
private void Given_Mips_Image(params uint[] words) { var image = new MemoryArea( Address.Ptr32(0x10000), words.Select(w => new[] { (byte)w, (byte)(w >> 8), (byte)(w >> 16), (byte)(w >> 24) }) .SelectMany(w => w) .ToArray()); var arch = new MipsLe32Architecture("mips-le-32"); CreateProgram(image, arch); }
private void Given_Mips_Image(params uint[] words) { var image = new ByteMemoryArea( Address.Ptr32(0x10000), words.Select(w => new[] { (byte)w, (byte)(w >> 8), (byte)(w >> 16), (byte)(w >> 24) }) .SelectMany(w => w) .ToArray()); var arch = new MipsLe32Architecture(new ServiceContainer(), "mips-le-32", new Dictionary <string, object>()); CreateProgram(image, arch); }
public void Setup() { this.mr = new MockRepository(); this.arch = new MipsLe32Architecture("mips-le-32"); }
public void Setup() { this.arch = new MipsLe32Architecture(new ServiceContainer(), "mips-le-32", new Dictionary <string, object>()); }
public NanoMipsRewriterTests() { this.arch = new MipsLe32Architecture(CreateServiceContainer(), "nano-mips", new Dictionary <string, object>()); this.addr = Address.Ptr32(0x0010_0000); }
public NanoMipsRewriterTests() { this.arch = new MipsLe32Architecture(CreateServiceContainer(), "nano-mips"); this.addr = Address.Ptr32(0x0010_0000); }
public void Setup() { this.arch = new MipsLe32Architecture(new ServiceContainer(), "mips-le-32"); }
public void Setup() { this.arch = new MipsLe32Architecture("mips-le-32"); }