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()); }
public Sparc64DisassemblerTests() { this.arch = new SparcArchitecture64(CreateServiceContainer(), "sparc64", new Dictionary <string, object>()); this.addrLoad = Address.Ptr64(0x10_0000_0000); }
public Sparc64RewriterTests() { this.arch = new SparcArchitecture64(CreateServiceContainer(), "sparc64"); this.addrLoad = Address.Ptr64(0x10_0000_0000); }