mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-07-24 01:32:54 +00:00
Fix templated nullability issues
This commit is contained in:
@@ -7,7 +7,11 @@ namespace BinaryObjectScanner.Protection
|
||||
public class KeyLock : IContentCheck
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
#if NET48
|
||||
public string CheckContents(string file, byte[] fileContent, bool includeDebug)
|
||||
#else
|
||||
public string? CheckContents(string file, byte[] fileContent, bool includeDebug)
|
||||
#endif
|
||||
{
|
||||
// TODO: Obtain a sample to find where this string is in a typical executable
|
||||
if (includeDebug)
|
||||
|
||||
Reference in New Issue
Block a user