llvm-project/compiler-rt/lib/sanitizer_common
Alexander Potapenko e925e53114 Fix compilation: don't convert NULL to a pointer-incompatible type.
llvm-svn: 200536
2014-01-31 11:44:15 +00:00
..
scripts Fix gen_dynamic_list.py for Python 3. Patch by Marcoen Hirschberg. 2013-12-17 12:19:16 +00:00
tests [Sanitizer] Fix false positive in printf interceptors: properly handle precision for %s 2014-01-23 14:35:28 +00:00
CMakeLists.txt Move /FS to SANITIZER_COMMON_CFLAGS 2014-01-30 19:48:13 +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 [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 [asan] allow asan to use SizeClassAllocator32 on a 64-bit platform (if SANITIZER_CAN_USE_ALLOCATOR64=0). No functionality change by default is intended 2013-12-26 13:52:38 +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 [ASan] Rename a atomic_compare_exchange_strong parameter to avoid a compiler warning 2013-05-23 11:40:51 +00:00
sanitizer_common.cc [Sanitizer] Replace Symbolizer::IsAvailable and Symbolizer::IsExternalAvailable with Symbolizer::CanReturnFileLineInfo. 2013-12-25 07:09:44 +00:00
sanitizer_common.h [ASan] Move the sigaltstack() bits to sanitizer_common. 2014-01-28 11:12:29 +00:00
sanitizer_common_interceptors.inc [msan] Intercept *getxattr and *listxattr. 2014-01-30 12:21:12 +00:00
sanitizer_common_interceptors_format.inc [Sanitizer] Fix false positive in printf interceptors: properly handle precision for %s 2014-01-23 14:35:28 +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_libcdep.cc [lsan] Colorize LSan reports. 2013-09-03 13:31:03 +00:00
sanitizer_common_syscalls.inc [msan] Intercept *getxattr and *listxattr. 2014-01-30 12:21:12 +00:00
sanitizer_coverage.cc [asan] extend asan-coverage (still experimental). 2014-01-17 11:00:30 +00:00
sanitizer_flags.cc tsan: fix Go build 2014-01-31 11:20:55 +00:00
sanitizer_flags.h tsan: fix Go build 2014-01-31 11:20:55 +00:00
sanitizer_interception.h [sanitizer] Add missing file comment. 2013-12-20 13:13:49 +00:00
sanitizer_internal_defs.h [ASan] Move the signal handling-related flags to sanitizer_common. 2014-01-28 09:28:57 +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 [ASan] Follow-up fix: use #if SANITIZER_WINDOWS, not #ifdef 2013-11-25 07:56:05 +00:00
sanitizer_libc.h [sanitizer] use 16-byte aligned bzero in performance critical place (mostly for lsan) 2013-11-23 12:49:19 +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 Fix compilation: don't convert NULL to a pointer-incompatible type. 2014-01-31 11:44:15 +00:00
sanitizer_linux.h Make signal-related functions use __sanitizer_* structures instead of __sanitizer_kernel_* ones. 2014-01-31 11:29:51 +00:00
sanitizer_linux_libcdep.cc tsan: fix Go build 2013-12-31 09:38:23 +00:00
sanitizer_list.h asan/tsan: fix bug in list implementation 2013-01-11 10:15:13 +00:00
sanitizer_mac.cc [Sanitizer] Teach MemoryMappingLayout to dump all loaded modules. 2013-12-25 08:39:38 +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 [asan] allow asan to use SizeClassAllocator32 on a 64-bit platform (if SANITIZER_CAN_USE_ALLOCATOR64=0). No functionality change by default is intended 2013-12-26 13:52:38 +00:00
sanitizer_platform_interceptors.h [msan] Intercept *getxattr and *listxattr. 2014-01-30 12:21:12 +00:00
sanitizer_platform_limits_linux.cc [asan] Include <sys/stat.h> if __x86_64__ is defined 2014-01-14 07:38:53 +00:00
sanitizer_platform_limits_posix.cc [sanitizer] Fix typo that breaks shmctl() interceptor. 2014-01-30 14:31:26 +00:00
sanitizer_platform_limits_posix.h Make signal-related functions use __sanitizer_* structures instead of __sanitizer_kernel_* ones. 2014-01-31 11:29:51 +00:00
sanitizer_posix.cc [ASan] Remove an accidentally added include of signal.h 2014-01-28 14:10:06 +00:00
sanitizer_posix_libcdep.cc [ASan] Move the sigaltstack() bits to sanitizer_common. 2014-01-28 11:12:29 +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 [Sanitizer] Remove now unused symbolization functionality from MemoryMappingLayout 2013-12-25 12:11:06 +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 [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] Don't use MemoryMappingLayout in StackTrace::PrintStack - it is now a responsibility of Symbolizer class. 2013-12-25 09:29:54 +00:00
sanitizer_stacktrace.h [asan] Enable frame pointer based unwinder on ARM. 2014-01-21 11:04:58 +00:00
sanitizer_stacktrace_libcdep.cc [Sanitizer] Don't use MemoryMappingLayout in StackTrace::PrintStack - it is now a responsibility of Symbolizer class. 2013-12-25 09:29:54 +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 [Sanitizer] Add basic support for using libbacktrace in symbolizer. 2014-01-16 13:48:15 +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 tsan: do not deadlock on fork 2014-01-24 12:33:35 +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/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_tls_get_addr.cc [asan] re-enable __tls_get_addr interceptor with a proper fix (use __attribute__((tls_model(initial-exec)))) 2014-01-30 09:25:48 +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 [ASan] Move the sigaltstack() bits to sanitizer_common. 2014-01-28 11:12:29 +00:00