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 } }; }
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 } }; }
private void When_CreateLoader() { ldr = new MachOLoader(sc, "foo.o", writer.Bytes); }
public Loader64(MachOLoader ldr, ImageReader rdr) : base(ldr, rdr) { }
protected Parser(MachOLoader ldr, ImageReader rdr) { this.ldr = ldr; this.rdr = rdr; }
public Loader64(MachOLoader ldr, EndianImageReader rdr) : base(ldr, rdr) { }
protected Parser(MachOLoader ldr, EndianImageReader rdr) { this.ldr = ldr; this.rdr = rdr; }
public Loader32(MachOLoader ldr, ImageReader rdr) : base(ldr, rdr) { }