llvm-project/compiler-rt/test/hwasan/TestCases
Matt Morehouse b7d1ab75cf [HWASan] Add aliasing flag and enable HWASan to use it.
-fsanitize-hwaddress-experimental-aliasing is intended to distinguish
aliasing mode from LAM mode on x86_64.  check-hwasan is configured
to use aliasing mode while check-hwasan-lam is configured to use LAM
mode.

The current patch doesn't actually do anything differently in the two
modes.  A subsequent patch will actually build the separate runtimes
and use them in each mode.

Currently LAM mode tests must be run in an emulator that
has LAM support.  To ensure LAM mode isn't broken by future patches, I
will next set up a QEMU buildbot to run the HWASan tests in LAM.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D102288
2021-05-14 09:47:20 -07:00
..
Linux [HWASan] Add aliasing flag and enable HWASan to use it. 2021-05-14 09:47:20 -07:00
Posix [HWASan] Use page aliasing on x86_64. 2021-03-25 07:04:14 -07:00
abort-message-android.cpp compiler-rt: Rename .cc file in test/hwasan to .cpp 2019-08-05 13:10:50 +00:00
allocator_returns_null.cpp [HWASan] Use page aliasing on x86_64. 2021-03-25 07:04:14 -07:00
cfi.cpp Require lld for hwasan tests. 2019-08-06 23:43:20 +00:00
check-interface.cpp compiler-rt: Rename .cc file in test/hwasan to .cpp 2019-08-05 13:10:50 +00:00
deep-recursion.c [HWASan] Disable stack, globals and force callbacks for x86_64. 2021-03-22 08:02:27 -07:00
double-free.c
exported-tagged-global.c [AArch64][NFC] require aarch64 support for hwasan test 2020-08-07 09:24:52 +05:30
global.c [HWASan] Disable stack, globals and force callbacks for x86_64. 2021-03-22 08:02:27 -07:00
halt-on-error.cpp compiler-rt: Rename .cc file in test/hwasan to .cpp 2019-08-05 13:10:50 +00:00
heap-buffer-overflow.c [HWASan] Use page aliasing on x86_64. 2021-03-25 07:04:14 -07:00
hwasan-print-shadow.cpp [HWASan] Untag argument to __hwasan_tag_memory. 2021-04-21 17:08:43 -07:00
libc_thread_freeres.c [hwasan] Reset current thread pointer on thread exit. 2020-05-08 10:31:25 -07:00
longjmp-setjmp-interception.c [compiler-rt] libhwasan interceptor ABI intercept longjmp/setjmp 2019-10-30 14:04:40 +00:00
longjmp.c [HWASan] Disable stack, globals and force callbacks for x86_64. 2021-03-22 08:02:27 -07:00
malloc-align.c [hwasan] Fix allocator alignment. 2020-05-11 15:45:42 -07:00
malloc-test.c
malloc_bisect.c Runtime flags for malloc bisection. 2019-02-15 18:38:14 +00:00
malloc_fill.cpp [HWASan] Use page aliasing on x86_64. 2021-03-25 07:04:14 -07:00
many-threads-uaf.c [HWASan] Use page aliasing on x86_64. 2021-03-25 07:04:14 -07:00
mem-intrinsics-zero-size.c
mem-intrinsics.c [HWASan] Use page aliasing on x86_64. 2021-03-25 07:04:14 -07:00
new-test.cpp compiler-rt: Rename .cc file in test/hwasan to .cpp 2019-08-05 13:10:50 +00:00
override-new-delete.cpp Set an output file name for the override-new-delete.cpp test. 2019-06-07 02:30:58 +00:00
print-memory-usage-android.c
print-memory-usage.c
print-module-map.c
pthread_exit.c
realloc-after-free.c
realloc-test.cpp compiler-rt: Rename .cc file in test/hwasan to .cpp 2019-08-05 13:10:50 +00:00
register-dump-no-fp.cpp [HWASan] Disable stack, globals and force callbacks for x86_64. 2021-03-22 08:02:27 -07:00
register-dump-read.c hwasan: Update register-dump-read.c test to reserve x23 instead of x20. 2021-01-15 16:14:36 -08:00
rich-stack.c [HWASan] Disable stack, globals and force callbacks for x86_64. 2021-03-22 08:02:27 -07:00
sanitizer_malloc.cpp compiler-rt: Rename .cc file in test/hwasan to .cpp 2019-08-05 13:10:50 +00:00
set-error-report-callback.cpp [HWASan] Use page aliasing on x86_64. 2021-03-25 07:04:14 -07:00
sizes.cpp [HWASan] Use page aliasing on x86_64. 2021-03-25 07:04:14 -07:00
stack-history-length.c [HWASan] Disable stack, globals and force callbacks for x86_64. 2021-03-22 08:02:27 -07:00
stack-oob.c [HWASan] Fix brittle stack-oob.c test. 2021-03-22 11:08:22 -07:00
stack-uar-dynamic.c [HWASan] Disable stack, globals and force callbacks for x86_64. 2021-03-22 08:02:27 -07:00
stack-uar-realign.c [HWASan] Disable stack, globals and force callbacks for x86_64. 2021-03-22 08:02:27 -07:00
stack-uar.c [HWASan] Disable stack, globals and force callbacks for x86_64. 2021-03-22 08:02:27 -07:00
tag_in_free.c Fix false positive when tag_in_malloc=0,tag_in_free=1. 2019-02-15 18:38:03 +00:00
tail-magic.c [HWASan] Use page aliasing on x86_64. 2021-03-25 07:04:14 -07:00
thread-uaf.c [hwasan] Fix Thread reuse (try 2). 2020-11-18 16:04:08 -08:00
try-catch.cpp [hwasan] Workaround unwinder issues in try-catch test. 2019-10-21 23:57:12 +00:00
uaf_with_rb_distance.c
use-after-free.c [HWASan] Use page aliasing on x86_64. 2021-03-25 07:04:14 -07:00