llvm-project/compiler-rt/lib/sanitizer_common
Sergey Matveev 544d07f861 [sanitizer] One does not simply intercept getifaddrs().
Upgrade the interceptor, and attempt to fix the Android build.

llvm-svn: 200936
2014-02-06 18:48:23 +00:00
..
scripts [sanitizer] Support most ioctls from /usr/include/sound/. 2014-01-31 14:02:21 +00:00
tests [sanitizer] Fix build. 2014-02-05 20:04:12 +00:00
CMakeLists.txt [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
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 [libsanitizer] Workaround for https://code.google.com/p/address-sanitizer/issues/detail?id=261 2014-02-03 16:42:29 +00:00
sanitizer_common_interceptors.inc [sanitizer] One does not simply intercept getifaddrs(). 2014-02-06 18:48:23 +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 [sanitizer] Implement ioctl decoding. 2014-02-05 19:35:24 +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 tsan: fix windows build 2014-02-04 17:27:29 +00:00
sanitizer_libc.h [ASan] Move the SIGSEGV/SIGBUS handling to sanitizer_common 2014-01-31 13:10:07 +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 [asan] Read extra flags from a system property on activation on Android. 2014-01-31 14:36:55 +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 [sanitizer] hide two functions in the __sanitizer namespace to avoid exporting them (gold complained) 2014-02-05 15:06:32 +00:00
sanitizer_list.h asan/tsan: fix bug in list implementation 2013-01-11 10:15:13 +00:00
sanitizer_mac.cc [libsanitizer] Workaround for https://code.google.com/p/address-sanitizer/issues/detail?id=261 2014-02-03 16:42:29 +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 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 [sanitizer] One does not simply intercept getifaddrs(). 2014-02-06 18:48:23 +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] One does not simply intercept getifaddrs(). 2014-02-06 18:48:23 +00:00
sanitizer_platform_limits_posix.h [sanitizer] One does not simply intercept getifaddrs(). 2014-02-06 18:48:23 +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 [libsanitizer] Fix compilation for gotsan. 2014-01-31 14:30:12 +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: improve error message for Go 2014-02-06 09:22:29 +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 [sanitizer] make __tls_get_addr interceptor (more) AS-safe. No good test so far, will keep trying. 2014-02-04 05:22:00 +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/Win] Fall back to stdout if we can't print the reports to stderr 2014-02-04 23:28:30 +00:00