Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | asan: fix Android build | Dmitry Vyukov | 2013-01-14 | 1 | -2/+2 | |
| | | | | llvm-svn: 172389 | |||||
* | tsan: fix cmake warning (unused private field) | Dmitry Vyukov | 2013-01-14 | 1 | -0/+1 | |
| | | | | llvm-svn: 172387 | |||||
* | asan: fix compilation errors in mutex | Dmitry Vyukov | 2013-01-14 | 1 | -4/+1 | |
| | | | | llvm-svn: 172385 | |||||
* | asan/tsan: move blocking mutex from asan to sanitizer_common | Dmitry Vyukov | 2013-01-14 | 1 | -0/+29 | |
| | | | | llvm-svn: 172380 | |||||
* | [asan] make the slow unwinder a bit more robust. The unittests pass with ↵ | Kostya Serebryany | 2013-01-09 | 1 | -6/+8 | |
| | | | | | | fast_unwind_on_fatal=0, but I still observe some differences between the two unwinders llvm-svn: 171973 | |||||
* | tsan: fix build | Dmitry Vyukov | 2012-12-14 | 1 | -0/+3 | |
| | | | | llvm-svn: 170191 | |||||
* | [asan] pop the internal stack frames in SlowUnwindStack, extend the test to ↵ | Kostya Serebryany | 2012-12-13 | 1 | -3/+13 | |
| | | | | | | check this llvm-svn: 170124 | |||||
* | [asan] add two asan flags: fast_unwind_on_fatal and fast_unwind_on_malloc to ↵ | Kostya Serebryany | 2012-12-13 | 1 | -0/+43 | |
| | | | | | | allow using the slow CFI-based unwinder llvm-svn: 170117 | |||||
* | Add a libsanitizer API __sanitizer_sandbox_on_notify(void* reserved), which ↵ | Alexander Potapenko | 2012-12-10 | 1 | -0/+8 | |
| | | | | | | | | should be used by the client programs to notify the tools that sandboxing is about to be turned on. llvm-svn: 169732 | |||||
* | tsan: fix lint warnings | Dmitry Vyukov | 2012-12-07 | 1 | -2/+2 | |
| | | | | llvm-svn: 169606 | |||||
* | [sanitizer] implement SanitizerSetThreadName/SanitizerGetThreadName. Just ↵ | Kostya Serebryany | 2012-12-07 | 1 | -0/+14 | |
| | | | | | | for linux so far (using prctl(PR_GET_NAME)) llvm-svn: 169598 | |||||
* | tsan: fix lint warnings | Dmitry Vyukov | 2012-12-05 | 1 | -2/+3 | |
| | | | | llvm-svn: 169369 | |||||
* | Fix a use-after-unmap bug in /proc/self/maps caching. The cached buffer was ↵ | Alexander Potapenko | 2012-12-04 | 1 | -1/+5 | |
| | | | | | | occasionally deleted in the MemoryMappingLayout destructor. llvm-svn: 169335 | |||||
* | Use a struct to hold the /proc/self/maps buffer on Linux. | Alexander Potapenko | 2012-12-03 | 1 | -32/+23 | |
| | | | | llvm-svn: 169155 | |||||
* | Add caching to the MemoryMappingLayout class on Linux. This is necessary for ↵ | Alexander Potapenko | 2012-12-01 | 1 | -1/+45 | |
| | | | | | | | | | the cases when a sandbox prevents ASan from reading the mappings from /proc/self/maps. The mappings are currently being cached on each access to /proc/self/maps. In the future we'll need to add an API that allows the client to notify ASan about the sandbox. llvm-svn: 169076 | |||||
* | [asan/tsan] do not use __WORDSIZE macro, as it is glibc-private thing. ↵ | Kostya Serebryany | 2012-11-21 | 1 | -2/+2 | |
| | | | | | | Instead, define our own SANITIZER_WORDSIZE llvm-svn: 168424 | |||||
* | [asan] better support for powerpc and sparc targets (thanks to H.J. Liu and ↵ | Kostya Serebryany | 2012-11-20 | 1 | -4/+3 | |
| | | | | | | David Miller) llvm-svn: 168358 | |||||
* | [asan] support PowerPC and SPARC in sanitizer_linux.cc | Kostya Serebryany | 2012-11-19 | 1 | -3/+13 | |
| | | | | llvm-svn: 168301 | |||||
* | [asan] use #if defined __x86_64__ instead of #if __WORDSIZE == 64 in ↵ | Kostya Serebryany | 2012-11-13 | 1 | -3/+3 | |
| | | | | | | sanitizer_linux.cc llvm-svn: 167883 | |||||
* | [Sanitizer] add sanity checks for communication with external symbolizer | Alexey Samsonov | 2012-11-09 | 1 | -0/+14 | |
| | | | | llvm-svn: 167617 | |||||
* | [*San]: handle EINTR. | Evgeniy Stepanov | 2012-10-02 | 1 | -2/+7 | |
| | | | | llvm-svn: 165006 | |||||
* | tsan: fix mac build | Dmitry Vyukov | 2012-10-02 | 1 | -0/+4 | |
| | | | | llvm-svn: 165004 | |||||
* | [Sanitizer] Hoist functions to get/set stack size and re-exec from ↵ | Alexey Samsonov | 2012-09-17 | 1 | -0/+20 | |
| | | | | | | memory-sanitizer branch to sanitizer_common llvm-svn: 164020 | |||||
* | [Sanitizer] implement readlink as syscall on Linux | Alexey Samsonov | 2012-09-05 | 1 | -0/+4 | |
| | | | | llvm-svn: 163213 | |||||
* | [Sanitizer] Rename ProcessMaps to MemoryMappingLayout and fix Windows build ↵ | Alexey Samsonov | 2012-08-27 | 1 | -10/+10 | |
| | | | | | | by providing stub implementation llvm-svn: 162671 | |||||
* | [Sanitizer] move OS-dependent pieces of symbolizer to separate source files | Alexey Samsonov | 2012-08-14 | 1 | -83/+0 | |
| | | | | llvm-svn: 161862 | |||||
* | [Sanitizer] When obtaining the data for loaded modules, add address ranges ↵ | Alexey Samsonov | 2012-07-19 | 1 | -4/+9 | |
| | | | | | | of loadable segments only. Looks like address range of PT_TLS segment may intersect with loadable segments of other modules. llvm-svn: 160498 | |||||
* | [Sanitizer] Extend a symbolizer code. Implemented for Linux only. Use ↵ | Alexey Samsonov | 2012-07-03 | 1 | -1/+86 | |
| | | | | | | dl_iterate_phdr to get virtual addresses of mapped module sections. To symbolize an address from a module, map this module to memory and obtain pointers to debug info sections. Later these pointers can be passed to constructor of DWARF context-in-memory from LLVM DebugInfo lib. llvm-svn: 159652 | |||||
* | [asan] fix lint | Kostya Serebryany | 2012-06-29 | 1 | -7/+7 | |
| | | | | llvm-svn: 159429 | |||||
* | [asan] get rid of libc's sscanf as it causes infinite recursion on Fedora. | Kostya Serebryany | 2012-06-29 | 1 | -9/+48 | |
| | | | | llvm-svn: 159424 | |||||
* | [tsan] a bit more lint and Makefile changes to run tests from sanitizer_common | Kostya Serebryany | 2012-06-20 | 1 | -3/+3 | |
| | | | | llvm-svn: 158821 | |||||
* | [Sanitizer] move different wrappers from TSan to common sanitizer runtime | Alexey Samsonov | 2012-06-18 | 1 | -0/+5 | |
| | | | | llvm-svn: 158655 | |||||
* | [Sanitizer] move portable GetEnv to common sanitizer runtime | Alexey Samsonov | 2012-06-14 | 1 | -0/+28 | |
| | | | | llvm-svn: 158451 | |||||
* | [Sanitizer] Fix mac build. | Alexey Samsonov | 2012-06-07 | 1 | -2/+2 | |
| | | | | llvm-svn: 158141 | |||||
* | [Sanitizer] factor out GetThreadStackTopAndBottom from ASan runtime to common. | Alexey Samsonov | 2012-06-07 | 1 | -1/+53 | |
| | | | | llvm-svn: 158140 | |||||
* | [Sanitizer] __asan::AsanProcMaps -> __sanitizer::ProcessMaps. | Alexey Samsonov | 2012-06-07 | 1 | -0/+63 | |
| | | | | llvm-svn: 158139 | |||||
* | [tsan,asan] comment out O_CLOEXEC as it causes build failures on old linux ↵ | Kostya Serebryany | 2012-06-06 | 1 | -1/+1 | |
| | | | | | | kernels llvm-svn: 158071 | |||||
* | [Sanitizer] move internal_filesize and internal_dup2 from TSan to ↵ | Alexey Samsonov | 2012-06-06 | 1 | -0/+11 | |
| | | | | | | sanitizer_common. llvm-svn: 158052 | |||||
* | [Sanitizer] rename sanitizer_defs.h to sanitizer_internal_defs.h | Alexey Samsonov | 2012-06-05 | 1 | -1/+1 | |
| | | | | llvm-svn: 158001 | |||||
* | [Sanitizer] add sanitizer_posix.cc. Move more various functions into ↵ | Alexey Samsonov | 2012-06-05 | 1 | -0/+4 | |
| | | | | | | sanitizer_libc: sscanf, munmap, memchr llvm-svn: 157994 | |||||
* | [Sanitizer] add internal_{close,read,write} functions to sanitizer_libc | Alexey Samsonov | 2012-06-05 | 1 | -0/+12 | |
| | | | | llvm-svn: 157990 | |||||
* | [Sanitizer] Add sanitizer_win.cc for windows-specific implementations of ↵ | Alexey Samsonov | 2012-06-05 | 1 | -0/+7 | |
| | | | | | | libc functions. Add internal_open. llvm-svn: 157985 | |||||
* | Created files sanitizer_linux.cc and sanitizer_mac.cc for platform-specific ↵ | Alexey Samsonov | 2012-06-04 | 1 | -0/+37 | |
implementations of common functions. Turned asan_mmap into __sanitizer::internal_mmap. llvm-svn: 157930 |