llvm-project/compiler-rt/test/sanitizer_common
Julian Lettner 5ef4b190d9 [Sanitizer][Darwin] Add interceptor for malloc_zone_from_ptr
Ensure that malloc_default_zone and malloc_zone_from_ptr return the
sanitizer-installed malloc zone even when MallocStackLogging (MSL) is
requested. This prevents crashes in certain situations. Note that the
sanitizers and MSL cannot be used together. If both are enabled, MSL
functionality is essentially deactivated since it only hooks the default
allocator which is replaced by a custom sanitizer allocator.

rdar://53686175

Reviewed By: kubamracek

Differential Revision: https://reviews.llvm.org/D65990

llvm-svn: 368492
2019-08-09 21:46:32 +00:00
..
TestCases [Sanitizer][Darwin] Add interceptor for malloc_zone_from_ptr 2019-08-09 21:46:32 +00:00
Unit [compiler-rt] Rename lit.*.cfg.* -> lit.*.cfg.py.* 2019-06-27 20:56:04 +00:00
android_commands [sanitizer] Simplify android_run.py. 2017-12-07 01:28:44 +00:00
ios_commands Enable `asan/TestCases/Posix/start-deactivated.cc` test for iOS. 2019-03-21 19:20:44 +00:00
CMakeLists.txt [compiler-rt] Rename lit.*.cfg.* -> lit.*.cfg.py.* 2019-06-27 20:56:04 +00:00
lit.common.cfg.py compiler-rt: Remove .cc from all lit config files 2019-08-05 19:25:35 +00:00
lit.site.cfg.py.in [compiler-rt] Rename lit.*.cfg.* -> lit.*.cfg.py.* 2019-06-27 20:56:04 +00:00
print_address.h Use 0-padding for i386 and arm print format specifiers 2017-04-12 14:25:28 +00:00
sanitizer_ucontext.h [TSan] Support fiber API on macOS 2019-04-20 00:18:44 +00:00