diff --git a/BinaryObjectScanner/FileType/Executable.cs b/BinaryObjectScanner/FileType/Executable.cs index 66523f48..8fd3eb2c 100644 --- a/BinaryObjectScanner/FileType/Executable.cs +++ b/BinaryObjectScanner/FileType/Executable.cs @@ -149,7 +149,7 @@ namespace BinaryObjectScanner.FileType /// Stream to scan the contents of /// True to include debug data, false otherwise /// Set of protections in file, empty on error - public IDictionary RunContentChecks(string? file, Stream stream, bool includeDebug) + private static IDictionary RunContentChecks(string? file, Stream stream, bool includeDebug) { // Create the output dictionary var protections = new CheckDictionary(); @@ -202,7 +202,7 @@ namespace BinaryObjectScanner.FileType /// Scanner for handling recursive protections /// True to include debug data, false otherwise /// Set of protections in file, empty on error - public IDictionary RunExecutableChecks(string file, T exe, List checks, bool includeDebug) + private static IDictionary RunExecutableChecks(string file, T exe, List checks, bool includeDebug) where T : WrapperBase where U : IExecutableCheck {