Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
compiler-rt
/
799172d60d32feb1acba1a6867f3a9c39a999e5c
/
lib
/
sanitizer_common
/
tests
/
sanitizer_allocator_test.cc
799172d
Update aosp/master compiler-rt for rebase to r256229
by Pirama Arumuga Nainar
· 9 years ago
86277eb
Update aosp/master compiler-rt for rebase to r230699.
by Stephen Hines
· 9 years ago
6d18623
Update aosp/master compiler-rt for rebase to r222486.
by Stephen Hines
· 10 years ago
2d1fdb2
Update compiler-rt aosp/master for 3.5 (r209699) rebase.
by Stephen Hines
· 10 years ago
8fa4edc
[asan] Fix a deadlock between asan's allocator and lsan
by Kostya Serebryany
· 11 years ago
9150f39
[sanitizer] make the allocator crash instead of returning 0 on huge size (controlled by the allocator_may_return_null flag)
by Kostya Serebryany
· 11 years ago
c87f737
[lsan] Fix android build.
by Sergey Matveev
· 11 years ago
ac78d00
Revert to C-style callbacks for iteration over allocator chunks.
by Sergey Matveev
· 11 years ago
4fcc565
[sanitizer] Fix r182994 - update test.
by Sergey Matveev
· 11 years ago
f8c3f3d
[sanitizer] introduce LargeMmapAllocator::GetBlockBeginFastSingleThreaded, required for LeakSanitizer to work faster. Also fix lint.
by Kostya Serebryany
· 11 years ago
1f3c2fe
Make InternalAlloc/InternalFree in sanitizer runtimes libc-free by switching to a custom allocator.
by Alexey Samsonov
· 11 years ago
1b54cbf
[sanitizer] factor out ByteMap from SizeClassAllocator32 so that it can be later replaced with a more memory-efficient implementation on 64-bit.
by Kostya Serebryany
· 11 years ago
374fd35
tsan: comment out debug output in test
by Dmitry Vyukov
· 11 years ago
f14ef72
[sanitizer] Fix the region overflow condition in SanitizerAllocator64::PopulateFreeList().
by Sergey Matveev
· 11 years ago
871b7fd
[sanitizer] fix the GetBlockBegin overflow bug while preserving the performance optimization (use 32-bit division when possible). Improve the benchmarks that checks for performance of GetBlockBegin/GetMetaData
by Kostya Serebryany
· 11 years ago
a1560bd
[sanitizer] added a test for a bug in allocator discovered by Sergey Matveev (uint32 overflow in GetBlockBegin)
by Kostya Serebryany
· 11 years ago
a2c1d98
[sanitizer] Fix boundary condition in LargeMmapAllocator::GetBlockBegin. Patch by Sergey Matveev
by Kostya Serebryany
· 11 years ago
5d177a0
[Sanitizer] Rely on template argument deduction in sanitizer_allocator_test
by Alexey Samsonov
· 11 years ago
6c876e4
[sanitizer] fix gcc build warnings
by Kostya Serebryany
· 11 years ago
300f953
[asan] Add ForEachChunk() to sanitizer allocators. Patch by Sergey Matveev
by Kostya Serebryany
· 11 years ago
f2c417c
[sanitizer] use fewer size classes in the allocator to reduce the memory footprint. There is no all-size-fits-all constant here, but this change is positive or neutral on several large apps I've tested
by Kostya Serebryany
· 11 years ago
aa0f20d
[sanitizer] make SizeClassAllocator64::GetBlockBegin more bullet proof (by Sergey Matveev)
by Kostya Serebryany
· 11 years ago
3c27d7f
[msan] pthread_join() returns int, not void*
by Reid Kleckner
· 12 years ago
5d3dcb8
[sanitizers] Fix check failure on dealloc from new thread
by Reid Kleckner
· 12 years ago
7fe5526
[sanitizer] Slightly lower allocator test memory consumption.
by Evgeniy Stepanov
· 12 years ago
bdd844c
tsan: implement malloc stats querying
by Dmitry Vyukov
· 12 years ago
48ddbef
Move large part of asan_test_utils.h to sanitizer_common.
by Evgeniy Stepanov
· 12 years ago
0d02d75
Remove thread-locals from sanitizer_common tests.
by Evgeniy Stepanov
· 12 years ago
a343ca0
asan/tsan: faster memory allocator replace lists with arrays
by Dmitry Vyukov
· 12 years ago
bb5d057
[sanitizer] increase the maximum size class of the fast allocator. This should save quite a bit of memory in tsan/msan (and later in asan). This also puts more stress on the large allocator. Add a couple of checks
by Kostya Serebryany
· 12 years ago
68d3a1b
[sanitizer] fix gcc warnings, enable one tests under asan_allocator2
by Kostya Serebryany
· 12 years ago
b8c363d
[sanitizer] make LargeMmapAllocator::GetBlockBegin faster by not using a linked list
by Kostya Serebryany
· 12 years ago
038820f
[sanitizer] rework the size class map in the sanitizer allocator: make the differences between size classes more uniform.
by Kostya Serebryany
· 12 years ago
b1f21c6
[sanitizer] one more stability fix in 64-bit allocator
by Kostya Serebryany
· 12 years ago
da1f82b
[sanitizer] fix LargeMmapAllocator::GetBlockBegin
by Kostya Serebryany
· 12 years ago
d9b7404
[sanitizer] fix a bug that has crept into the sanitizer allocator and caused SEGV on allocations between 1Mb and 2Mb, improve the test
by Kostya Serebryany
· 12 years ago
68acb90
[Sanitizer] remove extra typename
by Alexey Samsonov
· 12 years ago
9fc1f27
[sanitizer] add AllocatorLeakTest
by Kostya Serebryany
· 12 years ago
b6bb60b
tsan: fix lint warning
by Dmitry Vyukov
· 12 years ago
68902f4
tsan: disable allocator tests in debug build
by Dmitry Vyukov
· 12 years ago
ca661f5
tsan: comment out debug output in test
by Dmitry Vyukov
· 12 years ago
567ad07
[sanitizer] change the way SizeClassAllocator64 allocated memory from the system: instead of one huge mmap(NORESERVE) it does one huge mprotect and then does small on-demand mmaps. This allows us to call OnMap callbacks which are required to poison newly allocated memory in asan
by Kostya Serebryany
· 12 years ago
214621f
[sanitizer] add OnMap/OnUmap callbacks to the allocator interface
by Kostya Serebryany
· 12 years ago
0bb6e5d
[sanitizer] try not to use libc mem* functions in sanitizer_common tests (conflicts with our own interceptors)
by Kostya Serebryany
· 12 years ago
e280ce5
[asan/msan] one more test for 32-bit allocator + minor code simplification
by Kostya Serebryany
· 12 years ago
674d05c
[asan/msan] add BulkAllocate to the 32-bit allocator (and a test)
by Kostya Serebryany
· 12 years ago
8a41bdc
[asan/msan] add GetBlockBegin to the 32-bit allocator (+test)
by Kostya Serebryany
· 12 years ago
784935d
[asan/msan] one more test for 32-bit allocator
by Kostya Serebryany
· 12 years ago
45595ba
[asan/msan] new 32-bit allocator, basic functionality so far
by Kostya Serebryany
· 12 years ago
72166ca
[tsan] get rid of *allocator64* files, moving everything to *allocator* files. This will help with the 32-bit allocator implementation and testing
by Kostya Serebryany
· 12 years ago
864f513
[tsan] remove unused InternalAllocBlock as part of larger refactoring
by Kostya Serebryany
· 12 years ago
6611abe
[Sanitizer] define InternalScopedBuffer to replace large arrays on stack. It is defined analogous to similar class in tsan and should replace it.
by Alexey Samsonov
· 12 years ago
a3eca81
tsan/asan: add SpinMutex to sanitizer_common
by Dmitry Vyukov
· 12 years ago
225f531
tsan: remove internal allocator, switch to sanitizer_common one.
by Dmitry Vyukov
· 12 years ago