删除无用代码

This commit is contained in:
Perfare 2018-07-11 06:26:12 +08:00
parent ebdff0ec92
commit fd67547395
2 changed files with 0 additions and 6 deletions

View file

@ -22,10 +22,6 @@ namespace Il2CppDumper
elf_header = new Elf32_Ehdr();
elf_header.ei_mag = ReadUInt32();
elf_header.ei_class = ReadByte();
if (elf_header.ei_class == 2)//64
{
throw new Exception("ERROR: 64 bit not supported.");
}
elf_header.ei_data = ReadByte();
elf_header.ei_version = ReadByte();
elf_header.ei_osabi = ReadByte();

View file

@ -25,8 +25,6 @@ namespace Il2CppDumper
optionalHeader = ReadClass<OptionalHeader>();
optionalHeader.DataDirectory = ReadClassArray<DataDirectory>(optionalHeader.NumberOfRvaAndSizes);
imageBase = optionalHeader.ImageBase;
var IATVirtualAddress = optionalHeader.DataDirectory[12].VirtualAddress;
var IATSize = optionalHeader.DataDirectory[12].Size;
sections = new SectionHeader[fileHeader.NumberOfSections];
for (int i = 0; i < fileHeader.NumberOfSections; i++)
{