示例#1
0
        private static SparcInstruction Disassemble64(ByteMemoryArea bmem)
        {
            var sc   = new ServiceContainer();
            var arch = new SparcArchitecture64(sc, "sparc", new Dictionary <string, object>());
            var dasm = new SparcDisassembler(arch, arch.Decoder, bmem.CreateBeReader(0U));

            return(dasm.First());
        }
示例#2
0
 public Sparc64DisassemblerTests()
 {
     this.arch     = new SparcArchitecture64(CreateServiceContainer(), "sparc64", new Dictionary <string, object>());
     this.addrLoad = Address.Ptr64(0x10_0000_0000);
 }
示例#3
0
 public Sparc64RewriterTests()
 {
     this.arch     = new SparcArchitecture64(CreateServiceContainer(), "sparc64");
     this.addrLoad = Address.Ptr64(0x10_0000_0000);
 }