示例#1
0
 protected Parser(MachOLoader ldr, EndianImageReader rdr)
 {
     this.ldr = ldr;
     this.rdr = rdr;
     this.mpCputypeToUnixthreadPc = new Dictionary <uint, uint>
     {
         { CPU_TYPE_POWERPC, 0x0010 },
         { CPU_TYPE_POWERPC64, 0x0010 },
         { CPU_TYPE_X86, 0x38 },
         { CPU_TYPE_X86_64, 0x90 },
         { CPU_TYPE_ARM, 0x4C },
         { CPU_TYPE_ARM64, 0x110 },
         { CPU_TYPE_MC680x0, 0x44 }
     };
 }
示例#2
0
 protected Parser(MachOLoader ldr, EndianImageReader rdr)
 {
     this.ldr    = ldr;
     this.cfgSvc = ldr.Services.RequireService <IConfigurationService>();
     this.rdr    = rdr;
     this.mpCputypeToUnixthreadPc = new Dictionary <uint, uint>
     {
         { CPU_TYPE_POWERPC, 0x0010 },
         { CPU_TYPE_POWERPC64, 0x0010 },
         { CPU_TYPE_X86, 0x38 },
         { CPU_TYPE_X86_64, 0x90 },
         { CPU_TYPE_ARM, 0x4C },
         { CPU_TYPE_ARM64, 0x110 },
         { CPU_TYPE_MC680x0, 0x44 }
     };
 }
示例#3
0
 private void When_CreateLoader()
 {
     ldr = new MachOLoader(sc, "foo.o", writer.Bytes);
 }
示例#4
0
 public Loader64(MachOLoader ldr, ImageReader rdr)
     : base(ldr, rdr)
 {
 }
示例#5
0
 protected Parser(MachOLoader ldr, ImageReader rdr)
 {
     this.ldr = ldr;
     this.rdr = rdr;
 }
示例#6
0
 public Loader64(MachOLoader ldr, EndianImageReader rdr)
     : base(ldr, rdr)
 {
 }
示例#7
0
 protected Parser(MachOLoader ldr, EndianImageReader rdr)
 {
     this.ldr = ldr;
     this.rdr = rdr;
 }
示例#8
0
 public Loader32(MachOLoader ldr, ImageReader rdr) : base(ldr, rdr)
 {
 }