Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [asan] more renaming | Kostya Serebryany | 2012-05-31 | 1 | -31/+31 | |
| | | | | llvm-svn: 157747 | |||||
* | [asan] more renaming | Kostya Serebryany | 2012-05-31 | 1 | -139/+139 | |
| | | | | llvm-svn: 157746 | |||||
* | [asan,tsan] introduce sanitizer_common/sanitizer_defs.h and perform some ↵ | Kostya Serebryany | 2012-05-31 | 1 | -4/+4 | |
| | | | | | | renaming in asan rt. More to come. llvm-svn: 157743 | |||||
* | Introduce the check_malloc_usable_size flag (on by default). | Alexander Potapenko | 2012-05-25 | 1 | -1/+1 | |
| | | | | | | | When the flag is set to zero, we do not check for errors in malloc_usable_size. This may be useful to work around a bug in Nvidia drivers prior to 295.* llvm-svn: 157472 | |||||
* | [ASan] Make for-Windows RTL compileable using Clang++ | Timur Iskhodzhanov | 2012-05-21 | 1 | -9/+9 | |
| | | | | llvm-svn: 157188 | |||||
* | [asan] fix asan issue #66 (correctly report type of the bug) | Kostya Serebryany | 2012-04-23 | 1 | -0/+1 | |
| | | | | llvm-svn: 155344 | |||||
* | [asan] make __asan::Deallocate immune to racy double-free (issue #57) | Kostya Serebryany | 2012-04-05 | 1 | -4/+8 | |
| | | | | llvm-svn: 154097 | |||||
* | Log the allocator messages at a higher verbosity level. | Alexander Potapenko | 2012-03-27 | 1 | -1/+1 | |
| | | | | llvm-svn: 153514 | |||||
* | [asan] Support for %z to Printf() | Evgeniy Stepanov | 2012-03-21 | 1 | -10/+10 | |
| | | | | | | | | | | | | At the moment, asan internal Printf() uses %l modifier for printing values of size_t and related types. This works, because we control both the implementation of Printf and all its uses, but can be a little misleading. This change adds support for %z to Printf(). All callers that print sizes and pointers as integers are switched to %zu / %zx. llvm-svn: 153177 | |||||
* | AddressSanitizer: fix a couple of typos | Alexey Samsonov | 2012-03-13 | 1 | -4/+4 | |
| | | | | llvm-svn: 152617 | |||||
* | [asan] use O(log(N)) algorithm instead of O(N) in __asan_get_ownership | Kostya Serebryany | 2012-03-10 | 1 | -7/+25 | |
| | | | | llvm-svn: 152467 | |||||
* | Replace some #ifdef(s) with plain if(s). | Evgeniy Stepanov | 2012-02-27 | 1 | -12/+5 | |
| | | | | llvm-svn: 151526 | |||||
* | AddressSanitizer: add some checks to AsanChunkFifoList::PushList | Alexey Samsonov | 2012-02-27 | 1 | -0/+4 | |
| | | | | llvm-svn: 151521 | |||||
* | [ASan] Remove one FIXME - re-enable "free-not-malloced" reports on Windows | Timur Iskhodzhanov | 2012-02-21 | 1 | -5/+0 | |
| | | | | llvm-svn: 151051 | |||||
* | AddressSanitizer: fix lint | Alexey Samsonov | 2012-02-17 | 1 | -3/+3 | |
| | | | | llvm-svn: 150802 | |||||
* | [asan] Allocator tweaks for low memory systems. | Evgeniy Stepanov | 2012-02-16 | 1 | -2/+8 | |
| | | | | llvm-svn: 150689 | |||||
* | [asan] The first version of the RTL for Windows, reviewed at ↵ | Timur Iskhodzhanov | 2012-02-09 | 1 | -0/+5 | |
| | | | | | | http://codereview.appspot.com/5647052 llvm-svn: 150185 | |||||
* | AddressSanitizer: replace all "real_X" calls with "REAL(X)" | Alexey Samsonov | 2012-02-08 | 1 | -6/+6 | |
| | | | | llvm-svn: 150073 | |||||
* | [asan] better warning messages for double-free bugs (provide ↵ | Kostya Serebryany | 2012-02-08 | 1 | -1/+1 | |
| | | | | | | allocation/deallocation stack traces) llvm-svn: 150027 | |||||
* | AddressSanitizer: simplify RoundUpToPowerOfTwo/clz; add a couple of CHECKs ↵ | Alexey Samsonov | 2012-02-03 | 1 | -19/+13 | |
| | | | | | | for real_X calls. Patch by timurrrr@google.com llvm-svn: 149687 | |||||
* | [asan] minor ifdef cleanup | Kostya Serebryany | 2012-01-30 | 1 | -4/+4 | |
| | | | | llvm-svn: 149274 | |||||
* | Make compiler-rt/trunk/lib/asan compileable with Visual Studio 2008 on Windows. | Alexander Potapenko | 2012-01-27 | 1 | -1/+30 | |
| | | | | | | | | | | | | | | Patch by Timur Iskhodzhanov (timurrrr@google.com) To test: $ cl /c *.c* in the asan directory. The code fails to link if you omit the "/c" part but that's one of the next steps, as well as a few TODO's I've put into the Windows-specific code. llvm-svn: 149130 | |||||
* | AddressSanitizer: return false instead of true for __asan_get_ownership(NULL) | Alexey Samsonov | 2012-01-18 | 1 | -25/+10 | |
| | | | | llvm-svn: 148394 | |||||
* | Revert commit 148304 | Alexey Samsonov | 2012-01-17 | 1 | -7/+25 | |
| | | | | llvm-svn: 148305 | |||||
* | AddressSanitizer: from this patch, ASan allocator returns false for ↵ | Alexey Samsonov | 2012-01-17 | 1 | -25/+7 | |
| | | | | | | __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 | -10/+42 | |
| | | | | llvm-svn: 148287 | |||||
* | [asan] move more stuff to OS-specific files | Kostya Serebryany | 2012-01-06 | 1 | -4/+0 | |
| | | | | llvm-svn: 147647 | |||||
* | [asan] refactoring: don't #include <sys/mman.h> in non-os-specific files | Kostya Serebryany | 2011-12-28 | 1 | -1/+0 | |
| | | | | llvm-svn: 147328 | |||||
* | [asan] use custom libc-free getenv; a bit of refactoring around mmap calls | Kostya Serebryany | 2011-12-28 | 1 | -31/+4 | |
| | | | | llvm-svn: 147326 | |||||
* | [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] make use-after-return mode more robust: allow to call instrumented ↵ | Kostya Serebryany | 2011-12-09 | 1 | -2/+1 | |
| | | | | | | functions while reporting an error llvm-svn: 146231 | |||||
* | [asan] always collect malloc statstics (removed FLAG_stats) | Kostya Serebryany | 2011-12-05 | 1 | -36/+31 | |
| | | | | llvm-svn: 145838 | |||||
* | [asan] minimize the use of STL. One bit is still left. | Kostya Serebryany | 2011-12-02 | 1 | -5/+3 | |
| | | | | llvm-svn: 145691 | |||||
* | lib/asan: Fix possible type mismatches. | Daniel Dunbar | 2011-12-02 | 1 | -2/+2 | |
| | | | | llvm-svn: 145664 | |||||
* | Refactor shadow poisoning done by asan-rt, no funtionality changes; patch by ↵ | Kostya Serebryany | 2011-11-30 | 1 | -14/+4 | |
| | | | | | | samsonov@google.com llvm-svn: 145505 | |||||
* | AddressSanitizer run-time library. Not yet integrated with the compiler-rt ↵ | Kostya Serebryany | 2011-11-30 | 1 | -0/+1065 | |
build system, but can be built using the old makefile. See details in README.txt llvm-svn: 145463 |