From d8a487eda9c486952d0cbe265fd9b96507d758a5 Mon Sep 17 00:00:00 2001 From: Alex Mullins Date: Wed, 23 Oct 2024 13:18:43 -0400 Subject: [PATCH] Updated capstone to 5.0.3 to fix xori instr lifting --- arch/powerpc/capstone | 2 +- arch/powerpc/test_lifting.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/capstone b/arch/powerpc/capstone index 650e85dcf2..5cca00533d 160000 --- a/arch/powerpc/capstone +++ b/arch/powerpc/capstone @@ -1 +1 @@ -Subproject commit 650e85dcf23b3a3bff69144511533b7339436238 +Subproject commit 5cca00533dadfe53181f1de3525f859769f69b65 diff --git a/arch/powerpc/test_lifting.py b/arch/powerpc/test_lifting.py index a1bef0cb3b..4ce4bb80c7 100755 --- a/arch/powerpc/test_lifting.py +++ b/arch/powerpc/test_lifting.py @@ -11,7 +11,9 @@ tests_basics = [ # li 3, 100 - (b'\x38\x60\x00\x64', 'LLIL_SET_REG.d{none}(r3,LLIL_CONST.d(0x64))') + (b'\x38\x60\x00\x64', 'LLIL_SET_REG.d{none}(r3,LLIL_CONST.d(0x64))'), + # xori r12, r12, 0x1431 + (b'\x69\x8c\x14\x31', 'LLIL_SET_REG.d{none}(r12,LLIL_XOR.d{none}(LLIL_REG.d{none}(r12),LLIL_CONST.d(0x1431)))') ] test_cases = \