llvm-project/compiler-rt/lib/asan
Alexander Potapenko 1159250518 s/Printf/Report for libc interceptors (need this to debug the potential double interception)
llvm-svn: 153175
2012-03-21 09:33:05 +00:00
..
interception [ASan] Add back the support for /MT; intercept statically-linked functions 2012-03-12 11:45:09 +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 [asan] disable GetOwnershipStressTest on non-linux 2012-03-16 22:15:22 +00:00
Makefile.mk AddressSanitizer: move mach_override inside interception library 2012-02-09 11:36:12 +00:00
Makefile.old [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
README.txt Delete sysinfo/* and all references to it. 2012-01-18 11:42:30 +00:00
asan_allocator.cc AddressSanitizer: fix a couple of typos 2012-03-13 06:46:32 +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 s/Printf/Report for libc interceptors (need this to debug the potential double interception) 2012-03-21 09:33:05 +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 [ASan]: remove GetMacosVersion from asan_mac.h header 2012-03-20 10:54:40 +00:00
asan_linux.cc [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_lock.h [asan] move OS-dependent code away from asan_lock.h 2012-01-10 21:24:40 +00:00
asan_mac.cc [ASan]: remove GetMacosVersion from asan_mac.h header 2012-03-20 10:54:40 +00:00
asan_mac.h [ASan] get rid of setjmp.h header in interceptors 2012-03-20 11:40:09 +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 Make sure to properly ifdef out an unused function on OSX < 10.6. PR12136. Patch from Jeremy Huddleston. 2012-03-06 01:21:14 +00:00
asan_malloc_win.cc [ASan] Add back the support for /MT; intercept statically-linked functions 2012-03-12 11:45:09 +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 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 [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]: re-enable noreturn attribute on posix 2012-03-20 10:14:55 +00:00
asan_stack.cc [asan]: fix off-by-one error in stack unwinder (asan issue #44; reproduced thanks to 'csmith' fuzzer) 2012-03-08 22:25:08 +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 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] 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/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/