llvm-project/compiler-rt/lib/sanitizer_common
Kostya Serebryany 4cd2845e6a [sanitizer] allocator: move TransferBatch into SizeClassAllocator64/SizeClassAllocator32 because we actually need different iplementations for the 64- and 32-bit case. NFC; the following patches will make the TransferBatch implementations differ
llvm-svn: 277899
2016-08-06 01:24:11 +00:00
..
scripts [ASAN] Use struct instead of array in sancov.py 2016-04-22 09:20:22 +00:00
tests [sanitizer] allocator: move TransferBatch into SizeClassAllocator64/SizeClassAllocator32 because we actually need different iplementations for the 64- and 32-bit case. NFC; the following patches will make the TransferBatch implementations differ 2016-08-06 01:24:11 +00:00
.clang-format Tell clang-format that (most) sanitizers are written using Google style guide. 2015-11-19 22:11:10 +00:00
.clang-tidy fixed clang-tidy config 2016-01-25 19:43:55 +00:00
CMakeLists.txt [ASan] Report illegal instruction exceptions in ASan 2016-08-03 18:13:14 +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 tsan: fix windows build 2016-07-20 11:43:52 +00:00
sanitizer_allocator.h [sanitizer] better allocator stats (with rss) 2016-07-21 21:38:40 +00:00
sanitizer_allocator_bytemap.h [sanitizers] split sanitizer_allocator.h into a number of smaller .h files; NFC 2016-07-20 22:06:41 +00:00
sanitizer_allocator_combined.h [sanitizers] split sanitizer_allocator.h into a number of smaller .h files; NFC 2016-07-20 22:06:41 +00:00
sanitizer_allocator_interface.h [sanitizers] introduce yet another API function: __sanitizer_install_malloc_and_free_hooks 2016-06-16 20:06:06 +00:00
sanitizer_allocator_internal.h [tsan] Switch to InternalAlloc everywhere __libc_malloc is currently used 2016-06-06 18:18:47 +00:00
sanitizer_allocator_local_cache.h [sanitizer] allocator: move TransferBatch into SizeClassAllocator64/SizeClassAllocator32 because we actually need different iplementations for the 64- and 32-bit case. NFC; the following patches will make the TransferBatch implementations differ 2016-08-06 01:24:11 +00:00
sanitizer_allocator_primary32.h [sanitizer] allocator: move TransferBatch into SizeClassAllocator64/SizeClassAllocator32 because we actually need different iplementations for the 64- and 32-bit case. NFC; the following patches will make the TransferBatch implementations differ 2016-08-06 01:24:11 +00:00
sanitizer_allocator_primary64.h [sanitizer] allocator: move TransferBatch into SizeClassAllocator64/SizeClassAllocator32 because we actually need different iplementations for the 64- and 32-bit case. NFC; the following patches will make the TransferBatch implementations differ 2016-08-06 01:24:11 +00:00
sanitizer_allocator_secondary.h [sanitizers] split sanitizer_allocator.h into a number of smaller .h files; NFC 2016-07-20 22:06:41 +00:00
sanitizer_allocator_size_class_map.h [sanitizer] allocator: move TransferBatch into SizeClassAllocator64/SizeClassAllocator32 because we actually need different iplementations for the 64- and 32-bit case. NFC; the following patches will make the TransferBatch implementations differ 2016-08-06 01:24:11 +00:00
sanitizer_allocator_stats.h [sanitizers] split sanitizer_allocator.h into a number of smaller .h files; NFC 2016-07-20 22:06:41 +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
sanitizer_atomic_clang_other.h
sanitizer_atomic_clang_x86.h
sanitizer_atomic_msvc.h [asan Win64] Implement atomic_compare_exchange_strong for 8 bit 2016-07-06 16:33:57 +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_common.cc [sanitizer] Stop unwinding the stack when a close-to-zero PC is found 2016-06-27 15:32:18 +00:00
sanitizer_common.h [sanitizer] Stop unwinding the stack when a close-to-zero PC is found 2016-06-27 15:32:18 +00:00
sanitizer_common_interceptors.inc [compiler-rt] Fix warnings in interception code 2016-07-27 16:16:54 +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 [asan] Add iOS support. 2016-02-02 02:01:17 +00:00
sanitizer_common_libcdep.cc [sanitizers] Log all output to CrashReport on OS X 2016-01-06 23:15:01 +00:00
sanitizer_common_nolibc.cc Fixup for r269288. SleepForSeconds is not available in nolibc builds, let's add an internal_sleep. 2016-05-12 14:08:56 +00:00
sanitizer_common_syscalls.inc [sanitizer] Add syscall handlers for sigaction and rt_sigaction. 2016-06-24 23:09:44 +00:00
sanitizer_coverage_libcdep.cc [sanitizers] trace buffer API to use user-allocated buffer. 2016-08-05 20:09:42 +00:00
sanitizer_coverage_mapping_libcdep.cc [Sanitizer] Introduce ListOfModules object and use it to replace GetListOfModules(). 2016-02-22 18:52:51 +00:00
sanitizer_deadlock_detector.h tsan: fix deadlock reporting 2014-12-18 14:05:34 +00:00
sanitizer_deadlock_detector1.cc [tsan] Don't abort when a deadlock detector finds a mutex cycle longer than 10 2016-05-21 08:31:13 +00:00
sanitizer_deadlock_detector2.cc tsan: remove unnecessary line split 2014-07-08 13:07:23 +00:00
sanitizer_deadlock_detector_interface.h [tsan] Don't abort when a deadlock detector finds a mutex cycle longer than 10 2016-05-21 08:31:13 +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] Report illegal instruction exceptions in ASan 2016-08-03 18:13:14 +00:00
sanitizer_flags.h [sancov] common flags initialization. 2016-03-18 19:28:07 +00:00
sanitizer_flags.inc [sanitizers] trace buffer API to use user-allocated buffer. 2016-08-05 20:09:42 +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 Add __sanitizer_set_report_fd to the internal list of symbols. 2016-05-30 09:39:47 +00:00
sanitizer_internal_defs.h Print a more useful BP value from MSVC-built ASan runtimes 2016-08-05 16:01:57 +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 wcslen to avoid crashing on windows 64-bits 2016-07-14 22:13:41 +00:00
sanitizer_libc.h Fix clang-cl warning and crash in sanitizers 2016-07-21 18:31:01 +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 [asan] Remove zero FSR check on ARM. 2016-07-26 21:02:45 +00:00
sanitizer_linux.h [sanitizer][esan] Add internal_sigaction_syscall 2016-06-14 15:15:38 +00:00
sanitizer_linux_libcdep.cc [sanitizer] [SystemZ] Enable TLS functionality. 2016-06-17 20:24:32 +00:00
sanitizer_linux_s390.cc [sanitizers] [SystemZ] Mark kernel 3.12.58+ as safe from CVE-2016-2143. 2016-04-29 14:59:19 +00:00
sanitizer_linux_x86_64.S [sanitizer][esan] Add internal_sigaction_syscall 2016-06-14 15:15:38 +00:00
sanitizer_list.h Unbreak Windows build. 2016-01-15 02:51:26 +00:00
sanitizer_mac.cc [sanitizer] trying to fix Mac bots 2016-07-21 22:18:36 +00:00
sanitizer_mac.h [sanitizers] Log all output to CrashReport on OS X 2016-01-06 23:15:01 +00:00
sanitizer_malloc_mac.inc [libsanitizer] Fix bugs and wiki links to point to GitHub. 2015-12-04 17:50:03 +00:00
sanitizer_mutex.h [Sanitizer] Make BlockingMutex really linker initialized. 2015-01-30 06:20:43 +00:00
sanitizer_persistent_allocator.cc
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
sanitizer_platform.h [asan] Enable 48-bit VMA support on aarch64 2016-07-18 14:47:18 +00:00
sanitizer_platform_interceptors.h [compiler-rt] Fix interception of memcpy/memmove on win64 2016-07-21 19:49:11 +00:00
sanitizer_platform_limits_linux.cc [compiler-rt] adjust platform_limits_linux.cc #include of posix_types 2016-05-02 19:10:48 +00:00
sanitizer_platform_limits_posix.cc [sanitizer] [SystemZ] Add ptrace support bits. 2016-04-26 10:41:30 +00:00
sanitizer_platform_limits_posix.h [sanitizer] Revert new GLIBC msghdr/cmsghdr definitions 2016-06-14 15:22:37 +00:00
sanitizer_posix.cc [sanitizer] [SystemZ] Add virtual space size. 2016-04-14 12:56:15 +00:00
sanitizer_posix.h [esan|wset] Ensure SIGSEGV is not blocked 2016-07-06 21:04:48 +00:00
sanitizer_posix_libcdep.cc [esan] Add handling of large stack size rlimits 2016-05-28 00:25:16 +00:00
sanitizer_printf.cc [sanitizers] Log all output to CrashReport on OS X 2016-01-06 23:15:01 +00:00
sanitizer_procmaps.h [Sanitizer] Introduce ListOfModules object and use it to replace GetListOfModules(). 2016-02-22 18:52:51 +00:00
sanitizer_procmaps_common.cc [Sanitizer] Introduce ListOfModules object and use it to replace GetListOfModules(). 2016-02-22 18:52:51 +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 [libsanitizer] Fix bugs and wiki links to point to GitHub. 2015-12-04 17:50:03 +00:00
sanitizer_procmaps_mac.cc [Sanitizer] Introduce ListOfModules object and use it to replace GetListOfModules(). 2016-02-22 18:52:51 +00:00
sanitizer_quarantine.h asan: fix build 2016-04-14 11:40:08 +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 Adding a comment to explain r273886 ("Stop unwinding the stack when a close-to-zero PC is found"). NFC. 2016-06-28 12:53:20 +00:00
sanitizer_stacktrace.h [LSAN] Fix test swapcontext.cc on MIPS 2016-05-18 06:09:26 +00:00
sanitizer_stacktrace_libcdep.cc [sanitizers] introduce a common run-time option dedup_token_length to help with report deduplication, off by default for now. See https://github.com/google/sanitizers/issues/684 2016-05-28 01:25:44 +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 [sanitizer] [SystemZ] Add ptrace support bits. 2016-04-26 10:41:30 +00:00
sanitizer_suppressions.cc [TSan] Try harder to avoid compiler-generated memset calls. 2015-12-09 18:48:10 +00:00
sanitizer_suppressions.h [UBSan] Implement runtime suppressions (PR25066). 2015-12-18 19:56:42 +00:00
sanitizer_symbolizer.cc tsan: describe heap/data locations in Go 2016-03-01 15:38:12 +00:00
sanitizer_symbolizer.h TestCase null_deref was failing in Win64: 2016-07-15 17:16:37 +00:00
sanitizer_symbolizer_internal.h [sanitizers] Teach the internal demangler about Swift names 2016-04-15 23:51:00 +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 [sanitizer] [SystemZ] Add ptrace support bits. 2016-04-26 10:41:30 +00:00
sanitizer_symbolizer_mac.cc [sanitizers] Teach the internal demangler about Swift names 2016-04-15 23:51:00 +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] Allow nullptr in Swift demangler 2016-05-12 15:54:33 +00:00
sanitizer_symbolizer_win.cc TestCase null_deref was failing in Win64: 2016-07-15 17:16:37 +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
sanitizer_termination.cc [sanitizer] Move termination functions in their own file 2016-05-27 21:57:17 +00:00
sanitizer_thread_registry.cc [sanitizer] Don't reuse the main thread in ThreadRegistry 2016-05-02 15:06:08 +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 [Compiler-rt][MIPS] Correct Dynamic Thread Vector offset for MIPS 2016-03-01 05:56:33 +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 Adding a comment to explain r273886 ("Stop unwinding the stack when a close-to-zero PC is found"). NFC. 2016-06-28 12:53:20 +00:00
sanitizer_win.cc Fix dumping of process module list and test it 2016-08-05 17:55:00 +00:00