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
+10
View File
@@ -54,6 +54,15 @@ commands =
.save_dirty_files = true,
.cursor_at_end = false,
},
.rjf_f2 =
{
.win = "build raddbg_from_pdb",
.linux = "",
.out = "*compilation*",
.footer_panel = true,
.save_dirty_files = true,
.cursor_at_end = false,
},
.rjf_f3 =
{
.win = "pushd build && raddbg.exe && popd",
@@ -121,6 +130,7 @@ fkey_command_override =
.rjf =
{
.F1 = "rjf_f1",
.F2 = "rjf_f2",
.F3 = "rjf_f3",
},
};
+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: