public void Setup()
 {
     mr          = new MockRepository();
     mockFactory = new MockFactory(mr);
     arch        = new X86ArchitectureFlat64();
     platform    = new SysVPlatform(null, arch);
 }
Exemple #2
0
        public AttSyntaxTests()
        {
            var sc      = new ServiceContainer();
            var options = new Dictionary <string, object>();

            this.arch32 = new X86ArchitectureFlat32(sc, "x86-protected-32", options);
            this.arch64 = new X86ArchitectureFlat64(sc, "x86-protected-64", options);
        }
        private void Given_x86_64_Image(params byte[] bytes)
        {
            var image = new MemoryArea(
                Address.Ptr64(0x0100000000000000),
                bytes);
            var arch = new X86ArchitectureFlat64("x86-protected-64");

            CreateProgram(image, arch);
        }
Exemple #4
0
        private void Given_x86_64_Image(params byte[] bytes)
        {
            var bmem = new ByteMemoryArea(
                Address.Ptr64(0x0100000000000000),
                bytes);
            var arch = new X86ArchitectureFlat64(new ServiceContainer(), "x86-protected-64", new Dictionary <string, object>());

            CreateProgram(bmem, arch);
        }
 public void Setup()
 {
     arch = new X86ArchitectureFlat64(new ServiceContainer(), "x86-protected-64", new Dictionary <string, object>());
 }
Exemple #6
0
 public void Setup()
 {
     arch = new X86ArchitectureFlat64("x86-protected-64");
 }
 public void Setup()
 {
     arch = new X86ArchitectureFlat64(new ServiceContainer(), "x86-protected-64");
 }
 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();
 }
Exemple #10
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();
 }
Exemple #12
0
 public void Setup()
 {
     arch     = new X86ArchitectureFlat64();
     platform = new SysVPlatform(null, arch);
 }
 public void Setup()
 {
     mr          = new MockRepository();
     mockFactory = new MockFactory(mr);
     arch        = new X86ArchitectureFlat64();
 }
Exemple #14
0
 public void Setup()
 {
     arch = new X86ArchitectureFlat64();
 }