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