|
2 | 2 |
|
3 | 3 | namespace BinaryObjectScanner.Protection |
4 | 4 | { |
5 | | - // The large dictionaries and hash sets that CEG.cs needs for its logic. |
6 | | - // Contained in a separate file since dictionary size is very large. |
7 | 5 | // TODO: Executables ran through LumaCEG are currently indistinguishable. A table of known OptionalHeader checksums may be worth looking into. |
8 | 6 | public partial class CEG |
9 | 7 | { |
@@ -1119,7 +1117,6 @@ public partial class CEG |
1119 | 1117 | { "DF48D246-BE5E-4947-8FE2-6F3F6B9FEC69", "57971 (v11) - Engine.dll" }, |
1120 | 1118 | { "85A14CBC-EDC1-4B8D-BCDF-434C71E825F1", "57971 (v12, 4510052899061345257) - Engine.dll" }, |
1121 | 1119 |
|
1122 | | - |
1123 | 1120 | #endregion |
1124 | 1121 |
|
1125 | 1122 | // Steam2 and Steam3 are the names of two different Steam CDN formats. Valve switched from Steam2 to Steam3 |
@@ -9204,16 +9201,19 @@ public partial class CEG |
9204 | 9201 | { 1534178082, [ "36DD7C19-D982-498C-8586-BF76BF016DE4" ] }, |
9205 | 9202 | }; |
9206 | 9203 |
|
9207 | | -#if NETSTANDARD2_0_OR_GREATER || NET21_OR_GREATER || NETCOREAPP |
9208 | 9204 | /// <summary> |
9209 | | - /// Hashset containing the steam split GUIDs for executables that proper strips have already been acquired for. |
| 9205 | + /// Set containing the steam split GUIDs for executables that proper strips have already been acquired for. |
9210 | 9206 | /// </summary> |
9211 | 9207 | /// <remarks> |
9212 | 9208 | /// In the future, this may be split out into two seperate tables, one for tampered/cracked executables |
9213 | 9209 | /// and one for executables that are untampered but still containing strips. It is uncertain if that will be |
9214 | 9210 | /// necessary at the moment, though. |
9215 | 9211 | /// </remarks> |
9216 | | - private static readonly HashSet<string> HaveStrips= |
| 9212 | +#if NET20 || NET35 |
| 9213 | + private static readonly List<string> HaveStrips = |
| 9214 | +#else |
| 9215 | + private static readonly HashSet<string> HaveStrips = |
| 9216 | +#endif |
9217 | 9217 | [ |
9218 | 9218 | "0602B89C-4FAB-42F8-9772-C3A61D36AB93", |
9219 | 9219 | "060E4378-4B8C-40F5-ACFC-A42B98DBB076", |
@@ -9318,6 +9318,5 @@ public partial class CEG |
9318 | 9318 | "F7D0A3D5-A821-4C79-ABFC-59128E0FE3B9", |
9319 | 9319 | "FBF6EAD2-00DF-44F1-80F6-6595B2E8BF44", |
9320 | 9320 | ]; |
9321 | | -#endif |
9322 | 9321 | } |
9323 | 9322 | } |
0 commit comments