Compare commits

..

46 Commits
3.4.6 ... 3.7.0

Author SHA1 Message Date
Matt Nadareski
c45f6a1bae Bump version 2026-06-19 11:39:18 -04:00
Matt Nadareski
94d271d167 Remove temporary extension 2026-06-17 22:48:55 -04:00
Matt Nadareski
656016830c Fix PSX JP anti-modchip string (UTF to Shift-JIS) 2026-06-15 14:20:34 -04:00
Matt Nadareski
5ba78908d7 Update packages 2026-06-12 11:00:13 -04:00
Matt Nadareski
52335e1720 Remove CONTRIBUTING due to org-level version 2026-05-16 15:03:29 -04:00
Matt Nadareski
78d5ff201b Update CONTRIBUTING to be more accurate 2026-05-15 13:04:33 -04:00
Matt Nadareski
0f63f798dc Split some contributing info into a README 2026-05-15 10:57:13 -04:00
Matt Nadareski
7bf12001ca Rename coding tuide to CONTRIBUTING 2026-05-15 10:54:59 -04:00
Matt Nadareski
c444d5445d Update gitignore for new VSCode feature 2026-05-15 10:39:33 -04:00
HeroponRikiBestest
759e4bead0 Update release control executable table (#414)
* Move dictionaries to constants file

* Fix paste

* Update RC table with newly found executables
2026-03-26 15:14:32 -04:00
Matt Nadareski
993b1818c3 Add removal note 2026-03-22 17:17:33 -04:00
Matt Nadareski
384db5dcf4 Bump version 2026-03-17 19:13:16 -04:00
Matt Nadareski
b96af0a3c2 Fix copy-paste issue with GCF test 2026-03-17 14:36:49 -04:00
Matt Nadareski
95f152c105 Add GCF tests 2026-03-17 14:30:34 -04:00
HeroponRikiBestest
ff02fdb5c3 Add BOS gcf output (#413) 2026-03-17 14:28:29 -04:00
Matt Nadareski
53d4757e5c Fix CEG test 2026-03-17 13:20:30 -04:00
Matt Nadareski
0181917850 Minor cleanup 2026-03-17 13:10:59 -04:00
HeroponRikiBestest
008d53ad8a Final Major CEG pass (#411)
* Reorganize Steam3 section in a more sensibible way, add/clean up comments.

* Finally

* Cleaned up a few things I missed, added some more comments.

* Reformat

* The future is now, old man.
Also added more comments, and removed a TODO that needed to be moved to a github question.

* Forgot to use the GUIDs for some reason

* One last TODO for something to think about in the future after this PR.

* The lack of spacing was bothering me, forgot it before.

* Updated table with more steam2 storages. Formatting changed slightly because I made a more advanced script that allows me to update the table more easily and reliably locally.

* fix spacing
2026-03-17 13:06:11 -04:00
Matt Nadareski
be5169b935 Update packages 2026-03-15 20:47:59 -04:00
HeroponRikiBestest
245e840063 Add iso-level ripguard detection. (#412) 2026-03-07 15:19:00 -05:00
HeroponRikiBestest
9be63e9e9a Change version output for protectdisc iso scan (#410)
Existing one was found to be inaccurate
2026-02-11 18:44:30 -05:00
HeroponRikiBestest
57797496cf Add steam3 samples to CEG (#409)
* forgot these 2 last time

* :(

* make todos more professional
2026-02-11 08:10:56 -05:00
HeroponRikiBestest
8490d3804f Add all my current steam2 ceg samples (#408)
* Add current steam2 entries

* Finish this round
2026-02-09 19:50:31 -05:00
HeroponRikiBestest
8df070ad3d Make CEG actually work (#407)
I wrote the original line wrong without realizing somehow.
2026-02-09 09:25:01 -05:00
HeroponRikiBestest
6cc6f66c95 Add CEG protection detection (#406)
* Initial work

* Finish PR

* Update test count
2026-02-07 18:07:36 -05:00
HeroponRikiBestest
fbee5a1c52 Add RC hash (#405)
Small update, found one more, needed to update the dictionary
2026-02-04 19:52:50 -05:00
Matt Nadareski
4807520169 This doesn't need private set 2026-01-30 22:32:44 -05:00
Matt Nadareski
91da3068b6 Clean up now-empty region 2026-01-30 22:31:25 -05:00
Matt Nadareski
c9316651c5 Use auto properties for static check lists 2026-01-30 22:30:59 -05:00
Matt Nadareski
2b3917a1ee These can't be null anymore 2026-01-30 22:15:34 -05:00
Matt Nadareski
efef8d494e More cleanup 2026-01-27 09:30:58 -05:00
Matt Nadareski
6c1efccb00 Fix incorrect formatting issue 2026-01-25 17:30:54 -05:00
Matt Nadareski
0d2f81773d Add editorconfig, fix issues 2026-01-25 17:27:42 -05:00
Morlit55
7058c7a150 More info on Dinamic Multimedia Protection (#404)
* More info on Dinamic Multimedia Protection

Added comments regarding related DRM and patents for Dinamic Multimedia Protection.

* Removed MPO references

MPO ring protection has since been proven to be unrelated.
2026-01-23 11:54:59 -05:00
HeroponRikiBestest
417c1f8208 Fix scanning for Solidshield 3.0.0.0 DLLs. (#403)
* Fix scanning for Solidshield 3.0.0.0 DLLs.

* Add curly braces for multiline if
2026-01-10 16:10:58 -05:00
HeroponRikiBestest
82fc850b57 minor starforce fix (#402)
* minor starforce fix

* combine regex checks
2025-12-29 22:58:12 -05:00
HeroponRikiBestest
973b0118b6 Fix minor nested json issue (#398) 2025-12-02 12:15:39 -05:00
HeroponRikiBestest
c2368661cb Fix oversight where Scanner.cs won't scan for files if an archive extracts to one or more directories (#397)
* Scanner.cs won't scan for files if an archive extracts to a directory

* use fsentries
2025-11-29 14:48:47 -05:00
Matt Nadareski
05bddd6005 Bump version 2025-11-25 08:40:36 -05:00
Matt Nadareski
777232301d Update Serialization to 2.2.1 2025-11-25 07:56:38 -05:00
Matt Nadareski
41a705c343 Add support for .NET 10 2025-11-24 11:57:17 -05:00
HeroponRikiBestest
805beb3418 Improve starforce keyless detection (#396) 2025-11-17 22:00:44 -05:00
HeroponRikiBestest
cc7592e07a consistent alpharom stylization (#395)
I forgot that Alpha-ROM is stylized with a dash. Mainly PRing so it'll also be consistent with how it already is on redump.
2025-11-17 12:29:26 -05:00
HeroponRikiBestest
41ad8adf6e Small TAGES and AlphaROM improvements (#394)
* Small improvement to early TAGES detection to eliminate small handful of false positives. Also threw in a note about alpharom

* Improve alpharom handling

* Initial round of fixes
2025-11-16 15:55:32 -05:00
HeroponRikiBestest
201badd434 Update RC dictionary name now that one of the entries is in redump (#393) 2025-11-14 07:28:46 -05:00
Matt Nadareski
f58003b3fc Ensure JSON added to help print 2025-11-13 13:59:25 -05:00
292 changed files with 11014 additions and 1624 deletions

167
.editorconfig Normal file
View File

@@ -0,0 +1,167 @@
# top-most EditorConfig file
root = true
# C# files
[*.cs]
# Indentation and spacing
charset = utf-8
indent_size = 4
indent_style = space
tab_width = 4
trim_trailing_whitespace = true
# New line preferences
end_of_line = lf
insert_final_newline = true
max_line_length = unset
# using directive preferences
csharp_using_directive_placement = outside_namespace
dotnet_diagnostic.IDE0005.severity = error
# Code-block preferences
csharp_style_namespace_declarations = block_scoped
csharp_style_prefer_method_group_conversion = true
csharp_style_prefer_top_level_statements = false
# Expression-level preferences
csharp_prefer_simple_default_expression = true
csharp_style_inlined_variable_declaration = true
csharp_style_unused_value_assignment_preference = discard_variable
csharp_style_unused_value_expression_statement_preference = discard_variable
dotnet_diagnostic.IDE0001.severity = warning
dotnet_diagnostic.IDE0002.severity = warning
dotnet_diagnostic.IDE0004.severity = warning
dotnet_diagnostic.IDE0010.severity = error
dotnet_diagnostic.IDE0051.severity = warning
dotnet_diagnostic.IDE0052.severity = warning
dotnet_diagnostic.IDE0072.severity = warning
dotnet_diagnostic.IDE0080.severity = warning
dotnet_diagnostic.IDE0100.severity = error
dotnet_diagnostic.IDE0110.severity = error
dotnet_diagnostic.IDE0120.severity = warning
dotnet_diagnostic.IDE0121.severity = warning
dotnet_diagnostic.IDE0240.severity = error
dotnet_diagnostic.IDE0241.severity = error
dotnet_style_coalesce_expression = true
dotnet_style_namespace_match_folder = false
dotnet_style_null_propagation = true
dotnet_style_prefer_auto_properties = true
dotnet_style_prefer_collection_expression = when_types_loosely_match
dotnet_style_prefer_is_null_check_over_reference_equality_method = true
dotnet_style_prefer_compound_assignment = true
csharp_style_prefer_simple_property_accessors = true
dotnet_style_prefer_simplified_interpolation = true
dotnet_style_prefer_simplified_boolean_expressions = true
csharp_style_prefer_unbound_generic_type_in_nameof = true
# Field preferences
dotnet_diagnostic.IDE0044.severity = warning
dotnet_style_readonly_field = true
# Language keyword vs. framework types preferences
dotnet_diagnostic.IDE0049.severity = error
dotnet_style_predefined_type_for_locals_parameters_members = true
dotnet_style_predefined_type_for_member_access = true
# Modifier preferences
csharp_prefer_static_local_function = true
csharp_style_prefer_readonly_struct = true
dotnet_diagnostic.IDE0036.severity = warning
dotnet_diagnostic.IDE0040.severity = error
dotnet_diagnostic.IDE0380.severity = error
dotnet_style_require_accessibility_modifiers = always
# New-line preferences
dotnet_diagnostic.IDE2000.severity = warning
dotnet_diagnostic.IDE2002.severity = warning
dotnet_diagnostic.IDE2003.severity = warning
dotnet_diagnostic.IDE2004.severity = warning
dotnet_diagnostic.IDE2005.severity = warning
dotnet_diagnostic.IDE2006.severity = warning
csharp_style_allow_blank_line_after_colon_in_constructor_initializer_experimental = false
csharp_style_allow_blank_line_after_token_in_arrow_expression_clause_experimental = false
csharp_style_allow_blank_line_after_token_in_conditional_expression_experimental = false
csharp_style_allow_blank_lines_between_consecutive_braces_experimental = false
dotnet_style_allow_multiple_blank_lines_experimental = false
dotnet_style_allow_statement_immediately_after_block_experimental = false
# Null-checking preferences
csharp_style_conditional_delegate_call = true
# Parameter preferences
dotnet_code_quality_unused_parameters = all
dotnet_diagnostic.IDE0280.severity = error
# Parentheses preferences
dotnet_diagnostic.IDE0047.severity = warning
dotnet_diagnostic.IDE0048.severity = warning
dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity
dotnet_style_parentheses_in_other_binary_operators = always_for_clarity
dotnet_style_parentheses_in_other_operators = always_for_clarity
dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity
# Pattern-matching preferences
dotnet_diagnostic.IDE0019.severity = warning
dotnet_diagnostic.IDE0020.severity = warning
dotnet_diagnostic.IDE0038.severity = warning
dotnet_diagnostic.IDE0066.severity = none
dotnet_diagnostic.IDE0083.severity = warning
dotnet_diagnostic.IDE0260.severity = warning
csharp_style_pattern_matching_over_as_with_null_check = true
csharp_style_pattern_matching_over_is_with_cast_check = true
csharp_style_prefer_not_pattern = true
csharp_style_prefer_pattern_matching = true
# this. and Me. preferences
dotnet_style_qualification_for_event = false
dotnet_style_qualification_for_field = false
dotnet_style_qualification_for_method = false
dotnet_style_qualification_for_property = false
# var preferences
csharp_style_var_for_built_in_types = false
csharp_style_var_when_type_is_apparent = true
# .NET formatting options
dotnet_separate_import_directive_groups = false
dotnet_sort_system_directives_first = true
# C# formatting options
csharp_indent_block_contents = true
csharp_indent_braces = false
csharp_indent_case_contents = true
csharp_indent_case_contents_when_block = false
csharp_indent_labels = one_less_than_current
csharp_indent_switch_labels = true
csharp_new_line_before_catch = true
csharp_new_line_before_else = true
csharp_new_line_before_finally = true
csharp_new_line_before_members_in_anonymous_types = true
csharp_new_line_before_members_in_object_initializers = true
csharp_new_line_before_open_brace = all
csharp_new_line_between_query_expression_clauses = true
csharp_preserve_single_line_blocks = true
csharp_preserve_single_line_statements = true
csharp_space_after_cast = false
csharp_space_after_colon_in_inheritance_clause = true
csharp_space_after_comma = true
csharp_space_after_dot = false
csharp_space_after_keywords_in_control_flow_statements = true
csharp_space_after_semicolon_in_for_statement = true
csharp_space_around_binary_operators = before_and_after
csharp_space_around_declaration_statements = false
csharp_space_before_colon_in_inheritance_clause = true
csharp_space_before_comma = false
csharp_space_before_dot = false
csharp_space_before_open_square_brackets = false
csharp_space_before_semicolon_in_for_statement = false
csharp_space_between_empty_square_brackets = false
csharp_space_between_method_call_empty_parameter_list_parentheses = false
csharp_space_between_method_call_name_and_opening_parenthesis = false
csharp_space_between_method_call_parameter_list_parentheses = false
csharp_space_between_method_declaration_empty_parameter_list_parentheses = false
csharp_space_between_method_declaration_parameter_list_parentheses = false
csharp_space_between_parentheses = false
csharp_space_between_square_brackets = false

View File

@@ -1,48 +1,48 @@
name: Build and Test
on:
push:
branches: [ "master" ]
push:
branches: ["master"]
jobs:
build:
runs-on: ubuntu-latest
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
8.0.x
9.0.x
- name: Run tests
run: dotnet test
- name: Run publish script
run: ./publish-nix.sh -d
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Update rolling tag
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git tag -f rolling
git push origin :refs/tags/rolling || true
git push origin rolling --force
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: |
8.0.x
9.0.x
10.0.x
- name: Upload to rolling
uses: ncipollo/release-action@v1.14.0
with:
allowUpdates: True
artifacts: "*.nupkg,*.snupkg,*.zip"
body: 'Last built commit: ${{ github.sha }}'
name: 'Rolling Release'
prerelease: True
replacesArtifacts: True
tag: "rolling"
updateOnlyUnreleased: True
- name: Run tests
run: dotnet test
- name: Run publish script
run: ./publish-nix.sh -d
- name: Update rolling tag
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git tag -f rolling
git push origin :refs/tags/rolling || true
git push origin rolling --force
- name: Upload to rolling
uses: ncipollo/release-action@v1.20.0
with:
allowUpdates: True
artifacts: "*.nupkg,*.snupkg,*.zip"
body: "Last built commit: ${{ github.sha }}"
name: "Rolling Release"
prerelease: True
replacesArtifacts: True
tag: "rolling"
updateOnlyUnreleased: True

View File

@@ -3,21 +3,21 @@ name: Build PR
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
8.0.x
9.0.x
- name: Build
run: dotnet build
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Run tests
run: dotnet test
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: |
8.0.x
9.0.x
10.0.x
- name: Build
run: dotnet build
- name: Run tests
run: dotnet test

1
.gitignore vendored
View File

@@ -4,6 +4,7 @@
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
# User-specific files
*.lscache
*.suo
*.user
*.userosscache

2
.vscode/launch.json vendored
View File

@@ -10,7 +10,7 @@
"request": "launch",
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceFolder}/ProtectionScan/bin/Debug/net9.0/ProtectionScan.dll",
"program": "${workspaceFolder}/ProtectionScan/bin/Debug/net10.0/ProtectionScan.dll",
"args": [],
"cwd": "${workspaceFolder}/ProtectionScan",
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console

View File

@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
<IsPackable>false</IsPackable>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
@@ -12,12 +12,12 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="coverlet.collector" Version="6.0.4">
<PackageReference Include="coverlet.collector" Version="10.0.1">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.0" />
<PackageReference Include="SabreTools.Serialization" Version="[2.1.0]" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.6.0" />
<PackageReference Include="SabreTools.Serialization" Version="[3.0.0]" />
<PackageReference Include="xunit" Version="2.9.3" />
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>

View File

@@ -44,7 +44,7 @@ namespace BinaryObjectScanner.Test.Data
public void PortableExecutableCheckClasses_Populated()
{
var actual = StaticChecks.PortableExecutableCheckClasses;
Assert.Equal(105, actual.Length);
Assert.Equal(106, actual.Length);
}
}
}

View File

@@ -1,35 +0,0 @@
using Xunit;
namespace BinaryObjectScanner.Test
{
public class ExtensionsTests
{
#region FileSize
[Fact]
public void FileSize_Null_Invalid()
{
string? filename = null;
long actual = filename.FileSize();
Assert.Equal(-1, actual);
}
[Fact]
public void FileSize_Empty_Invalid()
{
string? filename = string.Empty;
long actual = filename.FileSize();
Assert.Equal(-1, actual);
}
[Fact]
public void FileSize_Invalid_Invalid()
{
string? filename = "INVALID";
long actual = filename.FileSize();
Assert.Equal(-1, actual);
}
#endregion
}
}

View File

@@ -6,7 +6,7 @@ namespace BinaryObjectScanner.Test.FileType
{
public class AACSMediaKeyBlockTests
{
private static readonly SabreTools.Serialization.Wrappers.AACSMediaKeyBlock wrapper
private static readonly SabreTools.Wrappers.AACSMediaKeyBlock wrapper
= new(new SabreTools.Data.Models.AACS.MediaKeyBlock(), new MemoryStream(new byte[1024]));
[Fact]
@@ -31,4 +31,3 @@ namespace BinaryObjectScanner.Test.FileType
}
}
}

View File

@@ -6,7 +6,7 @@ namespace BinaryObjectScanner.Test.FileType
{
public class BDPlusSVMTests
{
private static readonly SabreTools.Serialization.Wrappers.BDPlusSVM wrapper
private static readonly SabreTools.Wrappers.BDPlusSVM wrapper
= new(new SabreTools.Data.Models.BDPlus.SVM(), new MemoryStream(new byte[1024]));
[Fact]
@@ -31,4 +31,3 @@ namespace BinaryObjectScanner.Test.FileType
}
}
}

View File

@@ -6,7 +6,7 @@ namespace BinaryObjectScanner.Test.FileType
{
public class DiskImageTests
{
private static readonly SabreTools.Serialization.Wrappers.ISO9660 wrapper
private static readonly SabreTools.Wrappers.ISO9660 wrapper
= new(new SabreTools.Data.Models.ISO9660.Volume(), new MemoryStream(new byte[1024]));
[Fact]

View File

@@ -0,0 +1,33 @@
using System.IO;
using BinaryObjectScanner.FileType;
using Xunit;
namespace BinaryObjectScanner.Test.FileType
{
public class GCFTests
{
private static readonly SabreTools.Wrappers.GCF wrapper
= new(new SabreTools.Data.Models.GCF.File(), new MemoryStream(new byte[1024]));
[Fact]
public void DetectFile_EmptyString_Null()
{
string file = string.Empty;
var detectable = new GCF(wrapper);
string? actual = detectable.Detect(file, includeDebug: false);
Assert.Null(actual);
}
[Fact]
public void DetectStream_EmptyStream_DefaultValue()
{
Stream? stream = new MemoryStream();
string file = string.Empty;
var detectable = new GCF(wrapper);
string? actual = detectable.Detect(stream, file, includeDebug: false);
Assert.Equal(" - 0 (v0)", actual);
}
}
}

View File

@@ -6,7 +6,7 @@ namespace BinaryObjectScanner.Test.FileType
{
public class LDSCRYPTTests
{
private static readonly SabreTools.Serialization.Wrappers.LDSCRYPT wrapper
private static readonly SabreTools.Wrappers.LDSCRYPT wrapper
= new(new SabreTools.Data.Models.LDSCRYPT.EncryptedFile(), new MemoryStream(new byte[1024]));
[Fact]
@@ -31,4 +31,3 @@ namespace BinaryObjectScanner.Test.FileType
}
}
}

View File

@@ -6,7 +6,7 @@ namespace BinaryObjectScanner.Test.FileType
{
public class LinearExecutableTests
{
private static readonly SabreTools.Serialization.Wrappers.LinearExecutable wrapper
private static readonly SabreTools.Wrappers.LinearExecutable wrapper
= new(new SabreTools.Data.Models.LinearExecutable.Executable(), new MemoryStream(new byte[1024]));
[Fact]

View File

@@ -6,7 +6,7 @@ namespace BinaryObjectScanner.Test.FileType
{
public class MSDOSTests
{
private static readonly SabreTools.Serialization.Wrappers.MSDOS wrapper
private static readonly SabreTools.Wrappers.MSDOS wrapper
= new(new SabreTools.Data.Models.MSDOS.Executable(), new MemoryStream(new byte[1024]));
[Fact]

View File

@@ -6,7 +6,7 @@ namespace BinaryObjectScanner.Test.FileType
{
public class NewExecutableTests
{
private static readonly SabreTools.Serialization.Wrappers.NewExecutable wrapper
private static readonly SabreTools.Wrappers.NewExecutable wrapper
= new(new SabreTools.Data.Models.NewExecutable.Executable(), new MemoryStream(new byte[1024]));
[Fact]

View File

@@ -6,7 +6,7 @@ namespace BinaryObjectScanner.Test.FileType
{
public class PLJTests
{
private static readonly SabreTools.Serialization.Wrappers.PlayJAudioFile wrapper
private static readonly SabreTools.Wrappers.PlayJAudioFile wrapper
= new(new SabreTools.Data.Models.PlayJ.AudioFile(), new MemoryStream(new byte[1024]));
[Fact]
@@ -31,4 +31,3 @@ namespace BinaryObjectScanner.Test.FileType
}
}
}

View File

@@ -6,7 +6,7 @@ namespace BinaryObjectScanner.Test.FileType
{
public class PortableExecutableTests
{
private static readonly SabreTools.Serialization.Wrappers.PortableExecutable wrapper
private static readonly SabreTools.Wrappers.PortableExecutable wrapper
= new(new SabreTools.Data.Models.PortableExecutable.Executable(), new MemoryStream(new byte[1024]));
[Fact]

View File

@@ -6,7 +6,7 @@ namespace BinaryObjectScanner.Test.FileType
{
public class RealArcadeInstallerTests
{
private static readonly SabreTools.Serialization.Wrappers.RealArcadeInstaller wrapper
private static readonly SabreTools.Wrappers.RealArcadeInstaller wrapper
= new(new SabreTools.Data.Models.RealArcade.RgsFile(), new MemoryStream(new byte[1024]));
[Fact]
@@ -31,4 +31,3 @@ namespace BinaryObjectScanner.Test.FileType
}
}
}

View File

@@ -6,7 +6,7 @@ namespace BinaryObjectScanner.Test.FileType
{
public class RealArcadeMezzanineTests
{
private static readonly SabreTools.Serialization.Wrappers.RealArcadeMezzanine wrapper
private static readonly SabreTools.Wrappers.RealArcadeMezzanine wrapper
= new(new SabreTools.Data.Models.RealArcade.Mezzanine(), new MemoryStream(new byte[1024]));
[Fact]
@@ -31,4 +31,3 @@ namespace BinaryObjectScanner.Test.FileType
}
}
}

View File

@@ -6,7 +6,7 @@ namespace BinaryObjectScanner.Test.FileType
{
public class SFFSTests
{
private static readonly SabreTools.Serialization.Wrappers.SFFS wrapper
private static readonly SabreTools.Wrappers.SFFS wrapper
= new(new SabreTools.Data.Models.StarForce.FileSystem(), new MemoryStream(new byte[1024]));
[Fact]

View File

@@ -28,4 +28,3 @@ namespace BinaryObjectScanner.Test.FileType
}
}
}

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.GameEngine
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new RenderWare();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Packer
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new ASPack();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Packer
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new AdvancedInstaller();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Packer
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new AutoPlayMediaStudio();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Packer
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new CExe();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Packer
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new Crunch();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Packer
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new DotFuscator();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Packer
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new DotNetReactor();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -23,7 +23,7 @@ namespace BinaryObjectScanner.Test.Packer
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new EXEStealth();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Packer
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new EmbeddedFile();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Packer
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new GenteeInstaller();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Packer
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new HyperTechCrackProof();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Packer
string file = "filename";
SabreTools.Data.Models.NewExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.NewExecutable exe = new(model, source);
SabreTools.Wrappers.NewExecutable exe = new(model, source);
var checker = new InnoSetup();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);
@@ -25,7 +25,7 @@ namespace BinaryObjectScanner.Test.Packer
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new InnoSetup();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Packer
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new InstallAnywhere();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Packer
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new InstallerVISE();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Packer
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new IntelInstallationFramework();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Packer
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new MicrosoftCABSFX();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Packer
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new NSIS();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Packer
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new NeoLite();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Packer
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new PECompact();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Packer
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new PEtite();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Packer
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new SetupFactory();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Packer
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new SevenZipSFX();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Packer
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new Shrinker();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Packer
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new UPX();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Packer
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new WinRARSFX();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Packer
string file = "filename";
SabreTools.Data.Models.NewExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.NewExecutable exe = new(model, source);
SabreTools.Wrappers.NewExecutable exe = new(model, source);
var checker = new WinZipSFX();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);
@@ -25,7 +25,7 @@ namespace BinaryObjectScanner.Test.Packer
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new WinZipSFX();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Packer
string file = "filename";
SabreTools.Data.Models.NewExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.NewExecutable exe = new(model, source);
SabreTools.Wrappers.NewExecutable exe = new(model, source);
var checker = new WiseInstaller();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);
@@ -25,7 +25,7 @@ namespace BinaryObjectScanner.Test.Packer
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new WiseInstaller();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -23,7 +23,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new ActiveMARK();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -13,7 +13,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new AegiSoft();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new AlphaROM();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);
@@ -25,7 +25,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.ISO9660.Volume model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.ISO9660 iso = new(model, source);
SabreTools.Wrappers.ISO9660 iso = new(model, source);
var checker = new AlphaROM();
string? actual = checker.CheckDiskImage(file, iso, includeDebug: false);

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new Armadillo();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -13,7 +13,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new ByteShield();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new CDCheck();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -13,7 +13,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.NewExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.NewExecutable exe = new(model, source);
SabreTools.Wrappers.NewExecutable exe = new(model, source);
var checker = new CDDVDCops();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);
@@ -26,7 +26,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new CDDVDCops();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -13,7 +13,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new CDGuard();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new CDKey();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -13,7 +13,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new CDLock();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new CDSHiELDSE();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -0,0 +1,22 @@
using System.IO;
using BinaryObjectScanner.Protection;
using Xunit;
namespace BinaryObjectScanner.Test.Protection
{
public class CEGTests
{
[Fact]
public void CheckPortableExecutableTest()
{
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new CEG();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);
Assert.Null(actual);
}
}
}

View File

@@ -13,7 +13,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new CenegaProtectDVD();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -13,7 +13,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new Channelware();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -13,7 +13,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new ChosenBytesCodeLock();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -13,7 +13,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new CopyKiller();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new CopyLok();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);
@@ -25,7 +25,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.ISO9660.Volume model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.ISO9660 iso = new(model, source);
SabreTools.Wrappers.ISO9660 iso = new(model, source);
var checker = new CopyLok();
string? actual = checker.CheckDiskImage(file, iso, includeDebug: false);

View File

@@ -13,7 +13,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new CopyX();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -13,7 +13,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new CrypKey();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new Cucko();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -13,7 +13,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new Denuvo();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -13,7 +13,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new DigiGuard();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -13,7 +13,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new DiscGuard();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -13,7 +13,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new EAAntiCheat();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -13,7 +13,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new EasyAntiCheat();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new ElectronicArts();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -13,7 +13,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new Engine32();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -13,7 +13,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new GFWL();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -13,7 +13,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new Gefest();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -13,7 +13,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new HexalockAutoLock();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -13,7 +13,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new ImpulseReactor();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new Intenium();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new InterLok();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new JoWood();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -13,7 +13,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new KalypsoLauncher();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -13,7 +13,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new LabelGate();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -13,7 +13,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new LaserLok();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);
@@ -47,7 +47,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.ISO9660.Volume model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.ISO9660 iso = new(model, source);
SabreTools.Wrappers.ISO9660 iso = new(model, source);
var checker = new LaserLok();
string? actual = checker.CheckDiskImage(file, iso, includeDebug: false);

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new MGIRegistration();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -13,7 +13,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.NewExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.NewExecutable exe = new(model, source);
SabreTools.Wrappers.NewExecutable exe = new(model, source);
var checker = new Macrovision();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);
@@ -26,7 +26,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new Macrovision();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);
@@ -60,7 +60,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.ISO9660.Volume model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.ISO9660 iso = new(model, source);
SabreTools.Wrappers.ISO9660 iso = new(model, source);
var checker = new Macrovision();
string? actual = checker.CheckDiskImage(file, iso, includeDebug: false);

View File

@@ -13,7 +13,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new MediaCloQ();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -13,7 +13,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new MediaMax();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -13,7 +13,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new NEACProtect();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -13,7 +13,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new NProtect();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new OnlineRegistration();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -13,7 +13,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new OpenMG();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -13,7 +13,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new Origin();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -13,7 +13,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new PlayJ();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -13,7 +13,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new ProtectDISC();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);
@@ -47,7 +47,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.ISO9660.Volume model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.ISO9660 iso = new(model, source);
SabreTools.Wrappers.ISO9660 iso = new(model, source);
var checker = new ProtectDISC();
string? actual = checker.CheckDiskImage(file, iso, includeDebug: false);

View File

@@ -13,7 +13,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.NewExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.NewExecutable exe = new(model, source);
SabreTools.Wrappers.NewExecutable exe = new(model, source);
var checker = new RainbowSentinel();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);
@@ -26,7 +26,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new RainbowSentinel();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

View File

@@ -13,7 +13,7 @@ namespace BinaryObjectScanner.Test.Protection
string file = "filename";
SabreTools.Data.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
SabreTools.Wrappers.PortableExecutable exe = new(model, source);
var checker = new RealArcade();
string? actual = checker.CheckExecutable(file, exe, includeDebug: false);

Some files were not shown because too many files have changed in this diff Show More