summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/asan/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* [asan] tests should not require the asan-rt to be built with debug infoKostya Serebryany2012-01-313-4/+4
| | | | llvm-svn: 149330
* [asan] new run-time flag: sleep_before_dying (asan Issue #31)Kostya Serebryany2012-01-311-0/+5
| | | | llvm-svn: 149306
* [asan] re-enable the test for ObjC initialization bugKostya Serebryany2012-01-301-2/+1
| | | | llvm-svn: 149302
* [asan] fix issue 35: don't let the optimizer to optimize the test code away.Kostya Serebryany2012-01-302-6/+11
| | | | llvm-svn: 149296
* [asan] add a test for __attribute__ no_address_safety_analysisKostya Serebryany2012-01-301-0/+11
| | | | llvm-svn: 149278
* Darwin-specific templates for the output tests.Alexander Potapenko2012-01-264-1/+29
| | | | | | These should fix the output tests on Mac. llvm-svn: 149068
* Tune asan_symbolize.py to symbolize 64-bit binaries correctly.Alexander Potapenko2012-01-241-1/+3
| | | | | | Add the DEBUG flag to test_output.sh llvm-svn: 148798
* [asan] test that -fno-optimize-sibling-calls helps to get sane stack tracesKostya Serebryany2012-01-233-1/+20
| | | | llvm-svn: 148714
* Wrap CFStringCreateCopy to prevent copying constant CF strings.Alexander Potapenko2012-01-231-1/+1
| | | | | | This should fix http://code.google.com/p/address-sanitizer/issues/detail?id=10 llvm-svn: 148696
* Add a test for CFStringCreateCopy.Alexander Potapenko2012-01-231-0/+10
| | | | | | | | | Normally this function should not create copies of constant strings, but it does when the default CFAllocator is replaced (e.g. under AddressSanitizer) This test is related to http://code.google.com/p/address-sanitizer/issues/detail?id=10 llvm-svn: 148695
* AddressSanitizer: return false instead of true for __asan_get_ownership(NULL)Alexey Samsonov2012-01-181-2/+2
| | | | llvm-svn: 148394
* [asan] workaround for bug http://llvm.org/bugs/show_bug.cgi?id=11763. Do not ↵Kostya Serebryany2012-01-171-2/+16
| | | | | | bark on memcpy(a, a, size). llvm-svn: 148318
* Revert commit 148304Alexey Samsonov2012-01-172-3/+5
| | | | llvm-svn: 148305
* AddressSanitizer: from this patch, ASan allocator returns false for ↵Alexey Samsonov2012-01-172-5/+3
| | | | | | __asan_get_ownership(NULL) and produce error reports for malloc_usable_size(NULL) and __asan_get_allocated_size(NULL) llvm-svn: 148304
* AddressSanitizer: add support for malloc_usable_size() functionAlexey Samsonov2012-01-172-1/+20
| | | | llvm-svn: 148287
* AddressSanitizer: fix recently introduced lint errors and broken test on Mac.Alexey Samsonov2012-01-161-1/+1
| | | | llvm-svn: 148235
* Disable posix_memalign test on Android.Evgeniy Stepanov2012-01-161-1/+3
| | | | llvm-svn: 148234
* [asan] remove objdump-based tests in favour of much simpler LLVM-ish testsKostya Serebryany2012-01-041-153/+0
| | | | llvm-svn: 147514
* [asan] enable memset/memcpy/memmove interceptors in asan-rt (in addition to ↵Kostya Serebryany2011-12-281-2/+0
| | | | | | those in the compiler module) llvm-svn: 147319
* [asan] better message for parameter overlap bugsKostya Serebryany2011-12-281-12/+15
| | | | llvm-svn: 147317
* [asan] interceptor for strcat. Patch by samsonov@google.comKostya Serebryany2011-12-281-0/+45
| | | | llvm-svn: 147316
* [asan] interceptor for memcmp. Patch by samsonov@google.comKostya Serebryany2011-12-281-0/+32
| | | | llvm-svn: 147315
* [asan] interceptors for strcasecmp and strncasecmp. patch by samsonov@google.comKostya Serebryany2011-12-281-48/+84
| | | | llvm-svn: 147304
* [asan] remove the test for cfree. 'man cfree' says: 'This function should ↵Kostya Serebryany2011-12-271-3/+0
| | | | | | never be used.' and this function is not found on many OSes we support. llvm-svn: 147301
* [asan] rely on __has_feature(address_sanitizer) instead of the ↵Kostya Serebryany2011-12-271-2/+7
| | | | | | ADDRESS_SANITIZER macro llvm-svn: 147297
* [asan] make sure frame pointers are not omitted when running asan output testsKostya Serebryany2011-12-271-1/+1
| | | | llvm-svn: 147293
* [asan] added a test to check that a global-buffer-overflow mentioned the ↵Kostya Serebryany2011-12-152-2/+9
| | | | | | module name; revert incorrect change in the test runner llvm-svn: 146701
* [asan] fix a bug (issue 19) where dlclose and the following mmap caused a ↵Kostya Serebryany2011-12-153-14/+8
| | | | | | false positive. run-time part. llvm-svn: 146687
* [asan] regression test for asan issue 19, currently fails.Kostya Serebryany2011-12-152-0/+106
| | | | llvm-svn: 146681
* [asan] fix the test runner to detect build breakages; add a test for -pieKostya Serebryany2011-12-141-3/+10
| | | | llvm-svn: 146528
* [asan] canonicalise the output for double-free and wrong-free. fixes asan ↵Kostya Serebryany2011-12-131-2/+3
| | | | | | issue 18 llvm-svn: 146501
* [asan] fix output test to not require debug symbols in asan run-timeKostya Serebryany2011-12-093-5/+5
| | | | llvm-svn: 146212
* [asan] better test for use-after-return modeKostya Serebryany2011-12-081-9/+9
| | | | llvm-svn: 146203
* [asan] fix the error message for 16-byte accesses (it previously printed ↵Kostya Serebryany2011-12-071-0/+2
| | | | | | 'unknown-crash') llvm-svn: 146075
* [asan] GCD tests on Mac: prevent optimization and enable. Patch by ↵Kostya Serebryany2011-12-062-13/+13
| | | | | | glider@google.com llvm-svn: 145953
* [asan]: test a pure C file with -faddress-sanitizer; lint fixesKostya Serebryany2011-12-052-2/+10
| | | | llvm-svn: 145848
* [asan] add the test for bug 11468 Kostya Serebryany2011-12-051-0/+27
| | | | llvm-svn: 145839
* [asan] always collect malloc statstics (removed FLAG_stats)Kostya Serebryany2011-12-052-23/+0
| | | | llvm-svn: 145838
* [asan] micro-benchmark for use-after-return fake stackKostya Serebryany2011-12-031-0/+9
| | | | llvm-svn: 145739
* test asan at -O0Kostya Serebryany2011-11-301-2/+1
| | | | llvm-svn: 145532
* AddressSanitizer run-time library. Not yet integrated with the compiler-rt ↵Kostya Serebryany2011-11-3034-0/+3301
build system, but can be built using the old makefile. See details in README.txt llvm-svn: 145463
OpenPOWER on IntegriCloud