aosp12/external/llvm-project/compiler-rt/lib/asan
hcl 7be3fd486c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
..
scripts init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
tests init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
.clang-format init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
CMakeLists.txt init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
README.txt init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan.syms.extra init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_activation.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_activation.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_activation_flags.inc init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_allocator.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_allocator.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_blacklist.txt init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_debugging.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_descriptions.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_descriptions.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_errors.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_errors.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_fake_stack.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_fake_stack.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_flags.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_flags.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_flags.inc init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_fuchsia.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_globals.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_globals_win.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_init_version.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_interceptors.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_interceptors.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_interceptors_memintrinsics.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_interceptors_memintrinsics.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_interceptors_vfork.S init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_interface.inc init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_interface_internal.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_internal.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_linux.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_lock.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_mac.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_malloc_linux.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_malloc_local.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_malloc_mac.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_malloc_win.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_mapping.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_mapping_myriad.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_mapping_sparc64.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_memory_profile.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_new_delete.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_poisoning.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_poisoning.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_posix.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_preinit.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_premap_shadow.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_premap_shadow.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_report.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_report.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_rtems.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_rtl.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_scariness_score.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_shadow_setup.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_stack.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_stack.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_stats.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_stats.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_suppressions.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_suppressions.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_thread.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_thread.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_win.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_win_dll_thunk.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_win_dynamic_runtime_thunk.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
asan_win_weak_interception.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
weak_symbols.txt init from android-12.1.0_r8 2023-01-09 17:11:35 +08: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