llvm-project/llvm/test/Instrumentation/MemorySanitizer
Alexander Potapenko f82672873a MSan: handle callbr instructions
Summary:
Handling callbr is very similar to handling an inline assembly call:
MSan must checks the instruction's inputs.
callbr doesn't (yet) have outputs, so there's nothing to unpoison,
and conservative assembly handling doesn't apply either.

Fixes PR42479.

Reviewers: eugenis

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D64072

llvm-svn: 365008
2019-07-03 09:28:50 +00:00
..
AArch64 [NewPM] Port Msan 2019-01-03 13:42:44 +00:00
Mips [NewPM] Port Msan 2019-01-03 13:42:44 +00:00
PowerPC [NewPM] Port Msan 2019-01-03 13:42:44 +00:00
X86 [NewPM][MSan] Add Options Handling 2019-02-04 21:02:49 +00:00
alloca.ll MSan: handle llvm.lifetime.start intrinsic 2019-04-30 08:35:14 +00:00
array_types.ll [NewPM] Port Msan 2019-01-03 13:42:44 +00:00
atomics.ll [NewPM] Port Msan 2019-01-03 13:42:44 +00:00
bmi.ll [msan] Instrument x86 BMI intrinsics. 2019-03-04 22:58:20 +00:00
byval-alignment.ll [NewPM] Port Msan 2019-01-03 13:42:44 +00:00
check-constant-shadow.ll [NewPM] Port Msan 2019-01-03 13:42:44 +00:00
check_access_address.ll IR: Support parsing numeric block ids, and emit them in textual output. 2019-03-22 18:27:13 +00:00
csr.ll [NewPM] Port Msan 2019-01-03 13:42:44 +00:00
instrumentation-with-call-threshold.ll [NewPM] Port Msan 2019-01-03 13:42:44 +00:00
manual-shadow.ll [NewPM] Port Msan 2019-01-03 13:42:44 +00:00
masked-store-load.ll [NewPM] Port Msan 2019-01-03 13:42:44 +00:00
missing_origin.ll [NewPM] Port Msan 2019-01-03 13:42:44 +00:00
msan_asm_conservative.ll MSan: handle callbr instructions 2019-07-03 09:28:50 +00:00
msan_basic.ll [MSAN] Add unary FNeg visitor to the MemorySanitizer 2019-06-05 22:37:05 +00:00
msan_kernel_basic.ll IR: Support parsing numeric block ids, and emit them in textual output. 2019-03-22 18:27:13 +00:00
msan_llvm_is_constant.ll [MSan] Apply the ctor creation scheme of TSan 2019-01-16 11:14:07 +00:00
msan_x86_bts_asm.ll IR: Support parsing numeric block ids, and emit them in textual output. 2019-03-22 18:27:13 +00:00
msan_x86intrinsics.ll [NewPM] Port Msan 2019-01-03 13:42:44 +00:00
mul_by_constant.ll [NewPM] Port Msan 2019-01-03 13:42:44 +00:00
nosanitize.ll [NewPM] Port Msan 2019-01-03 13:42:44 +00:00
origin-alignment.ll [NewPM] Port Msan 2019-01-03 13:42:44 +00:00
origin-array.ll [NewPM] Port Msan 2019-01-03 13:42:44 +00:00
pr32842.ll [NewPM] Port Msan 2019-01-03 13:42:44 +00:00
return_from_main.ll [NewPM] Port Msan 2019-01-03 13:42:44 +00:00
store-long-origin.ll [NewPM] Port Msan 2019-01-03 13:42:44 +00:00
store-origin.ll IR: Support parsing numeric block ids, and emit them in textual output. 2019-03-22 18:27:13 +00:00
str-nobuiltin.ll [NewPM] Port Msan 2019-01-03 13:42:44 +00:00
unreachable.ll [NewPM] Port Msan 2019-01-03 13:42:44 +00:00
unsized_type.ll [NewPM] Port Msan 2019-01-03 13:42:44 +00:00
vector_arith.ll [NewPM] Port Msan 2019-01-03 13:42:44 +00:00
vector_cmp.ll [NewPM] Port Msan 2019-01-03 13:42:44 +00:00
vector_cvt.ll [NewPM] Port Msan 2019-01-03 13:42:44 +00:00
vector_pack.ll [NewPM] Port Msan 2019-01-03 13:42:44 +00:00
vector_shift.ll [NewPM] Port Msan 2019-01-03 13:42:44 +00:00
with-call-type-size.ll [NewPM] Port Msan 2019-01-03 13:42:44 +00:00