Path: blob/main/contrib/llvm-project/compiler-rt/lib/asan/README.txt
35233 views
AddressSanitizer RT1================================2This directory contains sources of the AddressSanitizer (ASan) runtime library.34Directory structure:5README.txt : This file.6Makefile.mk : File for make-based build.7CMakeLists.txt : File for cmake-based build.8asan_*.{cc,h} : Sources of the asan runtime library.9scripts/* : Helper scripts.10tests/* : ASan unit tests.1112Also ASan runtime needs the following libraries:13lib/interception/ : Machinery used to intercept function calls.14lib/sanitizer_common/ : Code shared between various sanitizers.1516ASan runtime currently also embeds part of LeakSanitizer runtime for17leak detection (lib/lsan/lsan_common.{cc,h}).1819ASan runtime can only be built by CMake. You can run ASan tests20from the root of your CMake build tree:2122make check-asan2324For more instructions see:25https://github.com/google/sanitizers/wiki/AddressSanitizerHowToBuild262728