Skip to content

Commit

Permalink
fix capstone options mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
cyanpencil committed May 13, 2024
1 parent ef4e541 commit a1c6140
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion librw_x64/disasm.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))

0 comments on commit a1c6140

Please sign in to comment.