mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-07-08 18:06:34 +00:00
Add Reflexive Arcade path checks
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
using System.Collections.Generic;
|
||||
using BinaryObjectScanner.Interfaces;
|
||||
using SabreTools.Matching;
|
||||
using SabreTools.Matching.Paths;
|
||||
using SabreTools.Serialization.Wrappers;
|
||||
|
||||
namespace BinaryObjectScanner.Packer
|
||||
@@ -6,7 +9,7 @@ namespace BinaryObjectScanner.Packer
|
||||
/// <summary>
|
||||
/// Reflexive Arcade Installer
|
||||
/// </summary>
|
||||
public class ReflexiveArcadeInstaller : IExecutableCheck<PortableExecutable>
|
||||
public class ReflexiveArcadeInstaller : IExecutableCheck<PortableExecutable>, IPathCheck
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
public string? CheckExecutable(string file, PortableExecutable exe, bool includeDebug)
|
||||
@@ -26,5 +29,27 @@ namespace BinaryObjectScanner.Packer
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public List<string> CheckDirectoryPath(string path, List<string>? files)
|
||||
{
|
||||
var matchers = new List<PathMatchSet>
|
||||
{
|
||||
new(new FilePathMatch("ReflexiveArcade.dll"), "Reflexive Arcade Installer"),
|
||||
};
|
||||
|
||||
return MatchUtil.GetAllMatches(files, matchers, any: true);
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public string? CheckFilePath(string path)
|
||||
{
|
||||
var matchers = new List<PathMatchSet>
|
||||
{
|
||||
new(new FilePathMatch("ReflexiveArcade.dll"), "Reflexive Arcade Installer"),
|
||||
};
|
||||
|
||||
return MatchUtil.GetFirstMatch(path, matchers, any: true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -171,7 +171,7 @@ Below is a list of executable packers detected by BinaryObjectScanner. The three
|
||||
| PECompact | Yes | No | No | |
|
||||
| PEtite | Yes | No | No | |
|
||||
| PKLITE32 | Yes | No | No | |
|
||||
| Reflexive Arcade Installer | Yes | No | No | |
|
||||
| Reflexive Arcade Installer | Yes | Yes | No | |
|
||||
| Setup Factory | Yes | No | No | |
|
||||
| Shrinker | Yes | No | No | |
|
||||
| Smart Install Maker | Yes | No | No | |
|
||||
|
||||
Reference in New Issue
Block a user