From a1c6140a2fa0777b79d8d89e93c3f45962b7f03a Mon Sep 17 00:00:00 2001 From: cyanpencil Date: Mon, 13 May 2024 10:56:44 +0200 Subject: [PATCH] fix capstone options mismatch --- librw_x64/disasm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/librw_x64/disasm.py b/librw_x64/disasm.py index dcd91378e..c46daaabc 100644 --- a/librw_x64/disasm.py +++ b/librw_x64/disasm.py @@ -3,6 +3,6 @@ def disasm_bytes(bytes, addr): md = Cs(CS_ARCH_X86, CS_MODE_64) - md.syntax = CS_OPT_SYNTAX_ATT + md.syntax = 2 # CS_OPT_SYNTAX_ATT md.detail = True return list(md.disasm(bytes, addr))