llvm-project/compiler-rt/lib/asan
Alexey Samsonov f5e2dc3c3d [ASan] use internal_open from sanitizer_libc in ASan runtime
llvm-svn: 157986
2012-06-05 07:25:47 +00:00
..
output_tests Fix the wildcards for two output tests on Darwin. 2012-05-31 13:55:40 +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 Remove file-type tags for .cc files in ASan run-time library 2012-06-04 13:50:10 +00:00
CMakeLists.txt Initial, very rough cut at a new CMake build system for compiler-rt. 2012-04-04 22:12:04 +00:00
Makefile.mk [asan] move lib/asan/interception to lib/interception so that other tools (e.g. tsan) can use it 2012-05-15 12:21:33 +00:00
Makefile.old [ASan] Fix a typo in Makefile.old 2012-06-05 05:20:33 +00:00
README.txt Delete sysinfo/* and all references to it. 2012-01-18 11:42:30 +00:00
asan_allocator.cc Remove file-type tags for .cc files in ASan run-time library 2012-06-04 13:50:10 +00:00
asan_allocator.h [asan] more renaming 2012-05-31 15:02:07 +00:00
asan_globals.cc Remove file-type tags for .cc files in ASan run-time library 2012-06-04 13:50:10 +00:00
asan_interceptors.cc Remove file-type tags for .cc files in ASan run-time library 2012-06-04 13:50:10 +00:00
asan_interceptors.h [Sanitizer]: move internal_strcmp to sanitizer_common 2012-06-04 13:27:49 +00:00
asan_interface.h [asan] more renaming 2012-05-31 14:35:53 +00:00
asan_internal.h [ASan] use internal_open from sanitizer_libc in ASan runtime 2012-06-05 07:25:47 +00:00
asan_linux.cc [ASan] use internal_open from sanitizer_libc in ASan runtime 2012-06-05 07:25:47 +00:00
asan_lock.h [asan] more renaming 2012-05-31 14:35:53 +00:00
asan_mac.cc [ASan] use internal_open from sanitizer_libc in ASan runtime 2012-06-05 07:25:47 +00:00
asan_malloc_linux.cc Remove file-type tags for .cc files in ASan run-time library 2012-06-04 13:50:10 +00:00
asan_malloc_mac.cc Remove file-type tags for .cc files in ASan run-time library 2012-06-04 13:50:10 +00:00
asan_malloc_win.cc Remove file-type tags for .cc files in ASan run-time library 2012-06-04 13:50:10 +00:00
asan_mapping.h [asan] more renaming 2012-05-31 15:02:07 +00:00
asan_new_delete.cc Remove file-type tags for .cc files in ASan run-time library 2012-06-04 13:50:10 +00:00
asan_poisoning.cc Remove file-type tags for .cc files in ASan run-time library 2012-06-04 13:50:10 +00:00
asan_posix.cc [asan] more renaming 2012-05-31 15:02:07 +00:00
asan_printf.cc Remove file-type tags for .cc files in ASan run-time library 2012-06-04 13:50:10 +00:00
asan_procmaps.h [asan] more renaming 2012-05-31 15:02:07 +00:00
asan_rtl.cc [ASan] use internal_open from sanitizer_libc in ASan runtime 2012-06-05 07:25:47 +00:00
asan_stack.cc Remove file-type tags for .cc files in ASan run-time library 2012-06-04 13:50:10 +00:00
asan_stack.h [asan] more renaming 2012-05-31 15:02:07 +00:00
asan_stats.cc Remove file-type tags for .cc files in ASan run-time library 2012-06-04 13:50:10 +00:00
asan_stats.h [asan] more renaming 2012-05-31 14:35:53 +00:00
asan_thread.cc Remove file-type tags for .cc files in ASan run-time library 2012-06-04 13:50:10 +00:00
asan_thread.h [asan] more renaming 2012-05-31 14:35:53 +00:00
asan_thread_registry.cc Remove file-type tags for .cc files in ASan run-time library 2012-06-04 13:50:10 +00:00
asan_thread_registry.h [asan] more renaming 2012-05-31 14:35:53 +00:00
asan_win.cc [ASan] use internal_open from sanitizer_libc in ASan runtime 2012-06-05 07:25:47 +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/