예제 #1
0
        public void SvAmdPs_SerializeProcedure()
        {
            Procedure proc = new Procedure("foo", arch.CreateFrame());
            Address   addr = Address.Ptr32(0x12345);

            Given_ProcedureSerializer();
            Procedure_v1 sproc = ser.Serialize(proc, addr);

            Assert.AreEqual("foo", sproc.Name);
            Assert.AreEqual("00012345", sproc.Address);
        }
 public void Setup()
 {
     this.arch  = new X86ArchitectureFlat64();
     this.frame = arch.CreateFrame();
 }
 public void Setup()
 {
     this.arch  = new X86ArchitectureFlat64(new ServiceContainer(), "x86-protected-64");
     this.frame = arch.CreateFrame();
 }
예제 #4
0
 public void Setup()
 {
     this.arch  = new X86ArchitectureFlat64(new ServiceContainer(), "x86-protected-64", new Dictionary <string, object>());
     this.frame = arch.CreateFrame();
 }
 public void Setup()
 {
     this.arch  = new X86ArchitectureFlat64("x86-protected-64");
     this.frame = arch.CreateFrame();
 }