- May 20, 2013
-
-
Sergey Matveev authored
We need this to avoid races when ASan and LSan are used together. llvm-svn: 182252
-
Timur Iskhodzhanov authored
Also fix wrong alignment maths and an outdated comment llvm-svn: 182238
-
Kostya Serebryany authored
[sanitizer] factor out ByteMap from SizeClassAllocator32 so that it can be later replaced with a more memory-efficient implementation on 64-bit. llvm-svn: 182234
-
- May 18, 2013
-
-
Timur Iskhodzhanov authored
llvm-svn: 182198
-
- May 17, 2013
-
-
Peter Collingbourne authored
Before, we had an unused internal_getpid function for Linux, and a platform-independent GetPid function. To make the naming conventions consistent for syscall-like functions, the GetPid syscall wrapper in sanitizer_posix.cc is moved to sanitizer_mac.cc, and GetPid is renamed to internal_getpid, bringing the Linux variant into use. llvm-svn: 182132
-
Peter Collingbourne authored
Introduce a new object library, RTSanitizerCommonLibc, which will contain the subset of sanitizer_common with libc dependencies. RTSanitizerCommon contains the remainder of sanitizer_common, and is intended to have no libc dependencies. Begin moving code to RTSanitizerCommonLibc, starting with sanitizer_common.cc, whose libc-dependent portion is moved to sanitizer_common_libcdep.cc, the first member of the new library. This split affects the CMake build only. The makefile build continues to produce the full sanitizer_common library. llvm-svn: 182118
-
Alexander Potapenko authored
[ASan] Make the regression test for time(NULL) Linux-specific, as it crashes on Darwin (and the problem used to occur on Linux). Do not use zero-based shadow for the time() test. llvm-svn: 182107
-
Alexander Potapenko authored
[ASan] Fix allow_user_segv.cc on Darwin (32-bit build required a SIGBUS handler instead of the SIGSEGV one) llvm-svn: 182080
-
- May 16, 2013
-
-
Alexander Potapenko authored
llvm-svn: 182010
-
Alexander Potapenko authored
llvm-svn: 182008
-
Kostya Serebryany authored
[asan] symbolize when possible, even if ASAN_SYMBOLIZER_PATH is not provided. On Linux this will use dl_iterate_phdr instead of /proc/self/maps, even if the symbolizer is not installed llvm-svn: 182005
-
Kostya Serebryany authored
llvm-svn: 181991
-
- May 15, 2013
-
-
Kostya Serebryany authored
llvm-svn: 181890
-
Kostya Serebryany authored
llvm-svn: 181881
-
- May 14, 2013
-
-
Evgeniy Stepanov authored
llvm-svn: 181790
-
- May 08, 2013
-
-
Sergey Matveev authored
llvm-svn: 181429
-
Sergey Matveev authored
llvm-svn: 181424
-
- May 06, 2013
-
-
Sergey Matveev authored
Some flags that are common to ASan/MSan/TSan/LSan have been moved to sanitizer_common. llvm-svn: 181193
-
- Apr 25, 2013
-
-
Alexey Samsonov authored
llvm-svn: 180255
-
- Apr 23, 2013
-
-
Alexey Samsonov authored
[ASan] Disable strict-init-order checker once we have more than one thread, as this mode is thread-hostile llvm-svn: 180106
-
Alexander Potapenko authored
llvm-svn: 180097
-
Alexander Potapenko authored
See https://code.google.com/p/address-sanitizer/issues/detail?id=131. llvm-svn: 180093
-
- Apr 19, 2013
-
-
Alexey Samsonov authored
llvm-svn: 179844
-
Alexey Samsonov authored
This change adds ASan runtime option "strict-init-order" (off by default) that makes init-order checker bark if global initializer accesses any global from different translation unit (even if the latter is already initialized). strict init-order checking doesn't play well with, e.g. LLVM registration machineries, and causes issue https://code.google.com/p/address-sanitizer/issues/detail?id=178. llvm-svn: 179843
-
- Apr 16, 2013
-
-
Sergey Matveev authored
Reviewers: kcc, glider, samsonov Reviewed By: glider CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D676 llvm-svn: 179595
-
- Apr 12, 2013
-
-
Evgeniy Stepanov authored
ASan checks addressability of syscall arguments. TSan does nothing for now. llvm-svn: 179380
-
- Apr 11, 2013
-
-
Kostya Serebryany authored
llvm-svn: 179307
-
Kostya Serebryany authored
llvm-svn: 179306
-
Alexey Samsonov authored
Explicitly list all sanitizer headers in CMake build rules. Make sure sanitizer lit_tests depend on fresh headers. llvm-svn: 179293
-
Kostya Serebryany authored
[asan] improve the UAR reporting (try harder to find the correct frame), try to make the test more stable llvm-svn: 179292
-
Kostya Serebryany authored
llvm-svn: 179286
-
Alexey Samsonov authored
llvm-svn: 179281
-
Kostya Serebryany authored
[asan] fix use-after-return functionality (PR15672) and enable the corresponding test. We still don't guarantee anything with regard to use-after-return checking llvm-svn: 179278
-
Alexey Samsonov authored
llvm-svn: 179274
-
Kostya Serebryany authored
llvm-svn: 179273
-
Kostya Serebryany authored
llvm-svn: 179271
-
- Apr 10, 2013
-
-
Alexander Potapenko authored
Add a test for time(). llvm-svn: 179177
-
Kostya Serebryany authored
Reviewers: samsonov Reviewed By: samsonov CC: samsonov, llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D652 llvm-svn: 179175
-
Alexey Samsonov authored
llvm-svn: 179161
-
- Apr 09, 2013
-
-
Evgeniy Stepanov authored
llvm-svn: 179096
-