- 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
-
- Feb 01, 2013
-
-
Alexey Samsonov authored
llvm-svn: 174188
-
- Jan 31, 2013
-
-
Kostya Serebryany authored
llvm-svn: 174059
-
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 30, 2013
-
-
Evgeniy Stepanov authored
And make msan_interface.h C-compatible. llvm-svn: 173928
-
Alexey Samsonov authored
Use LLVM_BUILD_TYPE instead of CMAKE_BUILD_TYPE in compiler-rt unit tests to match the behavior of llvm unittests llvm-svn: 173926
-
Alexey Samsonov authored
llvm-svn: 173910
-
- Jan 29, 2013
-
-
Alexey Samsonov authored
llvm-svn: 173795
-
Dmitry Vyukov authored
llvm-svn: 173786
-
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
-
Kostya Serebryany authored
llvm-svn: 173671
-
Alexey Samsonov authored
llvm-svn: 173668
-
- Jan 25, 2013
-
-
Kostya Serebryany authored
llvm-svn: 173443
-
Kostya Serebryany authored
llvm-svn: 173441
-
- Jan 24, 2013
-
-
Kostya Serebryany authored
llvm-svn: 173336
-
Alexander Potapenko authored
llvm-svn: 173333
-
- Jan 23, 2013
-
-
Kostya Serebryany authored
llvm-svn: 173261
-
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
-
Kostya Serebryany authored
llvm-svn: 173251
-
- Jan 22, 2013
-
-
Alexander Potapenko authored
See https://code.google.com/p/address-sanitizer/issues/detail?id=131 llvm-svn: 173149
-
Alexey Samsonov authored
llvm-svn: 173146
-
Alexander Potapenko authored
[ASan] Remove the declarations of pthread_workqueue_t and pthread_workitem_handle_t, which are used no more. Kudos to Jeremy Huddleston Sequoia <jeremyhu@apple.com> llvm-svn: 173143
-
Alexey Samsonov authored
llvm-svn: 173142
-
Alexander Potapenko authored
llvm-svn: 173140
-
Alexander Potapenko authored
We already have Darwin-specific version of this test. llvm-svn: 173136
-
Alexander Potapenko authored
This CL drastically simplifies the way we're hooking the memory allocation routines in ASan on Mac by using dylib interposition to replace the main malloc_zone_* functions. This allows us to avoid replacing the default CFAllocator and drop the CF dependency at all. Committing this patch will result in the static runtime being broken. A follow-up CL will switch ASan to use the dynamic runtime library. llvm-svn: 173134
-
Alexey Samsonov authored
llvm-svn: 173133
-
Alexey Samsonov authored
ASan: disable flexible mapping and offset on Android. It doesn't work for dynamic ASan runtime there llvm-svn: 173132
-
Kostya Serebryany authored
llvm-svn: 173131
-
Kostya Serebryany authored
llvm-svn: 173130
-
Kostya Serebryany authored
[asan] split asan_test.cc to speedup parallel build (most important if building with a debug clang, which takes a couple of minutes on this large file with templates). More splits to follow llvm-svn: 173129
-
- Jan 21, 2013
-
-
Kostya Serebryany authored
llvm-svn: 173049
-
Alexander Potapenko authored
llvm-svn: 173048
-
Alexey Samsonov authored
CMake: generalize checking for target availability and add initial support for PowerPC native arch. With this patch, building LLVM on PowerPC native arch produces a working ASan runtime. llvm-svn: 173044
-
Alexey Samsonov authored
Fixup for r173021: build tests with zero-based shadow on Android only, fix condition in checking for shadow gap in asan_mapping.h llvm-svn: 173026
-
Alexey Samsonov authored
llvm-svn: 173021
-
Evgeniy Stepanov authored
llvm-svn: 173020
-