- May 27, 2013
-
-
Peter Collingbourne authored
llvm-svn: 182743
-
Peter Collingbourne authored
llvm-svn: 182740
-
Sergey Matveev authored
In this CL all old tests are removed and one LIT test is added. llvm-svn: 182730
-
Sergey Matveev authored
llvm-svn: 182728
-
Alexey Samsonov authored
Now compiler-rt tests run correctly if compiler-rt is checked out into arbitrary directory (not necessarily projects/compiler-rt). Patch by Greg Fitzgerald! llvm-svn: 182726
-
- May 23, 2013
-
-
Alexander Potapenko authored
[ASan] Introduce SymbolizerPrepareForSandboxing(), which is a no-op on every platform except Linux (because we don't support sandboxing anywhere else yet) On Linux we pre-cache the value of readlink("/proc/self/exe"), so that it can be later used when the sandbox has been turned on. llvm-svn: 182579
-
Evgeniy Stepanov authored
llvm-svn: 182576
-
Timur Iskhodzhanov authored
llvm-svn: 182575
-
Evgeniy Stepanov authored
llvm-svn: 182574
-
Evgeniy Stepanov authored
llvm-svn: 182573
-
- May 22, 2013
-
-
Evgeniy Stepanov authored
llvm-svn: 182481
-
Evgeniy Stepanov authored
llvm-svn: 182479
-
Evgeniy Stepanov authored
llvm-svn: 182475
-
Evgeniy Stepanov authored
llvm-svn: 182473
-
Evgeniy Stepanov authored
llvm-svn: 182469
-
Evgeniy Stepanov authored
Multiple connected changes: - Ignore reads from nested interceptors. - Check shadow on reads from common interceptors. - getaddrinfo interceptor. llvm-svn: 182466
-
Kostya Serebryany authored
[asan] workaround for asan bug 189 (swapcontext followed by throw gets OOM kill). Also, disable swapcontext_test on non-x86. Fix lint llvm-svn: 182456
-
- May 21, 2013
-
-
Alexey Samsonov authored
llvm-svn: 182374
-
Peter Collingbourne authored
llvm-svn: 182372
-
Peter Collingbourne authored
llvm-svn: 182369
-
Peter Collingbourne authored
llvm-svn: 182366
-
Evgeniy Stepanov authored
llvm-svn: 182361
-
Evgeniy Stepanov authored
llvm-svn: 182353
-
Kostya Serebryany authored
[sanitizer] fix asan on the platforms where the page size is not a compile-time constant (or at least where EXEC_PAGESIZE may not be trustworthy), e.g. powerpc64. llvm-svn: 182351
-
- May 20, 2013
-
-
Peter Collingbourne authored
GetPageSize wraps sysconf(_SC_PAGESIZE) on POSIX platforms, but sysconf resides in libc. To make this libc-independent on Linux, move the wrapper to sanitizer_mac.cc and return the Linux-specific constant EXEC_PAGESIZE in the sanitizer_linux.cc implementation. llvm-svn: 182303
-
Peter Collingbourne authored
llvm-svn: 182292
-
Peter Collingbourne authored
__libc_stack_end is made into a weak symbol if possible. If libc is not linked, read args and environment from /proc. llvm-svn: 182276
-
Alexander Potapenko authored
[libsanitizer] Introduce INTERCEPTOR_WITH_SUFFIX which is to be used for appending the __DARWIN_ALIAS() version suffixes to function names on Darwin. This should fix asan/lit_tests/wait.cc under ASan. llvm-svn: 182259
-
Sergey Matveev authored
llvm-svn: 182250
-
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 19, 2013
-
-
Richard Smith authored
llvm-svn: 182218
-
- May 18, 2013
-
-
David Blaikie authored
llvm-svn: 182177
-
- 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
-
Evgeniy Stepanov authored
llvm-svn: 182110
-
Evgeniy Stepanov authored
llvm-svn: 182094
-
Evgeniy Stepanov authored
llvm-svn: 182093
-
Dmitry Vyukov authored
llvm-svn: 182087
-
- May 16, 2013
-
-
Kostya Serebryany authored
llvm-svn: 182006
-
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
-