Merge pull request #1381 from overlordxrz-source/fix/relinker-decoder-0f-no-modrm

fix(relinker): decode 0F A8-AA without a ModRM and MOV CR/DR without a memory operand
This commit is contained in:
Dean authored and GitHub committed 2026-10-08 22:35:44 +13:00
commit 9e5ade70fb
3 files changed
+38 -6

No files matched your search

@@ -119,7 +119,7 @@ inline constexpr std::uint8_t TwoByteMovImm8ModRm = 0xBA;
inline constexpr std::uint8_t TwoByteCmovRangeMin = 0x40;
inline constexpr std::uint8_t TwoByteCmovRangeMax = 0x4F;
inline constexpr std::uint8_t TwoByteModRmRangeAMin = 0xA3;
inline constexpr std::uint8_t TwoByteModRmRangeAMax = 0xAB;
inline constexpr std::uint8_t TwoByteModRmRangeAMax = 0xA7;
inline constexpr std::uint8_t TwoByteModRmRangeBMin = 0xB0;
inline constexpr std::uint8_t TwoByteModRmRangeBMax = 0xB7;
inline constexpr std::uint8_t TwoByteModRmRangeCMin = 0xBC;
@@ -174,6 +174,7 @@ inline constexpr std::uint8_t TwoByteMovCrDrMin = 0x20;
inline constexpr std::uint8_t TwoByteMovCrDrMax = 0x23;
inline constexpr std::uint8_t TwoBytePopcnt = 0xB8;
inline constexpr std::uint8_t TwoByteUd1 = 0xB9;
inline constexpr std::uint8_t TwoByteBts = 0xAB;
inline constexpr std::uint8_t TwoByteBtc = 0xBB;
inline constexpr std::uint8_t TwoByteXaddRm8 = 0xC0;
inline constexpr std::uint8_t TwoByteMovnti = 0xC3;