summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/asan/asan_allocator.cc
Commit message (Collapse)AuthorAgeFilesLines
...
* [asan] more renamingKostya Serebryany2012-05-311-31/+31
| | | | llvm-svn: 157747
* [asan] more renamingKostya Serebryany2012-05-311-139/+139
| | | | llvm-svn: 157746
* [asan,tsan] introduce sanitizer_common/sanitizer_defs.h and perform some ↵Kostya Serebryany2012-05-311-4/+4
| | | | | | renaming in asan rt. More to come. llvm-svn: 157743
* Introduce the check_malloc_usable_size flag (on by default).Alexander Potapenko2012-05-251-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 Iskhodzhanov2012-05-211-9/+9
| | | | llvm-svn: 157188
* [asan] fix asan issue #66 (correctly report type of the bug)Kostya Serebryany2012-04-231-0/+1
| | | | llvm-svn: 155344
* [asan] make __asan::Deallocate immune to racy double-free (issue #57)Kostya Serebryany2012-04-051-4/+8
| | | | llvm-svn: 154097
* Log the allocator messages at a higher verbosity level.Alexander Potapenko2012-03-271-1/+1
| | | | llvm-svn: 153514
* [asan] Support for %z to Printf()Evgeniy Stepanov2012-03-211-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 typosAlexey Samsonov2012-03-131-4/+4
| | | | llvm-svn: 152617
* [asan] use O(log(N)) algorithm instead of O(N) in __asan_get_ownershipKostya Serebryany2012-03-101-7/+25
| | | | llvm-svn: 152467
* Replace some #ifdef(s) with plain if(s).Evgeniy Stepanov2012-02-271-12/+5
| | | | llvm-svn: 151526
* AddressSanitizer: add some checks to AsanChunkFifoList::PushListAlexey Samsonov2012-02-271-0/+4
| | | | llvm-svn: 151521
* [ASan] Remove one FIXME - re-enable "free-not-malloced" reports on WindowsTimur Iskhodzhanov2012-02-211-5/+0
| | | | llvm-svn: 151051
* AddressSanitizer: fix lintAlexey Samsonov2012-02-171-3/+3
| | | | llvm-svn: 150802
* [asan] Allocator tweaks for low memory systems.Evgeniy Stepanov2012-02-161-2/+8
| | | | llvm-svn: 150689
* [asan] The first version of the RTL for Windows, reviewed at ↵Timur Iskhodzhanov2012-02-091-0/+5
| | | | | | http://codereview.appspot.com/5647052 llvm-svn: 150185
* AddressSanitizer: replace all "real_X" calls with "REAL(X)"Alexey Samsonov2012-02-081-6/+6
| | | | llvm-svn: 150073
* [asan] better warning messages for double-free bugs (provide ↵Kostya Serebryany2012-02-081-1/+1
| | | | | | allocation/deallocation stack traces) llvm-svn: 150027
* AddressSanitizer: simplify RoundUpToPowerOfTwo/clz; add a couple of CHECKs ↵Alexey Samsonov2012-02-031-19/+13
| | | | | | for real_X calls. Patch by timurrrr@google.com llvm-svn: 149687
* [asan] minor ifdef cleanupKostya Serebryany2012-01-301-4/+4
| | | | llvm-svn: 149274
* Make compiler-rt/trunk/lib/asan compileable with Visual Studio 2008 on Windows.Alexander Potapenko2012-01-271-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 Samsonov2012-01-181-25/+10
| | | | llvm-svn: 148394
* Revert commit 148304Alexey Samsonov2012-01-171-7/+25
| | | | llvm-svn: 148305
* AddressSanitizer: from this patch, ASan allocator returns false for ↵Alexey Samsonov2012-01-171-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() functionAlexey Samsonov2012-01-171-10/+42
| | | | llvm-svn: 148287
* [asan] move more stuff to OS-specific filesKostya Serebryany2012-01-061-4/+0
| | | | llvm-svn: 147647
* [asan] refactoring: don't #include <sys/mman.h> in non-os-specific filesKostya Serebryany2011-12-281-1/+0
| | | | llvm-svn: 147328
* [asan] use custom libc-free getenv; a bit of refactoring around mmap callsKostya Serebryany2011-12-281-31/+4
| | | | llvm-svn: 147326
* [asan] canonicalise the output for double-free and wrong-free. fixes asan ↵Kostya Serebryany2011-12-131-2/+3
| | | | | | issue 18 llvm-svn: 146501
* [asan] make use-after-return mode more robust: allow to call instrumented ↵Kostya Serebryany2011-12-091-2/+1
| | | | | | functions while reporting an error llvm-svn: 146231
* [asan] always collect malloc statstics (removed FLAG_stats)Kostya Serebryany2011-12-051-36/+31
| | | | llvm-svn: 145838
* [asan] minimize the use of STL. One bit is still left.Kostya Serebryany2011-12-021-5/+3
| | | | llvm-svn: 145691
* lib/asan: Fix possible type mismatches.Daniel Dunbar2011-12-021-2/+2
| | | | llvm-svn: 145664
* Refactor shadow poisoning done by asan-rt, no funtionality changes; patch by ↵Kostya Serebryany2011-11-301-14/+4
| | | | | | samsonov@google.com llvm-svn: 145505
* AddressSanitizer run-time library. Not yet integrated with the compiler-rt ↵Kostya Serebryany2011-11-301-0/+1065
build system, but can be built using the old makefile. See details in README.txt llvm-svn: 145463
OpenPOWER on IntegriCloud