hanchenye-llvm-project/compiler-rt/lib/asan
Evgeniy Stepanov f485c3ccbd [asan] Add a negative test for memcpy of long double.
llvm-svn: 151888
2012-03-02 10:42:10 +00:00
..
interception [ASan] Intercept CreateThread on Windows 2012-02-24 15:28:43 +00:00
output_tests AddressSanitizer: don't use /tmp for temporary file in output tests. 2012-02-21 07:08:38 +00:00
scripts More accurate atos execution which depends on the file type (EXECUTE, DYLIB) of the binary. 2012-01-26 17:06:50 +00:00
tests [asan] Add a negative test for memcpy of long double. 2012-03-02 10:42:10 +00:00
Makefile.mk AddressSanitizer: move mach_override inside interception library 2012-02-09 11:36:12 +00:00
Makefile.old [asan] don't compile gtest with asan when building asan tests 2012-02-24 20:49:36 +00:00
README.txt Delete sysinfo/* and all references to it. 2012-01-18 11:42:30 +00:00
asan_allocator.cc Replace some #ifdef(s) with plain if(s). 2012-02-27 13:07:29 +00:00
asan_allocator.h Check that the FakeStack size is non-zero before looking into it. 2012-02-21 08:45:41 +00:00
asan_globals.cc [asan] fix a bug (issue 19) where dlclose and the following mmap caused a false positive. run-time part. 2011-12-15 21:55:34 +00:00
asan_interceptors.cc Introduce __asan_set_error_report_callback() to allow the client program post-process the error reports. 2012-02-27 14:06:48 +00:00
asan_interceptors.h Introduce __asan_set_error_report_callback() to allow the client program post-process the error reports. 2012-02-27 14:06:48 +00:00
asan_interface.h Introduce __asan_set_error_report_callback() to allow the client program post-process the error reports. 2012-02-27 14:06:48 +00:00
asan_internal.h Replace some #ifdef(s) with plain if(s). 2012-02-27 13:07:29 +00:00
asan_linux.cc Move the non-trivial implementation of AsanShadowRangeIsAvailable to asan_mac.cc 2012-02-13 17:09:40 +00:00
asan_lock.h [asan] move OS-dependent code away from asan_lock.h 2012-01-10 21:24:40 +00:00
asan_mac.cc AddressSanitizer: simplify IntervalsAreSeparate function 2012-02-15 08:27:34 +00:00
asan_mac.h AddressSanitizer: Don't include GrandCentralDispatch headers in asan headers on Mac 2012-02-21 08:30:57 +00:00
asan_malloc_linux.cc AddressSanitizer: replace all "real_X" calls with "REAL(X)" 2012-02-08 13:45:31 +00:00
asan_malloc_mac.cc AddressSanitizer: start factoring out interception machinery 2012-02-08 19:52:01 +00:00
asan_malloc_win.cc [ASan] Replace CRT .dll malloc with our implementation at asan_init() time 2012-02-29 11:43:03 +00:00
asan_mapping.h Refactor shadow poisoning done by asan-rt, no funtionality changes; patch by samsonov@google.com 2011-11-30 18:50:23 +00:00
asan_poisoning.cc AddressSanitizer: replace all "real_X" calls with "REAL(X)" 2012-02-08 13:45:31 +00:00
asan_posix.cc AddressSanitizer: get rid of stdlib.h and add (smaller) stddef.h instead 2012-02-22 14:07:06 +00:00
asan_printf.cc Introduce __asan_set_error_report_callback() to allow the client program post-process the error reports. 2012-02-27 14:06:48 +00:00
asan_procmaps.h Move the contents of AsanProcMaps::Dump() into AsanDumpProcessMaps() for Posix systems. 2012-02-22 09:11:55 +00:00
asan_rtl.cc Force __asan_set_death_callback into the resulting binary. 2012-03-01 14:39:21 +00:00
asan_stack.cc AddressSanitizer: replace all "real_X" calls with "REAL(X)" 2012-02-08 13:45:31 +00:00
asan_stack.h EHABI-based stack trace on ARM. 2012-01-19 11:34:18 +00:00
asan_stats.cc AddressSanitizer: replace all "real_X" calls with "REAL(X)" 2012-02-08 13:45:31 +00:00
asan_stats.h
asan_thread.cc [ASan] Intercept CreateThread on Windows 2012-02-24 15:28:43 +00:00
asan_thread.h [ASan] Intercept CreateThread on Windows 2012-02-24 15:28:43 +00:00
asan_thread_registry.cc Check that the FakeStack size is non-zero before looking into it. 2012-02-21 08:45:41 +00:00
asan_thread_registry.h AddressSanitizer: create AsanThreadSummary together with AsanThread (in parent thread) 2012-01-17 06:35:31 +00:00
asan_win.cc [ASan] Intercept CreateThread on Windows 2012-02-24 15:28:43 +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      : Currently a stub for a proper makefile. not usable.
Makefile.old     : Old out-of-tree makefile, the only usable one so far.
asan_*.{cc,h}    : Sources of the asan run-time lirbary.
mach_override/*  : Utility to override functions on Darwin (MIT License).
scripts/*        : Helper scripts.

Temporary build instructions (verified on linux):

cd lib/asan
make -f Makefile.old get_third_party  # gets googletest and cpplint
make -f Makefile.old test -j 8 CLANG_BUILD=/path/to/Release+Asserts
# Optional:
# make -f Makefile.old install # installs clang and rt to lib/asan_clang_linux

For more info see http://code.google.com/p/address-sanitizer/