llvm-project/compiler-rt/lib/asan
Alexander Potapenko 4f1d3e8eaa Make sure NSObjects are allocated in a way that is visible to ASan.
llvm-svn: 153762
2012-03-30 17:31:15 +00:00
..
interception Handle two-byte short jumps in the relocated code. 2012-03-22 11:29:53 +00:00
output_tests [asan] fix unwinding inside libc intercepors (asan issue #46) 2012-03-15 01:36:00 +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 Make sure NSObjects are allocated in a way that is visible to ASan. 2012-03-30 17:31:15 +00:00
Makefile.mk AddressSanitizer: move mach_override inside interception library 2012-02-09 11:36:12 +00:00
Makefile.old [asan]: remove asan_mac.h 2012-03-21 12:29:54 +00:00
README.txt Delete sysinfo/* and all references to it. 2012-01-18 11:42:30 +00:00
asan_allocator.cc Log the allocator messages at a higher verbosity level. 2012-03-27 16:37:16 +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] Support for %z to Printf() 2012-03-21 11:32:46 +00:00
asan_interceptors.cc Add internal_memset and replace the uses of REAL(memset) with it where the performance allows. 2012-03-29 12:20:47 +00:00
asan_interceptors.h Add internal_memset and replace the uses of REAL(memset) with it where the performance allows. 2012-03-29 12:20:47 +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 [ASan] use macro to define if we should intercept signal/sigaction 2012-03-26 09:07:29 +00:00
asan_linux.cc Avoid including link.h. 2012-03-26 09:48:41 +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 Add internal_memset and replace the uses of REAL(memset) with it where the performance allows. 2012-03-29 12:20:47 +00:00
asan_malloc_linux.cc [asan] Support for %z to Printf() 2012-03-21 11:32:46 +00:00
asan_malloc_mac.cc Add internal_memset and replace the uses of REAL(memset) with it where the performance allows. 2012-03-29 12:20:47 +00:00
asan_malloc_win.cc [ASan] Add a few more malloc-related interceptors for Windows 2012-03-23 11:33:02 +00:00
asan_mapping.h [asan] performance optimization: make sure the check for poisoned shadow inside inteceptors is inlined 2012-03-15 01:18:06 +00:00
asan_poisoning.cc [asan] performance optimization: make sure the check for poisoned shadow inside inteceptors is inlined 2012-03-15 01:18:06 +00:00
asan_posix.cc [ASan] Fix build error on Linux; screen-reviewed by glider@google.com 2012-03-13 16:29:25 +00:00
asan_printf.cc [asan] Support for %z to Printf() 2012-03-21 11:32:46 +00:00
asan_procmaps.h [asan] don't use dl_iterate_phdr on linux, go back to using /proc/self/maps. Hopefully fixes the problem reported by our mozilla friends. 2012-03-08 21:19:07 +00:00
asan_rtl.cc [asan] Support for %z to Printf() 2012-03-21 11:32:46 +00:00
asan_stack.cc [asan] Support for %z to Printf() 2012-03-21 11:32:46 +00:00
asan_stack.h [asan] fix unwinding inside libc intercepors (asan issue #46) 2012-03-15 01:36:00 +00:00
asan_stats.cc [asan] Support for %z to Printf() 2012-03-21 11:32:46 +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] Support for %z to Printf() 2012-03-21 11:32:46 +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/Win] Eliminate a couple of FIXMEs, add NORETURN to CheckFailed/UNIMPLEMENTED 2012-03-13 16:12:03 +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/