mirror of
https://github.com/intel/llvm.git
synced 2026-01-24 17:01:00 +08:00
[ASan][Windows] Interception fix for 'mov al, byte ptr []' sequences (#72531)
This commit is contained in:
@@ -578,6 +578,7 @@ static size_t GetInstructionSize(uptr address, size_t* rel_offset = nullptr) {
|
||||
case 0x018a: // mov al, byte ptr [rcx]
|
||||
return 2;
|
||||
|
||||
case 0x058A: // 8A 05 XX XX XX XX : mov al, byte ptr [XX XX XX XX]
|
||||
case 0x058B: // 8B 05 XX XX XX XX : mov eax, dword ptr [XX XX XX XX]
|
||||
if (rel_offset)
|
||||
*rel_offset = 2;
|
||||
|
||||
Reference in New Issue
Block a user