Exemple #1
0
 private void Given_32bit()
 {
     arch = new RiscVArchitecture(CreateServiceContainer(), "riscV");
     arch.LoadUserOptions(new Dictionary <string, object>
     {
         { "WordSize", "32" },
         { "FloatAbi", 32 },
     });
     baseAddr = Address.Ptr32(0x0010000);
 }
Exemple #2
0
 public void Setup()
 {
     this.arch = new RiscVArchitecture(new ServiceContainer(), "riscV");
     arch.LoadUserOptions(new Dictionary <string, object>
     {
         { "WordSize", "64" },
         { "FloatAbi", 64 }
     });
     this.addrLoad = Address.Ptr32(0x00100000);
 }
 public void Setup()
 {
     this.arch = new RiscVArchitecture(new ServiceContainer(), "riscV");
     arch.LoadUserOptions(new Dictionary <string, object>
     {
         { "FloatAbi", 64 }
     });
     this.cc  = new RiscVCallingConvention(arch);
     this.ccr = new CallingConventionEmitter();
 }
Exemple #4
0
 // No floating point support.
 private void Given_32bit()
 {
     arch = new RiscVArchitecture(
         CreateServiceContainer(),
         "riscV",
         new Dictionary <string, object>
     {
         { "WordSize", "32" },
     });
     baseAddr = Address.Ptr32(0x0010000);
 }
 private void Given_128bitFloat()
 {
     arch = new RiscVArchitecture(
         CreateServiceContainer(),
         "riscV",
         new Dictionary <string, object>
     {
         { "WordSize", "64" },
         { "FloatAbi", 128 }
     });
 }
Exemple #6
0
 private void Given_ArchWithFloatAbi(int floatAbi)
 {
     this.arch = new RiscVArchitecture(
         new ServiceContainer(),
         "riscV",
         new Dictionary <string, object>
     {
         { "FloatAbi", floatAbi }
     });
     this.cc  = new RiscVCallingConvention(arch);
     this.ccr = new CallingConventionEmitter();
 }
 public RiscVDisassemblerTests()
 {
     this.arch = new RiscVArchitecture("riscV");
 }
 public void Setup()
 {
     this.arch = new RiscVArchitecture("riscV");
     this.cc   = new RiscVCallingConvention(arch);
     this.ccr  = new CallingConventionEmitter();
 }