Skip to content

Commit

Permalink
删除无用代码
Browse files Browse the repository at this point in the history
  • Loading branch information
Perfare committed Jul 10, 2018
1 parent ebdff0e commit fd67547
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions Il2CppDumper/Elf.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ public Elf(Stream stream, int version, long maxMetadataUsages) : base(stream, ve
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();
Expand Down
2 changes: 0 additions & 2 deletions Il2CppDumper/PE.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ public PE(Stream stream, int version, long maxMetadataUsages) : base(stream, ver
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++)
{
Expand Down

0 comments on commit fd67547

Please sign in to comment.