Skip to content

Fix REX2 JMPABS target detection#377

Open
RatinCN wants to merge 1 commit into
microsoft:mainfrom
RatinCN:fix/rex2-jmpabs-ignored-payload
Open

Fix REX2 JMPABS target detection#377
RatinCN wants to merge 1 commit into
microsoft:mainfrom
RatinCN:fix/rex2-jmpabs-ignored-payload

Conversation

@RatinCN
Copy link
Copy Markdown
Contributor

@RatinCN RatinCN commented May 25, 2026

Addendum to #374. Already fixed in my SlimDetours in commit 056d625.

JMPABS only requires REX2.M=0, REX2.W=0, and opcode A1. Ignore the remaining REX2 payload bits when recognizing the absolute target, matching Intel APX semantics.

See also the latest Intel® Advanced Performance Extensions (Intel® APX) Architecture Specification:
image
image

JMPABS only requires REX2.M=0, REX2.W=0, and opcode A1. Ignore the remaining REX2 payload bits when recognizing the absolute target, matching Intel APX semantics.
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.

1 participant