Skip to content

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
@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.

2 participants