Skip trying to parse null debug data

This commit is contained in:
Matt Nadareski
2023-01-05 22:42:54 -08:00
parent e9f01c7a10
commit af0c984b08

View File

@@ -3016,6 +3016,8 @@ namespace BurnOutSharp.Wrappers
uint size = entry.SizeOfData;
byte[] entryData = ReadFromDataSource((int)address, (int)size);
if (entryData == null)
continue;
// If we have CodeView debug data, try to parse it
if (entry.DebugType == Models.PortableExecutable.DebugType.IMAGE_DEBUG_TYPE_CODEVIEW)