android13/external/compiler-rt/lib/asan
liiir1985 7f62dcda9f initial 2024-06-22 20:45:49 +08:00
..
scripts initial 2024-06-22 20:45:49 +08:00
tests initial 2024-06-22 20:45:49 +08:00
.clang-format initial 2024-06-22 20:45:49 +08:00
CMakeLists.txt initial 2024-06-22 20:45:49 +08:00
README.txt initial 2024-06-22 20:45:49 +08:00
asan.syms.extra initial 2024-06-22 20:45:49 +08:00
asan_activation.cc initial 2024-06-22 20:45:49 +08:00
asan_activation.h initial 2024-06-22 20:45:49 +08:00
asan_activation_flags.inc initial 2024-06-22 20:45:49 +08:00
asan_allocator.cc initial 2024-06-22 20:45:49 +08:00
asan_allocator.h initial 2024-06-22 20:45:49 +08:00
asan_blacklist.txt initial 2024-06-22 20:45:49 +08:00
asan_debugging.cc initial 2024-06-22 20:45:49 +08:00
asan_fake_stack.cc initial 2024-06-22 20:45:49 +08:00
asan_fake_stack.h initial 2024-06-22 20:45:49 +08:00
asan_flags.cc initial 2024-06-22 20:45:49 +08:00
asan_flags.h initial 2024-06-22 20:45:49 +08:00
asan_flags.inc initial 2024-06-22 20:45:49 +08:00
asan_globals.cc initial 2024-06-22 20:45:49 +08:00
asan_init_version.h initial 2024-06-22 20:45:49 +08:00
asan_interceptors.cc initial 2024-06-22 20:45:49 +08:00
asan_interceptors.h initial 2024-06-22 20:45:49 +08:00
asan_interface_internal.h initial 2024-06-22 20:45:49 +08:00
asan_internal.h initial 2024-06-22 20:45:49 +08:00
asan_linux.cc initial 2024-06-22 20:45:49 +08:00
asan_lock.h initial 2024-06-22 20:45:49 +08:00
asan_mac.cc initial 2024-06-22 20:45:49 +08:00
asan_malloc_linux.cc initial 2024-06-22 20:45:49 +08:00
asan_malloc_mac.cc initial 2024-06-22 20:45:49 +08:00
asan_malloc_win.cc initial 2024-06-22 20:45:49 +08:00
asan_mapping.h initial 2024-06-22 20:45:49 +08:00
asan_memory_profile.cc initial 2024-06-22 20:45:49 +08:00
asan_new_delete.cc initial 2024-06-22 20:45:49 +08:00
asan_poisoning.cc initial 2024-06-22 20:45:49 +08:00
asan_poisoning.h initial 2024-06-22 20:45:49 +08:00
asan_posix.cc initial 2024-06-22 20:45:49 +08:00
asan_preinit.cc initial 2024-06-22 20:45:49 +08:00
asan_report.cc initial 2024-06-22 20:45:49 +08:00
asan_report.h initial 2024-06-22 20:45:49 +08:00
asan_rtl.cc initial 2024-06-22 20:45:49 +08:00
asan_scariness_score.h initial 2024-06-22 20:45:49 +08:00
asan_stack.cc initial 2024-06-22 20:45:49 +08:00
asan_stack.h initial 2024-06-22 20:45:49 +08:00
asan_stats.cc initial 2024-06-22 20:45:49 +08:00
asan_stats.h initial 2024-06-22 20:45:49 +08:00
asan_suppressions.cc initial 2024-06-22 20:45:49 +08:00
asan_suppressions.h initial 2024-06-22 20:45:49 +08:00
asan_thread.cc initial 2024-06-22 20:45:49 +08:00
asan_thread.h initial 2024-06-22 20:45:49 +08:00
asan_win.cc initial 2024-06-22 20:45:49 +08:00
asan_win_dll_thunk.cc initial 2024-06-22 20:45:49 +08:00
asan_win_dynamic_runtime_thunk.cc initial 2024-06-22 20:45:49 +08:00
asanwrapper.cc initial 2024-06-22 20:45:49 +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