winedump: Fix dumping of rare arm64 unwind opcodes.

Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Martin Storsjo 2020-08-21 14:57:20 +03:00 committed by Alexandre Julliard
parent d3502f92c0
commit af6853278f
1 changed files with 7 additions and 3 deletions

View File

@ -1345,18 +1345,22 @@ static void dump_arm64_codes( const BYTE *ptr, unsigned int count )
default:printf( "unknown op\n" ); break; default:printf( "unknown op\n" ); break;
} }
} }
else if (ptr[i] == 0xe9) /* MSFT_OP_TRAP_FRAME */ else if (ptr[i] == 0xe8) /* MSFT_OP_TRAP_FRAME */
{ {
printf( "MSFT_OP_TRAP_FRAME\n" ); printf( "MSFT_OP_TRAP_FRAME\n" );
} }
else if (ptr[i] == 0xea) /* MSFT_OP_MACHINE_FRAME */ else if (ptr[i] == 0xe9) /* MSFT_OP_MACHINE_FRAME */
{ {
printf( "MSFT_OP_MACHINE_FRAME\n" ); printf( "MSFT_OP_MACHINE_FRAME\n" );
} }
else if (ptr[i] == 0xeb) /* MSFT_OP_CONTEXT */ else if (ptr[i] == 0xea) /* MSFT_OP_CONTEXT */
{ {
printf( "MSFT_OP_CONTEXT\n" ); printf( "MSFT_OP_CONTEXT\n" );
} }
else if (ptr[i] == 0xec) /* MSFT_OP_CLEAR_UNWOUND_TO_CALL */
{
printf( "MSFT_OP_CLEAR_UNWOUND_TO_CALL\n" );
}
else printf( "??\n"); else printf( "??\n");
} }
} }