llvm-project/compiler-rt/test/lsan/TestCases
Evgeniy Stepanov f1b6bd403d [lsan] Fix deadlock in dl_iterate_phdr.
Summary:
Do not grab the allocator lock before calling dl_iterate_phdr. This may
cause a lock order inversion with (valid) user code that uses malloc
inside a dl_iterate_phdr callback.

Reviewers: vitalybuka, hctim

Subscribers: jfb, #sanitizers, llvm-commits

Tags: #sanitizers, #llvm

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

llvm-svn: 372348
2019-09-19 19:52:57 +00:00
..
Darwin [compiler-rt] Rename lit.*.cfg.* -> lit.*.cfg.py.* 2019-06-27 20:56:04 +00:00
Linux [lsan] Fix deadlock in dl_iterate_phdr. 2019-09-19 19:52:57 +00:00
Posix [compiler-rt] Rename lit.*.cfg.* -> lit.*.cfg.py.* 2019-06-27 20:56:04 +00:00
default_options.cpp compiler-rt: Rename .cc file in test/lsan to .cpp 2019-08-05 07:04:42 +00:00
disabler.c Allow for setting of global platform-specific lsan options in the test suite 2017-04-18 20:56:56 +00:00
disabler.cpp compiler-rt: Rename .cc file in test/lsan to .cpp 2019-08-05 07:04:42 +00:00
do_leak_check_override.cpp compiler-rt: Rename .cc file in test/lsan to .cpp 2019-08-05 07:04:42 +00:00
high_allocator_contention.cpp compiler-rt: Rename .cc file in test/lsan to .cpp 2019-08-05 07:04:42 +00:00
ignore_object.c Allow for setting of global platform-specific lsan options in the test suite 2017-04-18 20:56:56 +00:00
ignore_object_errors.cpp compiler-rt: Rename .cc file in test/lsan to .cpp 2019-08-05 07:04:42 +00:00
large_allocation_leak.cpp compiler-rt: Rename .cc file in test/lsan to .cpp 2019-08-05 07:04:42 +00:00
leak_check_at_exit.cpp compiler-rt: Rename .cc file in test/lsan to .cpp 2019-08-05 07:04:42 +00:00
leak_check_before_thread_started.cpp compiler-rt: Rename .cc file in test/lsan to .cpp 2019-08-05 07:04:42 +00:00
link_turned_off.cpp compiler-rt: Rename .cc file in test/lsan to .cpp 2019-08-05 07:04:42 +00:00
many_tls_keys_pthread.cpp Commit missing part of "Split many_tls_keys.cpp into two tests" 2019-09-15 21:04:50 +00:00
many_tls_keys_thread.cpp Commit missing part of "Split many_tls_keys.cpp into two tests" 2019-09-15 21:04:50 +00:00
new_array_with_dtor_0.cpp compiler-rt: Rename .cc file in test/lsan to .cpp 2019-08-05 07:04:42 +00:00
pointer_to_self.cpp compiler-rt: Rename .cc file in test/lsan to .cpp 2019-08-05 07:04:42 +00:00
print_suppressions.cpp compiler-rt: Rename .cc file in test/lsan to .cpp 2019-08-05 07:04:42 +00:00
recoverable_leak_check.cpp compiler-rt: Rename .cc file in test/lsan to .cpp 2019-08-05 07:04:42 +00:00
register_root_region.cpp compiler-rt: Rename .cc file in test/lsan to .cpp 2019-08-05 07:04:42 +00:00
sanity_check_pure_c.c
stale_stack_leak.cpp compiler-rt: Rename .cc file in test/lsan to .cpp 2019-08-05 07:04:42 +00:00
strace_test.cpp compiler-rt: Rename .cc file in test/lsan to .cpp 2019-08-05 07:04:42 +00:00
suppressions_default.cpp compiler-rt: Rename .cc file in test/lsan to .cpp 2019-08-05 07:04:42 +00:00
suppressions_file.cpp compiler-rt: Rename .cc file in test/lsan to .cpp 2019-08-05 07:04:42 +00:00
swapcontext.cpp compiler-rt: Rename .cc file in test/lsan to .cpp 2019-08-05 07:04:42 +00:00
use_after_return.cpp compiler-rt: Rename .cc file in test/lsan to .cpp 2019-08-05 07:04:42 +00:00
use_globals_initialized.cpp compiler-rt: Rename .cc file in test/lsan to .cpp 2019-08-05 07:04:42 +00:00
use_globals_uninitialized.cpp compiler-rt: Rename .cc file in test/lsan to .cpp 2019-08-05 07:04:42 +00:00
use_poisoned_asan.cpp compiler-rt: Rename .cc file in test/lsan to .cpp 2019-08-05 07:04:42 +00:00
use_registers.cpp compiler-rt: Rename .cc file in test/lsan to .cpp 2019-08-05 07:04:42 +00:00
use_stacks.cpp compiler-rt: Rename .cc file in test/lsan to .cpp 2019-08-05 07:04:42 +00:00
use_stacks_threaded.cpp compiler-rt: Rename .cc file in test/lsan to .cpp 2019-08-05 07:04:42 +00:00
use_unaligned.cpp compiler-rt: Rename .cc file in test/lsan to .cpp 2019-08-05 07:04:42 +00:00