llvm-project/compiler-rt/lib/hwasan
Leonard Chan d4e4799998 [NFC][compiler-rt][hwasan] Refactor hwasan functions
This moves the implementations for HandleTagMismatch, __hwasan_tag_mismatch4,
and HwasanAtExit from hwasan_linux.cpp to hwasan.cpp and declares them in hwasan.h.
This way, calls to those functions can be shared with the fuchsia implementation
without duplicating code.

Differential Revision: https://reviews.llvm.org/D103562
2021-06-03 14:26:35 -07:00
..
scripts hwasan_symbolize: allow 0x in the address field 2020-02-03 18:23:48 -08:00
.clang-format [sanitizer] Set IndentPPDirectives: AfterHash in .clang-format 2021-05-03 13:49:41 -07:00
CMakeLists.txt [HWASan] Don't build alias mode on non-x86. 2021-05-17 10:32:16 -07:00
hwasan.cpp [NFC][compiler-rt][hwasan] Refactor hwasan functions 2021-06-03 14:26:35 -07:00
hwasan.h [NFC][compiler-rt][hwasan] Refactor hwasan functions 2021-06-03 14:26:35 -07:00
hwasan.syms.extra
hwasan_allocator.cpp [HWASan] Use page aliasing on x86_64. 2021-03-25 07:04:14 -07:00
hwasan_allocator.h [HWASan] Build separate LAM runtime on x86_64. 2021-05-17 09:19:06 -07:00
hwasan_checks.h [HWASan] Refactor in preparation for x86 aliasing mode. NFC 2021-03-23 13:25:10 -07:00
hwasan_dynamic_shadow.cpp [HWASan] Build separate LAM runtime on x86_64. 2021-05-17 09:19:06 -07:00
hwasan_dynamic_shadow.h hwasan: Add __hwasan_init_static() function. 2019-01-31 23:37:12 +00:00
hwasan_exceptions.cpp hwasan: Add missing SANITIZER_INTERFACE_ATTRIBUTE on __hwasan_personality_wrapper. 2019-10-18 22:51:38 +00:00
hwasan_flags.h [HWASan] Use page aliasing on x86_64. 2021-03-25 07:04:14 -07:00
hwasan_flags.inc [NFC] Remove tab from the source 2021-02-26 19:40:24 -08:00
hwasan_globals.cpp [HWASan] Add sizeof(global) in report even if symbols missing. 2020-06-09 13:02:13 -07:00
hwasan_globals.h [HWASan] Add sizeof(global) in report even if symbols missing. 2020-06-09 13:02:13 -07:00
hwasan_ignorelist.txt [clang] accept -fsanitize-ignorelist= in addition to -fsanitize-blacklist= 2021-05-04 10:24:00 -04:00
hwasan_interceptors.cpp [HWASan] Use page aliasing on x86_64. 2021-03-25 07:04:14 -07:00
hwasan_interceptors_vfork.S [compiler-rt][aarch64] Add PAC-RET/BTI property to hwasan_interceptors_vfork.S 2021-04-12 17:17:33 -07:00
hwasan_interface_internal.h [hwasan] Implement error report callback. 2020-11-20 16:48:19 -08:00
hwasan_linux.cpp [NFC][compiler-rt][hwasan] Refactor hwasan functions 2021-06-03 14:26:35 -07:00
hwasan_malloc_bisect.h [compiler-rt] [hwasan] Replace INLINE with inline 2020-09-17 16:46:32 +02:00
hwasan_mapping.h [HWASan] Use page aliasing on x86_64. 2021-03-25 07:04:14 -07:00
hwasan_memintrinsics.cpp [HWASan] Use page aliasing on x86_64. 2021-03-25 07:04:14 -07:00
hwasan_new_delete.cpp [compiler-rt][hwasan] Add C++17 new/delete operators with alignment 2021-04-08 15:44:39 -07:00
hwasan_poisoning.cpp hwasan: Rename source files from cc to cpp 2019-02-27 15:44:03 +00:00
hwasan_poisoning.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
hwasan_report.cpp [sanitizer] Remove max_len parameter from InternalScopedString 2021-03-17 16:57:09 -07:00
hwasan_report.h hwasan: Improve precision of checks using short granule tags. 2019-07-09 20:22:36 +00:00
hwasan_setjmp.S [compiler-rt][aarch64] Add PAC-RET/BTI support to HWASAN. 2021-04-12 17:02:45 +02:00
hwasan_tag_mismatch_aarch64.S [compiler-rt][aarch64] Add PAC-RET/BTI support to HWASAN. 2021-04-12 17:02:45 +02:00
hwasan_thread.cpp [hwasan] Fix missing synchronization in AllocThread. 2021-05-05 11:57:18 -07:00
hwasan_thread.h [HWASan][NFC] Introduce constants for tag bits and masks. 2021-03-22 12:32:29 -07:00
hwasan_thread_list.cpp hwasan: Rename source files from cc to cpp 2019-02-27 15:44:03 +00:00
hwasan_thread_list.h [hwasan] Fix missing synchronization in AllocThread. 2021-05-05 11:57:18 -07:00
hwasan_type_test.cpp [compiler-rt] libhwasan interceptor ABI intercept longjmp/setjmp 2019-10-30 14:04:40 +00:00