diff --git a/BurnOutSharp/FileType/Executable.cs b/BurnOutSharp/FileType/Executable.cs index 31b15888..806f9204 100644 --- a/BurnOutSharp/FileType/Executable.cs +++ b/BurnOutSharp/FileType/Executable.cs @@ -146,7 +146,7 @@ namespace BurnOutSharp.FileType bool foundProtection = false; // Check using custom content checks first - string protection = contentCheckClass.CheckNEContents(file, scanner.IncludeDebug, nex); + string protection = contentCheckClass.CheckNEContents(file, nex, scanner.IncludeDebug); foundProtection |= !string.IsNullOrWhiteSpace(protection); if (ShouldAddProtection(contentCheckClass, scanner, protection)) Utilities.AppendToDictionary(protections, file, protection); @@ -173,7 +173,7 @@ namespace BurnOutSharp.FileType bool foundProtection = false; // Check using custom content checks first - string protection = contentCheckClass.CheckPEContents(file, scanner.IncludeDebug, pex); + string protection = contentCheckClass.CheckPEContents(file, pex, scanner.IncludeDebug); foundProtection |= !string.IsNullOrWhiteSpace(protection); if (ShouldAddProtection(contentCheckClass, scanner, protection)) Utilities.AppendToDictionary(protections, file, protection); diff --git a/BurnOutSharp/INEContentCheck.cs b/BurnOutSharp/INEContentCheck.cs index d738e3b9..9ac9ff79 100644 --- a/BurnOutSharp/INEContentCheck.cs +++ b/BurnOutSharp/INEContentCheck.cs @@ -9,9 +9,9 @@ namespace BurnOutSharp /// Check a path for protections based on file contents /// /// File to check for protection indicators - /// True to include debug data, false otherwise /// NewExecutable representing the read-in file + /// True to include debug data, false otherwise /// String containing any protections found in the file - string CheckNEContents(string file, bool includeDebug, NewExecutable nex); + string CheckNEContents(string file, NewExecutable nex, bool includeDebug); } } diff --git a/BurnOutSharp/IPEContentCheck.cs b/BurnOutSharp/IPEContentCheck.cs index e8680204..7c7c666f 100644 --- a/BurnOutSharp/IPEContentCheck.cs +++ b/BurnOutSharp/IPEContentCheck.cs @@ -12,6 +12,6 @@ namespace BurnOutSharp /// True to include debug data, false otherwise /// PortableExecutable representing the read-in file /// String containing any protections found in the file - string CheckPEContents(string file, bool includeDebug, PortableExecutable pex); + string CheckPEContents(string file, PortableExecutable pex, bool includeDebug); } } diff --git a/BurnOutSharp/PackerType/AdvancedInstaller.cs b/BurnOutSharp/PackerType/AdvancedInstaller.cs index 5ac76f24..17e77689 100644 --- a/BurnOutSharp/PackerType/AdvancedInstaller.cs +++ b/BurnOutSharp/PackerType/AdvancedInstaller.cs @@ -8,7 +8,7 @@ namespace BurnOutSharp.PackerType public class AdvancedInstaller : IPEContentCheck { /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/PackerType/Armadillo.cs b/BurnOutSharp/PackerType/Armadillo.cs index 7f4a2b52..c8041aab 100644 --- a/BurnOutSharp/PackerType/Armadillo.cs +++ b/BurnOutSharp/PackerType/Armadillo.cs @@ -10,7 +10,7 @@ namespace BurnOutSharp.PackerType public class Armadillo : IPEContentCheck { /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/PackerType/EXEStealth.cs b/BurnOutSharp/PackerType/EXEStealth.cs index f402c547..4ffbcf9e 100644 --- a/BurnOutSharp/PackerType/EXEStealth.cs +++ b/BurnOutSharp/PackerType/EXEStealth.cs @@ -36,7 +36,7 @@ namespace BurnOutSharp.PackerType } /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/PackerType/InnoSetup.cs b/BurnOutSharp/PackerType/InnoSetup.cs index 9460b11e..fa534f7d 100644 --- a/BurnOutSharp/PackerType/InnoSetup.cs +++ b/BurnOutSharp/PackerType/InnoSetup.cs @@ -16,7 +16,7 @@ namespace BurnOutSharp.PackerType public bool ShouldScan(byte[] magic) => true; /// - public string CheckNEContents(string file, bool includeDebug, NewExecutable nex) + public string CheckNEContents(string file, NewExecutable nex, bool includeDebug) { // Get the DOS stub from the executable, if possible var stub = nex?.DOSStubHeader; @@ -37,7 +37,7 @@ namespace BurnOutSharp.PackerType } /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/PackerType/InstallAnywhere.cs b/BurnOutSharp/PackerType/InstallAnywhere.cs index 80cd10ac..e9d7e6cc 100644 --- a/BurnOutSharp/PackerType/InstallAnywhere.cs +++ b/BurnOutSharp/PackerType/InstallAnywhere.cs @@ -12,7 +12,7 @@ namespace BurnOutSharp.PackerType public bool ShouldScan(byte[] magic) => true; /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/PackerType/InstallerVISE.cs b/BurnOutSharp/PackerType/InstallerVISE.cs index 39fde3fd..d9173db6 100644 --- a/BurnOutSharp/PackerType/InstallerVISE.cs +++ b/BurnOutSharp/PackerType/InstallerVISE.cs @@ -13,7 +13,7 @@ namespace BurnOutSharp.PackerType //TODO: Add exact version detection for Windows builds, make sure versions before 3.X are detected as well, and detect the Mac builds. /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/PackerType/IntelInstallationFramework.cs b/BurnOutSharp/PackerType/IntelInstallationFramework.cs index 9ad7bae0..d431a034 100644 --- a/BurnOutSharp/PackerType/IntelInstallationFramework.cs +++ b/BurnOutSharp/PackerType/IntelInstallationFramework.cs @@ -8,7 +8,7 @@ namespace BurnOutSharp.PackerType public class IntelInstallationFramework : IPEContentCheck { /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/PackerType/MicrosoftCABSFX.cs b/BurnOutSharp/PackerType/MicrosoftCABSFX.cs index 45215ba4..3f1d80c3 100644 --- a/BurnOutSharp/PackerType/MicrosoftCABSFX.cs +++ b/BurnOutSharp/PackerType/MicrosoftCABSFX.cs @@ -15,7 +15,7 @@ namespace BurnOutSharp.PackerType public bool ShouldScan(byte[] magic) => true; /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/PackerType/NSIS.cs b/BurnOutSharp/PackerType/NSIS.cs index 7b78d247..f87f115a 100644 --- a/BurnOutSharp/PackerType/NSIS.cs +++ b/BurnOutSharp/PackerType/NSIS.cs @@ -8,7 +8,7 @@ namespace BurnOutSharp.PackerType public class NSIS : IPEContentCheck { /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/PackerType/PECompact.cs b/BurnOutSharp/PackerType/PECompact.cs index 03a5009a..17218186 100644 --- a/BurnOutSharp/PackerType/PECompact.cs +++ b/BurnOutSharp/PackerType/PECompact.cs @@ -6,7 +6,7 @@ namespace BurnOutSharp.PackerType public class PECompact : IPEContentCheck { /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/PackerType/Petite.cs b/BurnOutSharp/PackerType/Petite.cs index 667158f7..3b84f9e6 100644 --- a/BurnOutSharp/PackerType/Petite.cs +++ b/BurnOutSharp/PackerType/Petite.cs @@ -5,7 +5,7 @@ namespace BurnOutSharp.PackerType public class PEtite : IPEContentCheck { /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/PackerType/SetupFactory.cs b/BurnOutSharp/PackerType/SetupFactory.cs index d1c4ae63..69143a04 100644 --- a/BurnOutSharp/PackerType/SetupFactory.cs +++ b/BurnOutSharp/PackerType/SetupFactory.cs @@ -12,7 +12,7 @@ namespace BurnOutSharp.PackerType public bool ShouldScan(byte[] magic) => true; /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/PackerType/UPX.cs b/BurnOutSharp/PackerType/UPX.cs index fddfb05a..08f30b3f 100644 --- a/BurnOutSharp/PackerType/UPX.cs +++ b/BurnOutSharp/PackerType/UPX.cs @@ -8,7 +8,7 @@ namespace BurnOutSharp.PackerType public class UPX : IPEContentCheck { /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/PackerType/WinRARSFX.cs b/BurnOutSharp/PackerType/WinRARSFX.cs index 7ac957a4..a663bbd5 100644 --- a/BurnOutSharp/PackerType/WinRARSFX.cs +++ b/BurnOutSharp/PackerType/WinRARSFX.cs @@ -16,7 +16,7 @@ namespace BurnOutSharp.PackerType public bool ShouldScan(byte[] magic) => true; /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/PackerType/WinZipSFX.cs b/BurnOutSharp/PackerType/WinZipSFX.cs index 800413af..1549573e 100644 --- a/BurnOutSharp/PackerType/WinZipSFX.cs +++ b/BurnOutSharp/PackerType/WinZipSFX.cs @@ -18,7 +18,7 @@ namespace BurnOutSharp.PackerType public bool ShouldScan(byte[] magic) => true; /// - public string CheckNEContents(string file, bool includeDebug, NewExecutable nex) + public string CheckNEContents(string file, NewExecutable nex, bool includeDebug) { // Get the DOS stub from the executable, if possible var stub = nex?.DOSStubHeader; @@ -37,7 +37,7 @@ namespace BurnOutSharp.PackerType } /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/PackerType/WiseInstaller.cs b/BurnOutSharp/PackerType/WiseInstaller.cs index 4ce6b61f..bd27bd61 100644 --- a/BurnOutSharp/PackerType/WiseInstaller.cs +++ b/BurnOutSharp/PackerType/WiseInstaller.cs @@ -16,7 +16,7 @@ namespace BurnOutSharp.PackerType public bool ShouldScan(byte[] magic) => true; /// - public string CheckNEContents(string file, bool includeDebug, NewExecutable nex) + public string CheckNEContents(string file, NewExecutable nex, bool includeDebug) { // Get the DOS stub from the executable, if possible var stub = nex?.DOSStubHeader; @@ -35,7 +35,7 @@ namespace BurnOutSharp.PackerType } /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/PackerType/dotFuscator.cs b/BurnOutSharp/PackerType/dotFuscator.cs index 3bcc0d41..7c2e3fb6 100644 --- a/BurnOutSharp/PackerType/dotFuscator.cs +++ b/BurnOutSharp/PackerType/dotFuscator.cs @@ -7,7 +7,7 @@ namespace BurnOutSharp.PackerType public class dotFuscator : IPEContentCheck { /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/ProtectionType/ActiveMARK.cs b/BurnOutSharp/ProtectionType/ActiveMARK.cs index 0fe90585..eca23797 100644 --- a/BurnOutSharp/ProtectionType/ActiveMARK.cs +++ b/BurnOutSharp/ProtectionType/ActiveMARK.cs @@ -32,7 +32,7 @@ namespace BurnOutSharp.ProtectionType } /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/ProtectionType/AlphaROM.cs b/BurnOutSharp/ProtectionType/AlphaROM.cs index c585675f..1318b69e 100644 --- a/BurnOutSharp/ProtectionType/AlphaROM.cs +++ b/BurnOutSharp/ProtectionType/AlphaROM.cs @@ -14,7 +14,7 @@ namespace BurnOutSharp.ProtectionType public class AlphaROM : IPEContentCheck { /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/ProtectionType/CDCheck.cs b/BurnOutSharp/ProtectionType/CDCheck.cs index 6a256753..d465fda3 100644 --- a/BurnOutSharp/ProtectionType/CDCheck.cs +++ b/BurnOutSharp/ProtectionType/CDCheck.cs @@ -7,7 +7,7 @@ namespace BurnOutSharp.ProtectionType public class CDCheck : IPEContentCheck { /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/ProtectionType/CDDVDCops.cs b/BurnOutSharp/ProtectionType/CDDVDCops.cs index fd0742b8..a5f8369f 100644 --- a/BurnOutSharp/ProtectionType/CDDVDCops.cs +++ b/BurnOutSharp/ProtectionType/CDDVDCops.cs @@ -41,7 +41,7 @@ namespace BurnOutSharp.ProtectionType } /// - public string CheckNEContents(string file, bool includeDebug, NewExecutable nex) + public string CheckNEContents(string file, NewExecutable nex, bool includeDebug) { // Get the DOS stub from the executable, if possible var stub = nex?.DOSStubHeader; @@ -67,7 +67,7 @@ namespace BurnOutSharp.ProtectionType } /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/ProtectionType/CDKey.cs b/BurnOutSharp/ProtectionType/CDKey.cs index 176e5a2f..03e3e9d1 100644 --- a/BurnOutSharp/ProtectionType/CDKey.cs +++ b/BurnOutSharp/ProtectionType/CDKey.cs @@ -7,7 +7,7 @@ namespace BurnOutSharp.ProtectionType public class CDKey : IPEContentCheck { /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/ProtectionType/CDLock.cs b/BurnOutSharp/ProtectionType/CDLock.cs index f60ffe32..8a403c39 100644 --- a/BurnOutSharp/ProtectionType/CDLock.cs +++ b/BurnOutSharp/ProtectionType/CDLock.cs @@ -8,7 +8,7 @@ namespace BurnOutSharp.ProtectionType public class CDLock : IPEContentCheck, IPathCheck { /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/ProtectionType/CDSHiELDSE.cs b/BurnOutSharp/ProtectionType/CDSHiELDSE.cs index 1daabd4f..0df779ad 100644 --- a/BurnOutSharp/ProtectionType/CDSHiELDSE.cs +++ b/BurnOutSharp/ProtectionType/CDSHiELDSE.cs @@ -7,7 +7,7 @@ namespace BurnOutSharp.ProtectionType public class CDSHiELDSE : IPEContentCheck { /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/ProtectionType/CactusDataShield.cs b/BurnOutSharp/ProtectionType/CactusDataShield.cs index 8452da6c..e99ba3aa 100644 --- a/BurnOutSharp/ProtectionType/CactusDataShield.cs +++ b/BurnOutSharp/ProtectionType/CactusDataShield.cs @@ -36,7 +36,7 @@ namespace BurnOutSharp.ProtectionType } /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/ProtectionType/CenegaProtectDVD.cs b/BurnOutSharp/ProtectionType/CenegaProtectDVD.cs index be6a59b9..87fe8f07 100644 --- a/BurnOutSharp/ProtectionType/CenegaProtectDVD.cs +++ b/BurnOutSharp/ProtectionType/CenegaProtectDVD.cs @@ -5,7 +5,7 @@ namespace BurnOutSharp.ProtectionType public class CengaProtectDVD : IPEContentCheck { /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/ProtectionType/CodeLock.cs b/BurnOutSharp/ProtectionType/CodeLock.cs index d680c92b..3914482e 100644 --- a/BurnOutSharp/ProtectionType/CodeLock.cs +++ b/BurnOutSharp/ProtectionType/CodeLock.cs @@ -32,7 +32,7 @@ namespace BurnOutSharp.ProtectionType } /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/ProtectionType/ElectronicArts.cs b/BurnOutSharp/ProtectionType/ElectronicArts.cs index f53d4684..d0cd183f 100644 --- a/BurnOutSharp/ProtectionType/ElectronicArts.cs +++ b/BurnOutSharp/ProtectionType/ElectronicArts.cs @@ -15,7 +15,7 @@ namespace BurnOutSharp.ProtectionType public class ElectronicArts : IPEContentCheck { /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/ProtectionType/GFWL.cs b/BurnOutSharp/ProtectionType/GFWL.cs index 7cf87623..bf08aeb5 100644 --- a/BurnOutSharp/ProtectionType/GFWL.cs +++ b/BurnOutSharp/ProtectionType/GFWL.cs @@ -10,7 +10,7 @@ namespace BurnOutSharp.ProtectionType public class GFWL : IPEContentCheck, IPathCheck { /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/ProtectionType/ImpulseReactor.cs b/BurnOutSharp/ProtectionType/ImpulseReactor.cs index f6989195..5d798ec3 100644 --- a/BurnOutSharp/ProtectionType/ImpulseReactor.cs +++ b/BurnOutSharp/ProtectionType/ImpulseReactor.cs @@ -11,7 +11,7 @@ namespace BurnOutSharp.ProtectionType public class ImpulseReactor : IPEContentCheck, IPathCheck { /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/ProtectionType/Intenium.cs b/BurnOutSharp/ProtectionType/Intenium.cs index 8702e463..f99de053 100644 --- a/BurnOutSharp/ProtectionType/Intenium.cs +++ b/BurnOutSharp/ProtectionType/Intenium.cs @@ -22,7 +22,7 @@ namespace BurnOutSharp.ProtectionType */ /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/ProtectionType/JoWood.cs b/BurnOutSharp/ProtectionType/JoWood.cs index 82d3188a..a3459e9b 100644 --- a/BurnOutSharp/ProtectionType/JoWood.cs +++ b/BurnOutSharp/ProtectionType/JoWood.cs @@ -12,7 +12,7 @@ namespace BurnOutSharp.ProtectionType public class JoWood : IPEContentCheck { /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/ProtectionType/Key2AudioXS.cs b/BurnOutSharp/ProtectionType/Key2AudioXS.cs index b1d9aa98..f2669d37 100644 --- a/BurnOutSharp/ProtectionType/Key2AudioXS.cs +++ b/BurnOutSharp/ProtectionType/Key2AudioXS.cs @@ -9,7 +9,7 @@ namespace BurnOutSharp.ProtectionType public class Key2AudioXS : IPEContentCheck { /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/ProtectionType/LaserLok.cs b/BurnOutSharp/ProtectionType/LaserLok.cs index fbaddc6e..def2d208 100644 --- a/BurnOutSharp/ProtectionType/LaserLok.cs +++ b/BurnOutSharp/ProtectionType/LaserLok.cs @@ -12,7 +12,7 @@ namespace BurnOutSharp.ProtectionType public class LaserLok : IPEContentCheck, IPathCheck { /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // TODO: Additional checks that may or may not be useful with the below // diff --git a/BurnOutSharp/ProtectionType/MediaMaxCD3.cs b/BurnOutSharp/ProtectionType/MediaMaxCD3.cs index 1912a54d..2c75fbe6 100644 --- a/BurnOutSharp/ProtectionType/MediaMaxCD3.cs +++ b/BurnOutSharp/ProtectionType/MediaMaxCD3.cs @@ -9,7 +9,7 @@ namespace BurnOutSharp.ProtectionType public class MediaMaxCD3 : IPEContentCheck, IPathCheck { /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/ProtectionType/OnlineRegistration.cs b/BurnOutSharp/ProtectionType/OnlineRegistration.cs index 9d5b7ca5..48ed469e 100644 --- a/BurnOutSharp/ProtectionType/OnlineRegistration.cs +++ b/BurnOutSharp/ProtectionType/OnlineRegistration.cs @@ -7,7 +7,7 @@ namespace BurnOutSharp.ProtectionType public class OnlineRegistration : IPEContentCheck { /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/ProtectionType/Origin.cs b/BurnOutSharp/ProtectionType/Origin.cs index c4064e26..6a545fbf 100644 --- a/BurnOutSharp/ProtectionType/Origin.cs +++ b/BurnOutSharp/ProtectionType/Origin.cs @@ -10,7 +10,7 @@ namespace BurnOutSharp.ProtectionType public class Origin : IPEContentCheck, IPathCheck { /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/ProtectionType/ProtectDisc.cs b/BurnOutSharp/ProtectionType/ProtectDisc.cs index 8d64c2d9..e77637fc 100644 --- a/BurnOutSharp/ProtectionType/ProtectDisc.cs +++ b/BurnOutSharp/ProtectionType/ProtectDisc.cs @@ -10,7 +10,7 @@ namespace BurnOutSharp.ProtectionType public class ProtectDISC : IPEContentCheck { /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/ProtectionType/SafeDisc.cs b/BurnOutSharp/ProtectionType/SafeDisc.cs index 66ba0485..5fccd0e3 100644 --- a/BurnOutSharp/ProtectionType/SafeDisc.cs +++ b/BurnOutSharp/ProtectionType/SafeDisc.cs @@ -47,7 +47,7 @@ namespace BurnOutSharp.ProtectionType }; /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/ProtectionType/SecuROM.cs b/BurnOutSharp/ProtectionType/SecuROM.cs index 54052cdf..c9a61b24 100644 --- a/BurnOutSharp/ProtectionType/SecuROM.cs +++ b/BurnOutSharp/ProtectionType/SecuROM.cs @@ -15,7 +15,7 @@ namespace BurnOutSharp.ProtectionType public class SecuROM : IPEContentCheck, IPathCheck { /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/ProtectionType/SmartE.cs b/BurnOutSharp/ProtectionType/SmartE.cs index 5146d092..8c4efec8 100644 --- a/BurnOutSharp/ProtectionType/SmartE.cs +++ b/BurnOutSharp/ProtectionType/SmartE.cs @@ -10,7 +10,7 @@ namespace BurnOutSharp.ProtectionType public class SmartE : IPEContentCheck, IPathCheck { /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/ProtectionType/SolidShield.cs b/BurnOutSharp/ProtectionType/SolidShield.cs index a5cfd469..d66a1c68 100644 --- a/BurnOutSharp/ProtectionType/SolidShield.cs +++ b/BurnOutSharp/ProtectionType/SolidShield.cs @@ -13,7 +13,7 @@ namespace BurnOutSharp.ProtectionType public class SolidShield : IPEContentCheck, IPathCheck { /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/ProtectionType/StarForce.cs b/BurnOutSharp/ProtectionType/StarForce.cs index 39a21b71..15f44a2c 100644 --- a/BurnOutSharp/ProtectionType/StarForce.cs +++ b/BurnOutSharp/ProtectionType/StarForce.cs @@ -10,7 +10,7 @@ namespace BurnOutSharp.ProtectionType public class StarForce : IPEContentCheck, IPathCheck { /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/ProtectionType/Steam.cs b/BurnOutSharp/ProtectionType/Steam.cs index c713f7f6..252e62de 100644 --- a/BurnOutSharp/ProtectionType/Steam.cs +++ b/BurnOutSharp/ProtectionType/Steam.cs @@ -9,7 +9,7 @@ namespace BurnOutSharp.ProtectionType public class Steam : IPEContentCheck, IPathCheck { /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/ProtectionType/Sysiphus.cs b/BurnOutSharp/ProtectionType/Sysiphus.cs index 08a49668..f211fdf7 100644 --- a/BurnOutSharp/ProtectionType/Sysiphus.cs +++ b/BurnOutSharp/ProtectionType/Sysiphus.cs @@ -9,7 +9,7 @@ namespace BurnOutSharp.ProtectionType public class Sysiphus : IPEContentCheck { /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/ProtectionType/Tages.cs b/BurnOutSharp/ProtectionType/Tages.cs index 71de3db5..8c557979 100644 --- a/BurnOutSharp/ProtectionType/Tages.cs +++ b/BurnOutSharp/ProtectionType/Tages.cs @@ -40,7 +40,7 @@ namespace BurnOutSharp.ProtectionType } /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/ProtectionType/ThreePLock.cs b/BurnOutSharp/ProtectionType/ThreePLock.cs index d4add68b..6a2fead5 100644 --- a/BurnOutSharp/ProtectionType/ThreePLock.cs +++ b/BurnOutSharp/ProtectionType/ThreePLock.cs @@ -5,7 +5,7 @@ namespace BurnOutSharp.ProtectionType public class ThreePLock : IPEContentCheck { /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/ProtectionType/ThreeTwoOneStudios.cs b/BurnOutSharp/ProtectionType/ThreeTwoOneStudios.cs index c61c22ab..77c95936 100644 --- a/BurnOutSharp/ProtectionType/ThreeTwoOneStudios.cs +++ b/BurnOutSharp/ProtectionType/ThreeTwoOneStudios.cs @@ -6,7 +6,7 @@ namespace BurnOutSharp.ProtectionType public class ThreeTwoOneStudios : IPEContentCheck { /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/ProtectionType/Uplay.cs b/BurnOutSharp/ProtectionType/Uplay.cs index f43317e7..aacc74c3 100644 --- a/BurnOutSharp/ProtectionType/Uplay.cs +++ b/BurnOutSharp/ProtectionType/Uplay.cs @@ -10,7 +10,7 @@ namespace BurnOutSharp.ProtectionType public class Uplay : IPEContentCheck, IPathCheck { /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/ProtectionType/WTMCDProtect.cs b/BurnOutSharp/ProtectionType/WTMCDProtect.cs index c84e6e54..b28edacf 100644 --- a/BurnOutSharp/ProtectionType/WTMCDProtect.cs +++ b/BurnOutSharp/ProtectionType/WTMCDProtect.cs @@ -9,7 +9,7 @@ namespace BurnOutSharp.ProtectionType public class WTMCDProtect : IPEContentCheck, IPathCheck { /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable; diff --git a/BurnOutSharp/ProtectionType/XCP.cs b/BurnOutSharp/ProtectionType/XCP.cs index 820e5ad1..6eb29995 100644 --- a/BurnOutSharp/ProtectionType/XCP.cs +++ b/BurnOutSharp/ProtectionType/XCP.cs @@ -13,7 +13,7 @@ namespace BurnOutSharp.ProtectionType public class XCP : IPEContentCheck, IPathCheck { /// - public string CheckPEContents(string file, bool includeDebug, PortableExecutable pex) + public string CheckPEContents(string file, PortableExecutable pex, bool includeDebug) { // Get the sections from the executable, if possible var sections = pex?.SectionTable;