Skip to content

Commit

Permalink
Load native binaries as child documents
Browse files Browse the repository at this point in the history
  • Loading branch information
ElektroKill committed Jun 17, 2023
1 parent 5091515 commit 72c26e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dnSpy/dnSpy.Contracts.DnSpy/Documents/DsDocument.cs
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,8 @@ protected override TList<IDsDocument> CreateChildren() {

list.Add(document);
}
else if (entry.Type == BundleFileType.NativeBinary)
list.Add(new DsPEDocument(new PEImage(entry.Data, Path.Combine(directoryOfBundle, entry.RelativePath))));
}

return list;
Expand Down

0 comments on commit 72c26e0

Please sign in to comment.