summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/asan/TestCases/Linux/printf-fortify-4.c
Commit message (Collapse)AuthorAgeFilesLines
* [asan] Add interceptor for printf_chkMaxim Ostapenko2017-12-181-0/+22
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
OpenPOWER on IntegriCloud