1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/Instrumentation/MemorySanitizer
Alexander Potapenko 87d48e130a [MSan] Move the access address check before the shadow access for that address
MSan used to insert the shadow check of the store pointer operand
_after_ the shadow of the value operand has been written.
This happens to work in the userspace, as the whole shadow range is
always mapped. However in the kernel the shadow page may not exist, so
the bug may cause a crash.

This patch moves the address check in front of the shadow access.

llvm-svn: 318901
2017-11-23 08:34:32 +00:00
..
AArch64
Mips
PowerPC
X86
alloca.ll
array_types.ll
atomics.ll
byval-alignment.ll
check_access_address.ll [MSan] Move the access address check before the shadow access for that address 2017-11-23 08:34:32 +00:00
check-constant-shadow.ll
csr.ll
global_ctors_2to3.ll
instrumentation-with-call-threshold.ll
missing_origin.ll
msan_basic.ll
msan_x86intrinsics.ll
mul_by_constant.ll
nosanitize.ll [msan] Don't sanitize "nosanitize" instructions 2017-11-20 23:37:56 +00:00
origin-alignment.ll
origin-array.ll
pr32842.ll
return_from_main.ll
store-long-origin.ll
store-origin.ll
str-nobuiltin.ll
unreachable.ll
unsized_type.ll
vector_arith.ll
vector_cmp.ll
vector_cvt.ll
vector_pack.ll
vector_shift.ll
with-call-type-size.ll