llvm-project/compiler-rt/lib/asan
Sergey Matveev 0136943e03 [asan] Fix spelling in asan_rtl.cc Test commit.
Reviewers: kcc, glider, samsonov

Reviewed By: glider

CC: llvm-commits

Differential Revision: http://llvm-reviews.chandlerc.com/D676

llvm-svn: 179595
2013-04-16 14:58:45 +00:00
..
lit_tests [sanitizer] Add syscall handlers to ASan and TSan runtimes. 2013-04-12 14:57:03 +00:00
scripts [asan] added flag -d|--demangle to asan_symbolize.py, makes addr2line/llvm-symbolizer demangle the functions names 2013-02-18 08:02:16 +00:00
tests [asan] nuke the old unused allocator code 2013-04-04 11:32:49 +00:00
CMakeLists.txt [asan] nuke the old unused allocator code 2013-04-04 11:32:49 +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 Build and install .syms files alongside sanitizer runtimes. These are used to 2013-03-23 00:31:07 +00:00
asan_allocator.h [asan] move fake stack into a separate .h file; actually disable a failing test 2013-04-11 11:39:19 +00:00
asan_allocator2.cc [asan] nuke the old unused allocator code 2013-04-04 11:32:49 +00:00
asan_fake_stack.cc [asan] improve the UAR reporting (try harder to find the correct frame), try to make the test more stable 2013-04-11 15:35:40 +00:00
asan_fake_stack.h [asan] make heavy_uar_test a bit more heavy and fix he fake stack to pass this test 2013-04-11 14:07:02 +00:00
asan_flags.h [asan] inline flags(), up to 1% perf gain on malloc-intensive code 2013-04-11 18:36:04 +00:00
asan_globals.cc Make all the ALWAYS_INLINE users Windows-friendly; also, avoid ALWAYS_INLINE INLINE combinations 2013-03-28 18:52:40 +00:00
asan_intercepted_functions.h asan/tsan: move strcasecmp() interceptor to sanitizer_common 2013-03-26 12:40:23 +00:00
asan_interceptors.cc [sanitizer] Add syscall handlers to ASan and TSan runtimes. 2013-04-12 14:57:03 +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] Change the ABI of __asan_before_dynamic_init function: now it takes pointer to private string with module name. This string serves as a unique module ID in ASan runtime. compiler-rt part 2013-03-26 13:06:12 +00:00
asan_internal.h [ASan] Kill the remainders of platform defines in favor of SANITIZER_ defines 2013-04-03 07:29:53 +00:00
asan_linux.cc [ASan] Kill the remainders of platform defines in favor of SANITIZER_ defines 2013-04-03 07:29:53 +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 [sanitizer] found a bug by code inspection: CHECK(a=b) instead of CHECK(a==b). Was puzzled why lint did not catch it. Turns out this check was disabled for asan source. fix all cases and enable the check 2013-04-05 14:40:25 +00:00
asan_mac.h [sanitizer] Replace more platform checks with SANITIZER_ constants. 2013-03-19 14:33:38 +00:00
asan_malloc_linux.cc [ASan] Kill the remainders of platform defines in favor of SANITIZER_ defines 2013-04-03 07:29:53 +00:00
asan_malloc_mac.cc [ASan] Kill the remainders of platform defines in favor of SANITIZER_ defines 2013-04-03 07:29:53 +00:00
asan_malloc_win.cc [sanitizer] More renamed macros. 2013-03-19 14:54:17 +00:00
asan_mapping.h [sanitizer] Move ASan platform macros to sanitizer_common and rename them appropriately. 2013-03-19 13:54:41 +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] implement callbacks for unaligned loads/stores 2013-04-10 13:59:32 +00:00
asan_poisoning.h Make all the ALWAYS_INLINE users Windows-friendly; also, avoid ALWAYS_INLINE INLINE combinations 2013-03-28 18:52:40 +00:00
asan_posix.cc [sanitizer] found a bug by code inspection: CHECK(a=b) instead of CHECK(a==b). Was puzzled why lint did not catch it. Turns out this check was disabled for asan source. fix all cases and enable the check 2013-04-05 14:40:25 +00:00
asan_preinit.cc [sanitizer] Replace more platform checks with SANITIZER_ constants. 2013-03-19 14:33:38 +00:00
asan_report.cc [ASan] Symbolize correct address when printint error summary 2013-04-11 11:45:04 +00:00
asan_report.h [ASan] Switch ASan to generic ThreadRegistry from sanitizer_common. Delete ASan-specific AsanThreadRegistry. 2013-03-21 11:23:41 +00:00
asan_rtl.cc [asan] Fix spelling in asan_rtl.cc Test commit. 2013-04-16 14:58:45 +00:00
asan_stack.cc [sanitizer] Replace more platform checks with SANITIZER_ constants. 2013-03-19 14:33:38 +00:00
asan_stack.h [asan] add two asan flags: fast_unwind_on_fatal and fast_unwind_on_malloc to allow using the slow CFI-based unwinder 2012-12-13 09:34:23 +00:00
asan_stats.cc [sanitizer] found a bug by code inspection: CHECK(a=b) instead of CHECK(a==b). Was puzzled why lint did not catch it. Turns out this check was disabled for asan source. fix all cases and enable the check 2013-04-05 14:40:25 +00:00
asan_stats.h [ASan] Switch ASan to generic ThreadRegistry from sanitizer_common. Delete ASan-specific AsanThreadRegistry. 2013-03-21 11:23:41 +00:00
asan_thread.cc [sanitizer] found a bug by code inspection: CHECK(a=b) instead of CHECK(a==b). Was puzzled why lint did not catch it. Turns out this check was disabled for asan source. fix all cases and enable the check 2013-04-05 14:40:25 +00:00
asan_thread.h [asan] move fake stack into a separate .h file; actually disable a failing test 2013-04-11 11:39:19 +00:00
asan_win.cc [sanitizer] More renamed macros. 2013-03-19 14:54:17 +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