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 | de74bdb3d2cf84f7a586dd23a7e0fc993359c791 (patch) | |
tree | af9fd118facc1654e8091c7d72d800198d79a8c6 /llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp | |
parent | 5fb624a3b80d669a41d95ff744bce361c2074fca (diff) | |
download | llvm-de74bdb3d2cf84f7a586dd23a7e0fc993359c791.zip llvm-de74bdb3d2cf84f7a586dd23a7e0fc993359c791.tar.gz llvm-de74bdb3d2cf84f7a586dd23a7e0fc993359c791.tar.bz2 |
[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
llvm-svn: 320990
Diffstat (limited to 'llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp')
0 files changed, 0 insertions, 0 deletions