README.txt
1 AddressSanitizer RT
2 ================================
3 This directory contains sources of the AddressSanitizer (asan) runtime library.
4 We are in the process of integrating AddressSanitizer with LLVM, stay tuned.
5
6 Directory structure:
7 README.txt : This file.
8 Makefile.mk : File for make-based build.
9 CMakeLists.txt : File for cmake-based build.
10 asan_*.{cc,h} : Sources of the asan runtime library.
11 scripts/* : Helper scripts.
12 tests/* : ASan unit tests.
13
14 Also ASan runtime needs the following libraries:
15 lib/interception/ : Machinery used to intercept function calls.
16 lib/sanitizer_common/ : Code shared between ASan and TSan.
17
18 Currently ASan runtime can be built by both make and cmake build systems.
19 (see compiler-rt/make and files Makefile.mk for make-based build and
20 files CMakeLists.txt for cmake-based build).
21
22 ASan unit and output tests work only with cmake. You may run this
23 command from the root of your cmake build tree:
24
25 make check-asan
26
27 For more instructions see:
28 http://code.google.com/p/address-sanitizer/wiki/HowToBuild
29