hanchenye-llvm-project/compiler-rt/lib/asan
Alexey Samsonov 59243333de [ASan] Run one of UAS tests in UAR mode as well
llvm-svn: 195015
2013-11-18 14:54:50 +00:00
..
lit_tests [ASan] Run one of UAS tests in UAR mode as well 2013-11-18 14:54:50 +00:00
scripts [ASan] Make asan_symbolize.py fall back to ASAN_SYMBOLIZER_PATH (which is used when ASAN_OPTIONS=symbolize=1) if LLVM_SYMBOLIZER_PATH is empty. 2013-10-31 16:08:09 +00:00
tests [ASan] Introduce a top-level target to collect all ASan runtimes and deps 2013-11-14 12:24:12 +00:00
CMakeLists.txt CMake: don't build sanitizer runtimes on 64-bit Windows (it's unsupported for now) 2013-11-17 10:12:23 +00:00
Makefile.mk [ASan] Delete asan/dynamic dir and temporarily move the interposers declarations to asan_intercepted_functions.h 2013-02-20 15:46:02 +00:00
README.txt [ASan] Nuke output_tests/ in favor of lit_tests/. Stop using Makefile.old. 2012-09-06 06:39:02 +00:00
asan.syms.extra [ASan] ASan can be combined with LSan and UBSan, so export symbol from them as well. 2013-10-23 15:36:22 +00:00
asan_allocator.h [ASan] Do not rely on malloc context in allocator reports. 2013-11-13 14:46:58 +00:00
asan_allocator2.cc [ASan] Do not rely on malloc context in allocator reports. 2013-11-13 14:46:58 +00:00
asan_blacklist.txt [asan] Update blacklists to use categories. 2013-07-09 22:04:28 +00:00
asan_dll_thunk.cc [ASan/Win] Slightly optimize the DLL thunk 2013-09-23 11:40:58 +00:00
asan_fake_stack.cc tsan: move verbosity flag to CommonFlags 2013-10-15 13:28:51 +00:00
asan_fake_stack.h [lsan] Support ASan's stack-use-after-return mode in LSan. 2013-10-14 14:04:50 +00:00
asan_flags.h Reapply asan coverage changes 194702-194704. 2013-11-15 07:18:15 +00:00
asan_globals.cc Introduce an operator new for LowLevelAllocator, and convert most users to it. 2013-10-24 06:23:39 +00:00
asan_intercepted_functions.h [ASan] Remove the explicit function prototypes for intercepted functions on Windows 2013-09-10 14:42:15 +00:00
asan_interceptors.cc asan: disable pthread_setname_np interceptor 2013-11-14 16:48:22 +00:00
asan_interceptors.h [ASan] Delete the code related to static runtime on OS X. 2013-02-05 15:57:12 +00:00
asan_interface_internal.h [asan] add a run-time option detect_stack_use_after_return, add verbosity output for fake stack 2013-09-18 10:35:12 +00:00
asan_internal.h [asan] Improve thread lifetime tracking on POSIX systems. 2013-10-14 12:01:05 +00:00
asan_linux.cc [asan] support __hppa__ (by John David Anglin) 2013-11-18 08:20:13 +00:00
asan_lock.h asan/tsan: move blocking mutex from asan to sanitizer_common 2013-01-14 07:51:39 +00:00
asan_mac.cc tsan: move verbosity flag to CommonFlags 2013-10-15 13:28:51 +00:00
asan_mac.h [ASan] Cache the OSX version to avoid calling sysctl() on every GetMacosVersion() call. 2013-07-16 09:29:48 +00:00
asan_malloc_linux.cc [ASan] Do not rely on malloc context in allocator reports. 2013-11-13 14:46:58 +00:00
asan_malloc_mac.cc [ASan] Do not protect the malloc zone created by malloc_zone_create() on Snow Leopard and earlier systems. 2013-07-04 10:16:12 +00:00
asan_malloc_win.cc [ASan] Do not rely on malloc context in allocator reports. 2013-11-13 14:46:58 +00:00
asan_mapping.h [ASan] Don't add SANITIZER_INTERFACE_ATTRIBUTE for internal ASan functions 2013-09-17 09:42:03 +00:00
asan_new_delete.cc [ASan] Kill the remainders of platform defines in favor of SANITIZER_ defines 2013-04-03 07:29:53 +00:00
asan_poisoning.cc [asan] fix Windows build 2013-11-18 14:26:13 +00:00
asan_poisoning.h [asan] introduce run-time flag 'poison_partial' 2013-10-16 13:49:01 +00:00
asan_posix.cc tsan: move verbosity flag to CommonFlags 2013-10-15 13:28:51 +00:00
asan_preinit.cc [ASan] Rename __asan_preinit to __local_asan_preinit to avoid warnings from the linker which is trying to export all the __asan_* symbols 2013-05-23 09:15:20 +00:00
asan_report.cc [ASan] Do not rely on malloc context in allocator reports. 2013-11-13 14:46:58 +00:00
asan_report.h [ASan] Do not rely on malloc context in allocator reports. 2013-11-13 14:46:58 +00:00
asan_rtl.cc Reapply asan coverage changes 194702-194704. 2013-11-15 07:18:15 +00:00
asan_stack.cc Consistently use StackTrace::PrintStack in ASan, LSan and MSan 2013-11-01 00:19:46 +00:00
asan_stack.h [asan] reduce the size of AsanThreadContext by storing the stack trace in the stack depot 2013-10-18 14:50:44 +00:00
asan_stats.cc Improve collecting malloc stats in ASan 2013-09-02 08:39:07 +00:00
asan_stats.h Improve collecting malloc stats in ASan 2013-09-02 08:39:07 +00:00
asan_thread.cc [asan] fix a leak in tds (https://code.google.com/p/address-sanitizer/issues/detail?id=233) 2013-11-13 13:27:44 +00:00
asan_thread.h [asan] reduce the size of AsanThreadContext by storing the stack trace in the stack depot 2013-10-18 14:50:44 +00:00
asan_win.cc [asan] Improve thread lifetime tracking on POSIX systems. 2013-10-14 12:01:05 +00:00

README.txt

AddressSanitizer RT
================================
This directory contains sources of the AddressSanitizer (asan) run-time library.
We are in the process of integrating AddressSanitizer with LLVM, stay tuned.

Directory structre:
README.txt       : This file.
Makefile.mk      : File for make-based build.
CMakeLists.txt   : File for cmake-based build.
asan_*.{cc,h}    : Sources of the asan run-time lirbary.
scripts/*        : Helper scripts.
tests/*          : ASan unit tests.
lit_tests/*      : ASan output tests.

Also ASan runtime needs the following libraries:
lib/interception/      : Machinery used to intercept function calls.
lib/sanitizer_common/  : Code shared between ASan and TSan.

Currently ASan runtime can be built by both make and cmake build systems.
(see compiler-rt/make and files Makefile.mk for make-based build and
files CMakeLists.txt for cmake-based build).

ASan unit and output tests work only with cmake. You may run this
command from the root of your cmake build tree:

make check-asan

For more instructions see:
http://code.google.com/p/address-sanitizer/wiki/HowToBuild