From 69d155af823c9b4078a03c3d5302b992a2e4cdb0 Mon Sep 17 00:00:00 2001 From: Katy Coe Date: Tue, 29 Dec 2020 19:02:38 +0100 Subject: [PATCH] ELF: Move symbol processing to before PostProcessImage --- Il2CppInspector.Common/FileFormatStreams/ElfReader.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Il2CppInspector.Common/FileFormatStreams/ElfReader.cs b/Il2CppInspector.Common/FileFormatStreams/ElfReader.cs index ca56127..9f845a2 100644 --- a/Il2CppInspector.Common/FileFormatStreams/ElfReader.cs +++ b/Il2CppInspector.Common/FileFormatStreams/ElfReader.cs @@ -332,6 +332,9 @@ namespace Il2CppInspector } Console.WriteLine($"Processed {rels.Count} relocations"); + // Build symbol and export tables + processSymbols(); + // Detect and defeat various kinds of XOR 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."); } - // Build symbol and export tables - processSymbols(); - return true; }