Inheritance: Reko.Core.ProcessorArchitecture
Beispiel #1
0
 public MipsDisassembler(MipsProcessorArchitecture arch, EndianImageReader imageReader, bool isVersion6OrLater)
 {
     this.arch = arch;
     this.rdr  = imageReader;
     this.isVersion6OrLater = isVersion6OrLater;
     this.signedWord        = PrimitiveType.Create(Domain.SignedInt, arch.WordWidth.BitSize);
 }
Beispiel #2
0
 public MipsRewriter(MipsProcessorArchitecture arch, IEnumerable <MipsInstruction> instrs, Frame frame, IRewriterHost host)
 {
     this.arch  = arch;
     this.frame = frame;
     this.dasm  = instrs.GetEnumerator();
     this.host  = host;
 }
Beispiel #3
0
 public Mips16eDisassembler(MipsProcessorArchitecture arch, EndianImageReader rdr)
 {
     this.arch = arch;
     this.rdr  = rdr;
     this.ops  = new List <MachineOperand>();
     this.addr = null !;
 }
Beispiel #4
0
 public NanoMipsDisassembler(MipsProcessorArchitecture arch, EndianImageReader rdr)
 {
     this.arch = arch;
     this.rdr = rdr;
     this.ops = new List<MachineOperand>();
     this.gp = arch.GetRegister(28);
 }
Beispiel #5
0
 public MipsRewriter(MipsProcessorArchitecture arch, IEnumerable <MipsInstruction> instrs, IStorageBinder binder, IRewriterHost host)
 {
     this.arch   = arch;
     this.binder = binder;
     this.dasm   = instrs.GetEnumerator();
     this.host   = host;
 }
Beispiel #6
0
 public MipsDisassembler(MipsProcessorArchitecture arch, Decoder decoder, EndianImageReader imageReader)
 {
     this.arch        = arch;
     this.rootDecoder = decoder;
     this.rdr         = imageReader;
     this.signedWord  = PrimitiveType.Create(Domain.SignedInt, arch.WordWidth.BitSize);
     this.ops         = new List <MachineOperand>();
 }
Beispiel #7
0
 public MipsRewriter(MipsProcessorArchitecture arch, EndianImageReader rdr, IEnumerable <MipsInstruction> instrs, IStorageBinder binder, IRewriterHost host)
 {
     this.arch   = arch;
     this.binder = binder;
     this.rdr    = rdr;
     this.dasm   = instrs.GetEnumerator();
     this.host   = host;
     this.cmp    = new ExpressionValueComparer();
 }
Beispiel #8
0
 public Mips16eRewriter(
     MipsProcessorArchitecture arch,
     EndianImageReader rdr,
     IEnumerable <MipsInstruction> instrs,
     IStorageBinder binder,
     IRewriterHost host)
 {
     this.arch   = arch;
     this.rdr    = rdr;
     this.dasm   = instrs.GetEnumerator();
     this.binder = binder;
     this.host   = host;
     this.m      = null !;
 }
Beispiel #9
0
 public MipsProcessorState(MipsProcessorState that) : base(that)
 {
     this.arch  = that.arch;
     this.iregs = (Constant[])that.iregs.Clone();
     this.valid = (bool[])that.valid.Clone();
 }
Beispiel #10
0
        private bool[] valid;       // whether the regs are valid or not.

        public MipsProcessorState(MipsProcessorArchitecture arch)
        {
            this.arch  = arch;
            this.iregs = new Constant[32];
            this.valid = new bool[32];
        }
Beispiel #11
0
 public MipsDisassembler(MipsProcessorArchitecture arch, ImageReader imageReader)
 {
     this.arch = arch;
     this.rdr  = imageReader;
 }
Beispiel #12
0
 public MipsDisassembler(MipsProcessorArchitecture arch, EndianImageReader imageReader, bool isVersion6OrLater)
 {
     this.arch = arch;
     this.rdr  = imageReader;
     this.isVersion6OrLater = isVersion6OrLater;
 }
Beispiel #13
0
 public MipsProcessorState(MipsProcessorArchitecture arch)
 {
     this.arch = arch;
 }
Beispiel #14
0
 public MipsProcessorState(MipsProcessorArchitecture arch)
 {
     this.arch = arch;
 }
Beispiel #15
0
        private bool[] valid;       // whether the regs are valid or not.

        public MipsProcessorState(MipsProcessorArchitecture arch)
        {
            this.arch = arch;
            this.iregs = new uint[32];
            this.valid = new bool[32];
        }