@@ -74,12 +74,10 @@ protected IDictionary<IContentCheck, string> RunContentChecks(string? file, Stre
7474 /// Handle a single file based on all executable check implementations
7575 /// </summary>
7676 /// <param name="file">Name of the source file of the executable, for tracking</param>
77- /// <param name="exe">Executable to scan</param>
7877 /// <param name="checks">Set of checks to use</param>
79- /// <param name="scanner">Scanner for handling recursive protections</param>
8078 /// <param name="includeDebug">True to include debug data, false otherwise</param>
8179 /// <returns>Set of protections in file, empty on error</returns>
82- protected IDictionary < U , string > RunExecutableChecks < U > ( string file , T exe , U [ ] checks , bool includeDebug )
80+ protected IDictionary < U , string > RunExecutableChecks < U > ( string file , U [ ] checks , bool includeDebug )
8381 where U : IExecutableCheck < T >
8482 {
8583 // Create the output dictionary
@@ -89,7 +87,7 @@ protected IDictionary<U, string> RunExecutableChecks<U>(string file, T exe, U[]
8987 checks . IterateWithAction ( checkClass =>
9088 {
9189 // Get the protection for the class, if possible
92- var protection = checkClass . CheckExecutable ( file , exe , includeDebug ) ;
90+ var protection = checkClass . CheckExecutable ( file , _wrapper , includeDebug ) ;
9391 if ( string . IsNullOrEmpty ( protection ) )
9492 return ;
9593
0 commit comments