From e03da92ebd0204631b076e44004b27997c95062c Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Mon, 13 Jan 2014 23:30:30 +0800 Subject: [PATCH] python: update @op_str & ARM's @operands following the changes in core --- bindings/python/capstone/arm.py | 2 +- bindings/python/capstone/capstone.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bindings/python/capstone/arm.py b/bindings/python/capstone/arm.py index fa80e401d..6f649fff3 100644 --- a/bindings/python/capstone/arm.py +++ b/bindings/python/capstone/arm.py @@ -56,7 +56,7 @@ class CsArm(ctypes.Structure): ('update_flags', ctypes.c_bool), ('writeback', ctypes.c_bool), ('op_count', ctypes.c_uint8), - ('operands', ArmOp * 20), + ('operands', ArmOp * 36), ) def get_arch_info(a): diff --git a/bindings/python/capstone/capstone.py b/bindings/python/capstone/capstone.py index 1b4016f88..90885d998 100644 --- a/bindings/python/capstone/capstone.py +++ b/bindings/python/capstone/capstone.py @@ -178,7 +178,7 @@ class _cs_insn(ctypes.Structure): ('size', ctypes.c_uint16), ('bytes', ctypes.c_ubyte * 16), ('mnemonic', ctypes.c_char * 32), - ('op_str', ctypes.c_char * 96), + ('op_str', ctypes.c_char * 136), ('detail', ctypes.POINTER(_cs_detail)), )