[compiler-rt] r264060 - [asan] Add one more x86 encoding to the interceptor for strrchr

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 22 08:46:43 PDT 2016


Author: rnk
Date: Tue Mar 22 10:46:43 2016
New Revision: 264060

URL: http://llvm.org/viewvc/llvm-project?rev=264060&view=rev
Log:
[asan] Add one more x86 encoding to the interceptor for strrchr

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=264060&r1=264059&r2=264060&view=diff
==============================================================================
--- compiler-rt/trunk/lib/interception/interception_win.cc (original)
+++ compiler-rt/trunk/lib/interception/interception_win.cc Tue Mar 22 10:46:43 2016
@@ -97,6 +97,7 @@ static size_t RoundUpToInstrBoundary(siz
         continue;
       case 0x458B:  // 8B 45 XX = mov eax, dword ptr [ebp+XXh]
       case 0x5D8B:  // 8B 5D XX = mov ebx, dword ptr [ebp+XXh]
+      case 0x7D8B:  // 8B 7D XX = mov edi, dword ptr [ebp+XXh]
       case 0xEC83:  // 83 EC XX = sub esp, XX
       case 0x75FF:  // FF 75 XX = push dword ptr [ebp+XXh]
         cursor += 3;




More information about the llvm-commits mailing list