mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-04-21 21:54:13 +00:00
Add Zylom Wrapper detection
This commit is contained in:
22
BinaryObjectScanner/Packer/ZylomWrapper.cs
Normal file
22
BinaryObjectScanner/Packer/ZylomWrapper.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using BinaryObjectScanner.Interfaces;
|
||||
using SabreTools.Serialization.Wrappers;
|
||||
|
||||
namespace BinaryObjectScanner.Packer
|
||||
{
|
||||
/// <summary>
|
||||
/// Zylom Wrapper
|
||||
/// </summary>
|
||||
public class ZylomWrapper : IExecutableCheck<PortableExecutable>
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
public string? CheckExecutable(string file, PortableExecutable exe, bool includeDebug)
|
||||
{
|
||||
// Get the .zylmix section, if it exists
|
||||
// Found in "f126309095_Zylom_Games"
|
||||
if (exe.ContainsSection(".zylmix", exact: true))
|
||||
return "Zylom Wrapper";
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user