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

XBEGIN instruction should have a branch type #353

Open
1 task
flobernd opened this issue Jun 23, 2022 Discussed in #352 · 0 comments
Open
1 task

XBEGIN instruction should have a branch type #353

flobernd opened this issue Jun 23, 2022 Discussed in #352 · 0 comments
Assignees
Labels
A-decoder Area: Decoder C-bug Category: This is a bug (or a fix for a bug, when applied to PRs) P-low Priority: Low

Comments

@flobernd
Copy link
Member

Discussed in #352

Originally posted by jonomango June 23, 2022
Hello,

I've noticed that the XBEGIN instruction has meta.branch_type set to ZYDIS_BRANCH_TYPE_NONE when decoded, even though it is considered a conditional branch (meta.category is set to ZYDIS_CATEGORY_COND_BR). I understand that there currently isn't a branch type that would fit for XBEGIN, so I was wondering if this was an intentional design choice or maybe specified in the Intel SDM somewhere.

Actions

  • Mark C7 F8 XBEGIN rel16/rl32 instruction as "near branch"
@flobernd flobernd added C-bug Category: This is a bug (or a fix for a bug, when applied to PRs) A-decoder Area: Decoder P-low Priority: Low labels Jun 23, 2022
@flobernd flobernd self-assigned this Jun 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-decoder Area: Decoder C-bug Category: This is a bug (or a fix for a bug, when applied to PRs) P-low Priority: Low
Projects
None yet
Development

No branches or pull requests

1 participant