llvm-mirror/test/Instrumentation/AddressSanitizer
Reid Kleckner 45e3558bd2 [WinASan] Don't instrument globals in sections containing '$'
Such globals are very likely to be part of a sorted section array, such
the .CRT sections used for dynamic initialization. The uses its own
sorted sections called ATL$__a, ATL$__m, and ATL$__z. Instead of special
casing them, just look for the dollar sign, which is what invokes linker
section sorting for COFF.

Avoids issues with ASan and the ATL uncovered after we started
instrumenting comdat globals on COFF.

llvm-svn: 334653
2018-06-13 20:47:21 +00:00
..
X86 [CodeGen] Unify MBB reference format in both MIR and debug output 2017-12-04 17:18:51 +00:00
adaptive_global_redzones.ll [asan] Test ASan instrumentation for shadow scale value of 5 2017-11-17 01:15:31 +00:00
asan_address_space_attr.ll
asan-masked-load-store.ll
asan-vs-gvn.ll Update some code.google.com links 2017-11-13 23:47:58 +00:00
basic-msvc64.ll
basic-myriad.ll [asan] Add instrumentation support for Myriad 2018-05-18 04:10:38 +00:00
basic.ll Remove alignment argument from memcpy/memmove/memset in favour of alignment attributes (Step 1) 2018-01-19 17:13:12 +00:00
debug_info_noninstrumented_alloca2.ll
debug_info_noninstrumented_alloca.ll
debug_info.ll [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label. 2018-05-09 02:40:45 +00:00
debug-info-global-var.ll Canonicalize the representation of empty an expression in DIGlobalVariableExpression 2017-08-30 18:06:51 +00:00
do-not-instrument-globals-darwin.ll
do-not-instrument-globals-linux.ll
do-not-instrument-internal-globals.ll
do-not-instrument-profiling-globals.ll
do-not-instrument-promotable-allocas.ll
do-not-instrument-sanitizers.ll
do-not-touch-comdat-global.ll
do-not-touch-odr-global.ll
do-not-touch-threadlocal.ll
experiment-call.ll
experiment.ll
force-dynamic-shadow.ll Add -asan-force-dynamic-shadow test 2017-08-07 07:12:33 +00:00
freebsd.ll
global_cstring_darwin.ll
global_lto_merge.ll [asan] Fix a false positive ODR violation due to LTO ConstantMerge pass [llvm part, take 3] 2018-03-08 21:02:18 +00:00
global_metadata_array.ll [asan] Test ASan instrumentation for shadow scale value of 5 2017-11-17 01:15:31 +00:00
global_metadata_darwin.ll [asan] Fix dead stripping of globals on Linux. 2017-04-27 20:27:27 +00:00
global_metadata_windows.ll [asan] Upgrade private linkage globals to internal linkage on COFF 2017-10-31 16:16:08 +00:00
global_metadata.ll [asan] Test ASan instrumentation for shadow scale value of 5 2017-11-17 01:15:31 +00:00
instrument_global.ll [asan] Test ASan instrumentation for shadow scale value of 5 2017-11-17 01:15:31 +00:00
instrument_initializer_metadata.ll [asan] Test ASan instrumentation for shadow scale value of 5 2017-11-17 01:15:31 +00:00
instrument_load_then_store.ll [asan] Delay creation of asan ctor. 2017-04-06 19:55:09 +00:00
instrument-dynamic-allocas.ll
instrument-no-return.ll
instrument-stack.ll [asan] Test ASan instrumentation for shadow scale value of 5 2017-11-17 01:15:31 +00:00
instrumentation-with-call-threshold.ll
keep_going.ll
lifetime-throw.ll Add address space mangling to lifetime intrinsics 2017-04-10 20:18:21 +00:00
lifetime-uar-uas.ll Add address space mangling to lifetime intrinsics 2017-04-10 20:18:21 +00:00
lifetime.ll Add address space mangling to lifetime intrinsics 2017-04-10 20:18:21 +00:00
local_alias.ll
local_stack_base.ll [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label. 2018-05-09 02:40:45 +00:00
localescape.ll
no-globals.ll [asan] Fix dead stripping of globals on Linux. 2017-04-27 20:27:27 +00:00
ps4.ll
scale-offset.ll
stack_dynamic_alloca.ll [asan] Test ASan instrumentation for shadow scale value of 5 2017-11-17 01:15:31 +00:00
stack_layout.ll ASAN: Provide reliable debug info for local variables at -O0. 2017-12-11 20:43:21 +00:00
stack-poisoning-and-lifetime-be.ll [PowerPC][asan] Update asan to handle changed memory layouts in newer kernels 2017-12-07 22:53:33 +00:00
stack-poisoning-and-lifetime.ll Add address space mangling to lifetime intrinsics 2017-04-10 20:18:21 +00:00
stack-poisoning-byval-args.ll Remove alignment argument from memcpy/memmove/memset in favour of alignment attributes (Step 1) 2018-01-19 17:13:12 +00:00
stack-poisoning.ll
str-nobuiltin.ll
test64.ll [asan] Test ASan instrumentation for shadow scale value of 5 2017-11-17 01:15:31 +00:00
twice.ll
ubsan.ll
win-sorted-sections.ll [WinASan] Don't instrument globals in sections containing '$' 2018-06-13 20:47:21 +00:00
win-string-literal.ll [asan] Instrument comdat globals on COFF targets 2018-06-08 18:33:16 +00:00
with-ifunc.ll [asan] Use dynamic shadow on 32-bit Android, try 2. 2017-11-20 17:41:57 +00:00