llvm-project/compiler-rt/lib/sanitizer_common
Dmitry Vyukov b72bc2ec9c tsan: deadlock detector: print 2 stacks per deadlock edge
llvm-svn: 204149
2014-03-18 12:53:05 +00:00
..
scripts Update sanitizers' bash scripts. 2014-02-25 12:09:25 +00:00
tests [sanitizer] allow to store the lock context (stack trace id) with all currently held locks in a thread. This will allow the deadlock detector to provide better warnings (more changes to go) 2014-03-17 12:27:42 +00:00
CMakeLists.txt [CMake] Make append_if semantics similar to those used in LLVM 2014-03-13 09:31:36 +00:00
Makefile.mk
sanitizer_addrhashmap.h tsan: addrhashmap: fix bug with initialization of addresses in add array 2014-03-18 12:52:11 +00:00
sanitizer_allocator.cc tsan: allow to force use of __libc_malloc in sanitizer_common 2014-02-28 14:46:53 +00:00
sanitizer_allocator.h [sanitizer] revert r200197: the buggy kernel (https://bugzilla.kernel.org/show_bug.cgi?id=67651) is almost unusable with asan even with this workaround (too slow), so this workaround makes no sense. The asan/msan bootstrap bot was changed to use a non-buggy kernel 2014-01-27 13:05:09 +00:00
sanitizer_allocator_internal.h tsan: add new line at the end of error message 2014-02-28 06:29:42 +00:00
sanitizer_asm.h [sanitizer] support toolchains that don't understand CFI directives 2013-12-05 07:44:35 +00:00
sanitizer_atomic.h asan: fix atomic operations on ARM 2014-01-22 14:13:37 +00:00
sanitizer_atomic_clang.h asan: fix atomic operations on ARM 2014-01-22 14:13:37 +00:00
sanitizer_atomic_clang_other.h asan: fix atomic operations on ARM 2014-01-22 14:13:37 +00:00
sanitizer_atomic_clang_x86.h asan: fix atomic operations on ARM 2014-01-22 14:13:37 +00:00
sanitizer_atomic_msvc.h tsan: add another missing windows atomic operation 2014-03-04 14:21:42 +00:00
sanitizer_bitvector.h Fix MSVS warnings in the sanitizers RTL 2014-03-12 14:09:25 +00:00
sanitizer_bvgraph.h [sanitizer] partially implement racy fast path in bitset-based deadlock detector 2014-03-14 08:06:15 +00:00
sanitizer_common.cc Reapply r201910. MSVC gets __func__ defined explicitly, even though it 2014-02-26 20:33:22 +00:00
sanitizer_common.h tsan: include what you use 2014-03-05 13:40:05 +00:00
sanitizer_common_interceptors.inc tsan: yet another attempt to fix pthread_cond interceptors 2014-03-17 07:51:53 +00:00
sanitizer_common_interceptors_format.inc Support 'q' length modifier in scanf/printf interceptors 2014-02-26 14:42:38 +00:00
sanitizer_common_interceptors_ioctl.inc [sanitizer] Implement ioctl decoding. 2014-02-05 19:35:24 +00:00
sanitizer_common_libcdep.cc [sanitizer] Add a flag to enable/disable report colorization. 2014-02-26 09:06:59 +00:00
sanitizer_common_syscalls.inc [sanitizer] Intercept capget()/capset(). 2014-02-12 19:29:49 +00:00
sanitizer_coverage.cc [asan] Avoid deadlock in CovDump. 2014-02-13 08:50:36 +00:00
sanitizer_deadlock_detector.h [sanitizer] reverse the order of the stack traces printed for every pair of locks in the deadlock report (first print the 'from' node, then print the 'to' node of the deadlock graph) 2014-03-17 14:56:04 +00:00
sanitizer_deadlock_detector1.cc [sanitizer] make the deadlock detector print 2*N stack traces on lock-order-inversion with N locks (i.e. print stack traces for both lock acquisitions in every edge in the graph). More improvements to follow 2014-03-17 14:41:36 +00:00
sanitizer_deadlock_detector2.cc tsan: deadlock detector: print 2 stacks per deadlock edge 2014-03-18 12:53:05 +00:00
sanitizer_deadlock_detector_interface.h [sanitizer] make the deadlock detector print 2*N stack traces on lock-order-inversion with N locks (i.e. print stack traces for both lock acquisitions in every edge in the graph). More improvements to follow 2014-03-17 14:41:36 +00:00
sanitizer_flags.cc tsan: yet another attempt to fix pthread_cond interceptors 2014-03-17 07:51:53 +00:00
sanitizer_flags.h tsan: yet another attempt to fix pthread_cond interceptors 2014-03-17 07:51:53 +00:00
sanitizer_interception.h [sanitizer] Add missing file comment. 2013-12-20 13:13:49 +00:00
sanitizer_internal_defs.h [asan] Don't disable SEGV handler on Android by default. 2014-02-27 08:23:00 +00:00
sanitizer_lfstack.h [Sanitizer] update style checker script and fix namespace style warnings 2013-01-30 07:45:58 +00:00
sanitizer_libc.cc tsan: fix windows build 2014-02-04 17:27:29 +00:00
sanitizer_libc.h [ASan] Move the SIGSEGV/SIGBUS handling to sanitizer_common 2014-01-31 13:10:07 +00:00
sanitizer_libignore.cc [sanitizer] Introduce VReport and VPrintf macros and use them in sanitizer code. 2013-12-05 12:04:51 +00:00
sanitizer_libignore.h tsan: resolve symlinks for called_from_lib suppressions 2013-10-15 11:34:59 +00:00
sanitizer_linux.cc Remove sanitizer_linux_libcdep.cc from TSan-Go build 2014-03-07 13:17:32 +00:00
sanitizer_linux.h [FreeBSD] Port sanitizers' syscalls. 2014-03-07 10:03:54 +00:00
sanitizer_linux_libcdep.cc tsan: yet another attempt to fix pthread_cond interceptors 2014-03-17 07:51:53 +00:00
sanitizer_list.h asan/tsan: fix bug in list implementation 2013-01-11 10:15:13 +00:00
sanitizer_mac.cc tsan: yet another attempt to fix pthread_cond interceptors 2014-03-17 07:51:53 +00:00
sanitizer_mac.h [libsanitizer] Follow-up for r200700: add the new header to CMakeLists.txt and make it empty on non-Mac. 2014-02-03 15:45:03 +00:00
sanitizer_mutex.h tsan: better addr->object hashmap 2014-03-18 08:30:14 +00:00
sanitizer_placement_new.h Introduce an operator new for LowLevelAllocator, and convert most users to it. 2013-10-24 06:23:39 +00:00
sanitizer_platform.h [FreeBSD] Port sanitizers' syscalls. 2014-03-07 10:03:54 +00:00
sanitizer_platform_interceptors.h [sanitizer] Fix a typo. 2014-03-11 13:35:41 +00:00
sanitizer_platform_limits_linux.cc [sanitizer] AArch64 sanitizer support; patch by Christophe Lyon and Yvan Roux 2014-02-13 07:50:20 +00:00
sanitizer_platform_limits_posix.cc [sanitizer] Fix iOS build. 2014-02-27 10:09:21 +00:00
sanitizer_platform_limits_posix.h A set of trivial changes to support sanitizers on FreeBSD. 2014-03-04 08:55:41 +00:00
sanitizer_posix.cc A set of trivial changes to support sanitizers on FreeBSD. 2014-03-04 08:55:41 +00:00
sanitizer_posix_libcdep.cc A set of trivial changes to support sanitizers on FreeBSD. 2014-03-04 08:55:41 +00:00
sanitizer_printf.cc [asan] Android logging. 2014-01-23 11:34:41 +00:00
sanitizer_procmaps.h [FreeBSD] Enable procmaps on FreeBSD. 2014-03-06 08:58:24 +00:00
sanitizer_procmaps_linux.cc A set of trivial changes to support sanitizers on FreeBSD. 2014-03-04 08:55:41 +00:00
sanitizer_procmaps_mac.cc [Sanitizer] Remove now unused symbolization functionality from MemoryMappingLayout 2013-12-25 12:11:06 +00:00
sanitizer_quarantine.h [asan] count the size of QuarantineBatch in the total Quarantine size; make QuarantineBatch fit into 8K, fix a MSVC compile warning 2013-10-21 08:36:10 +00:00
sanitizer_report_decorator.h [sanitizer] Add a flag to enable/disable report colorization. 2014-02-26 09:06:59 +00:00
sanitizer_stackdepot.cc [sanitizer] Add a fast version of StackDepotGet() for use in LSan. 2013-08-26 13:24:43 +00:00
sanitizer_stackdepot.h [sanitizer] fix code style 2013-08-28 11:26:09 +00:00
sanitizer_stacktrace.cc Increase threshold in StackTrace::LocatePcInTrace 2014-03-05 08:29:56 +00:00
sanitizer_stacktrace.h [sanitizer] AArch64 sanitizer support; patch by Christophe Lyon and Yvan Roux 2014-02-13 07:50:20 +00:00
sanitizer_stacktrace_libcdep.cc Avoid doing any work when unwinding stack traces with 0 or 1 frame 2014-03-04 12:21:28 +00:00
sanitizer_stoptheworld.h [Sanitizer] Rename InternalVector to InternalMmapVector 2013-06-14 09:59:40 +00:00
sanitizer_stoptheworld_linux_libcdep.cc Make signal-related functions use __sanitizer_* structures instead of __sanitizer_kernel_* ones. 2014-01-31 11:29:51 +00:00
sanitizer_suppressions.cc tsan: ignore interceptors coming from specified libraries 2013-10-03 13:37:17 +00:00
sanitizer_suppressions.h tsan: ignore interceptors coming from specified libraries 2013-10-03 13:37:17 +00:00
sanitizer_symbolizer.cc [Sanitizer] Add Symbolizer::AddHooks() and use it in TSan and MSan. 2013-10-31 21:44:07 +00:00
sanitizer_symbolizer.h [Sanitizer] Add Symbolizer::GetModuleNameAndOffsetForPC() and use it in LSan suppression matching. 2013-12-25 20:15:46 +00:00
sanitizer_symbolizer_libbacktrace.cc [Sanitizer] Add basic support for using libbacktrace in symbolizer. 2014-01-16 13:48:15 +00:00
sanitizer_symbolizer_libbacktrace.h tsan: add include guards 2014-02-28 14:46:05 +00:00
sanitizer_symbolizer_libcdep.cc [Sanitizer] Use SpinMutex for Symbolizer initialization (per dvyukov's suggestion) 2013-10-30 17:05:37 +00:00
sanitizer_symbolizer_posix_libcdep.cc Revert "[asan] Make __cxa_demangle non-weak symbol on Android." 2014-03-11 20:23:59 +00:00
sanitizer_symbolizer_win.cc [Sanitizer] Add Symbolizer::GetModuleNameAndOffsetForPC() and use it in LSan suppression matching. 2013-12-25 20:15:46 +00:00
sanitizer_syscall_generic.inc [FreeBSD] Port sanitizers' syscalls. 2014-03-07 10:03:54 +00:00
sanitizer_syscall_linux_x86_64.inc [FreeBSD] Port sanitizers' syscalls. 2014-03-07 10:03:54 +00:00
sanitizer_thread_registry.cc tsan: improve error message for Go 2014-02-06 09:22:29 +00:00
sanitizer_thread_registry.h tsan/asan: support pthread_setname_np to set thread names 2013-10-29 10:30:39 +00:00
sanitizer_tls_get_addr.cc tsan: another attempt to fix the tls_get_addr crash 2014-02-27 15:07:45 +00:00
sanitizer_tls_get_addr.h [asan] experimental intercetor for __tls_get_addr. So far it does nothing interesting, actual usage will come later. See https://groups.google.com/forum/#!topic/address-sanitizer/BfwYD8HMxTM for background 2014-01-29 09:29:16 +00:00
sanitizer_win.cc Avoid doing any work when unwinding stack traces with 0 or 1 frame 2014-03-04 12:21:28 +00:00