Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | tsan: support synchronization by means of linux aio | Dmitry Vyukov | 2013-11-27 | 1 | -2/+2 | |
| | | | | | | http://llvm-reviews.chandlerc.com/D2269 llvm-svn: 195830 | |||||
* | [msan] Test for r195349. | Evgeniy Stepanov | 2013-11-21 | 1 | -0/+22 | |
| | | | | llvm-svn: 195350 | |||||
* | [msan] Tweak io_submit syscall hook. | Evgeniy Stepanov | 2013-11-20 | 1 | -1/+8 | |
| | | | | llvm-svn: 195246 | |||||
* | [msan] Unpoison memory that is returned to the OS and flush its shadow. | Evgeniy Stepanov | 2013-11-20 | 2 | -2/+39 | |
| | | | | llvm-svn: 195244 | |||||
* | [msan] Fix origin tracking in unaligned load/store. | Evgeniy Stepanov | 2013-11-19 | 2 | -47/+67 | |
| | | | | llvm-svn: 195130 | |||||
* | [msan] A test for r194697. | Evgeniy Stepanov | 2013-11-14 | 6 | -0/+143 | |
| | | | | llvm-svn: 194699 | |||||
* | [Sanitizer] Specify a default value for each common runtime flag | Alexey Samsonov | 2013-11-12 | 1 | -5/+1 | |
| | | | | llvm-svn: 194479 | |||||
* | [msan] One more test for r194374. | Evgeniy Stepanov | 2013-11-11 | 1 | -0/+35 | |
| | | | | llvm-svn: 194375 | |||||
* | [sanitizer] Warn if interception fails. | Evgeniy Stepanov | 2013-11-11 | 2 | -4/+14 | |
| | | | | | | This includes a clang-format pass over common interceptors. llvm-svn: 194372 | |||||
* | [msan] Sanity check for non-PIE. | Evgeniy Stepanov | 2013-11-11 | 1 | -0/+6 | |
| | | | | llvm-svn: 194370 | |||||
* | [Sanitizer] Make StackTrace::Unwind the only public way to unwind a stack trace. | Alexey Samsonov | 2013-11-07 | 2 | -6/+5 | |
| | | | | llvm-svn: 194196 | |||||
* | [msan] Fix a very unfortunate typo in origin copying. | Evgeniy Stepanov | 2013-11-05 | 2 | -5/+5 | |
| | | | | | | It was causing randomly missing origins. llvm-svn: 194036 | |||||
* | [sanitizer] Intercept strptime. | Evgeniy Stepanov | 2013-11-02 | 2 | -1/+10 | |
| | | | | llvm-svn: 193903 | |||||
* | [msan] Intercept memccpy. | Evgeniy Stepanov | 2013-11-01 | 2 | -0/+58 | |
| | | | | llvm-svn: 193897 | |||||
* | [Sanitizer] Unify summary reporting across all sanitizers. | Alexey Samsonov | 2013-11-01 | 1 | -9/+1 | |
| | | | | | | | | | | This change unifies the summary printing across sanitizers: now each tool uses specific version of ReportErrorSummary() method, which deals with symbolization of the top frame and formatting a summary message. This change modifies the summary line for ASan+LSan mode: now the summary mentions "AddressSanitizer" instead of "LeakSanitizer". llvm-svn: 193864 | |||||
* | [msan] Check that address is an app region before printing shadow. | Evgeniy Stepanov | 2013-11-01 | 1 | -0/+4 | |
| | | | | llvm-svn: 193863 | |||||
* | [sanitizer] Enhance io_submti syscall handler. | Evgeniy Stepanov | 2013-11-01 | 1 | -0/+14 | |
| | | | | llvm-svn: 193848 | |||||
* | Consistently use StackTrace::PrintStack in ASan, LSan and MSan | Alexey Samsonov | 2013-11-01 | 1 | -9/+4 | |
| | | | | llvm-svn: 193834 | |||||
* | [Sanitizer] Add Symbolizer::AddHooks() and use it in TSan and MSan. | Alexey Samsonov | 2013-10-31 | 2 | -5/+2 | |
| | | | | | | | | | | | | | | | | | | | | | Summary: TSan and MSan need to know if interceptor was called by the user code or by the symbolizer and use pre- and post-symbolization hooks for that. Make Symbolizer class responsible for calling these hooks instead. This would ensure the hooks are only called when necessary (during in-process symbolization, they are not needed for out-of-process) and save specific sanitizers from tracing all places in the code where symbolization will be performed. Reviewers: eugenis, dvyukov Reviewed By: eugenis CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2067 llvm-svn: 193807 | |||||
* | [msan] Intercept dlerror. | Evgeniy Stepanov | 2013-10-31 | 2 | -0/+22 | |
| | | | | llvm-svn: 193760 | |||||
* | [msan] Disable mlock/mlockall to work around a linux kernel bug. | Evgeniy Stepanov | 2013-10-31 | 2 | -0/+36 | |
| | | | | | | The same logic is present in ASan and TSan. llvm-svn: 193755 | |||||
* | [sanitizer] Intercept getline, getdelim. | Evgeniy Stepanov | 2013-10-31 | 2 | -0/+32 | |
| | | | | llvm-svn: 193730 | |||||
* | [sanitizer] Intercept drand48_r, lrand48_r. | Evgeniy Stepanov | 2013-10-29 | 1 | -0/+16 | |
| | | | | llvm-svn: 193655 | |||||
* | [sanitizer] Intercept sincos, remquo, lgamma, lgamma_r. | Evgeniy Stepanov | 2013-10-29 | 1 | -0/+81 | |
| | | | | llvm-svn: 193645 | |||||
* | [sanitizer] Ptrace syscall handler. | Evgeniy Stepanov | 2013-10-29 | 1 | -0/+5 | |
| | | | | llvm-svn: 193633 | |||||
* | tsan/asan: support pthread_setname_np to set thread names | Dmitry Vyukov | 2013-10-29 | 1 | -0/+3 | |
| | | | | llvm-svn: 193602 | |||||
* | [Sanitizer] Simplify StackTrace::PrintStack interface: prefer common flags ↵ | Alexey Samsonov | 2013-10-29 | 2 | -1/+2 | |
| | | | | | | to turn on/off the symbolization llvm-svn: 193587 | |||||
* | [msan] Intercept shmat. | Evgeniy Stepanov | 2013-10-29 | 2 | -0/+45 | |
| | | | | llvm-svn: 193581 | |||||
* | [msan] Fix a typo and enable poison_in_free flag. | Evgeniy Stepanov | 2013-10-28 | 2 | -1/+17 | |
| | | | | llvm-svn: 193529 | |||||
* | asan/msan: separate different report blocks with new lines | Dmitry Vyukov | 2013-10-28 | 1 | -1/+1 | |
| | | | | | | this makes the reports consistent with tsan, and much more readable. llvm-svn: 193520 | |||||
* | Overhaul the symbolizer interface. | Peter Collingbourne | 2013-10-25 | 2 | -6/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | This moves away from creating the symbolizer object and initializing the external symbolizer as separate steps. Those steps now always take place together. Sanitizers with a legacy requirement to specify their own symbolizer path should use InitSymbolizer to initialize the symbolizer with the desired path, and GetSymbolizer to access the symbolizer. Sanitizers with no such requirement (e.g. UBSan) can use GetOrInitSymbolizer with no need for initialization. The symbolizer interface has been made thread-safe (as far as I can tell) by protecting its member functions with mutexes. Finally, the symbolizer interface no longer relies on weak externals, the introduction of which was probably a mistake on my part. Differential Revision: http://llvm-reviews.chandlerc.com/D1985 llvm-svn: 193448 | |||||
* | [sanitizer] Intercept tmpnam, tmpnam_r, tempnam. | Evgeniy Stepanov | 2013-10-25 | 1 | -0/+13 | |
| | | | | llvm-svn: 193415 | |||||
* | [sanitizer] Remove pthread_attr_getstackaddr interceptor. | Evgeniy Stepanov | 2013-10-25 | 1 | -6/+0 | |
| | | | | | | The function is deprecated. llvm-svn: 193409 | |||||
* | [msan] Zerofill initstate_r buffer in random_r test. | Evgeniy Stepanov | 2013-10-25 | 1 | -1/+3 | |
| | | | | llvm-svn: 193406 | |||||
* | [sanitizer] Intercept pthread_attr_get*. | Evgeniy Stepanov | 2013-10-25 | 3 | -2/+72 | |
| | | | | llvm-svn: 193405 | |||||
* | [msan] Separate access and origin blocks in msan reports with an extra ↵ | Evgeniy Stepanov | 2013-10-25 | 1 | -0/+1 | |
| | | | | | | whiteline. llvm-svn: 193401 | |||||
* | [sanitizer] Intercept random_r. | Evgeniy Stepanov | 2013-10-25 | 1 | -0/+13 | |
| | | | | llvm-svn: 193396 | |||||
* | [sanitizer] Intercept shmctl. | Evgeniy Stepanov | 2013-10-24 | 1 | -0/+26 | |
| | | | | llvm-svn: 193348 | |||||
* | [msan] Unpoison errno in common interceptors. | Evgeniy Stepanov | 2013-10-24 | 2 | -6/+26 | |
| | | | | llvm-svn: 193343 | |||||
* | [msan] Fix invalid origin copying. | Evgeniy Stepanov | 2013-10-24 | 3 | -11/+67 | |
| | | | | | | | | | | | | | | Origin copying may destroy valid origin info. This is caused by __msan_copy_origin widening the address range to the nearest 4-byte aligned addresses both on the left and on the right. If the target buffer is uninitialized and the source is fully initialized, this will result in overriding valid origin of target buffer with stale (possibly 0) origin of the source buffer. With this change the widened origin is copied only if corresponding shadow values are non zero. llvm-svn: 193338 | |||||
* | [msan] Change wording in the invalid origin message. | Evgeniy Stepanov | 2013-10-24 | 1 | -3/+4 | |
| | | | | llvm-svn: 193335 | |||||
* | [sanitizer] Intercept ether_* functions. | Evgeniy Stepanov | 2013-10-23 | 1 | -0/+20 | |
| | | | | llvm-svn: 193241 | |||||
* | [msan] Drain allocator cache when leaving thread. | Evgeniy Stepanov | 2013-10-22 | 3 | -1/+57 | |
| | | | | llvm-svn: 193163 | |||||
* | [sanitizer] Intercept initgroups. | Evgeniy Stepanov | 2013-10-22 | 1 | -0/+11 | |
| | | | | llvm-svn: 193158 | |||||
* | [sanitizer] Move statfs/fstatfs to common interceptors and add statvfs/fstatvfs. | Evgeniy Stepanov | 2013-10-18 | 2 | -41/+28 | |
| | | | | llvm-svn: 192965 | |||||
* | [sanitizer] Intercept getmntent, getmntent_r. | Evgeniy Stepanov | 2013-10-18 | 1 | -0/+29 | |
| | | | | llvm-svn: 192959 | |||||
* | [sanitizer] Fix unpoisoning of msghdr::msg_name in recvmsg interceptor. | Evgeniy Stepanov | 2013-10-17 | 1 | -0/+73 | |
| | | | | llvm-svn: 192886 | |||||
* | [Sanitizer] Move pthread_cond_signal and pthread_cond_broadcast to common ↵ | Alexey Samsonov | 2013-10-17 | 1 | -3/+16 | |
| | | | | | | interceptors llvm-svn: 192876 | |||||
* | [msan] Handle origins in __sanitizer_unaligned_(load|store)*. | Evgeniy Stepanov | 2013-10-16 | 2 | -0/+28 | |
| | | | | llvm-svn: 192776 | |||||
* | Make some pthread_mutex_* and pthread_cond_* interceptors common. | Alexey Samsonov | 2013-10-16 | 1 | -0/+33 | |
| | | | | | | | | | | | | Reviewers: eugenis, dvyukov Reviewed By: dvyukov CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1937 llvm-svn: 192774 |