Skip to content

Commit

Permalink
Change Crunch to use IExtractableExecutable
Browse files Browse the repository at this point in the history
  • Loading branch information
HeroponRikiBestest authored Jan 14, 2025
1 parent 4e5c258 commit 967f14f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion BinaryObjectScanner/Packer/Crunch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace BinaryObjectScanner.Packer
// Packer used by all known SmartE games, but also used by some other non-SmartE protected software as well.
// https://web.archive.org/web/20020806102129/http://www.bit-arts.com/windows_solutions.html
// TODO: Other BitArts products may also use this same string. No samples have yet been found.
public class Crunch : IExecutableCheck<PortableExecutable>
public class Crunch : IExtractableExecutable<PortableExecutable>
{
/// <inheritdoc/>
public string? CheckExecutable(string file, PortableExecutable pex, bool includeDebug)
Expand All @@ -22,5 +22,11 @@ public class Crunch : IExecutableCheck<PortableExecutable>

return null;
}

/// <inheritdoc/>
public bool Extract(string file, PortableExecutable pex, string outDir, bool includeDebug)
{
return false;
}
}
}

0 comments on commit 967f14f

Please sign in to comment.