README.txt revision 238901
1221828SgrehanAddressSanitizer RT
2221828Sgrehan================================
3221828SgrehanThis directory contains sources of the AddressSanitizer (asan) run-time library.
4221828SgrehanWe are in the process of integrating AddressSanitizer with LLVM, stay tuned.
5221828Sgrehan
6221828SgrehanDirectory structre:
7221828Sgrehan
8221828SgrehanREADME.txt       : This file.
9221828SgrehanMakefile.mk      : Currently a stub for a proper makefile. not usable.
10221828SgrehanMakefile.old     : Old out-of-tree makefile, the only usable one so far.
11221828Sgrehanasan_*.{cc,h}    : Sources of the asan run-time lirbary.
12221828Sgrehanmach_override/*  : Utility to override functions on Darwin (MIT License).
13221828Sgrehanscripts/*        : Helper scripts.
14221828Sgrehan
15221828SgrehanTemporary build instructions (verified on linux):
16221828Sgrehan
17221828Sgrehancd lib/asan
18221828Sgrehanmake -f Makefile.old get_third_party  # gets googletest and cpplint
19221828Sgrehanmake -f Makefile.old test -j 8 CLANG_BUILD=/path/to/Release+Asserts
20221828Sgrehan# Optional:
21221828Sgrehan# make -f Makefile.old install # installs clang and rt to lib/asan_clang_linux
22221828Sgrehan
23221828SgrehanFor more info see http://code.google.com/p/address-sanitizer/
24221828Sgrehan
25221828Sgrehan
26245678Sneel