Add a link to the relevant issue for ARM PAC handling

This commit is contained in:
Robert Xiao 2023-06-17 14:22:56 -07:00
parent 05f6fb9bf3
commit d9407c9041
2 changed files with 5 additions and 0 deletions

View File

@ -217,6 +217,8 @@ public class Sample_arm64 implements UnicornConst, Arm64Const {
System.out.format(">>> X2 = 0x%x\n", uc.reg_read(UC_ARM64_REG_X2)); System.out.format(">>> X2 = 0x%x\n", uc.reg_read(UC_ARM64_REG_X2));
} }
/* Test PAC support in the emulator. Code adapted from
https://github.com/unicorn-engine/unicorn/issues/1789#issuecomment-1536320351 */
public static void test_arm64_pac() { public static void test_arm64_pac() {
long x1 = 0x0000aaaabbbbccccL; long x1 = 0x0000aaaabbbbccccL;

View File

@ -301,6 +301,9 @@ static void test_arm64_hook_mrs()
} \ } \
} while(0) } while(0)
/* Test PAC support in the emulator. Code adapted from
https://github.com/unicorn-engine/unicorn/issues/1789#issuecomment-1536320351 */
static void test_arm64_pac(void) static void test_arm64_pac(void)
{ {
uc_engine *uc; uc_engine *uc;