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
359
359
auto baseClassDesc = BaseClassDescriptor (m_view, baseClassDescAddr);
360
360
361
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
+ }
362
368
auto baseClassTypeDesc = TypeDescriptor (m_view, baseClassTypeDescAddr);
363
369
auto baseClassName = DemangleNameMS (m_view, allowMangledClassNames, baseClassTypeDesc.name );
364
370
if (!baseClassName.has_value ())
You can’t perform that action at this time.
0 commit comments