bolt/deps/llvm-18.1.8/compiler-rt/lib/asan
2025-02-14 19:21:04 +01:00
..
scripts Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
tests Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
.clang-format Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan.syms.extra Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_activation.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_activation.h Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_activation_flags.inc Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_allocator.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_allocator.h Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_debugging.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_descriptions.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_descriptions.h Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_errors.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_errors.h Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_fake_stack.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_fake_stack.h Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_flags.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_flags.h Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_flags.inc Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_fuchsia.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_globals.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_globals_win.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_ignorelist.txt Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_init_version.h Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_interceptors.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_interceptors.h Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_interceptors_memintrinsics.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_interceptors_memintrinsics.h Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_interceptors_vfork.S Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_interface.inc Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_interface_internal.h Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_internal.h Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_linux.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_mac.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_malloc_linux.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_malloc_mac.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_malloc_win.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_mapping.h Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_mapping_sparc64.h Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_memory_profile.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_new_delete.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_poisoning.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_poisoning.h Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_posix.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_preinit.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_premap_shadow.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_premap_shadow.h Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_report.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_report.h Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_rtl.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_rtl_static.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_rtl_x86_64.S Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_scariness_score.h Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_shadow_setup.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_stack.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_stack.h Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_stats.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_stats.h Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_suppressions.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_suppressions.h Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_thread.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_thread.h Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_win.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_win_dll_thunk.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_win_dynamic_runtime_thunk.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
asan_win_weak_interception.cpp Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
CMakeLists.txt Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
README.txt Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
weak_symbols.txt Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00

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