llvm-project/compiler-rt/lib/tsan/rtl
Dmitry Vyukov de1fd1c83b tsan: do not call malloc/free in memory access handling routine.
This improves signal-/fork-safety of instrumented programs.

llvm-svn: 158988
2012-06-22 11:08:55 +00:00
..
Makefile.mk [tsan] makefile machinery to build tsan-rt (linux-x86_64 only) 2012-05-15 15:17:35 +00:00
Makefile.old [asan,tsan] Add a new directory compiler-rt/lib/sanitizer_common 2012-05-29 12:18:18 +00:00
tsan_allocator.cc [Sanitizer] Use common defines for ASan and TSan runtime. Split defines between interface defines (can be visible in user code that includes interface ASan/TSan headers) and internal defines. 2012-06-05 13:50:57 +00:00
tsan_allocator.h [tsan] First commit of ThreadSanitizer (TSan) run-time library. 2012-05-10 13:48:04 +00:00
tsan_atomic.h [tsan] First commit of ThreadSanitizer (TSan) run-time library. 2012-05-10 13:48:04 +00:00
tsan_clock.cc Remove file-type tags in .cc files in tsan/ and sanitizer_common/ 2012-06-04 13:55:19 +00:00
tsan_clock.h tsan: add shadow memory flush + fix few bugs 2012-05-22 18:07:45 +00:00
tsan_defs.h tsan: do not call malloc/free in memory access handling routine. 2012-06-22 11:08:55 +00:00
tsan_flags.cc [Sanitizer] Use DEFINE_REAL macro in TSan runtime to call libc implementations of functions. Move strchr to sanitizer_libc. 2012-06-15 12:24:07 +00:00
tsan_flags.h [TSan] Add a comment that tsan_flags.h may be included in the user code, and therefore shouldn't include other headers from TSan or common sanitizer runtime. User may need tsan_flags.h to provide its implementation of __tsan::OverrideFlags 2012-06-19 08:57:53 +00:00
tsan_interceptors.cc [Sanitizer] Use DEFINE_REAL macro in TSan runtime to call libc implementations of functions. Move strchr to sanitizer_libc. 2012-06-15 12:24:07 +00:00
tsan_interface.cc Remove file-type tags in .cc files in tsan/ and sanitizer_common/ 2012-06-04 13:55:19 +00:00
tsan_interface.h [tsan] First commit of ThreadSanitizer (TSan) run-time library. 2012-05-10 13:48:04 +00:00
tsan_interface_ann.cc tsan: fix COMPAT mapping to not produce false reports 2012-06-14 21:40:35 +00:00
tsan_interface_ann.h [tsan] First commit of ThreadSanitizer (TSan) run-time library. 2012-05-10 13:48:04 +00:00
tsan_interface_atomic.cc [Sanitizer] move placement_new definiton from TSan to common runtime 2012-06-07 09:50:16 +00:00
tsan_interface_atomic.h tsan: add more atomics to public interface (fetch_or/and/xor + 1-,2-byte versions) 2012-05-14 15:33:00 +00:00
tsan_interface_inl.h [tsan] First commit of ThreadSanitizer (TSan) run-time library. 2012-05-10 13:48:04 +00:00
tsan_md5.cc [Sanitizer] Use DEFINE_REAL macro in TSan runtime to call libc implementations of functions. Move strchr to sanitizer_libc. 2012-06-15 12:24:07 +00:00
tsan_mman.cc tsan: do not call malloc/free in memory access handling routine. 2012-06-22 11:08:55 +00:00
tsan_mman.h tsan: reduce per-thread memory usage 2012-05-22 14:34:43 +00:00
tsan_mutex.cc [Sanitizer] move different wrappers from TSan to common sanitizer runtime 2012-06-18 08:44:30 +00:00
tsan_mutex.h [tsan] First commit of ThreadSanitizer (TSan) run-time library. 2012-05-10 13:48:04 +00:00
tsan_platform.h [Sanitizer] move different wrappers from TSan to common sanitizer runtime 2012-06-18 08:44:30 +00:00
tsan_platform_linux.cc [TSan] kill some linux-specific code in favor of code in common runtime: reuse wrappers for mmap routines, ProcessMaps iterator, thread stack calculation 2012-06-18 09:42:39 +00:00
tsan_printf.cc [Sanitizer]: Introduce a common internal printf function. For now, also use tool-specific wrappers TsanPrintf (its output is controlled by TSan flags) and AsanPrintf (which copies its results to the ASan-private buffer). Supported formats: %[z]{d,u,x}, %s, %p. Re-write all format strings in TSan according to this format (this should have no effect on 64-bit platforms). 2012-06-06 13:11:29 +00:00
tsan_report.cc [Sanitizer]: Introduce a common internal printf function. For now, also use tool-specific wrappers TsanPrintf (its output is controlled by TSan flags) and AsanPrintf (which copies its results to the ASan-private buffer). Supported formats: %[z]{d,u,x}, %s, %p. Re-write all format strings in TSan according to this format (this should have no effect on 64-bit platforms). 2012-06-06 13:11:29 +00:00
tsan_report.h tsan: detect accesses to freed memory 2012-05-17 14:17:51 +00:00
tsan_rtl.cc tsan: do not call malloc/free in memory access handling routine. 2012-06-22 11:08:55 +00:00
tsan_rtl.h tsan: do not call malloc/free in memory access handling routine. 2012-06-22 11:08:55 +00:00
tsan_rtl_amd64.S [tsan] First commit of ThreadSanitizer (TSan) run-time library. 2012-05-10 13:48:04 +00:00
tsan_rtl_mutex.cc [Sanitizer]: Introduce a common internal printf function. For now, also use tool-specific wrappers TsanPrintf (its output is controlled by TSan flags) and AsanPrintf (which copies its results to the ASan-private buffer). Supported formats: %[z]{d,u,x}, %s, %p. Re-write all format strings in TSan according to this format (this should have no effect on 64-bit platforms). 2012-06-06 13:11:29 +00:00
tsan_rtl_report.cc [Sanitizer] Use DEFINE_REAL macro in TSan runtime to call libc implementations of functions. Move strchr to sanitizer_libc. 2012-06-15 12:24:07 +00:00
tsan_rtl_thread.cc [Sanitizer] Use DEFINE_REAL macro in TSan runtime to call libc implementations of functions. Move strchr to sanitizer_libc. 2012-06-15 12:24:07 +00:00
tsan_stat.cc [Sanitizer]: Introduce a common internal printf function. For now, also use tool-specific wrappers TsanPrintf (its output is controlled by TSan flags) and AsanPrintf (which copies its results to the ASan-private buffer). Supported formats: %[z]{d,u,x}, %s, %p. Re-write all format strings in TSan according to this format (this should have no effect on 64-bit platforms). 2012-06-06 13:11:29 +00:00
tsan_stat.h tsan: intercept longjmp() but die in it, greatly simplifies problem diagnostic 2012-05-31 18:03:59 +00:00
tsan_suppressions.cc [Sanitizer] Renaming: SNPrintf -> internal_snprintf (and move it to sanitizer libc) 2012-06-19 09:21:57 +00:00
tsan_suppressions.h tsan: suppress reports against source file names as well 2012-05-31 13:18:11 +00:00
tsan_symbolize.h [tsan] First commit of ThreadSanitizer (TSan) run-time library. 2012-05-10 13:48:04 +00:00
tsan_symbolize_addr2line_linux.cc [Sanitizer] Renaming: SNPrintf -> internal_snprintf (and move it to sanitizer libc) 2012-06-19 09:21:57 +00:00
tsan_sync.cc tsan: do not call malloc/free in memory access handling routine. 2012-06-22 11:08:55 +00:00
tsan_sync.h tsan: do not call malloc/free in memory access handling routine. 2012-06-22 11:08:55 +00:00
tsan_trace.h tsan: do not call malloc/free in memory access handling routine. 2012-06-22 11:08:55 +00:00
tsan_update_shadow_word_inl.h [tsan] First commit of ThreadSanitizer (TSan) run-time library. 2012-05-10 13:48:04 +00:00
tsan_vector.h [Sanitizer] Use DEFINE_REAL macro in TSan runtime to call libc implementations of functions. Move strchr to sanitizer_libc. 2012-06-15 12:24:07 +00:00