AnyPS5/core/relinker/codegen/include/codegen
xsvm 22ebf5e608 fix(relinker): classify rewrite reference sites with the instruction decoder
ClassifyInstruction assumed a ModRM byte right after every opcode that
was not a near branch. A length-changing rewrite therefore adjusted
immediates such as MOVABS imm64 that looked like a RIP-relative ModRM,
and missed RIP-relative operands of VEX and 0F 38 / 0F 3A instructions
and the rel8 targets of LOOP and JRCXZ. Take the RIP-relative
displacement and branch target from DecodeInstruction instead.
2026-10-08 18:20:14 +08:00
..
x86 fix(relinker): classify rewrite reference sites with the instruction decoder 2026-10-08 18:20:14 +08:00
CodegenException.hpp refactor(core): seprated folders for relinker and libs 2026-09-11 14:53:01 +03:00
CodegenTypes.hpp feat(relinker): relocate RIP-relative operands into --to-intel stubs 2026-10-08 11:10:38 +02:00
IAmd64OnlyConverter.hpp refactor(core): seprated folders for relinker and libs 2026-09-11 14:53:01 +03:00
IInstructionDecoder.hpp refactor(core): seprated folders for relinker and libs 2026-09-11 14:53:01 +03:00
IInstructionRewriter.hpp refactor(core): seprated folders for relinker and libs 2026-09-11 14:53:01 +03:00
IInstructionScanner.hpp refactor(core): seprated folders for relinker and libs 2026-09-11 14:53:01 +03:00