We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c2f9470 commit 42886beCopy full SHA for 42886be
1 file changed
plugins/rtti/microsoft.cpp
@@ -359,6 +359,12 @@ std::vector<BaseClassInfo> MicrosoftRTTIProcessor::ProcessClassHierarchyDescript
359
auto baseClassDesc = BaseClassDescriptor(m_view, baseClassDescAddr);
360
361
auto baseClassTypeDescAddr = resolveAddr(baseClassDesc.pTypeDescriptor);
362
+ if (baseClassTypeDescAddr == 0)
363
+ {
364
+ // Fixes issue https://github.com/Vector35/binaryninja-api/issues/6837
365
+ m_logger->LogWarn("Skipping BaseClassDescriptor with null pTypeDescriptor %llx", baseClassDescAddr);
366
+ continue;
367
+ }
368
auto baseClassTypeDesc = TypeDescriptor(m_view, baseClassTypeDescAddr);
369
auto baseClassName = DemangleNameMS(m_view, allowMangledClassNames, baseClassTypeDesc.name);
370
if (!baseClassName.has_value())
0 commit comments