mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-02-15 21:35:34 +00:00
Add placeholder LE interface (fixes #165)
This commit is contained in:
@@ -75,4 +75,9 @@
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="ExecutableType\Apple\" />
|
||||
<Folder Include="ExecutableType\ELF\" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
namespace BurnOutSharp.ExecutableType.Microsoft.LE
|
||||
{
|
||||
/// <summary>
|
||||
/// PLACEHOLDER LE/LX
|
||||
/// </summary>
|
||||
public class LinearExecutable
|
||||
{
|
||||
}
|
||||
}
|
||||
19
BurnOutSharp/Interfaces/ILinearExecutableCheck.cs
Normal file
19
BurnOutSharp/Interfaces/ILinearExecutableCheck.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using BurnOutSharp.ExecutableType.Microsoft.LE;
|
||||
|
||||
namespace BurnOutSharp.Interfaces
|
||||
{
|
||||
/// <summary>
|
||||
/// Check a Linear Executable (LE) for protection
|
||||
/// </summary>
|
||||
internal interface ILinearExecutableCheck
|
||||
{
|
||||
/// <summary>
|
||||
/// Check a path for protections based on file contents
|
||||
/// </summary>
|
||||
/// <param name="file">File to check for protection indicators</param>
|
||||
/// <param name="lex">LinearExecutable representing the read-in file</param>
|
||||
/// <param name="includeDebug">True to include debug data, false otherwise</param>
|
||||
/// <returns>String containing any protections found in the file</returns>
|
||||
string CheckNewExecutable(string file, LinearExecutable lex, bool includeDebug);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user