Switch order of interface parameters

This commit is contained in:
Matt Nadareski
2022-03-14 22:51:17 -07:00
parent a7e9164f4f
commit ceae505f4d
54 changed files with 60 additions and 60 deletions

View File

@@ -8,7 +8,7 @@ namespace BurnOutSharp.PackerType
public class AdvancedInstaller : IPEContentCheck
{
/// <inheritdoc/>
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;

View File

@@ -10,7 +10,7 @@ namespace BurnOutSharp.PackerType
public class Armadillo : IPEContentCheck
{
/// <inheritdoc/>
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;

View File

@@ -36,7 +36,7 @@ namespace BurnOutSharp.PackerType
}
/// <inheritdoc/>
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;

View File

@@ -16,7 +16,7 @@ namespace BurnOutSharp.PackerType
public bool ShouldScan(byte[] magic) => true;
/// <inheritdoc/>
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
}
/// <inheritdoc/>
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;

View File

@@ -12,7 +12,7 @@ namespace BurnOutSharp.PackerType
public bool ShouldScan(byte[] magic) => true;
/// <inheritdoc/>
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;

View File

@@ -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.
/// <inheritdoc/>
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;

View File

@@ -8,7 +8,7 @@ namespace BurnOutSharp.PackerType
public class IntelInstallationFramework : IPEContentCheck
{
/// <inheritdoc/>
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;

View File

@@ -15,7 +15,7 @@ namespace BurnOutSharp.PackerType
public bool ShouldScan(byte[] magic) => true;
/// <inheritdoc/>
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;

View File

@@ -8,7 +8,7 @@ namespace BurnOutSharp.PackerType
public class NSIS : IPEContentCheck
{
/// <inheritdoc/>
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;

View File

@@ -6,7 +6,7 @@ namespace BurnOutSharp.PackerType
public class PECompact : IPEContentCheck
{
/// <inheritdoc/>
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;

View File

@@ -5,7 +5,7 @@ namespace BurnOutSharp.PackerType
public class PEtite : IPEContentCheck
{
/// <inheritdoc/>
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;

View File

@@ -12,7 +12,7 @@ namespace BurnOutSharp.PackerType
public bool ShouldScan(byte[] magic) => true;
/// <inheritdoc/>
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;

View File

@@ -8,7 +8,7 @@ namespace BurnOutSharp.PackerType
public class UPX : IPEContentCheck
{
/// <inheritdoc/>
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;

View File

@@ -16,7 +16,7 @@ namespace BurnOutSharp.PackerType
public bool ShouldScan(byte[] magic) => true;
/// <inheritdoc/>
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;

View File

@@ -18,7 +18,7 @@ namespace BurnOutSharp.PackerType
public bool ShouldScan(byte[] magic) => true;
/// <inheritdoc/>
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
}
/// <inheritdoc/>
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;

View File

@@ -16,7 +16,7 @@ namespace BurnOutSharp.PackerType
public bool ShouldScan(byte[] magic) => true;
/// <inheritdoc/>
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
}
/// <inheritdoc/>
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;

View File

@@ -7,7 +7,7 @@ namespace BurnOutSharp.PackerType
public class dotFuscator : IPEContentCheck
{
/// <inheritdoc/>
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;