- Jun 09, 2012
-
-
Alexey Samsonov authored
[Sanitizer] Use __libc_malloc/__libc_free instead of malloc/free inside internal allocator on Linux (important for TSan) llvm-svn: 158261
-
- Jun 08, 2012
-
-
Alexey Samsonov authored
llvm-svn: 158202
-
- Jun 07, 2012
-
-
Alexey Samsonov authored
[Sanitizer] move internal_strdup and internal_memcpy to common runtime. Make internal allocations from TSan runtime call InternalAlloc from common runtime llvm-svn: 158148
-
Alexey Samsonov authored
llvm-svn: 158147
-
Alexey Samsonov authored
llvm-svn: 158145
-
Alexey Samsonov authored
llvm-svn: 158144
-
Alexey Samsonov authored
[Sanitizer] Allocator for internal runtime purposes. Currently it calls libcmalloc, but we might have to make it more low-level in future llvm-svn: 158142
-
Alexey Samsonov authored
llvm-svn: 158141
-
Alexey Samsonov authored
llvm-svn: 158140
-
Alexey Samsonov authored
llvm-svn: 158139
-
Alexey Samsonov authored
llvm-svn: 158138
-
- Jun 06, 2012
-
-
Kostya Serebryany authored
llvm-svn: 158082
-
Alexey Samsonov authored
llvm-svn: 158078
-
Alexey Samsonov authored
llvm-svn: 158077
-
Alexey Samsonov authored
[Sanitizer] Use common CHECK machinery. Currently each tool has to define its own CheckFailed function. llvm-svn: 158075
-
Kostya Serebryany authored
llvm-svn: 158071
-
Alexey Samsonov authored
llvm-svn: 158070
-
Alexey Samsonov authored
llvm-svn: 158067
-
Alexey Samsonov authored
[Sanitizer]: Introduce a common internal printf function. For now, also use tool-specific wrappers TsanPrintf (its output is controlled by TSan flags) and AsanPrintf (which copies its results to the ASan-private buffer). Supported formats: %[z]{d,u,x}, %s, %p. Re-write all format strings in TSan according to this format (this should have no effect on 64-bit platforms). llvm-svn: 158065
-
Alexey Samsonov authored
llvm-svn: 158057
-
Alexey Samsonov authored
llvm-svn: 158056
-
Alexey Samsonov authored
llvm-svn: 158052
-
Alexey Samsonov authored
[Sanitizer] add sanitizer_common.h for routines shared between TSan and ASan runtimes. Use __sanitizer::Die() in TSan. llvm-svn: 158050
-
- Jun 05, 2012
-
-
Alexey Samsonov authored
llvm-svn: 158001
-
Alexey Samsonov authored
llvm-svn: 158000
-
Alexey Samsonov authored
[Sanitizer] Use common defines for ASan and TSan runtime. Split defines between interface defines (can be visible in user code that includes interface ASan/TSan headers) and internal defines. llvm-svn: 157998
-
Alexey Samsonov authored
[Sanitizer] add sanitizer_posix.cc. Move more various functions into sanitizer_libc: sscanf, munmap, memchr llvm-svn: 157994
-
Alexey Samsonov authored
llvm-svn: 157990
-
Alexey Samsonov authored
llvm-svn: 157988
-
Alexey Samsonov authored
[Sanitizer] Add sanitizer_win.cc for windows-specific implementations of libc functions. Add internal_open. llvm-svn: 157985
-
- Jun 04, 2012
-
-
Alexey Samsonov authored
llvm-svn: 157931
-
Alexey Samsonov authored
Created files sanitizer_linux.cc and sanitizer_mac.cc for platform-specific implementations of common functions. Turned asan_mmap into __sanitizer::internal_mmap. llvm-svn: 157930
-
Alexey Samsonov authored
llvm-svn: 157928
-
Alexey Samsonov authored
llvm-svn: 157926
-
Alexey Samsonov authored
llvm-svn: 157922
-
Alexey Samsonov authored
llvm-svn: 157919
-
- Jun 01, 2012
-
-
Alexey Samsonov authored
llvm-svn: 157808
-
Alexey Samsonov authored
Stub files for common symbolizer for AddressSanitizer and ThreadSanitizer tools. It is an analogue of addr2line utility and should allow to map instruction address to a location in source code at run-time. It should use debug information (in DWARF) in a binary, and hopefully it would be possible to re-use code from llvm/DebugInfo/DIContext.h llvm-svn: 157806
-
- May 31, 2012
-
-
Kostya Serebryany authored
llvm-svn: 157747
-
Kostya Serebryany authored
[asan,tsan] introduce sanitizer_common/sanitizer_defs.h and perform some renaming in asan rt. More to come. llvm-svn: 157743
-