llvm-project/compiler-rt/lib/sanitizer_common
Evgeniy Stepanov 2a25bfe06a [sanitizer] Get full argv and envp on glibc.
/proc/$PID/cmdline is clipped to 4Kb.
Locate argv and envp on the main thread stack.

llvm-svn: 175163
2013-02-14 14:40:03 +00:00
..
scripts [sanitizer] Intercept __isoc99_*scanf. 2013-02-12 11:34:52 +00:00
tests [sanitizer] Tests for scanf parser in allowGnuMalloc=false mode. 2013-02-12 14:37:55 +00:00
CMakeLists.txt CMake: Add add_compiler_rt_osx_object_library to create universal libraries on Mac 2013-01-20 14:36:12 +00:00
Makefile.mk
sanitizer_allocator.cc [sanitizer] improve the calloc overflow check (spotted by samsonov@) 2013-01-25 12:22:21 +00:00
sanitizer_allocator.h [ASan] Switch Windows to allocator v2, also fixing some build errors 2013-02-08 12:02:00 +00:00
sanitizer_atomic.h [ASan] cmake cleanup: make tab/space padding in CMakeLists consistent, silence/fix some pedantic warnings 2012-07-02 06:48:10 +00:00
sanitizer_atomic_clang.h tsan: add the FIXME 2013-01-14 08:12:47 +00:00
sanitizer_atomic_msvc.h tsan: add the FIXME 2013-01-14 08:12:47 +00:00
sanitizer_common.cc [msan] add strip_path_prefix flag; print error summary; don't crash while printing summary if debug info is missing. The tests will follow later once we establish the lit-like tests for msan. 2013-02-07 08:04:56 +00:00
sanitizer_common.h [ASan] Move functions using BitScan/clzl to sanitizer_common 2013-02-08 11:45:04 +00:00
sanitizer_common_interceptors.inc [sanitizer] More accurate scanf parsing without GNU extensions. 2013-02-12 14:29:34 +00:00
sanitizer_common_interceptors_scanf.inc [sanitizer] More accurate scanf parsing without GNU extensions. 2013-02-12 14:29:34 +00:00
sanitizer_flags.cc [Sanitizer] align allocation sizes in low level allocator 2012-08-27 14:51:36 +00:00
sanitizer_flags.h [Sanitizer] fix CMake build 2012-07-10 09:17:06 +00:00
sanitizer_internal_defs.h [asan] print a short one-line report summary after the full report. Currently, works only if symbolization happens in-process. 2013-02-06 12:36:49 +00:00
sanitizer_lfstack.h [Sanitizer] update style checker script and fix namespace style warnings 2013-01-30 07:45:58 +00:00
sanitizer_libc.cc asan/tsan: fix compilation errors/bugs on Windows where long is 32-bit even in 64-bit mode 2013-02-04 08:07:45 +00:00
sanitizer_libc.h [Sanitizer] extend internal libc with stat/fstat/lstat functions 2013-02-04 10:16:50 +00:00
sanitizer_linux.cc [sanitizer] Get full argv and envp on glibc. 2013-02-14 14:40:03 +00:00
sanitizer_list.h asan/tsan: fix bug in list implementation 2013-01-11 10:15:13 +00:00
sanitizer_mac.cc Use 64-bit inodes in file operations. ASan is now built with -mmacosx-version-min=10.5, thus the default inode 2013-02-06 14:41:15 +00:00
sanitizer_mutex.h asan: fix compilation errors in mutex 2013-01-14 08:01:58 +00:00
sanitizer_placement_new.h [asan/tsan] do not use __WORDSIZE macro, as it is glibc-private thing. Instead, define our own SANITIZER_WORDSIZE 2012-11-21 12:38:58 +00:00
sanitizer_platform_interceptors.h [sanitizer] Disable scanf interceptor on windows. 2013-01-21 13:30:08 +00:00
sanitizer_posix.cc [Sanitizer] make internal_open have the same interface as libc version 2013-02-01 15:58:46 +00:00
sanitizer_printf.cc Don't escape %s in printf usage message; it's not written by printf. 2012-12-18 05:49:49 +00:00
sanitizer_procmaps.h Use a struct to hold the /proc/self/maps buffer on Linux. 2012-12-03 21:21:22 +00:00
sanitizer_quarantine.h [ASan] Switch Windows to allocator v2, also fixing some build errors 2013-02-08 12:02:00 +00:00
sanitizer_report_decorator.h [asan] add some colors to asan output if printing to tty (following ubsan) 2012-12-18 07:32:16 +00:00
sanitizer_stackdepot.cc [asan] asan_allocator2: by default use the StackDepot to store the stack traces instead of storing them in the redzones 2012-12-26 06:30:02 +00:00
sanitizer_stackdepot.h [sanitizer] Further split private and public sanitizer headers. 2013-01-30 13:12:08 +00:00
sanitizer_stacktrace.cc [msan] add strip_path_prefix flag; print error summary; don't crash while printing summary if debug info is missing. The tests will follow later once we establish the lit-like tests for msan. 2013-02-07 08:04:56 +00:00
sanitizer_stacktrace.h [asan] print a short one-line report summary after the full report. Currently, works only if symbolization happens in-process. 2013-02-06 12:36:49 +00:00
sanitizer_symbolizer.cc tsan: add IsSymbolizerAvailable() function for querying for presence of internal/external symbolizer 2013-01-29 09:35:14 +00:00
sanitizer_symbolizer.h tsan: add IsSymbolizerAvailable() function for querying for presence of internal/external symbolizer 2013-01-29 09:35:14 +00:00
sanitizer_symbolizer_itanium.cc [Sanitizer] Modify CMake build rules for sanitizer_common unit tests: build them with fresh Clang for both 32- and 64-bits (if possible) 2012-12-20 13:24:21 +00:00
sanitizer_symbolizer_linux.cc [Sanitizer] add sanity checks for communication with external symbolizer 2012-11-09 14:45:30 +00:00
sanitizer_symbolizer_mac.cc [Sanitizer] Remove unneeded returns after UNIMPLEMENTED macro 2012-10-09 08:51:08 +00:00
sanitizer_symbolizer_win.cc Move C++ name demangling support from ubsan into sanitizer_common. 2012-12-20 05:00:13 +00:00
sanitizer_win.cc [ASan] Switch Windows to allocator v2, also fixing some build errors 2013-02-08 12:02:00 +00:00