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

            Assert.AreEqual(sExp, i.ToString());
        }
        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());
        }
示例#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());
        }
示例#4
0
        public PaRiscRewriterTests()
        {
            var options = new Dictionary <string, object>
            {
                { ProcessorOption.WordSize, 64 },
            };

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