Skip to content

XBEGIN instruction should have a branch type #353

Open
@flobernd

Description

@flobernd

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"

Metadata

Metadata

Assignees

Labels

A-decoderArea: DecoderC-bugCategory: This is a bug (or a fix for a bug, when applied to PRs)P-lowPriority: Low

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions