llvm-project/compiler-rt/lib/sanitizer_common
Ismail Pazarbasi 6fb3b4ba89 Call system's sigfillset and sigprocmask functions from sanitizers
Reviewers: kcc, glider, dvyukov

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D9637

llvm-svn: 237177
2015-05-12 20:56:44 +00:00
..
scripts [sanitizer] Update "sancov.py missing" to allow __sanitizer_cov_with_check(). 2015-05-12 16:46:54 +00:00
tests Disable exceptions with Clang on Windows in lib/sanitizer-common/tests 2015-05-05 16:52:50 +00:00
CMakeLists.txt [asan] Fix ASan build on Android/AArch64. 2015-04-27 23:49:39 +00:00
Makefile.mk Revert "Remove support for building sanitizers from Makefile/autoconf build." 2015-02-17 23:30:51 +00:00
sanitizer_addrhashmap.h Fix typos 2014-05-15 02:22:34 +00:00
sanitizer_allocator.cc [Sanitizer] Introduce Allocator::may_return_null bool flag. 2014-12-12 20:07:35 +00:00
sanitizer_allocator.h Split Mprotect into MmapNoAccess and MprotectNoAccess to be more portable 2015-04-10 15:02:19 +00:00
sanitizer_allocator_interface.h Generalize sanitizer allocator public interface. 2014-07-07 17:39:31 +00:00
sanitizer_allocator_internal.h [sanitizer] Flag parser rewrite. 2015-01-15 15:13:43 +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 [ASan/Win] Unbreak the build after r211216 2014-07-07 16:22:04 +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 Use WriteToFile instead of internal_write in non-POSIX code 2015-04-09 14:11:25 +00:00
sanitizer_common.h [asan] Fall back to /proc/$PID/maps on Android L. 2015-05-06 18:55:31 +00:00
sanitizer_common_interceptors.inc [Msan] Fix the getline.cc test to pass on FreeBSD 2015-04-28 10:23:52 +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 [Msan] Fix the ioctl_custom.cc test to pass on FreeBSD 2015-05-06 09:28:48 +00:00
sanitizer_common_libcdep.cc [Sanitizer RT] Get rid of internal_isatty 2015-04-08 17:42:57 +00:00
sanitizer_common_syscalls.inc Allow sanitizer to work with "old" kernel headers 2015-02-24 11:38:41 +00:00
sanitizer_coverage_libcdep.cc [asan/fuzzer] define a dummy weak __sanitizer_cov_trace_cmp 2015-05-08 21:32:03 +00:00
sanitizer_coverage_mapping_libcdep.cc Use error_t rather than int in a couple of places where we handle files 2015-04-09 14:49:53 +00:00
sanitizer_deadlock_detector.h tsan: fix deadlock reporting 2014-12-18 14:05:34 +00:00
sanitizer_deadlock_detector1.cc Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:44:24 +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] print threads in deadlock report 2014-03-21 13:00:18 +00:00
sanitizer_flag_parser.cc [sanitizer] Make unrecognized flags not fatal. 2015-01-19 12:22:57 +00:00
sanitizer_flag_parser.h [Sanitizer] Add "final" specifier to FlagHandlerBase::Parse overrides. NFC. 2015-02-12 00:36:39 +00:00
sanitizer_flags.cc Use error_t rather than int in a couple of places where we handle files 2015-04-09 14:49:53 +00:00
sanitizer_flags.h [asan] Warn if unsupported flags are used at activation. 2015-01-20 12:19:14 +00:00
sanitizer_flags.inc [asan] under handle_abort=1 option intercept SIGABRT in addition to SIGSEGV/SIGBUS. Among other things this will allow to set up a death callback for SIGABRT and thus properly handle assert() in lib/Fuzzer 2015-05-05 01:37:33 +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 [Sanitizers] Move the common sanitizer interface from sanitizer_internal_defs.h to a new sanitizer_interface_internal.h file 2015-02-19 15:15:33 +00:00
sanitizer_internal_defs.h [ASan/Win] Add more support for file operations 2015-04-09 15:25:21 +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 [compiler-rt] Make MaybeReexec properly process DYLD_INSERT_LIBRARIES when using non-absolute paths 2015-02-06 12:07:29 +00:00
sanitizer_libc.h [ASan/Win] Add more support for file operations 2015-04-09 15:25:21 +00:00
sanitizer_libignore.cc Move more POSIX-specific functions to sanitizer_posix.h 2015-04-09 12:54:06 +00:00
sanitizer_libignore.h [Sanitizer] Drop LibIgnore dependency on SuppressionContext. NFC. 2015-02-19 22:56:49 +00:00
sanitizer_linux.cc [asan] Fall back to /proc/$PID/maps on Android L. 2015-05-06 18:55:31 +00:00
sanitizer_linux.h Move some POSIX-specific functions from sanitizer_libc.h to a new sanitizer_posix.h 2015-04-08 17:08:24 +00:00
sanitizer_linux_libcdep.cc [asan] Fall back to /proc/$PID/maps on Android L. 2015-05-06 18:55:31 +00:00
sanitizer_list.h [Sanitizer] Remove the hardcoded limit of address ranges in LoadedModule. 2015-01-08 22:03:05 +00:00
sanitizer_mac.cc Call system's sigfillset and sigprocmask functions from sanitizers 2015-05-12 20:56:44 +00:00
sanitizer_mac.h Move some POSIX-specific functions from sanitizer_libc.h to a new sanitizer_posix.h 2015-04-08 17:08:24 +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 [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 [ASan] Only include rpc headers if they are available. 2015-04-09 08:06:49 +00:00
sanitizer_platform_interceptors.h [Msan] Fix the if_indextoname.cc test to pass on FreeBSD 2015-05-11 14:46:16 +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] Only include rpc headers if they are available. 2015-04-09 08:06:49 +00:00
sanitizer_platform_limits_posix.h [asan] Fix ASan build on Android/AArch64. 2015-04-27 23:49:39 +00:00
sanitizer_posix.cc Split Mprotect into MmapNoAccess and MprotectNoAccess to be more portable 2015-04-10 15:02:19 +00:00
sanitizer_posix.h Split Mprotect into MmapNoAccess and MprotectNoAccess to be more portable 2015-04-10 15:02:19 +00:00
sanitizer_posix_libcdep.cc [asan] under handle_abort=1 option intercept SIGABRT in addition to SIGSEGV/SIGBUS. Among other things this will allow to set up a death callback for SIGABRT and thus properly handle assert() in lib/Fuzzer 2015-05-05 01:37:33 +00:00
sanitizer_printf.cc Removed r221896, it seems to break build in various ways. 2014-11-13 19:37:30 +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 [ASan] Unify handling of loaded modules between POSIX and Windows 2015-04-06 12:49:30 +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 Segregate FreeBSD-specific parts from sanitizer_procmaps_linux.cc 2014-08-06 10:16:52 +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 [asan] add a flag soft_rss_limit_mb 2015-01-06 23:53:32 +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 [msan] Better use-after-free reports. 2015-01-22 13:33:16 +00:00
sanitizer_stackdepot.h Change StackDepot interface to use StackTrace more extensively 2014-10-26 06:23:07 +00:00
sanitizer_stackdepotbase.h [Sanitizer] Return code that calculates hash for stacktrace back to StackDepot implementation 2014-10-27 03:10:27 +00:00
sanitizer_stacktrace.cc [msan] Better use-after-free reports. 2015-01-22 13:33:16 +00:00
sanitizer_stacktrace.h [msan] Better use-after-free reports. 2015-01-22 13:33:16 +00:00
sanitizer_stacktrace_libcdep.cc [msan] Better use-after-free reports. 2015-01-22 13:33:16 +00:00
sanitizer_stacktrace_printer.cc [Sanitizer] Introduce generic stack frame rendering machinery 2014-11-05 22:44:36 +00:00
sanitizer_stacktrace_printer.h [Sanitizer] Introduce generic stack frame rendering machinery 2014-11-05 22:44:36 +00:00
sanitizer_stoptheworld.h asan: fix comment formatting 2015-03-06 08:43:44 +00:00
sanitizer_stoptheworld_linux_libcdep.cc Split Mprotect into MmapNoAccess and MprotectNoAccess to be more portable 2015-04-10 15:02:19 +00:00
sanitizer_suppressions.cc [compiler-rt] Allow suppression file to be relative to the location of the executable 2015-02-27 03:12:19 +00:00
sanitizer_suppressions.h [Sanitizer] Refactor SuppressionContext class. 2015-02-20 17:41:59 +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 Demangling for DlAddrSymbolizer 2015-03-22 11:38:55 +00:00
sanitizer_symbolizer_libbacktrace.cc Symbolizer refactoring: Turn FillAddressAndModuleInfo into FillModuleInfo 2015-03-03 09:18:44 +00:00
sanitizer_symbolizer_libbacktrace.h Symbolizer refactoring: Make LibbacktraceSymbolizer adopt the SymbolizerTool interface 2015-03-02 22:56:25 +00:00
sanitizer_symbolizer_libcdep.cc [Sanitizer] Get rid of PlatformGetListOfModules 2015-04-09 09:37:46 +00:00
sanitizer_symbolizer_mac.cc [ASan] Suppress the deprecation warning from atos that breaks AtosSymbolizer on OSX 10.9 2015-03-25 11:01:33 +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] Plug a memory leak in symbolization code. 2015-04-21 20:05:10 +00:00
sanitizer_symbolizer_process_libcdep.cc Move some POSIX-specific functions from sanitizer_libc.h to a new sanitizer_posix.h 2015-04-08 17:08:24 +00:00
sanitizer_symbolizer_win.cc [Sanitizer] Merge POSIXSymbolizer and WinSymbolizer 2015-04-11 17:16:25 +00:00
sanitizer_symbolizer_win.h Symbolizer refactoring: Make WinSymbolizer use SymbolizerTool interface 2015-03-06 14:33:56 +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_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 tsan: address comments in r214912 2014-09-02 09:34:34 +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_unwind_posix_libcdep.cc [msan] Better use-after-free reports. 2015-01-22 13:33:16 +00:00
sanitizer_win.cc [ASan/Win] Initialize sandbox-related stuff when asked to 2015-04-23 12:58:11 +00:00