mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-02-14 13:46:03 +00:00
Print nonstandard PE manifest items
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System.Text;
|
||||
using System.Xml;
|
||||
using BurnOutSharp.Builder;
|
||||
|
||||
namespace ExecutableTest
|
||||
@@ -1184,6 +1185,21 @@ namespace ExecutableTest
|
||||
}
|
||||
}
|
||||
}
|
||||
if (assemblyManifest.EverythingElse != null && assemblyManifest.EverythingElse.Length > 0)
|
||||
{
|
||||
for (int i = 0; i < assemblyManifest.EverythingElse.Length; i++)
|
||||
{
|
||||
var thing = assemblyManifest.EverythingElse[i];
|
||||
if (thing is XmlElement element)
|
||||
{
|
||||
Console.WriteLine($"{padding}Unparsed XML Element {i}: {element.OuterXml}");
|
||||
}
|
||||
else
|
||||
{
|
||||
Console.WriteLine($"{padding}Unparsed Item {i}: {thing}");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user