Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [asan] tests should not require the asan-rt to be built with debug info | Kostya Serebryany | 2012-01-31 | 3 | -4/+4 | |
| | | | | llvm-svn: 149330 | |||||
* | [asan] new run-time flag: sleep_before_dying (asan Issue #31) | Kostya Serebryany | 2012-01-31 | 1 | -0/+5 | |
| | | | | llvm-svn: 149306 | |||||
* | [asan] re-enable the test for ObjC initialization bug | Kostya Serebryany | 2012-01-30 | 1 | -2/+1 | |
| | | | | llvm-svn: 149302 | |||||
* | [asan] fix issue 35: don't let the optimizer to optimize the test code away. | Kostya Serebryany | 2012-01-30 | 2 | -6/+11 | |
| | | | | llvm-svn: 149296 | |||||
* | [asan] add a test for __attribute__ no_address_safety_analysis | Kostya Serebryany | 2012-01-30 | 1 | -0/+11 | |
| | | | | llvm-svn: 149278 | |||||
* | Darwin-specific templates for the output tests. | Alexander Potapenko | 2012-01-26 | 4 | -1/+29 | |
| | | | | | | These should fix the output tests on Mac. llvm-svn: 149068 | |||||
* | Tune asan_symbolize.py to symbolize 64-bit binaries correctly. | Alexander Potapenko | 2012-01-24 | 1 | -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 traces | Kostya Serebryany | 2012-01-23 | 3 | -1/+20 | |
| | | | | llvm-svn: 148714 | |||||
* | Wrap CFStringCreateCopy to prevent copying constant CF strings. | Alexander Potapenko | 2012-01-23 | 1 | -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 Potapenko | 2012-01-23 | 1 | -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 Samsonov | 2012-01-18 | 1 | -2/+2 | |
| | | | | llvm-svn: 148394 | |||||
* | [asan] workaround for bug http://llvm.org/bugs/show_bug.cgi?id=11763. Do not ↵ | Kostya Serebryany | 2012-01-17 | 1 | -2/+16 | |
| | | | | | | bark on memcpy(a, a, size). llvm-svn: 148318 | |||||
* | Revert commit 148304 | Alexey Samsonov | 2012-01-17 | 2 | -3/+5 | |
| | | | | llvm-svn: 148305 | |||||
* | AddressSanitizer: from this patch, ASan allocator returns false for ↵ | Alexey Samsonov | 2012-01-17 | 2 | -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() function | Alexey Samsonov | 2012-01-17 | 2 | -1/+20 | |
| | | | | llvm-svn: 148287 | |||||
* | AddressSanitizer: fix recently introduced lint errors and broken test on Mac. | Alexey Samsonov | 2012-01-16 | 1 | -1/+1 | |
| | | | | llvm-svn: 148235 | |||||
* | Disable posix_memalign test on Android. | Evgeniy Stepanov | 2012-01-16 | 1 | -1/+3 | |
| | | | | llvm-svn: 148234 | |||||
* | [asan] remove objdump-based tests in favour of much simpler LLVM-ish tests | Kostya Serebryany | 2012-01-04 | 1 | -153/+0 | |
| | | | | llvm-svn: 147514 | |||||
* | [asan] enable memset/memcpy/memmove interceptors in asan-rt (in addition to ↵ | Kostya Serebryany | 2011-12-28 | 1 | -2/+0 | |
| | | | | | | those in the compiler module) llvm-svn: 147319 | |||||
* | [asan] better message for parameter overlap bugs | Kostya Serebryany | 2011-12-28 | 1 | -12/+15 | |
| | | | | llvm-svn: 147317 | |||||
* | [asan] interceptor for strcat. Patch by samsonov@google.com | Kostya Serebryany | 2011-12-28 | 1 | -0/+45 | |
| | | | | llvm-svn: 147316 | |||||
* | [asan] interceptor for memcmp. Patch by samsonov@google.com | Kostya Serebryany | 2011-12-28 | 1 | -0/+32 | |
| | | | | llvm-svn: 147315 | |||||
* | [asan] interceptors for strcasecmp and strncasecmp. patch by samsonov@google.com | Kostya Serebryany | 2011-12-28 | 1 | -48/+84 | |
| | | | | llvm-svn: 147304 | |||||
* | [asan] remove the test for cfree. 'man cfree' says: 'This function should ↵ | Kostya Serebryany | 2011-12-27 | 1 | -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 Serebryany | 2011-12-27 | 1 | -2/+7 | |
| | | | | | | ADDRESS_SANITIZER macro llvm-svn: 147297 | |||||
* | [asan] make sure frame pointers are not omitted when running asan output tests | Kostya Serebryany | 2011-12-27 | 1 | -1/+1 | |
| | | | | llvm-svn: 147293 | |||||
* | [asan] added a test to check that a global-buffer-overflow mentioned the ↵ | Kostya Serebryany | 2011-12-15 | 2 | -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 Serebryany | 2011-12-15 | 3 | -14/+8 | |
| | | | | | | false positive. run-time part. llvm-svn: 146687 | |||||
* | [asan] regression test for asan issue 19, currently fails. | Kostya Serebryany | 2011-12-15 | 2 | -0/+106 | |
| | | | | llvm-svn: 146681 | |||||
* | [asan] fix the test runner to detect build breakages; add a test for -pie | Kostya Serebryany | 2011-12-14 | 1 | -3/+10 | |
| | | | | llvm-svn: 146528 | |||||
* | [asan] canonicalise the output for double-free and wrong-free. fixes asan ↵ | Kostya Serebryany | 2011-12-13 | 1 | -2/+3 | |
| | | | | | | issue 18 llvm-svn: 146501 | |||||
* | [asan] fix output test to not require debug symbols in asan run-time | Kostya Serebryany | 2011-12-09 | 3 | -5/+5 | |
| | | | | llvm-svn: 146212 | |||||
* | [asan] better test for use-after-return mode | Kostya Serebryany | 2011-12-08 | 1 | -9/+9 | |
| | | | | llvm-svn: 146203 | |||||
* | [asan] fix the error message for 16-byte accesses (it previously printed ↵ | Kostya Serebryany | 2011-12-07 | 1 | -0/+2 | |
| | | | | | | 'unknown-crash') llvm-svn: 146075 | |||||
* | [asan] GCD tests on Mac: prevent optimization and enable. Patch by ↵ | Kostya Serebryany | 2011-12-06 | 2 | -13/+13 | |
| | | | | | | glider@google.com llvm-svn: 145953 | |||||
* | [asan]: test a pure C file with -faddress-sanitizer; lint fixes | Kostya Serebryany | 2011-12-05 | 2 | -2/+10 | |
| | | | | llvm-svn: 145848 | |||||
* | [asan] add the test for bug 11468 | Kostya Serebryany | 2011-12-05 | 1 | -0/+27 | |
| | | | | llvm-svn: 145839 | |||||
* | [asan] always collect malloc statstics (removed FLAG_stats) | Kostya Serebryany | 2011-12-05 | 2 | -23/+0 | |
| | | | | llvm-svn: 145838 | |||||
* | [asan] micro-benchmark for use-after-return fake stack | Kostya Serebryany | 2011-12-03 | 1 | -0/+9 | |
| | | | | llvm-svn: 145739 | |||||
* | test asan at -O0 | Kostya Serebryany | 2011-11-30 | 1 | -2/+1 | |
| | | | | llvm-svn: 145532 | |||||
* | AddressSanitizer run-time library. Not yet integrated with the compiler-rt ↵ | Kostya Serebryany | 2011-11-30 | 34 | -0/+3301 | |
build system, but can be built using the old makefile. See details in README.txt llvm-svn: 145463 |