mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-07-08 18:06:34 +00:00
Fix deserialization issue for CFB
This commit is contained in:
@@ -139,7 +139,7 @@ namespace BinaryObjectScanner.Data
|
||||
}
|
||||
catch (ReflectionTypeLoadException rtle)
|
||||
{
|
||||
assemblyTypes = [.. rtle.Types];
|
||||
assemblyTypes = [.. rtle!.Types];
|
||||
}
|
||||
|
||||
// Get information from the type param
|
||||
|
||||
@@ -29,6 +29,9 @@ namespace BinaryObjectScanner.FileType
|
||||
{
|
||||
// Get a wrapper for the CFB
|
||||
var model = Deserialize(stream);
|
||||
if (model == null)
|
||||
return false;
|
||||
|
||||
var cfb = new SabreTools.Serialization.Wrappers.CFB(model, stream);
|
||||
if (cfb?.Model == null)
|
||||
return false;
|
||||
|
||||
@@ -57,7 +57,7 @@ Below is a list of protections detected by BinaryObjectScanner. The two columns
|
||||
| AegiSoft License Manager | True | True | |
|
||||
| Alpha-DVD | False | True | Unconfirmed¹ |
|
||||
| Alpha-ROM | True | False | |
|
||||
| Armadillo | True | False | |
|
||||
| Armadillo | True | False | |
|
||||
| Bitpool | False | True | |
|
||||
| ByteShield | True | True | |
|
||||
| C-Dilla License Management Solution / CD-Secure / CD-Compress | True | True | |
|
||||
|
||||
Reference in New Issue
Block a user