文件最后提交记录最后更新时间
[NFC][Py Reformat] Reformat python files in the rest of the dirs2 年前
[asan][cmake][test] Fix finding dynamic asan runtime lib (#100083)1 年前
Revert "sanitizers: increase .clang-format columns to 100"4 年前
Revert "[asan][windows] Eliminate the static asan runtime on windows (#93770)"1 年前
[ASan] Fix the links to bugs and wikipages.10 年前
[asan] Export __sancov_* symbols symbols.9 年前
[ASan] Renamed SHADOW_XYZ to ASAN_SHADOW_XYZ.4 年前
Update the file headers across all of the LLVM projects in the monorepo7 年前
Update the file headers across all of the LLVM projects in the monorepo7 年前
[ASan] [HWASan] Add __sanitizer_ignore_free_hook() (#96749)1 年前
[compiler-rt][asan][Fuchsia] Tune the 64-bit asan allocator for riscv+fuchsia2 年前
[ASan] Renamed SHADOW_XYZ to ASAN_SHADOW_XYZ.4 年前
[NFC][asan] Use %p to print addresses (#98575)1 年前
Revert "Revert "[compiler-rt][asan] Make wild-pointer crash error more useful""5 年前
[asan] Report executable/DSO name for report_globals=2 and odr-violation checking (#71879)2 年前
[1a/3][ASan][compiler-rt] API for double ended containers3 年前
[NFC][sanitizer] Rename InternalScopedString::append to AppendF (#66558)2 年前
compiler-rt: Rename .cc file in lib/asan to .cpp6 年前
Revert "[asan][windows] Eliminate the static asan runtime on windows (#93770)"1 年前
Update the file headers across all of the LLVM projects in the monorepo7 年前
[Sanitizers][Darwin] Replace SANITIZER_MAC with SANITIZER_APPLE in source files3 年前
[sanitizer] Lift AsanDoesNotSupportStaticLinkage to sanitizer_common.h. NFC (#80948)2 年前
__asan_register_elf_globals: properly check the "no instrumented global variable" case1 年前
[sanitizer] Replace ALIGNED with alignas1 年前
[clang] accept -fsanitize-ignorelist= in addition to -fsanitize-blacklist=5 年前
Update the file headers across all of the LLVM projects in the monorepo7 年前
[compiler-rt] remove unneeded comma for pthread_atfork declaration (#99739)1 年前
[NFC][asan] Inline ENSURE_ASAN_INITED macro (#74174)2 年前
[NFC][asan] Change asan_init and asan_init_is_running; add setters/getters2 年前
[compiler-rt] Refactor memintrinsic interceptors2 年前
Port address sanitizer to LoongArch3 年前
Revert "[asan][win][msvc] override new and delete and seperate TUs (#68754)"2 年前
ASAN: keep support for Global::location3 年前
[sanitizer] Lift AsanDoesNotSupportStaticLinkage to sanitizer_common.h. NFC (#80948)2 年前
Reapply "[HWASan] [compiler-rt] support non-4k pages on Android" (#95853)1 年前
Reapply "[HWASan] [compiler-rt] support non-4k pages on Android" (#95853)1 年前
[sanitizer] Replace ALIGNED with alignas1 年前
[NFC][asan] Inline ENSURE_ASAN_INITED macro (#74174)2 年前
Revert "[asan][windows] Eliminate the static asan runtime on windows (#93770)"1 年前
[RISCV][sanitizer] Fix sanitizer support for different virtual memory layout (#66743)1 年前
[ASan] Show memory rather than tag addresses in tag dump3 年前
asan_memory_profile: Fix for deadlock in memory profiler code.3 年前
[compiler-rt] Remove a few workarounds for FreeBSD 9.x (#76263)2 年前
[compiler-rt][asan] Silence MSVC warning2 年前
[ASan] Renamed SHADOW_XYZ to ASAN_SHADOW_XYZ.4 年前
[NFC][sanitizer] Rename Lock{Before,After}Fork suffixes locking StackDepotBase (#76279)2 年前
[asan] Fix a comment1 年前
Reapply "[HWASan] [compiler-rt] support non-4k pages on Android" (#95853)1 年前
Update the file headers across all of the LLVM projects in the monorepo7 年前
[sanitizer] Replace ALIGNED with alignas1 年前
[asan] Report executable/DSO name for report_globals=2 and odr-violation checking (#71879)2 年前
[NFC][asan] Use %p to print addresses (#98575)1 年前
[ASan] Added intermediate functions between assembly and __asan_report.* to avoid link errors.4 年前
asan_static x86-64: Support 64-bit ASAN_SHADOW_OFFSET_CONST redux (#76185)2 年前
[compiler-rt] Remove some cpplint filters6 年前
Fix -Wformat warnings reported by GCC.4 年前
[NFC][asan] Change asan_init and asan_init_is_running; add setters/getters2 年前
[compiler-rt] Mark some performance critical buffers uninitialized2 年前
[ASan] return 0 for current allocated bytes if malloc/free are never happend (#67394)2 年前
Revert r369472 and r3694416 年前
[sanitizer] Replace ALIGNED with alignas1 年前
compiler-rt: Rename .cc file in lib/asan to .cpp6 年前
[sanitizer] Replace ALIGNED with alignas1 年前
[compiler-rt][asan] Silence MSVC warning2 年前
Reapply "[HWASan] [compiler-rt] support non-4k pages on Android" (#95853)1 年前
Revert "[asan][windows] Eliminate the static asan runtime on windows (#93770)"1 年前
Revert "[asan][windows] Eliminate the static asan runtime on windows (#93770)"1 年前
compiler-rt: Rename .cc file in lib/asan to .cpp6 年前
[asan] Add missing __asan_set_shadow_0x() calls.3 年前
README.txt

AddressSanitizer RT

This directory contains sources of the AddressSanitizer (ASan) runtime library.

Directory structure: README.txt : This file. Makefile.mk : File for make-based build. CMakeLists.txt : File for cmake-based build. asan_.{cc,h} : Sources of the asan runtime library. scripts/ : Helper scripts. tests/* : ASan unit tests.

Also ASan runtime needs the following libraries: lib/interception/ : Machinery used to intercept function calls. lib/sanitizer_common/ : Code shared between various sanitizers.

ASan runtime currently also embeds part of LeakSanitizer runtime for leak detection (lib/lsan/lsan_common.{cc,h}).

ASan runtime can only be built by CMake. You can run ASan tests from the root of your CMake build tree:

make check-asan

For more instructions see: https://github.com/google/sanitizers/wiki/AddressSanitizerHowToBuild