- Feb 07, 2013
-
-
Alexander Potapenko authored
Switch to allocator2 on Darwin. llvm-svn: 174603
-
- Feb 05, 2013
-
-
Evgeniy Stepanov authored
In case of partial right OOB, ASan was reporting X is located 0 bytes to the right of [A, B) where X was actually inside [A, B). With this change, ASan will report B as the error address in such case. llvm-svn: 174373
-
- Jan 31, 2013
-
-
Alexey Samsonov authored
[ASan] Split ASan interface header into private and public parts. Add a test that makes sure users can include interface header llvm-svn: 174058
-
- Jan 29, 2013
-
-
Alexey Samsonov authored
[ASan] fix deallocation hook in allocator2: according to specification, dealloc hook should be called before deallocating memory llvm-svn: 173778
-
Alexey Samsonov authored
[ASan] Do allocate memory even for zero-size allocation requests. Explain why we have to do this in comments. llvm-svn: 173776
-
- Jan 28, 2013
-
-
Alexey Samsonov authored
llvm-svn: 173681
-
Kostya Serebryany authored
llvm-svn: 173676
-
- Jan 25, 2013
-
-
Kostya Serebryany authored
llvm-svn: 173441
-
- Jan 23, 2013
-
-
Kostya Serebryany authored
[asan] initialize kHighMemEnd at startup (instead of at compile time) to simplify further changes for various address space layouts. Fix asan_allocator2 for PowerPC (tested on 44-bit address space) llvm-svn: 173260
-
- Jan 17, 2013
-
-
Alexey Samsonov authored
llvm-svn: 172717
-
- Jan 16, 2013
-
-
Kostya Serebryany authored
[asan] asan_allocator2: fix the memalign handling (clear the first word of allocated chunk in case there is an old memalign magic) llvm-svn: 172603
-
- Jan 11, 2013
-
-
Dmitry Vyukov authored
llvm-svn: 172210
-
Kostya Serebryany authored
llvm-svn: 172194
-
Dmitry Vyukov authored
llvm-svn: 172193
-
Dmitry Vyukov authored
llvm-svn: 172192
-
Dmitry Vyukov authored
llvm-svn: 172183
-
- Jan 10, 2013
-
-
Kostya Serebryany authored
[asan] asan_allocator2: do less work under the quarantine lock; make the strcasecmp test more resistant to the contents of unaddressable memory llvm-svn: 172048
-
- Dec 27, 2012
-
-
Kostya Serebryany authored
llvm-svn: 171161
-
Kostya Serebryany authored
[asan/tsan] when unmapping a chunk of user memory, apply madvise(MADV_DONTNEED) to the corresponding chunk of shadow memory. Also update sanitizer_allocator64_testlib.cc llvm-svn: 171144
-
- Dec 26, 2012
-
-
Kostya Serebryany authored
[asan] asan_allocator2: do not align the requested size to the redzone size (saves a bit more memory) llvm-svn: 171111
-
Kostya Serebryany authored
[asan] asan_allocator2: implement adaptive redzones. Now with asan_allocator2 allocations <= 48 bytes have 16 byte redzone, allocations of 48-96 bytes -- have 32 bytes redzone, etc (max redzone is 2048). If ASAN_OPTIONS=redzone=n is set, it changes the minimal redzone size llvm-svn: 171107
-
Kostya Serebryany authored
[asan] asan_allocator2: by default use the StackDepot to store the stack traces instead of storing them in the redzones llvm-svn: 171099
-
Kostya Serebryany authored
[asan] asan_allocator2: store the user requested size in just 32 bits (larger sizes use metadata). This allows to put one more 32-bit field into the chunk header llvm-svn: 171089
-
- Dec 25, 2012
-
-
Kostya Serebryany authored
[asan] add a test for right OOB with special large sizes. Fix this test in asan_allocator2. More test tweaking for allocator2 llvm-svn: 171058
-
- Dec 21, 2012
-
-
Kostya Serebryany authored
[asan] asan_allocator2 fix two asserts that happen on full chrome: a) memalign called with 0 size and large alignment and b) malloc called after TSD has been destructed llvm-svn: 170900
-
Kostya Serebryany authored
llvm-svn: 170888
-
Kostya Serebryany authored
[asan] add a flag alloc_dealloc_mismatch (off by default for now) which finds malloc/delete, new/free, new/delete[], etc mismatches llvm-svn: 170869
-
- Dec 20, 2012
-
-
Kostya Serebryany authored
llvm-svn: 170697
-
Kostya Serebryany authored
[asan] add a flag poison_heap to allow better allocator benchmarking, implemenet malloc_stats() on Linux llvm-svn: 170685
-
Kostya Serebryany authored
llvm-svn: 170680
-
- Dec 19, 2012
-
-
Kostya Serebryany authored
llvm-svn: 170548
-
Kostya Serebryany authored
[asan] asan_allocator2: improve FindHeapChunkByAddress to find memory chunks to the left of a given address. Almost all tests pass with the new allocator now, only 6 are left to fix. llvm-svn: 170511
-
- Dec 17, 2012
-
-
Kostya Serebryany authored
llvm-svn: 170339
-
Kostya Serebryany authored
llvm-svn: 170329
-
Kostya Serebryany authored
llvm-svn: 170315
-
Kostya Serebryany authored
llvm-svn: 170310
-
- Dec 14, 2012
-
-
Kostya Serebryany authored
llvm-svn: 170193
-
Kostya Serebryany authored
llvm-svn: 170190
-
- Dec 12, 2012
-
-
Kostya Serebryany authored
llvm-svn: 169985
-
- Dec 11, 2012
-
-
Kostya Serebryany authored
llvm-svn: 169864
-