llvm-project/compiler-rt/lib/asan
Florian Mayer 178554f3c8 [ASan] Show memory rather than tag addresses in tag dump
Reviewed By: eugenis

Differential Revision: https://reviews.llvm.org/D133391
2022-09-07 13:23:00 -07:00
..
scripts
tests [ASan] rename left/right to before/after. 2022-09-06 13:25:15 -07:00
.clang-format
CMakeLists.txt [ASan] Reland of D116182 to always link asan_static library. 2022-03-24 19:32:23 +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 Revert "Reland "[NFC][compiler-rt][asan] Unify asan and lsan allocator settings"" 2022-06-08 11:56:33 -07: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 [ASan] Show memory rather than tag addresses in tag dump 2022-09-07 13:23:00 -07:00
asan_errors.h
asan_fake_stack.cpp [NFCI] Fix set-but-unused warning in asan_fake_stack.cpp 2022-03-23 15:45:09 -07:00
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 [lsan] On Fuchsia, don't use atexit hook for leak checks 2022-03-29 17:13:55 -07:00
asan_globals.cpp [~NFC] Fix printf() type punning warning in asan_globals.cpp 2022-07-12 10:48:43 -07: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 [Sanitizers][Darwin] Replace SANITIZER_MAC with SANITIZER_APPLE in source files 2022-05-24 12:59:27 -07: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] Reland of D116182 to always link asan_static library. 2022-03-24 19:32:23 +00:00
asan_interface_internal.h Reland "[ASan] Use debuginfo for symbolization." 2022-06-16 13:58:55 -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
asan_poisoning.h
asan_posix.cpp [lsan] On Fuchsia, don't use atexit hook for leak checks 2022-03-29 17:13:55 -07:00
asan_preinit.cpp
asan_premap_shadow.cpp
asan_premap_shadow.h
asan_report.cpp
asan_report.h
asan_rtl.cpp [asan] Avoid few branches on memcpy hot path 2022-08-08 19:20:06 -07:00
asan_rtl_static.cpp
asan_rtl_x86_64.S [ASan] Reland of D116182 to always link asan_static library. 2022-03-24 19:32:23 +00:00
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
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

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