ELF: Move symbol processing to before PostProcessImage

This commit is contained in:
Katy Coe
2020-12-29 19:02:38 +01:00
parent e09002a060
commit 69d155af82

View File

@@ -332,6 +332,9 @@ namespace Il2CppInspector
} }
Console.WriteLine($"Processed {rels.Count} relocations"); Console.WriteLine($"Processed {rels.Count} relocations");
// Build symbol and export tables
processSymbols();
// Detect and defeat various kinds of XOR encryption // Detect and defeat various kinds of XOR encryption
StatusUpdate("Detecting encryption"); StatusUpdate("Detecting encryption");
@@ -445,9 +448,6 @@ namespace Il2CppInspector
throw new InvalidOperationException("This IL2CPP binary is packed in a way not currently supported by Il2CppInspector and cannot be loaded."); throw new InvalidOperationException("This IL2CPP binary is packed in a way not currently supported by Il2CppInspector and cannot be loaded.");
} }
// Build symbol and export tables
processSymbols();
return true; return true;
} }