summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/asan/lit_tests/strncpy-overflow.cc
Commit message (Collapse)AuthorAgeFilesLines
* [ASan] move all lit_tests under TestCasesAlexey Samsonov2013-06-061-38/+0
| | | | llvm-svn: 183395
* [asan] Fix nonsensical reports of partial right OOB.Evgeniy Stepanov2013-02-051-1/+1
| | | | | | | | | | In case of partial right OOB, ASan was reporting X is located 0 bytes to the right of [A, B) where X was actually inside [A, B). With this change, ASan will report B as the error address in such case. llvm-svn: 174373
* [ASan] Use dylib interposition to hook memory allocation in the dynamic runtime.Alexander Potapenko2013-01-221-4/+2
| | | | | | | | This CL drastically simplifies the way we're hooking the memory allocation routines in ASan on Mac by using dylib interposition to replace the main malloc_zone_* functions. This allows us to avoid replacing the default CFAllocator and drop the CF dependency at all. Committing this patch will result in the static runtime being broken. A follow-up CL will switch ASan to use the dynamic runtime library. llvm-svn: 173134
* Make ASan and TSan tests a bit less brittle with @LINE FileCheck macroAlexey Samsonov2012-12-281-3/+3
| | | | llvm-svn: 171181
* Add a possible underscore before the wrappers to the output expectations for ↵Alexander Potapenko2012-11-091-1/+1
| | | | | | Darwin llvm-svn: 167610
* [ASan] use llvm-symbolizer for ASan lit-style tests on MacAlexey Samsonov2012-10-081-2/+2
| | | | llvm-svn: 165391
* [ASan] Port (the last one) tricky interface_test to lit, and a *huge* chunks ↵Alexey Samsonov2012-08-151-7/+19
| | | | | | of boilerplate to run tests for 32/64 bits and all optimization levels. Alas, lit doesn't support for loops in RUN-lines... llvm-svn: 161941
* [ASan] use clangxx_asan instead of clang_asan for C++ lit testsAlexey Samsonov2012-08-151-1/+1
| | | | llvm-svn: 161936
* [ASan] port remaining output and feature tests to lit. TODO: we should in ↵Alexey Samsonov2012-08-151-0/+28
fact run most of the tests for 32/64 bits and for all optimization levels llvm-svn: 161935
OpenPOWER on IntegriCloud