llvm-project/compiler-rt/lib/sanitizer_common
Dmitry Vyukov cd3583a4c7 tsan: include what you use
VPrintf uses common_flags()

llvm-svn: 202974
2014-03-05 13:40:05 +00:00
..
scripts Update sanitizers' bash scripts. 2014-02-25 12:09:25 +00:00
tests Fix StackTrace::LocatePcInTrace, add more unit tests for generic StackTrace 2014-03-04 14:06:11 +00:00
CMakeLists.txt tsan: add dynamic library target for standalone deadlock detector 2014-03-04 12:52:20 +00:00
Makefile.mk
sanitizer_addrhashmap.h tsan: add concurrent hashmap for standalone deadlock detector 2014-03-04 11:39:56 +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 Reapply r201910. MSVC gets __func__ defined explicitly, even though it 2014-02-26 20:33:22 +00:00
sanitizer_bvgraph.h [sanitizer] when reporting a deadlock also report the lock cycle 2014-02-18 14:56:19 +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 Add common interceptors for memchr/memrchr 2014-03-05 13:25:32 +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] speedup deadlock detector for the case when we acquire the first lock in a thread 2014-02-28 11:56:14 +00:00
sanitizer_deadlock_detector1.cc tsan: add dynamic library target for standalone deadlock detector 2014-03-04 12:52:20 +00:00
sanitizer_deadlock_detector2.cc tsan: add dynamic library target for standalone deadlock detector 2014-03-04 12:52:20 +00:00
sanitizer_deadlock_detector_interface.h tsan: add dynamic library target for standalone deadlock detector 2014-03-04 12:52:20 +00:00
sanitizer_flags.cc [sanitizer] Add a flag to enable/disable report colorization. 2014-02-26 09:06:59 +00:00
sanitizer_flags.h [sanitizer] Add a flag to enable/disable report colorization. 2014-02-26 09:06:59 +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 [asan] Fix printing of long reports to logcat on Android. 2014-02-26 09:39:55 +00:00
sanitizer_linux.h A set of trivial changes to support sanitizers on FreeBSD. 2014-03-04 08:55:41 +00:00
sanitizer_linux_libcdep.cc Avoid doing any work when unwinding stack traces with 0 or 1 frame 2014-03-04 12:21:28 +00:00
sanitizer_list.h asan/tsan: fix bug in list implementation 2013-01-11 10:15:13 +00:00
sanitizer_mac.cc [libsanitizer] Workaround for https://code.google.com/p/address-sanitizer/issues/detail?id=261 2014-02-03 16:42:29 +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: fix windows build 2014-03-04 11:57:25 +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 A set of trivial changes to support sanitizers on FreeBSD. 2014-03-04 08:55:41 +00:00
sanitizer_platform_interceptors.h Add common interceptors for memchr/memrchr 2014-03-05 13:25:32 +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 [Sanitizer] Remove now unused symbolization functionality from MemoryMappingLayout 2013-12-25 12:11:06 +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 [asan] Make __cxa_demangle non-weak symbol on Android. 2014-02-18 07:34:52 +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 [nolibc] Change internal syscall API to remove reliance on libc's errno. 2013-05-08 14:43:49 +00:00
sanitizer_syscall_linux_x86_64.inc asan/msan/tsan: fix broken linux syscalls 2013-10-03 16:53:50 +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