Fix tests

This commit is contained in:
Matt Nadareski
2025-09-20 11:05:56 -04:00
parent aef4495168
commit 6e7ef785ff
101 changed files with 107 additions and 107 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -11,7 +11,7 @@ namespace BinaryObjectScanner.Test.GameEngine
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new RenderWare();

View File

@@ -11,7 +11,7 @@ namespace BinaryObjectScanner.Test.Packer
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new ASPack();

View File

@@ -11,7 +11,7 @@ namespace BinaryObjectScanner.Test.Packer
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new AdvancedInstaller();

View File

@@ -11,7 +11,7 @@ namespace BinaryObjectScanner.Test.Packer
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new AutoPlayMediaStudio();

View File

@@ -11,7 +11,7 @@ namespace BinaryObjectScanner.Test.Packer
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new CExe();

View File

@@ -11,7 +11,7 @@ namespace BinaryObjectScanner.Test.Packer
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new Crunch();

View File

@@ -11,7 +11,7 @@ namespace BinaryObjectScanner.Test.Packer
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new DotFuscator();

View File

@@ -11,7 +11,7 @@ namespace BinaryObjectScanner.Test.Packer
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new DotNetReactor();

View File

@@ -22,7 +22,7 @@ namespace BinaryObjectScanner.Test.Packer
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new EXEStealth();

View File

@@ -11,7 +11,7 @@ namespace BinaryObjectScanner.Test.Packer
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new EmbeddedFile();

View File

@@ -11,7 +11,7 @@ namespace BinaryObjectScanner.Test.Packer
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new GenteeInstaller();

View File

@@ -11,7 +11,7 @@ namespace BinaryObjectScanner.Test.Packer
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new HyperTechCrackProof();

View File

@@ -11,7 +11,7 @@ namespace BinaryObjectScanner.Test.Packer
{
string file = "filename";
SabreTools.Models.NewExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.NewExecutable exe = new(model, source);
var checker = new InnoSetup();
@@ -24,7 +24,7 @@ namespace BinaryObjectScanner.Test.Packer
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new InnoSetup();

View File

@@ -11,7 +11,7 @@ namespace BinaryObjectScanner.Test.Packer
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new InstallAnywhere();

View File

@@ -11,7 +11,7 @@ namespace BinaryObjectScanner.Test.Packer
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new InstallerVISE();

View File

@@ -11,7 +11,7 @@ namespace BinaryObjectScanner.Test.Packer
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new IntelInstallationFramework();

View File

@@ -11,7 +11,7 @@ namespace BinaryObjectScanner.Test.Packer
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new MicrosoftCABSFX();

View File

@@ -11,7 +11,7 @@ namespace BinaryObjectScanner.Test.Packer
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new NSIS();

View File

@@ -11,7 +11,7 @@ namespace BinaryObjectScanner.Test.Packer
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new NeoLite();

View File

@@ -11,7 +11,7 @@ namespace BinaryObjectScanner.Test.Packer
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new PECompact();

View File

@@ -11,7 +11,7 @@ namespace BinaryObjectScanner.Test.Packer
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new PEtite();

View File

@@ -11,7 +11,7 @@ namespace BinaryObjectScanner.Test.Packer
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new SetupFactory();

View File

@@ -11,7 +11,7 @@ namespace BinaryObjectScanner.Test.Packer
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new SevenZipSFX();

View File

@@ -11,7 +11,7 @@ namespace BinaryObjectScanner.Test.Packer
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new Shrinker();

View File

@@ -11,7 +11,7 @@ namespace BinaryObjectScanner.Test.Packer
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new UPX();

View File

@@ -11,7 +11,7 @@ namespace BinaryObjectScanner.Test.Packer
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new WinRARSFX();

View File

@@ -11,7 +11,7 @@ namespace BinaryObjectScanner.Test.Packer
{
string file = "filename";
SabreTools.Models.NewExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.NewExecutable exe = new(model, source);
var checker = new WinZipSFX();
@@ -24,7 +24,7 @@ namespace BinaryObjectScanner.Test.Packer
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new WinZipSFX();

View File

@@ -11,7 +11,7 @@ namespace BinaryObjectScanner.Test.Packer
{
string file = "filename";
SabreTools.Models.NewExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.NewExecutable exe = new(model, source);
var checker = new WiseInstaller();
@@ -24,7 +24,7 @@ namespace BinaryObjectScanner.Test.Packer
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new WiseInstaller();

View File

@@ -22,7 +22,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new ActiveMARK();

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new AegiSoft();

View File

@@ -11,7 +11,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new AlphaROM();

View File

@@ -11,7 +11,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new Armadillo();

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new ByteShield();

View File

@@ -11,7 +11,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new CDCheck();

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.NewExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.NewExecutable exe = new(model, source);
var checker = new CDDVDCops();
@@ -25,7 +25,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new CDDVDCops();

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new CDGuard();

View File

@@ -11,7 +11,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new CDKey();

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new CDLock();

View File

@@ -11,7 +11,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new CDSHiELDSE();

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new CenegaProtectDVD();

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new Channelware();

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new ChosenBytesCodeLock();

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new CopyKiller();

View File

@@ -11,7 +11,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new CopyLok();

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new CopyX();

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new CrypKey();

View File

@@ -11,7 +11,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new Cucko();

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new Denuvo();

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new DigiGuard();

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new DiscGuard();

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new EAAntiCheat();

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new EasyAntiCheat();

View File

@@ -11,7 +11,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new ElectronicArts();

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new Engine32();

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new GFWL();

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new Gefest();

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new HexalockAutoLock();

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new ImpulseReactor();

View File

@@ -11,7 +11,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new Intenium();

View File

@@ -11,7 +11,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new InterLok();

View File

@@ -11,7 +11,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new JoWood();

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new KalypsoLauncher();

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new LabelGate();

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new LaserLok();

View File

@@ -11,7 +11,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new MGIRegistration();

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.NewExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.NewExecutable exe = new(model, source);
var checker = new Macrovision();
@@ -25,7 +25,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new Macrovision();

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new MediaCloQ();

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new MediaMax();

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new NEACProtect();

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new NProtect();

View File

@@ -11,7 +11,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new OnlineRegistration();

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new OpenMG();

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new Origin();

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new PlayJ();

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new ProtectDISC();

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.NewExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.NewExecutable exe = new(model, source);
var checker = new RainbowSentinel();
@@ -25,7 +25,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new RainbowSentinel();

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new RealArcade();

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new Roxxe();

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new SVKProtector();

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new SecuROM();

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new SmartE();

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new SoftLock();

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new SolidShield();

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new StarForce();

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new Steam();

View File

@@ -11,7 +11,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new Sysiphus();

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new TAGES();

View File

@@ -11,7 +11,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new Themida();

View File

@@ -11,7 +11,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new ThreePLock();

View File

@@ -11,7 +11,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new ThreeTwoOneStudios();

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new Uplay();

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new WMDS();

View File

@@ -12,7 +12,7 @@ namespace BinaryObjectScanner.Test.Protection
{
string file = "filename";
SabreTools.Models.PortableExecutable.Executable model = new();
Stream source = new MemoryStream();
Stream source = new MemoryStream(new byte[1024]);
SabreTools.Serialization.Wrappers.PortableExecutable exe = new(model, source);
var checker = new WTMCDProtect();

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