winedump: Don't crash on non-effective runtime function entries.

MSVC generates zeroed out entries when EditAndContinue (aka HotPatch)
is enabled.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
This commit is contained in:
Eric Pouech 2024-02-13 08:58:37 +01:00 committed by Alexandre Julliard
parent 8a71a4a304
commit 9119e3102b

View file

@ -863,6 +863,11 @@ static void dump_x86_64_unwind_info( const struct runtime_function_x86_64 *funct
}
info = RVA( function->UnwindData, sizeof(*info) );
if (!info)
{
printf( " no unwind info (%x)\n", function->UnwindData );
return;
}
printf( " unwind info at %08x\n", function->UnwindData );
if (info->version > 2)
{