llvm-project/compiler-rt/lib/asan
Vitaly Buka 0d07922d92 [NFC][asan] Simplify parameters check 2022-11-29 10:56:17 -08:00
..
scripts [sanitizer] Add symbolizer support for loongarch64 2022-11-10 13:38:09 +08:00
tests [asan][test] Fix build errors in loongarch64 2022-11-01 20:21:56 +08:00
.clang-format
CMakeLists.txt [CMake] Use libcxx-abi-* targets for in-tree sanitizer C++ ABI 2022-10-09 03:35:59 +00:00
README.txt
asan.syms.extra
asan_activation.cpp
asan_activation.h
asan_activation_flags.inc
asan_allocator.cpp [ASan] rename left/right to before/after. 2022-09-06 13:25:15 -07:00
asan_allocator.h [ASAN] Removed special case controlling allocator constants for __aarch64__. 2022-11-02 17:27:59 +00:00
asan_debugging.cpp
asan_descriptions.cpp [ASan] rename left/right to before/after. 2022-09-06 13:25:15 -07:00
asan_descriptions.h
asan_errors.cpp [1a/3][ASan][compiler-rt] API for double ended containers 2022-11-21 16:38:52 -08:00
asan_errors.h [1a/3][ASan][compiler-rt] API for double ended containers 2022-11-21 16:38:52 -08:00
asan_fake_stack.cpp
asan_fake_stack.h
asan_flags.cpp [Sanitizers][Darwin] Replace SANITIZER_MAC with SANITIZER_APPLE in source files 2022-05-24 12:59:27 -07:00
asan_flags.h
asan_flags.inc [Sanitizers][Darwin] Replace SANITIZER_MAC with SANITIZER_APPLE in source files 2022-05-24 12:59:27 -07:00
asan_fuchsia.cpp
asan_globals.cpp Revert D138095 Use InernalAlloc in DemangleCXXABI 2022-11-22 16:29:24 -08:00
asan_globals_win.cpp
asan_ignorelist.txt
asan_init_version.h
asan_interceptors.cpp [libasan] Remove 4Mb stack limit for swapcontext unpoisoning 2022-07-22 17:37:44 -07:00
asan_interceptors.h [sanitizer] Fix vfork interception on loongarch64 2022-11-03 11:08:15 +08:00
asan_interceptors_memintrinsics.cpp
asan_interceptors_memintrinsics.h [asan] Faster version of QuickCheckForUnpoisonedRegion 2022-08-08 22:07:35 -07:00
asan_interceptors_vfork.S Port address sanitizer to LoongArch 2022-07-21 11:32:21 +08:00
asan_interface.inc [ASAN] Don't inline when -asan-max-inline-poisoning-size=0 2022-10-24 14:17:59 -07:00
asan_interface_internal.h [ASAN] Don't inline when -asan-max-inline-poisoning-size=0 2022-10-24 14:17:59 -07:00
asan_internal.h [asan] Avoid few branches on memcpy hot path 2022-08-08 19:20:06 -07:00
asan_linux.cpp [asan] Reset stack bounds of context 2022-07-22 13:40:16 -07:00
asan_lock.h
asan_mac.cpp [asan] Reset stack bounds of context 2022-07-22 13:40:16 -07:00
asan_malloc_linux.cpp
asan_malloc_mac.cpp [Sanitizers][Darwin] Replace SANITIZER_MAC with SANITIZER_APPLE in source files 2022-05-24 12:59:27 -07:00
asan_malloc_win.cpp
asan_mapping.h [ASan] Show memory rather than tag addresses in tag dump 2022-09-07 13:23:00 -07:00
asan_mapping_sparc64.h [ASan] Show memory rather than tag addresses in tag dump 2022-09-07 13:23:00 -07:00
asan_memory_profile.cpp
asan_new_delete.cpp [Sanitizers][Darwin] Replace SANITIZER_MAC with SANITIZER_APPLE in source files 2022-05-24 12:59:27 -07:00
asan_poisoning.cpp [NFC][asan] Simplify parameters check 2022-11-29 10:56:17 -08:00
asan_poisoning.h
asan_posix.cpp
asan_preinit.cpp
asan_premap_shadow.cpp
asan_premap_shadow.h
asan_report.cpp [1a/3][ASan][compiler-rt] API for double ended containers 2022-11-21 16:38:52 -08:00
asan_report.h [1a/3][ASan][compiler-rt] API for double ended containers 2022-11-21 16:38:52 -08:00
asan_rtl.cpp [ASAN] Don't inline when -asan-max-inline-poisoning-size=0 2022-10-24 14:17:59 -07:00
asan_rtl_static.cpp
asan_rtl_x86_64.S
asan_scariness_score.h
asan_shadow_setup.cpp
asan_stack.cpp
asan_stack.h
asan_stats.cpp
asan_stats.h
asan_suppressions.cpp
asan_suppressions.h
asan_thread.cpp [Sanitizer][NFC] Rearranged prototype definitions in lsan_common.h to group them by implementation file. 2022-11-22 17:23:56 +00:00
asan_thread.h
asan_win.cpp [asan] Reset stack bounds of context 2022-07-22 13:40:16 -07:00
asan_win_dll_thunk.cpp
asan_win_dynamic_runtime_thunk.cpp
asan_win_weak_interception.cpp
weak_symbols.txt [asan] Add missing __asan_set_shadow_0x() calls. 2022-11-01 11:15:33 -07:00

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