llvm-project/compiler-rt/lib/sanitizer_common
Evgeniy Stepanov 39cc337e20 [sanitizer] Change the way we use certain linux kernel headers.
Some linux headers are broken on older kernels.
Instead of depending on the constants and types from such headers directly,
we provide our own definitions and then verify them with compile-time
assertions. This makes the dependency on the headers test-only and would allow
switching to some other way of testing on older kernels, or even disable the
tests as the last resort (after all, kernel interfaces are supposed to be
stable).

llvm-svn: 195427
2013-11-22 09:01:50 +00:00
..
scripts Revert r195381, "Implement a bunch of custom glibc wrappers & corresponding tests." 2013-11-21 23:48:19 +00:00
tests tsan: remove debug output from test 2013-11-21 11:50:45 +00:00
CMakeLists.txt [sanitizer] Add missing header dependencies. 2013-11-22 08:55:33 +00:00
Makefile.mk
sanitizer_allocator.cc [sanitizer] make the allocator crash instead of returning 0 on huge size (controlled by the allocator_may_return_null flag) 2013-09-06 09:25:11 +00:00
sanitizer_allocator.h Rename SpinMutex::AssertHeld to CheckLocked, for consistency with BlockingMutex. 2013-10-25 23:03:21 +00:00
sanitizer_allocator_internal.h [sanitizer] Use raw check in internal allocator to prevent self-deadlocks. Try to fix Windows build. 2013-05-29 10:41:53 +00:00
sanitizer_atomic.h [ASan] cmake cleanup: make tab/space padding in CMakeLists consistent, silence/fix some pedantic warnings 2012-07-02 06:48:10 +00:00
sanitizer_atomic_clang.h tsan: do not try to use builtin atomic operations 2013-09-21 04:59:02 +00:00
sanitizer_atomic_msvc.h [ASan] Rename a atomic_compare_exchange_strong parameter to avoid a compiler warning 2013-05-23 11:40:51 +00:00
sanitizer_common.cc Reapply asan coverage changes 194702-194704. 2013-11-15 07:18:15 +00:00
sanitizer_common.h Reapply asan coverage changes 194702-194704. 2013-11-15 07:18:15 +00:00
sanitizer_common_interceptors.inc tsan: add support for robust mutexes 2013-11-15 16:58:12 +00:00
sanitizer_common_interceptors_ioctl.inc Remove #include of net/ip_mroute.h for SANITIZER_MAC. 2013-11-15 19:13:08 +00:00
sanitizer_common_interceptors_scanf.inc [sanitizer] Fix handling of %n in scanf interceptor. 2013-08-09 12:58:35 +00:00
sanitizer_common_libcdep.cc [lsan] Colorize LSan reports. 2013-09-03 13:31:03 +00:00
sanitizer_common_syscalls.inc [msan] Tweak io_submit syscall hook. 2013-11-20 13:04:23 +00:00
sanitizer_coverage.cc Reapply asan coverage changes 194702-194704. 2013-11-15 07:18:15 +00:00
sanitizer_flags.cc [Sanitizer] Add print_summary runtime flag to disable error summaries (UBSan doesn't need them) 2013-11-14 08:56:59 +00:00
sanitizer_flags.h [Sanitizer] Add print_summary runtime flag to disable error summaries (UBSan doesn't need them) 2013-11-14 08:56:59 +00:00
sanitizer_internal_defs.h [asan] new shadow poison magic for contiguous-container-buffer-overflow, addressed Alexey Samsonov's comments for r195011 2013-11-19 08:40:07 +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 Add internal_strchrnul function 2013-09-03 13:09:28 +00:00
sanitizer_libc.h Add internal_strchrnul function 2013-09-03 13:09:28 +00:00
sanitizer_libignore.cc tsan: refactor libignore implementation 2013-10-16 11:28:12 +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] attempting to fix x32 build (see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59018) 2013-11-06 17:47:39 +00:00
sanitizer_linux.h tsan: use verbosity flag in sanitizer_common code directly 2013-10-15 14:12:26 +00:00
sanitizer_linux_libcdep.cc [Sanitizer] Make slow unwinder on Linux more robust 2013-11-15 10:57:56 +00:00
sanitizer_list.h asan/tsan: fix bug in list implementation 2013-01-11 10:15:13 +00:00
sanitizer_mac.cc [ASan] Don't call __asan_init() from certain interceptors on Darwin. 2013-11-13 13:34:53 +00:00
sanitizer_mutex.h Rename SpinMutex::AssertHeld to CheckLocked, for consistency with BlockingMutex. 2013-10-25 23:03:21 +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 [libsanitizer] Define SANITIZER_IOS when building for iOS or iOS simulator. 2013-10-31 17:38:18 +00:00
sanitizer_platform_interceptors.h [sanitizer] Intercept strptime. 2013-11-02 01:01:35 +00:00
sanitizer_platform_limits_linux.cc [sanitizer] Change the way we use certain linux kernel headers. 2013-11-22 09:01:50 +00:00
sanitizer_platform_limits_posix.cc [sanitizer] Change the way we use certain linux kernel headers. 2013-11-22 09:01:50 +00:00
sanitizer_platform_limits_posix.h [sanitizer] Change the way we use certain linux kernel headers. 2013-11-22 09:01:50 +00:00
sanitizer_posix.cc tsan: allow to obtain code range for a particular module 2013-09-21 21:41:08 +00:00
sanitizer_posix_libcdep.cc [Sanitizer] Call Windows unwinder 'slow' and share StackTrace::Unwind across all platforms. No functionality change. 2013-11-07 06:33:06 +00:00
sanitizer_printf.cc [Sanitizer] Print symbolized stack frame using a single Printf() call. 2013-11-14 09:41:24 +00:00
sanitizer_procmaps.h tsan: allow to obtain code range for a particular module 2013-09-21 21:41:08 +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 [ASan/RTL] Disable colored reporting on Windows 2013-08-16 11:26:26 +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 [Sanitizer] Make slow unwinder on Linux more robust 2013-11-15 10:57:56 +00:00
sanitizer_stacktrace.h [Sanitizer] Make slow unwinder on Linux more robust 2013-11-15 10:57:56 +00:00
sanitizer_stacktrace_libcdep.cc [ASan] Do not rely on malloc context in allocator reports. 2013-11-13 14:46:58 +00:00
sanitizer_stoptheworld.h [Sanitizer] Rename InternalVector to InternalMmapVector 2013-06-14 09:59:40 +00:00
sanitizer_stoptheworld_linux_libcdep.cc tsan: be silent if verbosity=0 2013-10-15 15:35:56 +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::AddHooks() and use it in TSan and MSan. 2013-10-31 21:44:07 +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 [Sanitizer] Add Symbolizer::AddHooks() and use it in TSan and MSan. 2013-10-31 21:44:07 +00:00
sanitizer_symbolizer_win.cc Overhaul the symbolizer interface. 2013-10-25 23:03:29 +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/asan: support pthread_setname_np to set thread names 2013-10-29 10:30:39 +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_win.cc Remove a FIXME now that I can't reproduce the problem 2013-11-09 15:01:23 +00:00