- Dec 27, 2012
-
-
Alexey Samsonov authored
Define COMPILER_RT_CAN_EXECUTE_TESTS variable on platforms where we can produce working binaries and use it in build rules for sanitizers tests llvm-svn: 171160
-
Evgeniy Stepanov authored
llvm-svn: 171151
-
Kostya Serebryany authored
llvm-svn: 171147
-
Kostya Serebryany authored
[asan] relax asan/lit_tests/malloc_delete_mismatch.cc to make it pass on Mac 10.7 (where extra frames creep in between malloc and main) llvm-svn: 171145
-
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
-
-
Alexey Samsonov authored
llvm-svn: 171112
-
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
-
Evgeniy Stepanov authored
llvm-svn: 171106
-
Evgeniy Stepanov authored
llvm-svn: 171105
-
Alexey Samsonov authored
llvm-svn: 171104
-
Evgeniy Stepanov authored
Check for conflicting memory mappings before attempting to map shadow. Helps avoid segfault on Linux with disabled ASLR. llvm-svn: 171100
-
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
-
-
Evgeniy Stepanov authored
llvm-svn: 171071
-
Evgeniy Stepanov authored
llvm-svn: 171065
-
Evgeniy Stepanov authored
llvm-svn: 171062
-
Evgeniy Stepanov authored
llvm-svn: 171059
-
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
-
Dmitry Vyukov authored
llvm-svn: 171057
-
Kostya Serebryany authored
[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 llvm-svn: 171055
-
Dmitry Vyukov authored
(the old code won't work with new allocator) llvm-svn: 171054
-
Kostya Serebryany authored
[asan] properly define ASAN_LOW_MEMORY. Due to a mistake it has been always true causing redzone and quarantine sizes to be smaller than it was some time before (and out of sync with the documentation). Also make one test less greedy llvm-svn: 171052
-
- Dec 24, 2012
-
-
Kostya Serebryany authored
llvm-svn: 171036
-
Kostya Serebryany authored
llvm-svn: 171035
-
Dmitry Vyukov authored
llvm-svn: 171034
-
Dmitry Vyukov authored
(this breaks RPM packages) llvm-svn: 171033
-
Kostya Serebryany authored
[sanitizer] rework the size class map in the sanitizer allocator: make the differences between size classes more uniform. llvm-svn: 171031
-
Dmitry Vyukov authored
to prevent assertion failures on code like "write(-1, ...)" llvm-svn: 171030
-
- 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
-
Alexey Samsonov authored
[Sanitizer] CMake build rules for unittests: depend on headers when compiling a file with custom clang. llvm-svn: 170897
-
Dmitry Vyukov authored
llvm-svn: 170896
-
Kostya Serebryany authored
llvm-svn: 170895
-
Dmitry Vyukov authored
llvm-svn: 170894
-
Dmitry Vyukov authored
llvm-svn: 170893
-
Dmitry Vyukov authored
llvm-svn: 170892
-
Dmitry Vyukov authored
llvm-svn: 170891
-
Dmitry Vyukov authored
llvm-svn: 170889
-
Kostya Serebryany authored
llvm-svn: 170888
-
Dmitry Vyukov authored
llvm-svn: 170885
-