Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add a test for NSURL deallocation (issue 70) | Alexander Potapenko | 2012-06-20 | 1 | -0/+7 | |
| | | | | llvm-svn: 158843 | |||||
* | [ASan] add interceptor for strncat | Alexey Samsonov | 2012-06-08 | 1 | -0/+53 | |
| | | | | llvm-svn: 158198 | |||||
* | Remove file-type tags for .cc files in ASan run-time library | Alexey Samsonov | 2012-06-04 | 1 | -1/+1 | |
| | | | | llvm-svn: 157927 | |||||
* | [asan] fix one test on 32-bit Mac 10.7; enable another test on Mac | Kostya Serebryany | 2012-05-22 | 1 | -2/+3 | |
| | | | | llvm-svn: 157237 | |||||
* | [asan] fix asan issue #66 (correctly report type of the bug) | Kostya Serebryany | 2012-04-23 | 1 | -2/+2 | |
| | | | | llvm-svn: 155344 | |||||
* | [asan] test for issue #66 | Kostya Serebryany | 2012-04-19 | 1 | -0/+10 | |
| | | | | llvm-svn: 155127 | |||||
* | Change the way ASan interacts with custom signal handlers. | Alexander Potapenko | 2012-04-10 | 1 | -42/+0 | |
| | | | | | | | | From now on we allow the clients to override signal handlers set by ASan, but print a warning in such a case. Remove the tests for signal() and sigaction(), because they made little sense even without this change. llvm-svn: 154390 | |||||
* | Use 'typename' instead of 'class' in template<> definitions supporting POD types | Timur Iskhodzhanov | 2012-04-09 | 1 | -6/+6 | |
| | | | | llvm-svn: 154314 | |||||
* | Make sure NSObjects are allocated in a way that is visible to ASan. | Alexander Potapenko | 2012-03-30 | 1 | -0/+4 | |
| | | | | llvm-svn: 153762 | |||||
* | [ASan] interceptors for atoi/atol/atoll | Alexey Samsonov | 2012-03-29 | 1 | -2/+46 | |
| | | | | llvm-svn: 153637 | |||||
* | [ASan] add interceptor for strtol | Alexey Samsonov | 2012-03-26 | 1 | -16/+31 | |
| | | | | llvm-svn: 153444 | |||||
* | [ASan] add interceptor for strtoll | Alexey Samsonov | 2012-03-24 | 1 | -0/+40 | |
| | | | | llvm-svn: 153376 | |||||
* | [ASan/tests] Make 'noinline' and a bunch of other stuff portable | Timur Iskhodzhanov | 2012-03-23 | 1 | -51/+33 | |
| | | | | llvm-svn: 153333 | |||||
* | [ASan] replace '#if ... or ...' with '#if ... || ...' | Timur Iskhodzhanov | 2012-03-23 | 1 | -2/+2 | |
| | | | | llvm-svn: 153332 | |||||
* | [asan] extend the test for long double bug | Kostya Serebryany | 2012-03-21 | 1 | -0/+2 | |
| | | | | llvm-svn: 153190 | |||||
* | [asan] Add a negative test for memcpy of long double. | Evgeniy Stepanov | 2012-03-02 | 1 | -0/+8 | |
| | | | | llvm-svn: 151888 | |||||
* | Replace some #ifdef(s) with plain if(s). | Evgeniy Stepanov | 2012-02-27 | 1 | -10/+4 | |
| | | | | llvm-svn: 151526 | |||||
* | AddressSanitizer: fix lint | Alexey Samsonov | 2012-02-17 | 1 | -2/+2 | |
| | | | | llvm-svn: 150802 | |||||
* | [asan] Allocator tweaks for low memory systems. | Evgeniy Stepanov | 2012-02-16 | 1 | -0/+10 | |
| | | | | llvm-svn: 150689 | |||||
* | [asan] Add a missing return. | Evgeniy Stepanov | 2012-02-13 | 1 | -0/+1 | |
| | | | | | | | It is technically reachable on Android, where pthread_exit is not marked noreturn. llvm-svn: 150381 | |||||
* | [asan] better warning messages for double-free bugs (provide ↵ | Kostya Serebryany | 2012-02-08 | 1 | -1/+5 | |
| | | | | | | allocation/deallocation stack traces) llvm-svn: 150027 | |||||
* | [asan] make sure the AsanThread object is destroyed if pthread_exit is called | Kostya Serebryany | 2012-02-07 | 1 | -0/+12 | |
| | | | | llvm-svn: 149940 | |||||
* | Disables testing memcpy() on Mac OS 10.7, | Alexander Potapenko | 2012-02-01 | 1 | -0/+6 | |
| | | | | | | | where memcpy() in fact aliases memmove() and thus calling it with overlapping parameters is not an error. llvm-svn: 149491 | |||||
* | [asan] fix issue 35: don't let the optimizer to optimize the test code away. | Kostya Serebryany | 2012-01-30 | 1 | -1/+1 | |
| | | | | llvm-svn: 149296 | |||||
* | [asan] add a test for __attribute__ no_address_safety_analysis | Kostya Serebryany | 2012-01-30 | 1 | -0/+11 | |
| | | | | llvm-svn: 149278 | |||||
* | 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 | |||||
* | [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 | 1 | -1/+1 | |
| | | | | llvm-svn: 148305 | |||||
* | AddressSanitizer: from this patch, ASan allocator returns false for ↵ | Alexey Samsonov | 2012-01-17 | 1 | -1/+1 | |
| | | | | | | __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 | 1 | -0/+19 | |
| | | | | 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] added a test to check that a global-buffer-overflow mentioned the ↵ | Kostya Serebryany | 2011-12-15 | 1 | -0/+7 | |
| | | | | | | module name; revert incorrect change in the test runner llvm-svn: 146701 | |||||
* | [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] 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 | 1 | -8/+8 | |
| | | | | | | glider@google.com llvm-svn: 145953 | |||||
* | AddressSanitizer run-time library. Not yet integrated with the compiler-rt ↵ | Kostya Serebryany | 2011-11-30 | 1 | -0/+1896 | |
build system, but can be built using the old makefile. See details in README.txt llvm-svn: 145463 |