Inheritance: Reko.Core.ProcessorArchitecture
Exemple #1
0
 public SparcRewriter(SparcArchitecture arch, EndianImageReader rdr, SparcProcessorState state, Frame frame, IRewriterHost host)
 {
     this.arch  = arch;
     this.frame = frame;
     this.host  = host;
     this.dasm  = new LookaheadEnumerator <SparcInstruction>(CreateDisassemblyStream(rdr));
 }
Exemple #2
0
 public SparcRewriter(SparcArchitecture arch, IEnumerator <SparcInstruction> instrs, SparcProcessorState state, IStorageBinder binder, IRewriterHost host)
 {
     this.arch   = arch;
     this.binder = binder;
     this.host   = host;
     this.dasm   = new LookaheadEnumerator <SparcInstruction>(instrs);
 }
Exemple #3
0
 public SparcRewriter(SparcArchitecture arch, IEnumerator <SparcInstruction> instrs, SparcProcessorState state, Frame frame, IRewriterHost host)
 {
     this.arch  = arch;
     this.frame = frame;
     this.host  = host;
     this.dasm  = new LookaheadEnumerator <SparcInstruction>(instrs);
 }
Exemple #4
0
 public SparcDisassembler(SparcArchitecture arch, Decoder rootDecoder, EndianImageReader imageReader)
 {
     this.arch        = arch;
     this.rootDecoder = rootDecoder;
     this.imageReader = imageReader;
     this.ops         = new List <MachineOperand>();
 }
Exemple #5
0
 public SparcProcessorState(SparcProcessorState old)
 {
     this.arch       = old.arch;
     this.regs       = old.regs.ToArray();
     this.valid      = old.valid.ToArray();
     this.flags      = old.flags;
     this.validFlags = old.validFlags;
 }
Exemple #6
0
 public SparcProcessorState(SparcProcessorState old)
 {
     this.arch = old.arch;
     this.regs = old .regs.ToArray();
     this.valid = old.valid.ToArray();
     this.flags = old.flags;
     this.validFlags = old.validFlags;
 }
Exemple #7
0
 public SparcRewriter(SparcArchitecture arch, EndianImageReader rdr, SparcProcessorState state, IStorageBinder binder, IRewriterHost host)
 {
     this.arch     = arch;
     this.binder   = binder;
     this.host     = host;
     this.rdr      = rdr;
     this.dasm     = new LookaheadEnumerator <SparcInstruction>(CreateDisassemblyStream(rdr));
     this.instrCur = null !;
     this.m        = null !;
 }
Exemple #8
0
 public SparcProcessorState(SparcArchitecture arch)
 {
     this.arch  = arch;
     this.regs  = new uint[32];
     this.valid = new bool[32];
 }
Exemple #9
0
 public SparcDisassembler(SparcArchitecture arch, EndianImageReader imageReader)
 {
     this.imageReader = imageReader;
 }
Exemple #10
0
 public SparcDisassembler(SparcArchitecture arch, EndianImageReader imageReader)
 {
     this.imageReader = imageReader;
     this.ops         = new List <MachineOperand>();
 }
Exemple #11
0
 public SparcProcessorState(SparcArchitecture arch)
 {
     this.arch = arch;
     this.regs = new uint[32];
     this.valid = new bool[32];
 }
 private static SparcInstruction Disassemble(MemoryArea img)
 {
     var arch = new SparcArchitecture(PrimitiveType.Word32);
     var dasm = new SparcDisassembler(arch, img.CreateBeReader(0U));
     return dasm.First();
 }
Exemple #13
0
 public SparcDisassembler(SparcArchitecture arch, ImageReader imageReader)
 {
     this.arch        = arch;
     this.imageReader = imageReader;
 }