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:
parent
8a71a4a304
commit
9119e3102b
1 changed files with 5 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue