Skip to content

Commit 8a6179e

Browse files
committed
Add newly found Shrinker section name
1 parent d07e46c commit 8a6179e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

BinaryObjectScanner/Packer/Shrinker.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@ public class Shrinker : IExecutableCheck<PortableExecutable>
1010
/// <inheritdoc/>
1111
public string? CheckExecutable(string file, PortableExecutable exe, bool includeDebug)
1212
{
13-
// TODO: Confirm if both need to be present
1413
// TODO: Figure out how to get version
1514

1615
if (exe.ContainsSection(".shrink0", exact: true))
1716
return "Shrinker";
17+
if (exe.ContainsSection(".shrink1", exact: true))
18+
return "Shrinker";
1819
if (exe.ContainsSection(".shrink2", exact: true))
1920
return "Shrinker";
2021

0 commit comments

Comments
 (0)