Inheritance: Reko.Core.ProcessorArchitecture
Ejemplo n.º 1
0
 public ArmRewriter(Arm32ProcessorArchitecture arch, EndianImageReader rdr, ArmProcessorState state, Frame frame, IRewriterHost host)
 {
     this.arch   = arch;
     this.instrs = CreateInstructionStream(rdr);
     this.frame  = frame;
     this.host   = host;
 }
Ejemplo n.º 2
0
        public Arm32Disassembler(Arm32ProcessorArchitecture arch, EndianImageReader rdr)
        {
            var dasm = CapstoneDisassembler.CreateArmDisassembler(
                DisassembleMode.Arm32 | DisassembleMode.LittleEndian);

            dasm.EnableDetails = true;
            this.stream        = dasm.DisassembleStream(
                rdr.Bytes,
                (int)rdr.Offset,
                (long)rdr.Address.ToLinear() - rdr.Offset)
                                 .GetEnumerator();
        }
Ejemplo n.º 3
0
 public void Setup()
 {
     mr = new MockRepository();
     mockFactory = new MockFactory(mr);
     arch = new Arm32ProcessorArchitecture();
 }
Ejemplo n.º 4
0
 public void ArmArch_GetPltEntry()
 {
     this.arch = new Arm32ProcessorArchitecture();
 }
Ejemplo n.º 5
0
 public ArmProcedureSerializer(Arm32ProcessorArchitecture arch, ISerializedTypeVisitor <DataType> typeLoader, string defaultCc)
     : base(arch, typeLoader, defaultCc)
 {
 }
Ejemplo n.º 6
0
 public ArmProcedureSerializer(Arm32ProcessorArchitecture arch, ISerializedTypeVisitor<DataType> typeLoader, string defaultCc)
     : base(arch, typeLoader, defaultCc)
 {
 }