mirror of
https://github.com/Perfare/Il2CppDumper.git
synced 2025-01-25 02:03:02 -03:00
删除无用代码
This commit is contained in:
parent
ebdff0ec92
commit
fd67547395
2 changed files with 0 additions and 6 deletions
|
@ -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();
|
||||
|
|
|
@ -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++)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue