llvm-project/compiler-rt/lib/asan
Timur Iskhodzhanov bc9bb3f581 Test commit + fix an obvious typo
llvm-svn: 150184
2012-02-09 16:29:41 +00:00
..
interception Test commit + fix an obvious typo 2012-02-09 16:29:41 +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] unpoison the stack before every noreturn call. Fixes asan issue 37. rt part 2012-02-08 21:33:27 +00:00
Makefile.mk AddressSanitizer: move mach_override inside interception library 2012-02-09 11:36:12 +00:00
Makefile.old AddressSanitizer: move mach_override inside interception library 2012-02-09 11:36:12 +00:00
README.txt Delete sysinfo/* and all references to it. 2012-01-18 11:42:30 +00:00
asan_allocator.cc AddressSanitizer: replace all "real_X" calls with "REAL(X)" 2012-02-08 13:45:31 +00:00
asan_allocator.h AddressSanitizer: replace all "real_X" calls with "REAL(X)" 2012-02-08 13:45:31 +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 [asan] unpoison the stack before every noreturn call. Fixes asan issue 37. rt part 2012-02-08 21:33:27 +00:00
asan_interceptors.h AddressSanitizer: start factoring out interception machinery 2012-02-08 19:52:01 +00:00
asan_interface.h [asan] unpoison the stack before every noreturn call. Fixes asan issue 37. rt part 2012-02-08 21:33:27 +00:00
asan_internal.h Move the _ReturnAddress definition out of the __asan:: namespace 2012-02-08 14:14:18 +00:00
asan_linux.cc AddressSanitizer: replace all "real_X" calls with "REAL(X)" 2012-02-08 13:45:31 +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: start factoring out interception machinery 2012-02-08 19:52:01 +00:00
asan_mac.h AddressSanitizer: start factoring out interception machinery 2012-02-08 19:52:01 +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] The first version of Windows malloc interceptors, patch by timurrrr@google.com 2012-02-06 17:56:38 +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: replace all "real_X" calls with "REAL(X)" 2012-02-08 13:45:31 +00:00
asan_printf.cc Make compiler-rt/trunk/lib/asan compileable with Visual Studio 2008 on Windows. 2012-01-27 15:15:04 +00:00
asan_procmaps.h [asan] ifdef/include cleanup 2012-01-30 22:11:04 +00:00
asan_rtl.cc [asan] unpoison the stack before every noreturn call. Fixes asan issue 37. rt part 2012-02-08 21:33:27 +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 AddressSanitizer run-time library. Not yet integrated with the compiler-rt build system, but can be built using the old makefile. See details in README.txt 2011-11-30 01:07:02 +00:00
asan_thread.cc [asan] make sure the AsanThread object is destroyed if pthread_exit is called 2012-02-07 00:27:15 +00:00
asan_thread.h [asan] make sure the AsanThread object is destroyed if pthread_exit is called 2012-02-07 00:27:15 +00:00
asan_thread_registry.cc [asan] make sure the AsanThread object is destroyed if pthread_exit is called 2012-02-07 00:27:15 +00:00
asan_thread_registry.h AddressSanitizer: create AsanThreadSummary together with AsanThread (in parent thread) 2012-01-17 06:35:31 +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/