diff options
author | Maxim Ostapenko <chefmax7@gmail.com> | 2017-12-18 15:31:26 +0000 |
---|---|---|
committer | Maxim Ostapenko <chefmax7@gmail.com> | 2017-12-18 15:31:26 +0000 |
commit | d97da5b44c1d8c1fa5c23b8f16dc630105517993 (patch) | |
tree | 2cb00ff88aa267c55c68b7ef153a570b7cdad324 /test/ubsan | |
parent | f84f696f177bddf93843c4c780e4e9718513e9bd (diff) |
[asan] Add interceptor for printf_chk
There could be a situation when a specific DSO was built with FORTIFY_SOURCE option. In case asan-ed binary link against that DSO,
libasan can't handle the possible memory error because it does not have interceptors for spinrtf_chk, snprintf_chk, vprintf_chk,
vsnprintf_chk, __fprintf_chk functions. Let's interceptors for them.
Patch by Denis Khalikov.
Differential Revision: https://reviews.llvm.org/D40951
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@320990 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/ubsan')
0 files changed, 0 insertions, 0 deletions