llvm-project/compiler-rt/lib/sanitizer_common
Alexander Potapenko b1b8231c8b [ASan] When iterating over segments on OSX, treat the segments' initial
protection level as their current protection level.
This fixes the UNIMPLEMENTED check that started to fire on OSX after r210649.

llvm-svn: 211713
2014-06-25 15:43:19 +00:00
..
scripts [sancov] Handle spaces in module name. 2014-06-03 15:25:43 +00:00
tests Exclude Android from the tests for valloc/pvalloc. 2014-06-14 00:50:03 +00:00
CMakeLists.txt [asancov] Write coverage directly to a memory-mapped file. 2014-05-27 12:37:52 +00:00
Makefile.mk
sanitizer_addrhashmap.h Fix typos 2014-05-15 02:22:34 +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 tsan: do not use 64-bit atomics in allocator code 2014-05-28 15:22:12 +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 [sanitizer] fix for ARM Linux, patch by Maxim Ostapenko 2014-05-13 08:01:59 +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 [Sanitizer tests] Define 16- and 64-bit versions of atomic_compare_exchange_strong on Windows 2014-05-13 14:23:25 +00:00
sanitizer_bitvector.h Fix MSVS warnings in the sanitizers RTL 2014-03-12 14:09:25 +00:00
sanitizer_bvgraph.h [sanitizer] speed up the bitvector-based deadlock detector by ~15% (iterate over the currently held locks using the array, not the bitvector. Bitvector is not the best data structure to iterate over) 2014-03-31 07:23:50 +00:00
sanitizer_common.cc [asan] Exclude non-executable mappings from coverage. 2014-06-11 10:11:51 +00:00
sanitizer_common.h [asan] Exclude non-executable mappings from coverage. 2014-06-11 10:11:51 +00:00
sanitizer_common_interceptors.inc [msan] Fix false positive on dynamic tls. 2014-06-25 11:30:35 +00:00
sanitizer_common_interceptors_format.inc [ubsan] handle long double in 32-bit mode; part of the patch by Marek Polacek 2014-05-23 14:45:13 +00:00
sanitizer_common_interceptors_ioctl.inc [sanitizer] Relax sanity checks in ioctl decoding. 2014-06-10 13:54:15 +00:00
sanitizer_common_libcdep.cc [asancov] Write coverage directly to a memory-mapped file. 2014-05-27 12:37:52 +00:00
sanitizer_common_syscalls.inc [sanitizer] Intercept capget()/capset(). 2014-02-12 19:29:49 +00:00
sanitizer_coverage_libcdep.cc [asan] Fix mmap-ed coverage with coverage=0. 2014-06-11 15:11:26 +00:00
sanitizer_coverage_mapping_libcdep.cc [asan] Exclude non-executable mappings from coverage. 2014-06-11 10:11:51 +00:00
sanitizer_deadlock_detector.h sanitizer_deadlock_detector.h: MSVC 2012 doesn't like compound literals 2014-04-14 17:43:45 +00:00
sanitizer_deadlock_detector1.cc [sanitizer] print threads in deadlock report 2014-03-21 13:00:18 +00:00
sanitizer_deadlock_detector2.cc tsan: fix copy-pasted comment 2014-03-19 13:19:39 +00:00
sanitizer_deadlock_detector_interface.h [sanitizer] print threads in deadlock report 2014-03-21 13:00:18 +00:00
sanitizer_flags.cc [asan] Default to memory-mapped coverage on Android. 2014-06-02 13:06:33 +00:00
sanitizer_flags.h [sanitizer] Add coverage_dir flag. 2014-05-29 14:33:16 +00:00
sanitizer_freebsd.h Fix getting IP, BP and SP for address sanitizer's needs on FreeBSD in 32-bit mode 2014-06-15 13:56:28 +00:00
sanitizer_interception.h [sanitizer] Add missing file comment. 2013-12-20 13:13:49 +00:00
sanitizer_internal_defs.h Use 64-bit pointer to unwind stack for x86-64 2014-05-21 07:34:03 +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 [asancov] Write coverage directly to a memory-mapped file. 2014-05-27 12:37:52 +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 tsan: fix freebsd build 2014-06-20 22:49:41 +00:00
sanitizer_linux.h [FreeBSD] Port sanitizers' syscalls. 2014-03-07 10:03:54 +00:00
sanitizer_linux_libcdep.cc [asan] Exclude non-executable mappings from coverage. 2014-06-11 10:11:51 +00:00
sanitizer_list.h [libsanitizer] Implement IntrusiveList<T>::Iterator, use IntrusiveList in sanitizer_flags.cc 2014-03-20 13:49:21 +00:00
sanitizer_mac.cc [asancov] Write coverage directly to a memory-mapped file. 2014-05-27 12:37:52 +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_persistent_allocator.cc [msan] Chained origins re-design. 2014-05-21 09:02:13 +00:00
sanitizer_persistent_allocator.h [msan] Chained origins re-design. 2014-05-21 09:02:13 +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 [sanitizer] define SANITIZER_X32 and use it in ThreadDescriptorSize; partially based on patch by H.J. Lu 2014-05-21 08:01:44 +00:00
sanitizer_platform_interceptors.h [sanitizer] Intercept pthread_*attr_get*. 2014-06-19 10:19:57 +00:00
sanitizer_platform_limits_linux.cc [asan] adding support of 32-bit address sanitizer for MIPS 2014-06-24 12:08:18 +00:00
sanitizer_platform_limits_posix.cc [sanitizer] Intercept pthread_*attr_get*. 2014-06-19 10:19:57 +00:00
sanitizer_platform_limits_posix.h [asan] adding support of 32-bit address sanitizer for MIPS 2014-06-24 12:08:18 +00:00
sanitizer_posix.cc [asancov] Write coverage directly to a memory-mapped file. 2014-05-27 12:37:52 +00:00
sanitizer_posix_libcdep.cc [ASan] Use a non-null altstack.ss_size when disabling sigaltstack on Darwin. 2014-04-25 10:39: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 [asan] Exclude non-executable mappings from coverage. 2014-06-11 10:11:51 +00:00
sanitizer_procmaps_mac.cc [ASan] When iterating over segments on OSX, treat the segments' initial 2014-06-25 15:43:19 +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] Merge AnsiColorDecorator and SanitizerCommonDecorator, use the latter in UBSan 2014-06-13 23:46:37 +00:00
sanitizer_stackdepot.cc [tsan] Fix gotsan build. 2014-05-21 09:42:56 +00:00
sanitizer_stackdepot.h [msan] Chained origins re-design. 2014-05-21 09:02:13 +00:00
sanitizer_stackdepotbase.h [msan] Chained origins re-design. 2014-05-21 09:02:13 +00:00
sanitizer_stacktrace.cc [sanitizer] Fix build on ARM. 2014-05-30 10:50:17 +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 [sanitizer] Make stack traces from dlclose()'d modules more meaningful. 2014-05-23 16:04:41 +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 [sanitizer] deadlock detector: a) initial support for suppressions, b) be more robust in case we failed to extract a stack trace for one of the locks 2014-03-19 12:26:33 +00:00
sanitizer_suppressions.h [sanitizer] deadlock detector: a) initial support for suppressions, b) be more robust in case we failed to extract a stack trace for one of the locks 2014-03-19 12:26:33 +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 Swap getdtablesize() for sysconf(_SC_OPEN_MAX). 2014-06-16 14:51:11 +00:00
sanitizer_symbolizer_win.cc [ASan/Win] Enable demangling of global variable names 2014-05-14 13:55:59 +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: fix vector clocks 2014-04-11 15:38:03 +00:00
sanitizer_thread_registry.h tsan: fix vector clocks 2014-04-11 15:38:03 +00:00
sanitizer_tls_get_addr.cc [sanitizer] Fix build on platforms where dtls support is disabled. 2014-06-25 11:43:46 +00:00
sanitizer_tls_get_addr.h [msan] Fix false positive on dynamic tls. 2014-06-25 11:30:35 +00:00
sanitizer_win.cc [asan] Add a few stubs to fix windows build. 2014-05-28 08:26:24 +00:00