summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/asan/TestCases/Linux/longjmp_chk.c
Commit message (Collapse)AuthorAgeFilesLines
* [ASAN] Add interceptor for __longjmp_chkPeter Wu2017-05-041-0/+51
Summary: glibc on Linux calls __longjmp_chk instead of longjmp (or _longjmp) when _FORTIFY_SOURCE is defined. Ensure that an ASAN-instrumented program intercepts this function when a system library calls it, otherwise the stack might remain poisoned and result in CHECK failures and false positives. Fixes https://github.com/google/sanitizers/issues/721 Reviewed By: eugenis Differential Revision: https://reviews.llvm.org/D32408 llvm-svn: 302152
OpenPOWER on IntegriCloud