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

            Assert.AreEqual(sExp, i.ToString());
        }
예제 #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());
        }
예제 #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");
 }