AnyPS5/core/relinker
Achraf Reyani ce8dbc977f fix(relinker): decode XOP instructions
The x86 decoder had no XOP (AMD 8F escape) support and read 8F E8.. as
POP r/m, losing instruction boundaries. Since #2238 roots code addresses
taken by RIP-relative LEA, code analysis reaches CPU-dispatched XOP
paths, such as the vpperm routines in Stremio Plus (PPSA74126), OpenNOW
(PPSA99082) and PPSA99420, and their Windows conversion failed with
"Code analysis: overlapping instruction boundaries". Decode 8F followed
by a map of 8 or more as a three-byte XOP prefix (8F can only be POP r/m
with ModRM.reg 0) with a ModRM operand, an 8-bit immediate in map 8 and
a 32-bit immediate in map 0Ah, in both the length and operand decoders.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 19:27:24 +13:00
..
cli feat(relinker): support explicit CLI help 2026-10-10 10:31:52 +05:30
codegen fix(relinker): decode XOP instructions 2026-10-10 19:27:24 +13:00
domain/include/domain fix(relinker): discover required guest module identities 2026-10-09 13:53:48 +02:00
elfpatcher Merge pull request #1958 from arcwiser/fix/windows-pe-relocs-stripped 2026-10-10 08:06:20 +02:00
io fix(relinker): reject invalid and overflowing alignment 2026-10-05 08:44:55 -03:00
relinker Merge pull request #1651 from emirplus/feat/relinker-tls-register-alu 2026-10-10 07:58:52 +02:00
CMakeLists.txt Merge pull request #2117 from krishalivaibhav/codex/relinker-help 2026-10-10 18:54:09 +13:00
main.cpp feat(relinker): support explicit CLI help 2026-10-10 10:31:52 +05:30