From da5f2fc883ff01396456226948a80654f7c35e19 Mon Sep 17 00:00:00 2001 From: "Tasuku SUENAGA a.k.a. gunyarakun" Date: Wed, 20 Dec 2017 23:09:38 +0900 Subject: [PATCH] Fix wrong register aliases on arm64 (#922) --- include/unicorn/arm64.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/unicorn/arm64.h b/include/unicorn/arm64.h index ce5e7a19..fe46f159 100644 --- a/include/unicorn/arm64.h +++ b/include/unicorn/arm64.h @@ -294,8 +294,8 @@ typedef enum uc_arm64_reg { //> alias registers - UC_ARM64_REG_IP1 = UC_ARM64_REG_X16, - UC_ARM64_REG_IP0 = UC_ARM64_REG_X17, + UC_ARM64_REG_IP0 = UC_ARM64_REG_X16, + UC_ARM64_REG_IP1 = UC_ARM64_REG_X17, UC_ARM64_REG_FP = UC_ARM64_REG_X29, UC_ARM64_REG_LR = UC_ARM64_REG_X30, } uc_arm64_reg;