llvm-project/compiler-rt/lib/asan/tests
Evgeniy Stepanov 8e9c70be7f Add descriptive names to sanitizer entries in /proc/self/maps. Helps debugging.
This is done by creating a named shared memory region, unlinking it
and setting up a private (i.e. copy-on-write) mapping of that instead
of a regular anonymous mapping. I've experimented with regular
(sparse) files, but they can not be scaled to the size of MSan shadow
mapping, at least on Linux/X86_64 and ext3 fs.

Controlled by a common flag, decorate_proc_maps, disabled by default.

This patch has a few shortcomings:
* not all mappings are annotated, especially in TSan.
* our handling of memset() of shadow via mmap() puts small anonymous
  mappings inside larger named mappings, which looks ugly and can, in
  theory, hit the mapping number limit.

llvm-svn: 238621
2015-05-29 22:31:28 +00:00
..
CMakeLists.txt Add descriptive names to sanitizer entries in /proc/self/maps. Helps debugging. 2015-05-29 22:31:28 +00:00
asan_asm_test.cc [asan] Since x32 has 32-bit pointers, it should use the same code sequence as ia32 for AddressSanitizer asm_flags test. Patch by H.J. Lu 2015-03-03 02:45:21 +00:00
asan_benchmarks_test.cc
asan_exceptions_test.cc
asan_fake_stack_test.cc [ASan tests] Don't run FakeStack.CreateDestroy on Windows as it OOMs 2014-05-12 14:49:17 +00:00
asan_globals_test.cc
asan_interface_test.cc Rename asan_allocator2.cc to asan_allocator.cc 2014-12-17 00:26:50 +00:00
asan_mac_test.cc
asan_mac_test.h
asan_mac_test_helpers.mm
asan_mem_test.cc [asan] remove UB (comparison of two unrelated pointers) from a test 2014-02-26 13:53:23 +00:00
asan_noinst_test.cc Fix ASan's Noinst unit tests 2015-02-10 20:37:57 +00:00
asan_oob_test.cc [asan] fix a test following r209508 2014-05-23 11:52:38 +00:00
asan_racy_double_free_test.cc Reapply r201910. MSVC gets __func__ defined explicitly, even though it 2014-02-26 20:33:22 +00:00
asan_str_test.cc sanitizer: new "strict_string_checks" run-time flag 2015-04-06 18:00:26 +00:00
asan_test.cc [Compiler-rt][MIPS] Fix for asan test suite build on mips64/mips64el 2015-04-09 06:58:32 +00:00
asan_test.ignore
asan_test_config.h [Sanitizer tests] Add sanitizer_test_config.h to make the inclusion of gtest.h conditional 2014-05-13 13:25:12 +00:00
asan_test_main.cc
asan_test_utils.h [Sanitizer tests] Add sanitizer_test_config.h to make the inclusion of gtest.h conditional 2014-05-13 13:25:12 +00:00