Ejemplo n.º 1
0
        private void AssertCode(string sExp, string hexBytes)
        {
            this.arch = new PaRiscArchitecture("paRisc");
            var i = DisassembleHexBytes(hexBytes);

            Assert.AreEqual(sExp, i.ToString());
        }
Ejemplo n.º 2
0
        private void AssertCode(string sExp, string hexBytes)
        {
            this.arch = new PaRiscArchitecture(new ServiceContainer(), "paRisc", new Dictionary <string, object>());
            var i = DisassembleHexBytes(hexBytes);

            Assert.AreEqual(sExp, i.ToString());
        }
Ejemplo n.º 3
0
        private void AssertCode64(string sExp, string hexBytes)
        {
            this.arch = new PaRiscArchitecture("paRisc");
            arch.Options["WordSize"] = "64";
            var i = DisassembleHexBytes(hexBytes);

            Assert.AreEqual(sExp, i.ToString());
        }
Ejemplo n.º 4
0
        public PaRiscRewriterTests()
        {
            var options = new Dictionary <string, object>
            {
                { ProcessorOption.WordSize, 64 },
            };

            this.arch = new PaRiscArchitecture(CreateServiceContainer(), "parisc", options);
        }
Ejemplo n.º 5
0
 public PaRiscRewriterTests()
 {
     this.arch = new PaRiscArchitecture(CreateServiceContainer(), "parisc", new Dictionary <string, object>());
 }
Ejemplo n.º 6
0
 public PaRiscRewriterTests()
 {
     this.arch = new PaRiscArchitecture(CreateServiceContainer(), "parisc");
 }
Ejemplo n.º 7
0
 public PaRiscRewriterTests()
 {
     this.arch = new PaRiscArchitecture("parisc");
 }