2 ================================
3 This directory contains sources of the AddressSanitizer (ASan) runtime library.
6 README.txt : This file.
7 Makefile.mk : File for make-based build.
8 CMakeLists.txt : File for cmake-based build.
9 asan_*.{cc,h} : Sources of the asan runtime library.
10 scripts/* : Helper scripts.
11 tests/* : ASan unit tests.
13 Also ASan runtime needs the following libraries:
14 lib/interception/ : Machinery used to intercept function calls.
15 lib/sanitizer_common/ : Code shared between various sanitizers.
17 ASan runtime currently also embeds part of LeakSanitizer runtime for
18 leak detection (lib/lsan/lsan_common.{cc,h}).
20 ASan runtime can only be built by CMake. You can run ASan tests
21 from the root of your CMake build tree:
25 For more instructions see:
26 https://github.com/google/sanitizers/wiki/AddressSanitizerHowToBuild