[compiler-rt] r316929 - [asan] Intercept heap routines in VS2010 CRT

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 30 10:26:13 PDT 2017


Author: rnk
Date: Mon Oct 30 10:26:13 2017
New Revision: 316929

URL: http://llvm.org/viewvc/llvm-project?rev=316929&view=rev
Log:
[asan] Intercept heap routines in VS2010 CRT

Users have requested that we add it to the list:
https://github.com/google/sanitizers/issues/864

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=316929&r1=316928&r2=316929&view=diff
==============================================================================
--- compiler-rt/trunk/lib/interception/interception_win.cc (original)
+++ compiler-rt/trunk/lib/interception/interception_win.cc Mon Oct 30 10:26:13 2017
@@ -835,6 +835,7 @@ bool OverrideFunction(
 static void **InterestingDLLsAvailable() {
   static const char *InterestingDLLs[] = {
       "kernel32.dll",
+      "msvcr100.dll",      // VS2010
       "msvcr110.dll",      // VS2012
       "msvcr120.dll",      // VS2013
       "vcruntime140.dll",  // VS2015




More information about the llvm-commits mailing list