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

Add memory properties to iPTR operands. #2165

Merged
merged 1 commit into from
Sep 17, 2023

Conversation

Rot127
Copy link
Collaborator

@Rot127 Rot127 commented Sep 14, 2023

This has several consequences:

  • Branch immediates are memory operands from now. Hence they are added manually as immediate.
  • Some operands, handled over printOprerand(), are added to a mem operand, but the mem operand is never closed. There is simply no indication when a memory operand ends. So we close the mem operand now always, after an offset or disp awas added and the base exists.

Companion: capstone-engine/llvm-capstone#36

This has several consequences:

- Branch immediates are memory operands from now. Hence they are added manually as immediate.
- Some operands, handled over printOprerand(), are added to a mem operand, but the mem operand
  is never closed. There is simply no indication when a memory operand ends.
  So we close the mem operand now always, after an offset or disp awas added and the base exists.
@kabeor
Copy link
Member

kabeor commented Sep 17, 2023

Thanks, merged!

@kabeor kabeor merged commit 103ace5 into capstone-engine:next Sep 17, 2023
11 checks passed
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