[PATCH] D31312: Add strtok interceptor for ASAN for Windows.

Aleksey Shlyapnikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 23 16:26:13 PDT 2017


alekseyshl created this revision.
Herald added a subscriber: kubamracek.

Fixes test broken by https://reviews.llvm.org/D30384


https://reviews.llvm.org/D31312

Files:
  lib/asan/asan_win_dll_thunk.cc


Index: lib/asan/asan_win_dll_thunk.cc
===================================================================
--- lib/asan/asan_win_dll_thunk.cc
+++ lib/asan/asan_win_dll_thunk.cc
@@ -82,6 +82,7 @@
 INTERCEPT_LIBRARY_FUNCTION(strrchr);
 INTERCEPT_LIBRARY_FUNCTION(strspn);
 INTERCEPT_LIBRARY_FUNCTION(strstr);
+INTERCEPT_LIBRARY_FUNCTION(strtok);
 INTERCEPT_LIBRARY_FUNCTION(strtol);
 INTERCEPT_LIBRARY_FUNCTION(wcslen);
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31312.92880.patch
Type: text/x-patch
Size: 419 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170323/1c95be5d/attachment.bin>


More information about the llvm-commits mailing list