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

Properly test whether an operand is an EVEX mask to apply braces during disassembly #7152

Merged
merged 4 commits into from
Dec 19, 2024

Conversation

khuey
Copy link
Contributor

@khuey khuey commented Dec 18, 2024

Convention is that EVEX mask operands (but not other opmask register operands) are disassembled in braces. The correct test here is to test the optype, which avoids applying the braces to a number of other opmask register operands (see the changes in the disassembly tests for examples).

…ng disassembly.

Convention is that EVEX mask operands (but not other opmask register operands) are disassembled in braces. The correct test here is to test the optype, which avoids applying the braces to a number of other opmask register operands (see the changes in the disassembly tests for examples).
@khuey khuey requested a review from derekbruening December 18, 2024 03:49
core/ir/disassemble_shared.c Show resolved Hide resolved
@khuey khuey merged commit 94bf526 into master Dec 19, 2024
17 checks passed
@khuey khuey deleted the iX-disassemble-identify-evex-mask-opnd-correctly branch December 19, 2024 00:26
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