[compiler-rt] r212979 - Add support for intercepting thunks of the form
Ehsan Akhgari
ehsan.akhgari at gmail.com
Mon Jul 14 13:28:22 PDT 2014
Author: ehsan
Date: Mon Jul 14 15:28:21 2014
New Revision: 212979
URL: http://llvm.org/viewvc/llvm-project?rev=212979&view=rev
Log:
Add support for intercepting thunks of the form
Modified:
compiler-rt/trunk/lib/interception/interception_win.cc
Modified: compiler-rt/trunk/lib/interception/interception_win.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/interception/interception_win.cc?rev=212979&r1=212978&r2=212979&view=diff
==============================================================================
--- compiler-rt/trunk/lib/interception/interception_win.cc (original)
+++ compiler-rt/trunk/lib/interception/interception_win.cc Mon Jul 14 15:28:21 2014
@@ -113,6 +113,7 @@ static size_t RoundUpToInstrBoundary(siz
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
More information about the llvm-commits
mailing list