]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm-project/compiler-rt/lib/asan/README.txt
Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
[FreeBSD/FreeBSD.git] / contrib / llvm-project / compiler-rt / lib / asan / README.txt
1 AddressSanitizer RT
2 ================================
3 This directory contains sources of the AddressSanitizer (ASan) runtime library.
4
5 Directory structure:
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.
12
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.
16
17 ASan runtime currently also embeds part of LeakSanitizer runtime for
18 leak detection (lib/lsan/lsan_common.{cc,h}).
19
20 ASan runtime can only be built by CMake. You can run ASan tests
21 from the root of your CMake build tree:
22
23 make check-asan
24
25 For more instructions see:
26 https://github.com/google/sanitizers/wiki/AddressSanitizerHowToBuild