- Jan 11, 2013
-
-
Dmitry Vyukov authored
llvm-svn: 172193
-
Dmitry Vyukov authored
llvm-svn: 172192
-
Dmitry Vyukov authored
llvm-svn: 172184
-
Dmitry Vyukov authored
llvm-svn: 172183
-
- Jan 10, 2013
-
-
Kostya Serebryany authored
llvm-svn: 172059
-
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
-
Kostya Serebryany authored
llvm-svn: 172045
-
- Dec 29, 2012
-
-
Kostya Serebryany authored
llvm-svn: 171223
-
Kostya Serebryany authored
[asan] add a new interface function __asan_describe_address, useful for running asan-ified binary under a debugger (e.g. gdb) llvm-svn: 171217
-
- Dec 28, 2012
-
-
Kostya Serebryany authored
llvm-svn: 171200
-
Kostya Serebryany authored
[asan] implement more strict checking for memset/etc parameters. Instead of checking the first and the last byte, we check the entire shadow region. This costs ~10 slowdown for the instrumented functions. Motivated by a nasty memset-buffer-overflow-by-140-bytes in chrome which was reported as a use-after-free or not at all llvm-svn: 171198
-
Alexey Samsonov authored
llvm-svn: 171188
-
Alexey Samsonov authored
llvm-svn: 171181
-
- Dec 27, 2012
-
-
Kostya Serebryany authored
llvm-svn: 171161
-
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
-
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
-
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
-
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
-
- 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
-
Kostya Serebryany authored
llvm-svn: 170888
-
Alexander Potapenko authored
llvm-svn: 170878
-
Alexey Samsonov authored
[Sanitizer] Don't implicitly add object files to the list of dependencies when building compiler_rt unittests. Fix sanitizer_common and asan build rules accordingly. This also fixes check-sanitizer command on Ninja. llvm-svn: 170870
-
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
-
Richard Relph authored
llvm-svn: 170843
-
- Dec 20, 2012
-
-
Alexey Samsonov authored
llvm-svn: 170701
-
Kostya Serebryany authored
llvm-svn: 170697
-
Alexander Potapenko authored
This test didn't pass for me locally because of "T0's stack" being converted to "T0'short stack" by c++filt. Strange enough this doesn't show up on our bots. llvm-svn: 170690
-
Kostya Serebryany authored
llvm-svn: 170687
-
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
-
Kostya Serebryany authored
llvm-svn: 170677
-