File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -359,6 +359,12 @@ std::vector<BaseClassInfo> MicrosoftRTTIProcessor::ProcessClassHierarchyDescript
359359 auto baseClassDesc = BaseClassDescriptor (m_view, baseClassDescAddr);
360360
361361 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+ }
362368 auto baseClassTypeDesc = TypeDescriptor (m_view, baseClassTypeDescAddr);
363369 auto baseClassName = DemangleNameMS (m_view, allowMangledClassNames, baseClassTypeDesc.name );
364370 if (!baseClassName.has_value ())
You can’t perform that action at this time.
0 commit comments