llvm-project/compiler-rt/lib/asan
Timur Iskhodzhanov 36d297d27f [ASan] Intercept functions on Windows - first version
llvm-svn: 151161
2012-02-22 13:59:49 +00:00
..
interception [ASan] Intercept functions on Windows - first version 2012-02-22 13:59:49 +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 AddressSanitizer: fix lint 2012-02-17 08:31:10 +00:00
Makefile.mk AddressSanitizer: move mach_override inside interception library 2012-02-09 11:36:12 +00:00
Makefile.old AddressSanitizer: fix Makefile.old - gtest should depend on libasan 2012-02-22 11:59:44 +00:00
README.txt Delete sysinfo/* and all references to it. 2012-01-18 11:42:30 +00:00
asan_allocator.cc [ASan] Remove one FIXME - re-enable "free-not-malloced" reports on Windows 2012-02-21 09:58:39 +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 [ASan] Intercept functions on Windows - first version 2012-02-22 13:59:49 +00:00
asan_interceptors.h AddressSanitizer: use custom strtol/atoll functions 2012-02-17 16:15:09 +00:00
asan_interface.h [asan] Add lots of missing visibility attributes. 2012-02-14 13:46:06 +00:00
asan_internal.h AddressSanitizer: get rid of limits.h, use constants for fixed size integral types instead. 2012-02-22 12:54:04 +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] Intercept functions on Windows - first version 2012-02-22 13:59:49 +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 Move the contents of AsanProcMaps::Dump() into AsanDumpProcessMaps() for Posix systems. 2012-02-22 09:11:55 +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 Move the contents of AsanProcMaps::Dump() into AsanDumpProcessMaps() for Posix systems. 2012-02-22 09:11:55 +00:00
asan_rtl.cc [ASan] Fix style + suppress 'long' lint warnings 2012-02-22 09:28:14 +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 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 functions on Windows - first version 2012-02-22 13:59:49 +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/