private static SparcInstruction Disassemble(MemoryArea img) { var arch = new SparcArchitecture("sparc", PrimitiveType.Word32); var dasm = new SparcDisassembler(arch, img.CreateBeReader(0U)); return(dasm.First()); }
private static SparcInstruction Disassemble(MemoryArea img) { var sc = new ServiceContainer(); var arch = new SparcArchitecture32(sc, "sparc"); var dasm = new SparcDisassembler(arch, arch.Decoder, img.CreateBeReader(0U)); return(dasm.First()); }
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()); }
private static SparcInstruction Disassemble(MemoryArea img) { var arch = new SparcArchitecture(PrimitiveType.Word32); var dasm = new SparcDisassembler(arch, img.CreateBeReader(0U)); return dasm.First(); }