Add Reflexive Arcade path checks

This commit is contained in:
Matt Nadareski
2025-09-08 18:46:26 -04:00
parent d316edf8d0
commit a55e490e73
2 changed files with 27 additions and 2 deletions

View File

@@ -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);
}
}
}

View File

@@ -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 | |