Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Python binding constants #2097

Merged
merged 2 commits into from Jul 21, 2023

Conversation

peace-maker
Copy link
Contributor

This synchronizes the exposed constants in the Python bindings with the corresponding enums in the C code.

Especially CS_OP_MEM being 0x80 in C and 3 in Python caused problems with the TriCore bindings, since the auto-generated tricore python constants does TRICORE_OP_MEM = CS_OP_MEM (C)

I've separated the changes introduced by #1949 into a commit to make backporting to v5 easier.

@kabeor
Copy link
Member

kabeor commented Jul 21, 2023

Cool. Merged.

@kabeor kabeor merged commit c8984e6 into capstone-engine:next Jul 21, 2023
6 checks passed
@peace-maker peace-maker deleted the update_python_constants branch July 21, 2023 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants