llvm-project/compiler-rt/lib/sanitizer_common
Anna Zaks 592bc45533 [sanitizers] DLAddr Symbolizer should fail if demangle fails
This can case crashes in high verbosity mode when demangling fails.
Not including a test case since this is hard to reproduce.

llvm-svn: 281656
2016-09-15 21:02:09 +00:00
..
scripts Revert "[XRay] ARM 32-bit no-Thumb support in compiler-rt" 2016-09-08 17:13:15 +00:00
tests [sanitizer] Test the allocator with the ASan win64 memory constants 2016-09-15 16:00:46 +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 Revert "[ESan][MIPS] Adds support for MIPS64" 2016-09-08 16:09:46 +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 [asan] first attempt at releasing free-d memory back to the system using madvise. Requires quite some tuning. 2016-08-26 23:58:42 +00:00
sanitizer_allocator_interface.h [asan] add heap_profile=1 to asan to periodically print the heap profile. So far this is a very basic heap-profile functionality 2016-09-14 22:00:58 +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] remove kBatchClassID that is not used any more; NFC 2016-08-31 00:37:33 +00:00
sanitizer_allocator_primary32.h [sanitizer] remove kBatchClassID that is not used any more; NFC 2016-08-31 00:37:33 +00:00
sanitizer_allocator_primary64.h [sanitizer] fix an allocator bug where the allocated memory may overlap with the free array (kudos to Kostya Korcthinsky). Also make sure that the allocator does not mmap more than requested. Test both. 2016-09-09 21:42:33 +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] extend SizeClassMap to take more template parameters, add VeryCompactSizeClassMap for testing purposes 2016-08-31 17:52:55 +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] fix for ARM Linux, patch by Maxim Ostapenko 2014-05-13 08:01:59 +00:00
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] 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 [sanitizer] Fix darwin Go tsan build by unifying r281567 and r281553. 2016-09-15 04:28:20 +00:00
sanitizer_common.h [sanitizer] replace CHECK with CHECK_XY in two places for better diagnostics 2016-09-12 20:39:13 +00:00
sanitizer_common_interceptors.inc [sanitizer] Add interceptor for ttyname_r 2016-09-09 23:09:34 +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 sanitizer_common: Fix warning 2016-08-16 18:28:55 +00:00
sanitizer_common_libcdep.cc [sanitizer] one more attempt to fix things with __sanitizer_print_memory_profile 2016-09-15 02:11:07 +00:00
sanitizer_common_nolibc.cc Fix linker warning about sanitizer_common_nolibc functions on Windows 2016-09-08 16:46:06 +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 [sanitizer-coverage] add two more modes of instrumentation: trace-div and trace-gep, mostly usaful for value-profile-based fuzzing; run-time part 2016-08-30 01:27:46 +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 [asan] add heap_profile=1 to asan to periodically print the heap profile. So far this is a very basic heap-profile functionality 2016-09-14 22:00:58 +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 Revert "[ESan][MIPS] Adds support for MIPS64" 2016-09-08 16:09:46 +00:00
sanitizer_linux.h Revert "[ESan][MIPS] Adds support for MIPS64" 2016-09-08 16:09:46 +00:00
sanitizer_linux_libcdep.cc [asan] Fix build on Linux. 2016-09-07 23:19:16 +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] Fix darwin Go tsan build by unifying r281567 and r281553. 2016-09-15 04:28:20 +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 [msan] Chained origins re-design. 2014-05-21 09:02:13 +00:00
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] Disable 64-bit allocator on android/aarch64. 2016-09-14 20:25:51 +00:00
sanitizer_platform_interceptors.h [sanitizer] Add interceptor for ttyname_r 2016-09-09 23:09:34 +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 Revert "[ESan][MIPS] Adds support for MIPS64" 2016-09-08 16:09:46 +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 Fix tsan-go build. 2016-09-08 19:16:01 +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 [sanitizer] fix a potential buffer overflow due to __sanitizer_symbolize_pc (need to put a zero after strncmp). LOL 2016-09-09 02:13:27 +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] DLAddr Symbolizer should fail if demangle fails 2016-09-15 21:02:09 +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 Really fix the Windows sanitizer build 2016-09-15 15:39:52 +00:00