Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [asan] Add interceptor for printf_chk | Maxim Ostapenko | 2017-12-18 | 1 | -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 |