Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The option values for capstone syntax bindings are currently out-of-sync with capstone.h on the v5. This causes Python code using the syntax options to not work correctly. For example, consider: import capstone as c md = c.Cs(c.CS_ARCH_X86, c.CS_MODE_32) md.syntax = c.CS_OPT_SYNTAX_ATT This code will presently error on the latest 5.0.1 release, it works on both the next branch and the 4.X releases. The error message is: capstone.CsError: Invalid option (CS_ERR_OPTION) This is because commit 53eaeac broke the option values on the v5 branch as it caused capstone.h and bindings/python/capstone/__init__.py to define these values differently.
- Loading branch information