llvm/compiler-rt/lib/asan
2021-09-28 15:42:21 -07:00
..
scripts [compiler-rt] Use portable "#!/usr/bin/env bash" shebang for tests. 2021-09-24 19:10:07 +05:30
tests [compiler-rt] NFC: Fix trivial typo 2021-09-04 14:12:58 +05:30
.clang-format Revert "sanitizers: increase .clang-format columns to 100" 2021-07-28 09:40:21 +02:00
asan.syms.extra
asan_activation.cpp
asan_activation.h
asan_activation_flags.inc
asan_allocator.cpp
asan_allocator.h
asan_debugging.cpp
asan_descriptions.cpp
asan_descriptions.h
asan_errors.cpp
asan_errors.h
asan_fake_stack.cpp
asan_fake_stack.h
asan_flags.cpp
asan_flags.h
asan_flags.inc
asan_fuchsia.cpp [asan][fuchsia] Implement PlatformUnpoisonStacks 2021-07-28 18:02:19 -07:00
asan_globals.cpp sanitizers: switch BlockingMutex(LINKER_INITIALIZED) to Mutex 2021-07-28 15:09:34 +02:00
asan_globals_win.cpp
asan_ignorelist.txt
asan_init_version.h
asan_interceptors.cpp [compiler-rt] NFC: Fix trivial typo 2021-09-04 14:12:58 +05:30
asan_interceptors.h [sanitizer] Fix VReport of symbol version 2021-08-25 14:32:15 -07:00
asan_interceptors_memintrinsics.cpp
asan_interceptors_memintrinsics.h
asan_interceptors_vfork.S
asan_interface.inc
asan_interface_internal.h
asan_internal.h
asan_linux.cpp
asan_lock.h
asan_mac.cpp
asan_malloc_linux.cpp
asan_malloc_mac.cpp
asan_malloc_win.cpp
asan_mapping.h
asan_mapping_sparc64.h
asan_memory_profile.cpp
asan_new_delete.cpp
asan_poisoning.cpp
asan_poisoning.h
asan_posix.cpp
asan_preinit.cpp
asan_premap_shadow.cpp
asan_premap_shadow.h
asan_report.cpp [compiler-rt] NFC: Fix trivial typo 2021-09-04 14:12:58 +05:30
asan_report.h
asan_rtl.cpp [asan] Modified ASAN_MEMORY_ACCESS_CALLBACK to use a function call to ReportGenericErrorWrapper. 2021-07-22 21:20:24 +00:00
asan_scariness_score.h
asan_shadow_setup.cpp
asan_stack.cpp
asan_stack.h
asan_stats.cpp [NFC][sanitizer] Return StackDepotStats by value 2021-09-28 15:42:21 -07:00
asan_stats.h
asan_suppressions.cpp
asan_suppressions.h
asan_thread.cpp sanitizers: switch BlockingMutex(LINKER_INITIALIZED) to Mutex 2021-07-28 15:09:34 +02:00
asan_thread.h sanitizer_common: add simpler ThreadRegistry ctor 2021-07-13 22:52:25 -07:00
asan_win.cpp
asan_win_dll_thunk.cpp
asan_win_dynamic_runtime_thunk.cpp
asan_win_weak_interception.cpp
CMakeLists.txt sanitizer_common: enable format string checking 2021-08-13 13:44:52 +02:00
README.txt
weak_symbols.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