From a829570327c075738a0b51daaa3e2754739c1223 Mon Sep 17 00:00:00 2001 From: Katy Coe Date: Mon, 21 Dec 2020 08:07:13 +0100 Subject: [PATCH] ELF: Tweak XOR heuristics --- Il2CppInspector.Common/FileFormatStreams/ElfReader.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Il2CppInspector.Common/FileFormatStreams/ElfReader.cs b/Il2CppInspector.Common/FileFormatStreams/ElfReader.cs index 4b6a435..ca56127 100644 --- a/Il2CppInspector.Common/FileFormatStreams/ElfReader.cs +++ b/Il2CppInspector.Common/FileFormatStreams/ElfReader.cs @@ -367,7 +367,7 @@ namespace Il2CppInspector // We refer to issue #96 where the code uses striped encryption in 4KB blocks // We perform heuristics for block of size blockSize below const int blockSize = 0x100; - const int maxBrokenRun = 4; + const int maxBrokenRun = 2; const int minMultiplierInValid = 6; const int minTotalValidInBucket = 0x10;