Skip to content

Commit

Permalink
tests: Add unsupported function entry for arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
oleavr committed Aug 25, 2024
1 parent dcc2bfa commit 2f4c7f9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/lowlevelhelpers.c
Original file line number Diff line number Diff line change
Expand Up @@ -952,6 +952,14 @@ unsupported_function_list_new (guint * count)
{ "retf", 1, 0, { 0xcb } },
#elif defined (HAVE_ARM)
{ "ret", 2, 1, { 0x70, 0x47 } },
#elif defined (HAVE_ARM64)
{ "ret", 12, 0,
{
0xb0, 0x01, 0x80, 0xd2, /* mov x16, #13 */
0xb1, 0x04, 0x80, 0xd2, /* mov x17, #37 */
0xc0, 0x03, 0x5f, 0xd6, /* ret */
}
},
#endif
};
UnsupportedFunction * result;
Expand Down

0 comments on commit 2f4c7f9

Please sign in to comment.