mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-09-22 23:05:03 +00:00
Reduce reliance on fileContent; add notes
This commit is contained in:
@@ -33,8 +33,8 @@ namespace BurnOutSharp.ProtectionType
|
||||
return match;
|
||||
|
||||
// Get the .tls section, if it exists
|
||||
var tlsSection = pex.GetLastSection(".tls", exact: true);
|
||||
match = GetMatchForSection(tlsSection, file, fileContent, includeDebug);
|
||||
var tlsSectionRaw = pex.ReadRawSection(fileContent, ".tls", first: false);
|
||||
match = GetMatchForSection(file, tlsSectionRaw, includeDebug);
|
||||
if (!string.IsNullOrWhiteSpace(match))
|
||||
return match;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user