Skip to content

Commit 80905b5

Browse files
committed
Better attempt at narrowing down
1 parent 0a7cd8a commit 80905b5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

BurnOutSharp/PackerType/UPX.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@ public string CheckContents(string file, byte[] fileContent, bool includePositio
1414
// UPX!
1515
new ContentMatchSet(new byte?[] { 0x55, 0x50, 0x58, 0x21 }, GetVersion, "UPX"),
1616

17-
// This over-matches by itself, seemingly
1817
// NOS
19-
//new ContentMatchSet(new byte?[] { 0x4E, 0x4F, 0x53, 0x20 }, GetVersion, "UPX (NOS Variant)"),
18+
new ContentMatchSet(
19+
new ContentMatch(new byte?[] { 0x4E, 0x4F, 0x53, 0x20 }, end: 2048),
20+
GetVersion,
21+
"UPX (NOS Variant)"),
2022

2123
new ContentMatchSet(
2224
new List<byte?[]>

0 commit comments

Comments
 (0)