Merge pull request #8063 from AasishDairelSahayaGrinspan/fix/relinker-gs-memory-only-traps

fix(relinker): trap only GS memory accesses in Windows and macOS output
This commit is contained in:
Dean authored and GitHub committed 2026-10-21 16:35:25 +13:00
commit 46bfbe4e25
10 files changed
+124 -16

No files matched your search

@@ -68,6 +68,7 @@ struct DecodedInstructionInfo {
bool AddressSize32;
std::size_t RipRelativeDispOffset;
bool HasModRm;
bool HasMemoryOperand;
std::uint8_t ModRmByte;
bool HasBranchTarget;
std::int64_t BranchDisp;
@@ -146,6 +146,7 @@ inline constexpr std::uint8_t TwoByteMovdMovq = 0x7E;
inline constexpr std::uint8_t TwoByteMovqMmxXmm = 0x6F;
inline constexpr std::uint8_t TwoByteMovdqu = 0x7F;
inline constexpr std::uint8_t TwoByteGrp7 = 0x01;
inline constexpr std::uint8_t TwoByteMaskmov = 0xF7;
inline constexpr std::uint8_t TwoByteShiftImm8Min = 0x70;
inline constexpr std::uint8_t TwoByteShiftImm8Max = 0x73;
inline constexpr std::uint8_t ThreeByteEscape38 = 0x38;