Repository navigation
x86: fix far JMP and CALL immediate sizes - #3182
Merged
Merged
Conversation
1 of 2 tasks
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## next #3182 +/- ##
=======================================
Coverage ? 61.89%
=======================================
Files ? 243
Lines ? 56920
Branches ? 10123
=======================================
Hits ? 35228
Misses ? 16491
Partials ? 5201 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
- 66 ea 11 22 33 44 (32): far JMP with an operand-size prefix now reports imm_size 2 and a 2-byte offset, instead of an uninitialized imm_size and a 4-byte offset.
ricardojrdez
force-pushed
the
x86-far-jmp-call-imm
branch
from
November 24, 2026 20:23
d8f37b5 to
730c617
Compare
Rot127
approved these changes
Nov 25, 2026
2 of 3 tasks
Collaborator
|
Thanks! |
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
reports imm_size 2 and a 2-byte offset, instead of an uninitialized
imm_size and a 4-byte offset.
Test plan
Added 1 regression test in
tests/details/x86.yamlto cover the fix. In addition, the existinglcall 0x5678, 0x1234case is updated (immediatesize4 -> 2). They fail before the change.