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