From: Ehsan Akhgari Date: Mon, 14 Jul 2014 20:28:21 +0000 (+0000) Subject: Add support for intercepting thunks of the form X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=911ea4e2be33a86850334170a5c81ecd310a457d;p=platform%2Fupstream%2Fllvm.git Add support for intercepting thunks of the form llvm-svn: 212979 --- diff --git a/compiler-rt/lib/interception/interception_win.cc b/compiler-rt/lib/interception/interception_win.cc index 9eabe52..261157f 100644 --- a/compiler-rt/lib/interception/interception_win.cc +++ b/compiler-rt/lib/interception/interception_win.cc @@ -113,6 +113,7 @@ static size_t RoundUpToInstrBoundary(size_t size, char *code) { cursor += 3; continue; case 0xC1F7: // F7 C1 XX YY ZZ WW = test ecx, WWZZYYXX + case 0x25FF: // FF 25 XX YY ZZ WW = jmp dword ptr ds:[WWZZYYXX] cursor += 6; continue; case 0x3D83: // 83 3D XX YY ZZ WW TT = cmp TT, WWZZYYXX