[asan] Fix bug where suppression of overlapping accesses was ignored on
authorDan Liew <dan@su-root.co.uk>
Thu, 8 Mar 2018 21:50:22 +0000 (21:50 +0000)
committerDan Liew <dan@su-root.co.uk>
Thu, 8 Mar 2018 21:50:22 +0000 (21:50 +0000)
commit0faaa99e4dcbbc991a474379c768c716d2cc2dd0
treee90b93522d92ca235ba17e4a0d1bdd999eed9556
parent70e6faaa0db82e19416f3282d32be688d3eeccfc
[asan] Fix bug where suppression of overlapping accesses was ignored on
`strcpy()`, `strncpy()`, `strcat()`, and `strncat()`.

rdar://problem/35576899

Differential Revision: https://reviews.llvm.org/D43702

llvm-svn: 327068
compiler-rt/lib/asan/asan_interceptors_memintrinsics.h
compiler-rt/test/asan/TestCases/strcat-overlap.cc [new file with mode: 0644]
compiler-rt/test/asan/TestCases/strcpy-overlap.cc [new file with mode: 0644]
compiler-rt/test/asan/TestCases/strncat-overlap.cc [new file with mode: 0644]
compiler-rt/test/asan/TestCases/strncpy-overlap.cc [new file with mode: 0644]