Skip to content

Commit 4e25d3d

Browse files
committed
[win/asan] GetInstructionSize: Remove duplicate instruction FF 25 ....
It appears first with this comment: "Cannot overwrite control-instruction. Return 0 to indicate failure.".
1 parent cb5162a commit 4e25d3d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

compiler-rt/lib/interception/interception_win.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,6 @@ static size_t GetInstructionSize(uptr address, size_t* rel_offset = nullptr) {
801801
case 0x75FF: // FF 75 XX : push dword ptr [ebp + XX]
802802
return 3;
803803
case 0xC1F7: // F7 C1 XX YY ZZ WW : test ecx, WWZZYYXX
804-
case 0x25FF: // FF 25 XX YY ZZ WW : jmp dword ptr ds:[WWZZYYXX]
805804
return 6;
806805
case 0x3D83: // 83 3D XX YY ZZ WW TT : cmp TT, WWZZYYXX
807806
return 7;

0 commit comments

Comments
 (0)