llvm-project/compiler-rt/lib/sanitizer_common
Alexander Potapenko 6f3fa20c76 [ASan] Retire mac_ignore_invalid_free, remove some dead code.
mac_ignore_invalid_free was helpful when ASan runtime used to intercept
CFAllocator and sometimes corrupted its memory. This behavior had been long
gone, and the flag was unused.
This patch also deletes ReportMacCfReallocUnknown(), which was used by the
CFAllocator realloc() wrapper.

llvm-svn: 254722
2015-12-04 16:17:55 +00:00
..
scripts [asan] Tweak gen_dynamic_list.py to work with both Py2 and Py3. 2015-10-01 18:27:28 +00:00
tests [compiler-rt] Do not pull in min and max macros from windows.h 2015-11-20 20:18:06 +00:00
.clang-format Tell clang-format that (most) sanitizers are written using Google style guide. 2015-11-19 22:11:10 +00:00
CMakeLists.txt Revert r252683 - "Sancov in C++." 2015-11-11 15:54:31 +00:00
Makefile.mk [autoconf] Properly exclude sanitizer_common nolibc sources from build. 2015-08-24 19:38:59 +00:00
sanitizer_addrhashmap.h [sanitizer] Fix Clang-tidy modernize-use-nullptr warnings in lib/sanitizer_common headers, unify closing inclusion guards. Patch by Eugene Zelenko 2015-09-29 18:23:36 +00:00
sanitizer_allocator.cc [sanitizer_common] Apply modernize-use-nullptr, other minor fixes 2015-09-30 23:52:54 +00:00
sanitizer_allocator.h [sanitizer] Fix Clang-tidy modernize-use-nullptr warnings in lib/sanitizer_common headers, unify closing inclusion guards. Patch by Eugene Zelenko 2015-09-29 18:23:36 +00:00
sanitizer_allocator_interface.h Generalize sanitizer allocator public interface. 2014-07-07 17:39:31 +00:00
sanitizer_allocator_internal.h [sanitizer] Fix Clang-tidy modernize-use-nullptr warnings in lib/sanitizer_common headers, unify closing inclusion guards. Patch by Eugene Zelenko 2015-09-29 18:23:36 +00:00
sanitizer_asm.h [tsan] Port tsan_rtl_amd64.S to OS X to add support for setjmp/longjmp 2015-11-28 12:44:23 +00:00
sanitizer_atomic.h tsan: speed up race deduplication 2015-09-03 11:20:46 +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 Re-apply r241217 with build fixes: 2015-07-02 01:44:34 +00:00
sanitizer_bitvector.h Revert "Apply modernize-use-default to compiler-rt." 2015-10-30 18:52:31 +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] Fix the deadlocks introduced by "On OS X, log reports to syslog and os_trace" commit 2015-11-20 18:42:01 +00:00
sanitizer_common.h [tsan] Use re-exec method to enable interceptors on older versions of OS X 2015-12-03 10:39:43 +00:00
sanitizer_common_interceptors.inc [tsan] Allow memchr interceptor to be used before initialization on OS X 2015-11-03 16:19:37 +00:00
sanitizer_common_interceptors_format.inc [sanitizer] Fix Clang-tidy modernize-use-nullptr warnings in lib/sanitizer_common headers, unify closing inclusion guards. Patch by Eugene Zelenko 2015-09-29 18:23:36 +00:00
sanitizer_common_interceptors_ioctl.inc [sanitizer] Fix Clang-tidy modernize-use-nullptr warnings in lib/sanitizer_common headers, unify closing inclusion guards. Patch by Eugene Zelenko 2015-09-29 18:23:36 +00:00
sanitizer_common_libcdep.cc [asan] Fix the deadlocks introduced by "On OS X, log reports to syslog and os_trace" commit 2015-11-20 18:42:01 +00:00
sanitizer_common_nolibc.cc Reapply: [asan] On OS X, log reports to syslog and os_trace 2015-11-20 18:41:44 +00:00
sanitizer_common_syscalls.inc [MSan] Enable MSAN for aarch64 2015-09-16 15:12:25 +00:00
sanitizer_coverage_libcdep.cc [sanitizer coverage] when adding a bb trace instrumentation, do it instead, not in addition to, regular coverage. Do the regular coverage in the run-time instead 2015-12-02 02:37:31 +00:00
sanitizer_coverage_mapping_libcdep.cc [sanitizer_common] Apply modernize-use-nullptr, other minor fixes 2015-09-30 23:52:54 +00:00
sanitizer_deadlock_detector.h tsan: fix deadlock reporting 2014-12-18 14:05:34 +00:00
sanitizer_deadlock_detector1.cc [sanitizer_common] Apply modernize-use-nullptr, other minor fixes 2015-09-30 23:52:54 +00:00
sanitizer_deadlock_detector2.cc tsan: remove unnecessary line split 2014-07-08 13:07:23 +00:00
sanitizer_deadlock_detector_interface.h [sanitizer] Fix Clang-tidy modernize-use-nullptr warnings in lib/sanitizer_common headers, unify closing inclusion guards. Patch by Eugene Zelenko 2015-09-29 18:23:36 +00:00
sanitizer_flag_parser.cc [sanitizer] Implement include_if_exists with process name substitution. 2015-07-21 23:03:13 +00:00
sanitizer_flag_parser.h [sanitizer] Implement include_if_exists with process name substitution. 2015-07-21 23:03:13 +00:00
sanitizer_flags.cc [asan] Read process name from /proc/self/cmdline on Linux. 2015-07-28 20:27:51 +00:00
sanitizer_flags.h [sanitizer] Implement include_if_exists with process name substitution. 2015-07-21 23:03:13 +00:00
sanitizer_flags.inc Reapply: [asan] On OS X, log reports to syslog and os_trace 2015-11-20 18:41:44 +00:00
sanitizer_freebsd.h Support getting process maps for sanitizers needs on FreeBSD in 32-bit mode 2014-08-08 06:21:09 +00:00
sanitizer_interface_internal.h Asan: utility function to determine first wrongly poisoned byte in 2015-11-04 19:56:03 +00:00
sanitizer_internal_defs.h [tsan] Fix weakly imported functions on OS X 2015-11-30 13:27:18 +00:00
sanitizer_lfstack.h [sanitizer] Fix Clang-tidy modernize-use-nullptr warnings in lib/sanitizer_common headers, unify closing inclusion guards. Patch by Eugene Zelenko 2015-09-29 18:23:36 +00:00
sanitizer_libc.cc [compiler-rt] Add internal implementations for strlcat and strlcpy 2015-11-20 18:42:05 +00:00
sanitizer_libc.h [compiler-rt] Add internal implementations for strlcat and strlcpy 2015-11-20 18:42:05 +00:00
sanitizer_libignore.cc Reapply r251918 ("[tsan] Fix build errors for TSan on OS X"). 2015-11-03 14:33:39 +00:00
sanitizer_libignore.h [Sanitizer] Drop LibIgnore dependency on SuppressionContext. NFC. 2015-02-19 22:56:49 +00:00
sanitizer_linux.cc [tsan] Use re-exec method to enable interceptors on older versions of OS X 2015-12-03 10:39:43 +00:00
sanitizer_linux.h [tsan] Enable tsan for aarch64 2015-08-05 15:17:59 +00:00
sanitizer_linux_libcdep.cc Reapply: [asan] On OS X, log reports to syslog and os_trace 2015-11-20 18:41:44 +00:00
sanitizer_list.h [sanitizer] Fix Clang-tidy modernize-use-nullptr warnings in lib/sanitizer_common headers, unify closing inclusion guards. Patch by Eugene Zelenko 2015-09-29 18:23:36 +00:00
sanitizer_mac.cc [sanitizer] Replace a local array with InternalScopedString in MaybeReexec() 2015-12-03 17:05:43 +00:00
sanitizer_mac.h [asan] On OS X, write error reports into Crash Report. 2015-11-20 18:42:07 +00:00
sanitizer_malloc_mac.inc [ASan] Retire mac_ignore_invalid_free, remove some dead code. 2015-12-04 16:17:55 +00:00
sanitizer_mutex.h [Sanitizer] Make BlockingMutex really linker initialized. 2015-01-30 06:20:43 +00:00
sanitizer_persistent_allocator.cc [msan] Chained origins re-design. 2014-05-21 09:02:13 +00:00
sanitizer_persistent_allocator.h [sanitizer] Fix Clang-tidy modernize-use-nullptr warnings in lib/sanitizer_common headers, unify closing inclusion guards. Patch by Eugene Zelenko 2015-09-29 18:23:36 +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 [compiler-rt] Remove SANITIZER_AARCH64_VMA usage 2015-11-30 19:43:03 +00:00
sanitizer_platform_interceptors.h [tsan] Fix build warnings on OS X 2015-11-05 14:32:56 +00:00
sanitizer_platform_limits_linux.cc [asan] i686-linux-android support. 2014-07-03 14:20:56 +00:00
sanitizer_platform_limits_posix.cc [asan] Old Linux kernels (< 3.0) don't define ARM_VFPREGS_SIZE that leads to 2015-11-30 09:19:22 +00:00
sanitizer_platform_limits_posix.h [compiler-rt] Enable ptrace sanitizer for arm 2015-10-26 18:15:14 +00:00
sanitizer_posix.cc [compiler-rt] Remove SANITIZER_AARCH64_VMA usage 2015-11-30 19:43:03 +00:00
sanitizer_posix.h [sanitizer] Implement internal_fork and internal_forkpty for OS X 2015-11-20 14:28:33 +00:00
sanitizer_posix_libcdep.cc tsan: fix Go build on linux 2015-11-12 11:54:25 +00:00
sanitizer_printf.cc Reapply: [asan] On OS X, log reports to syslog and os_trace 2015-11-20 18:41:44 +00:00
sanitizer_procmaps.h Segregate FreeBSD-specific parts from sanitizer_procmaps_linux.cc 2014-08-06 10:16:52 +00:00
sanitizer_procmaps_common.cc [sanitizer_common] Apply modernize-use-nullptr, other minor fixes 2015-09-30 23:52:54 +00:00
sanitizer_procmaps_freebsd.cc Support getting process maps for sanitizers needs on FreeBSD in 32-bit mode 2014-08-08 06:21:09 +00:00
sanitizer_procmaps_linux.cc [Sanitizer] Teach ReadFileToBuffer to distinguish empty file from inaccessible file. 2015-07-17 23:50:08 +00:00
sanitizer_procmaps_mac.cc [ASan] Unify handling of loaded modules between POSIX and Windows 2015-04-06 12:49:30 +00:00
sanitizer_quarantine.h [sanitizer] Fix Clang-tidy modernize-use-nullptr warnings in lib/sanitizer_common headers, unify closing inclusion guards. Patch by Eugene Zelenko 2015-09-29 18:23:36 +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 [sanitizer_common] Apply modernize-use-nullptr, other minor fixes 2015-09-30 23:52:54 +00:00
sanitizer_stackdepot.h [sanitizer] Fix Clang-tidy modernize-use-nullptr warnings in lib/sanitizer_common headers, unify closing inclusion guards. Patch by Eugene Zelenko 2015-09-29 18:23:36 +00:00
sanitizer_stackdepotbase.h [sanitizer] Fix Clang-tidy modernize-use-nullptr warnings in lib/sanitizer_common headers, unify closing inclusion guards. Patch by Eugene Zelenko 2015-09-29 18:23:36 +00:00
sanitizer_stacktrace.cc [Sanitizer] Increase kPcThreshold in slow unwinder after r254395. 2015-12-01 20:58:44 +00:00
sanitizer_stacktrace.h [MSan] Enable MSAN for aarch64 2015-09-16 15:12:25 +00:00
sanitizer_stacktrace_libcdep.cc [sanitizer] add #ifdefs around slow unwinder to fix OS X debug build 2015-07-02 13:56:37 +00:00
sanitizer_stacktrace_printer.cc [sanitizer_common] Apply modernize-use-nullptr, other minor fixes 2015-09-30 23:52:54 +00:00
sanitizer_stacktrace_printer.h [sanitizer_common] Added VS-style output for source locations 2015-06-04 01:20:06 +00:00
sanitizer_stoptheworld.h asan: fix comment formatting 2015-03-06 08:43:44 +00:00
sanitizer_stoptheworld_linux_libcdep.cc [compiler-rt] Fix build by wrapping lines to 80 chars (NFC) 2015-10-01 00:48:07 +00:00
sanitizer_suppressions.cc tsan: speed up race deduplication 2015-09-03 11:20:46 +00:00
sanitizer_suppressions.h tsan: speed up race deduplication 2015-09-03 11:20:46 +00:00
sanitizer_symbolizer.cc [Sanitizer] Get rid of PlatformGetListOfModules 2015-04-09 09:37:46 +00:00
sanitizer_symbolizer.h [Sanitizer] Merge POSIXSymbolizer and WinSymbolizer 2015-04-11 17:16:25 +00:00
sanitizer_symbolizer_internal.h Support inline functions symbolization in Addr2Line symbolizer. 2015-09-14 23:56:42 +00:00
sanitizer_symbolizer_libbacktrace.cc Symbolizer refactoring: Turn FillAddressAndModuleInfo into FillModuleInfo 2015-03-03 09:18:44 +00:00
sanitizer_symbolizer_libbacktrace.h Provide missing Internal{Alloc, Free} declarations for libbacktrace symbolizer. 2015-10-07 23:13:28 +00:00
sanitizer_symbolizer_libcdep.cc [Windows] Use llvm-symbolizer before using dbghelp 2015-08-11 15:51:40 +00:00
sanitizer_symbolizer_mac.cc [sanitizer] Detect an invalid answer in AtosSymbolizer 2015-11-30 14:12:47 +00:00
sanitizer_symbolizer_mac.h Adding the implementation of atos and dladdr symbolizers for OS X. 2015-03-12 10:53:18 +00:00
sanitizer_symbolizer_posix_libcdep.cc sanitizer_common: remove noisy warning about symbolizer not found. 2015-11-25 22:00:20 +00:00
sanitizer_symbolizer_win.cc Sanitizer: define WIN32_LEAN_AND_MEAN 2015-10-29 20:36:55 +00:00
sanitizer_syscall_generic.inc Unix/BSD system calls are prefixed with SYS_ on FreeBSD and Mac 2015-02-22 22:01:09 +00:00
sanitizer_syscall_linux_aarch64.inc [compiler-rt] [sanitizers] Add aarch64 syscall optimization support 2015-08-21 14:50:36 +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: address comments in r214912 2014-09-02 09:34:34 +00:00
sanitizer_thread_registry.h [sanitizer] Fix Clang-tidy modernize-use-nullptr warnings in lib/sanitizer_common headers, unify closing inclusion guards. Patch by Eugene Zelenko 2015-09-29 18:23:36 +00:00
sanitizer_tls_get_addr.cc Implement some TLS support for PowerPC64. 2015-11-11 15:37:47 +00:00
sanitizer_tls_get_addr.h [sanitizer] Recognize static TLS in __tls_get_addr interceptor. 2015-05-16 00:34:15 +00:00
sanitizer_unwind_linux_libcdep.cc One more change required to build the sanitizers for iOS. 2015-06-24 20:13:44 +00:00
sanitizer_win.cc [tsan] Use re-exec method to enable interceptors on older versions of OS X 2015-12-03 10:39:43 +00:00