Repository navigation
x86: fix XSAVE and PTWRITE decoding in 16-bit mode - #3183
Open
ricardojrdez wants to merge 1 commit into
Open
ricardojrdez wants to merge 1 commit into
ricardojrdez wants to merge 1 commit into
Conversation
1 of 2 tasks
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## next #3183 +/- ##
=======================================
Coverage ? 61.87%
=======================================
Files ? 243
Lines ? 56924
Branches ? 10126
=======================================
Hits ? 35222
Misses ? 16500
Partials ? 5202 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
- 66 0f ae 20 (16): XSAVE has no 66-prefixed form, so this encoding is now rejected as invalid. - f3 0f ae 20 (16): PTWRITE was rejected in 16-bit mode. It now decodes with a dword memory operand.
ricardojrdez
force-pushed
the
x86-16bit-xsave-ptwrite
branch
from
November 25, 2026 14:58
f216597 to
adf23bf
Compare
Rot127
approved these changes
Nov 25, 2026
2 of 3 tasks
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Your checklist for this pull request
Detailed description
now rejected as invalid.
with a dword memory operand.
Test plan
Added 3 regression tests in
tests/issues/x86-mandatory-prefixes.yamlto cover the fix. They fail before the change.