raddbg_from_pdb -> dont skip all members of struct simply because we currently do nothing with vfunctab

This commit is contained in:
Ryan Fleury
2024-01-17 10:36:23 -08:00
parent 7d8f0d478e
commit a0a6fc0988
2 changed files with 17 additions and 1 deletions
+7 -1
View File
@@ -763,7 +763,13 @@ pdbconv_type_equip_members(PDBCONV_Ctx *ctx, CONS_Type *owner_type, CV_TypeId fi
// discard cases - we don't currently do anything with these
case CV_LeafKind_VFUNCTAB:
{}break;
{
// TODO(rjf): error if bad range
if(list_item_off + sizeof(CV_LeafVFuncTab) <= cap)
{
list_item_opl_off = list_item_off + sizeof(CV_LeafVFuncTab);
}
}break;
// unhandled or invalid cases
default: