[ASan/Win] Use the new function interception approach to handle function wrappers...
commitdfc7fe5c1e0bfabbb1b6b189b3154b107a3ff7ca
authorTimur Iskhodzhanov <timurrrr@google.com>
Thu, 22 May 2014 12:03:40 +0000 (22 12:03 +0000)
committerTimur Iskhodzhanov <timurrrr@google.com>
Thu, 22 May 2014 12:03:40 +0000 (22 12:03 +0000)
tree4f7475e1d68c6e61dcb83e5785459ce03c546488
parenta2c2cdb9667c555cfa70084b770bcd284f5f9b3e
[ASan/Win] Use the new function interception approach to handle function wrappers too; wrap strlen() in DLLs

Reviewed at http://reviews.llvm.org/D3871

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@209427 91177308-0d34-0410-b5e6-96231b3b80d8
lib/asan/asan_dll_thunk.cc
lib/interception/interception.h
test/asan/TestCases/Windows/dll_intercept_strlen.cc [new file with mode: 0644]
test/asan/TestCases/Windows/dll_malloc_left_oob.cc
test/asan/TestCases/Windows/dll_malloc_uaf.cc