summaryrefslogtreecommitdiffstats
path: root/testing/radare2/anal_arm_cs_shift.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/radare2/anal_arm_cs_shift.patch')
-rw-r--r--testing/radare2/anal_arm_cs_shift.patch7
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/radare2/anal_arm_cs_shift.patch b/testing/radare2/anal_arm_cs_shift.patch
new file mode 100644
index 00000000000..727a37ac2df
--- /dev/null
+++ b/testing/radare2/anal_arm_cs_shift.patch
@@ -0,0 +1,7 @@
+--- old/libr/anal/p/anal_arm_cs.c
++++ new/libr/anal/p/anal_arm_cs.c
+@@ -25,3 +25,3 @@
+ #define ISMEM(x) insn->detail->arm.operands[x].type == ARM_OP_MEM
+-#define LSHIFT(x) insn->detail->arm.operands[x].mem.lshift
++#define LSHIFT(x) insn->detail->arm.operands[x].shift.value
+ #define LSHIFT2(x) insn->detail->arm.operands[x].shift.value