Skip to content

Commit 8417f6a

Browse files
committed
[win/asan] Fix instruction size for 44 0f b6 1a
movzx r11d,BYTE PTR [rdx] is four bytes long. Follow-up to #111638
1 parent 120e42d commit 8417f6a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler-rt/lib/interception/interception_win.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -769,6 +769,7 @@ static size_t GetInstructionSize(uptr address, size_t* rel_offset = nullptr) {
769769

770770
switch (*(u32*)(address)) {
771771
case 0x1ab60f44: // 44 0f b6 1a : movzx r11d, BYTE PTR [rdx]
772+
return 4;
772773
case 0x24448b48: // 48 8b 44 24 XX : mov rax, QWORD ptr [rsp + XX]
773774
case 0x246c8948: // 48 89 6C 24 XX : mov QWORD ptr [rsp + XX], rbp
774775
case 0x245c8948: // 48 89 5c 24 XX : mov QWORD PTR [rsp + XX], rbx

0 commit comments

Comments
 (0)