fix(relinker): trap GS overrides on implicit memory operands

MASKMOVQ, MASKMOVDQU, VMASKMOVDQU, MONITOR and MONITORX use a register-form ModRM byte but still access memory at DS:rDI or DS:rAX. Mark them as memory operands and cover the encodings in the Windows and macOS GS trap tests.
This commit is contained in:
aasishdairel committed 2026-10-20 10:13:34 +05:30
1 parent 570c3297d3
commit cde44070e0
5 files changed
+37 -2

No files matched your search

@@ -123,6 +123,13 @@ int main() {
{"65488b0c2578030000", true},
{"65a4", true},
{"650fa2", false},
{"650ff7c1", true},
{"65660ff7c1", true},
{"65c5f9f7c1", true},
{"65c4e179f7c1", true},
{"650f01c8", true},
{"650f01fa", true},
{"650f01c9", false},
{"ff10", true},
{"ffe0", false},
}) {