Print sections during debug

This commit is contained in:
Matt Nadareski
2022-07-11 16:10:52 -07:00
parent 655a8adb1c
commit 6202ee5d5c

View File

@@ -139,6 +139,10 @@ namespace BurnOutSharp.FileType
// If we have a PE executable, iterate through all PE content checks
if (pex?.Initialized == true)
{
// Print the section table for debug
if (scanner.IncludeDebug && pex.SectionTable != null)
pex.PrintAllSections();
Parallel.ForEach(ScanningClasses.PortableExecutableCheckClasses, contentCheckClass =>
{
// Check using custom content checks first