From 483b1bbc962e6159d10bdc768f90674ecf2b9754 Mon Sep 17 00:00:00 2001 From: Rot127 Date: Sun, 18 Aug 2024 06:02:35 -0500 Subject: [PATCH] Fix inconsistencies between C and Python bindings. --- bindings/python/capstone/arm.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bindings/python/capstone/arm.py b/bindings/python/capstone/arm.py index 32718f497c..8c2fe9266e 100644 --- a/bindings/python/capstone/arm.py +++ b/bindings/python/capstone/arm.py @@ -12,6 +12,7 @@ class ArmOpMem(ctypes.Structure): ('scale', ctypes.c_int), ('disp', ctypes.c_int), ('lshift', ctypes.c_int), + ('align', ctypes.c_uint), ) class ArmOpShift(ctypes.Structure): @@ -38,7 +39,7 @@ class ArmOpValue(ctypes.Union): _fields_ = ( ('reg', ctypes.c_uint), ('sysop', ArmOpSysop), - ('imm', ctypes.c_int32), + ('imm', ctypes.c_int64), ('pred', ctypes.c_int), ('fp', ctypes.c_double), ('mem', ArmOpMem),