llvm-project/compiler-rt/lib/asan
Evgeniy Stepanov fe906a1df6 [asan] Restore lost -pie in Android tests.
llvm-svn: 199379
2014-01-16 13:11:37 +00:00
..
lit_tests [asan] Implement delayed activation of AddressSanitizer 2014-01-16 12:31: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] Restore lost -pie in Android tests. 2014-01-16 13:11:37 +00:00
CMakeLists.txt [asan] Implement delayed activation of AddressSanitizer 2014-01-16 12:31:50 +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_activation.cc [asan] Implement delayed activation of AddressSanitizer 2014-01-16 12:31:50 +00:00
asan_activation.h [asan] Implement delayed activation of AddressSanitizer 2014-01-16 12:31:50 +00:00
asan_allocator.h [ASan] Clarify that AsanThread objects are allocated only via mmap(). No functionality change. 2013-11-27 13:22:21 +00:00
asan_allocator2.cc [asan] Implement delayed activation of AddressSanitizer 2014-01-16 12:31:50 +00:00
asan_blacklist.txt [asan] Update blacklists to use categories. 2013-07-09 22:04:28 +00:00
asan_dll_thunk.cc Add a DLL thunk for __asan_handle_no_return 2013-11-27 14:36:44 +00:00
asan_fake_stack.cc [asan] replace the flag uar_stack_size_log with two flags min_uar_stack_size_log/max_uar_stack_size_log 2013-12-16 08:42:08 +00:00
asan_fake_stack.h [asan] if verbosity>=2, print the fake stack usage stats at thread exit; No functionality change in non-verboze mode 2013-12-11 13:54:01 +00:00
asan_flags.h [asan] Implement delayed activation of AddressSanitizer 2014-01-16 12:31:50 +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_interceptors.cc [asan] Implement delayed activation of AddressSanitizer 2014-01-16 12:31:50 +00:00
asan_interceptors.h [ASan] Delete asan_intercepted_functions.h, move the code into asan_interceptors.h 2013-12-26 15:34:31 +00:00
asan_interface_internal.h [ASan] Get rid of __asan_symbolize function 2013-12-19 11:08:47 +00:00
asan_internal.h [asan] Implement delayed activation of AddressSanitizer 2014-01-16 12:31:50 +00:00
asan_linux.cc Revert three patches which were committed without explicit contribution 2013-12-09 19:25:51 +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 [ASan] Delete asan_intercepted_functions.h, move the code into asan_interceptors.h 2013-12-26 15:34:31 +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] Implement delayed activation of AddressSanitizer 2014-01-16 12:31:50 +00:00
asan_malloc_win.cc [sanitizer] Use the new sanitizer_interception.h header in all interceptors. 2013-12-20 13:17:31 +00:00
asan_mapping.h [asan] Nuke ASAN_FLEXIBLE_MAPPING_AND_OFFSET. 2014-01-16 10:16:19 +00:00
asan_new_delete.cc [sanitizer] Use the new sanitizer_interception.h header in all interceptors. 2013-12-20 13:17:31 +00:00
asan_poisoning.cc [asan] convert a CHECK failure in __sanitizer_annotate_contiguous_container into a proper warning message 2013-12-23 07:01:43 +00:00
asan_poisoning.h [asan] when a fake stack is being unmapped also flush the corresponding shadow 2013-12-11 14:26:41 +00:00
asan_posix.cc [sanitizer] Introduce VReport and VPrintf macros and use them in sanitizer code. 2013-12-05 12:04: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] convert a CHECK failure in __sanitizer_annotate_contiguous_container into a proper warning message 2013-12-23 07:01:43 +00:00
asan_report.h [asan] convert a CHECK failure in __sanitizer_annotate_contiguous_container into a proper warning message 2013-12-23 07:01:43 +00:00
asan_rtl.cc [asan] Implement delayed activation of AddressSanitizer 2014-01-16 12:31:50 +00:00
asan_stack.cc [ASan] Get rid of ASan-specific functions for printing stack traces 2013-12-19 11:25:05 +00:00
asan_stack.h [ASan] Get rid of ASan-specific functions for printing stack traces 2013-12-19 11:25:05 +00:00
asan_stats.cc Improve collecting malloc stats in ASan 2013-09-02 08:39:07 +00:00
asan_stats.h [ASan] Clarify that AsanThread objects are allocated only via mmap(). No functionality change. 2013-11-27 13:22:21 +00:00
asan_thread.cc [asan] replace the flag uar_stack_size_log with two flags min_uar_stack_size_log/max_uar_stack_size_log 2013-12-16 08:42:08 +00:00
asan_thread.h [asan] if verbosity>=2, print the fake stack usage stats at thread exit; No functionality change in non-verboze mode 2013-12-11 13:54:01 +00:00
asan_win.cc [Sanitizer] Implement Symbolizer class on Windows 2013-12-18 14:29:16 +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