[compiler-rt] [sanitizer][asan][msvc] Teach GetInstructionSize about many instructions that appear in MSVC generated code. (PR #69490)

via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 19 06:42:53 PDT 2024


================
@@ -573,53 +599,124 @@ static size_t GetInstructionSize(uptr address, size_t* rel_offset = nullptr) {
     case 0x5641:  // push r14
     case 0x5741:  // push r15
     case 0x9066:  // Two-byte NOP
-    case 0xc084:  // test al, al
-    case 0x018a:  // mov al, byte ptr [rcx]
+    case 0xC084:  // test al, al
+    case 0x018A:  // mov al, byte ptr [rcx]
----------------
zmodem wrote:

This looks like a no-op change.

https://github.com/llvm/llvm-project/pull/69490


More information about the llvm-commits mailing list