summaryrefslogtreecommitdiff
path: root/lib/asan/asan_malloc_linux.cc
Commit message (Collapse)AuthorAge
* [ASan] Kill the remainders of platform defines in favor of SANITIZER_ definesAlexey Samsonov2013-04-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178629 91177308-0d34-0410-b5e6-96231b3b80d8
* [ASan] Switch ASan to generic ThreadRegistry from sanitizer_common. Delete ↵Alexey Samsonov2013-03-21
| | | | | | ASan-specific AsanThreadRegistry. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177634 91177308-0d34-0410-b5e6-96231b3b80d8
* [sanitizer] Replace more platform checks with SANITIZER_ constants.Evgeniy Stepanov2013-03-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177400 91177308-0d34-0410-b5e6-96231b3b80d8
* [sanitizer] Move ASan platform macros to sanitizer_common and rename them ↵Evgeniy Stepanov2013-03-19
| | | | | | appropriately. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177397 91177308-0d34-0410-b5e6-96231b3b80d8
* [ASan] Split ASan interface header into private and public parts. Add a test ↵Alexey Samsonov2013-01-31
| | | | | | that makes sure users can include interface header git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174058 91177308-0d34-0410-b5e6-96231b3b80d8
* [asan] asan_allocator2: do not align the requested size to the redzone size ↵Kostya Serebryany2012-12-26
| | | | | | (saves a bit more memory) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171111 91177308-0d34-0410-b5e6-96231b3b80d8
* [asan] add a flag alloc_dealloc_mismatch (off by default for now) which ↵Kostya Serebryany2012-12-21
| | | | | | finds malloc/delete, new/free, new/delete[], etc mismatches git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170869 91177308-0d34-0410-b5e6-96231b3b80d8
* [asan] add a flag poison_heap to allow better allocator benchmarking, ↵Kostya Serebryany2012-12-20
| | | | | | implemenet malloc_stats() on Linux git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170685 91177308-0d34-0410-b5e6-96231b3b80d8
* [asan] add two asan flags: fast_unwind_on_fatal and fast_unwind_on_malloc to ↵Kostya Serebryany2012-12-13
| | | | | | allow using the slow CFI-based unwinder git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170117 91177308-0d34-0410-b5e6-96231b3b80d8
* [ASan] fix interception macro for Android buildAlexey Samsonov2012-09-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163692 91177308-0d34-0410-b5e6-96231b3b80d8
* A few tweaks for building ASanRT against Android NDK.Evgeniy Stepanov2012-08-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162666 91177308-0d34-0410-b5e6-96231b3b80d8
* [ASan] fix names of malloc/free replacements on AndroidAlexey Samsonov2012-08-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161322 91177308-0d34-0410-b5e6-96231b3b80d8
* [asan] get rid of '#include <malloc.h>' in the implementation of malloc ↵Kostya Serebryany2012-06-25
| | | | | | interceptors git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159132 91177308-0d34-0410-b5e6-96231b3b80d8
* Lots of trivial changes to remove extraneous semicolons throughout ASan.Chandler Carruth2012-06-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159128 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove file-type tags for .cc files in ASan run-time libraryAlexey Samsonov2012-06-04
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157927 91177308-0d34-0410-b5e6-96231b3b80d8
* [asan] more renamingKostya Serebryany2012-05-31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157746 91177308-0d34-0410-b5e6-96231b3b80d8
* [asan] Support for %z to Printf()Evgeniy Stepanov2012-03-21
| | | | | | | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153177 91177308-0d34-0410-b5e6-96231b3b80d8
* AddressSanitizer: replace all "real_X" calls with "REAL(X)"Alexey Samsonov2012-02-08
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@150073 91177308-0d34-0410-b5e6-96231b3b80d8
* AddressSanitizer: Replace __attribute__ with macro (for Win compatibility). ↵Alexey Samsonov2012-02-03
| | | | | | Patch by timurrrr@google.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149686 91177308-0d34-0410-b5e6-96231b3b80d8
* AddressSanitizer: Add macro for definition/declaration of interceptorsAlexey Samsonov2012-02-02
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149602 91177308-0d34-0410-b5e6-96231b3b80d8
* AddressSanitizer: Enforce default visibility for all libc interceptorsAlexey Samsonov2012-01-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149247 91177308-0d34-0410-b5e6-96231b3b80d8
* AddressSanitizer: add support for malloc_usable_size() functionAlexey Samsonov2012-01-17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148287 91177308-0d34-0410-b5e6-96231b3b80d8
* [asan] flatten the asan-rt build slightlyKostya Serebryany2011-12-01
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145631 91177308-0d34-0410-b5e6-96231b3b80d8
* AddressSanitizer run-time library. Not yet integrated with the compiler-rt ↵Kostya Serebryany2011-11-30
build system, but can be built using the old makefile. See details in README.txt git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145463 91177308-0d34-0410-b5e6-96231b3b80d8