llvm-6502/test/Instrumentation/AddressSanitizer
Dmitry Vyukov 6e4a97dfce asan: optimization experiments
The experiments can be used to evaluate potential optimizations that remove
instrumentation (assess false negatives). Instead of completely removing
some instrumentation, you set Exp to a non-zero value (mask of optimization
experiments that want to remove instrumentation of this instruction).
If Exp is non-zero, this pass will emit special calls into runtime
(e.g. __asan_report_exp_load1 instead of __asan_report_load1). These calls
make runtime terminate the program in a special way (with a different
exit status). Then you run the new compiler on a buggy corpus, collect
the special terminations (ideally, you don't see them at all -- no false
negatives) and make the decision on the optimization.

The exact reaction to experiments in runtime is not implemented in this patch.
It will be defined and implemented in a subsequent patch.

http://reviews.llvm.org/D8198



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232502 91177308-0d34-0410-b5e6-96231b3b80d8
2015-03-17 16:59:19 +00:00
..
X86
adaptive_global_redzones.ll
asan-vs-gvn.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
basic.ll
debug_info.ll
do-not-instrument-cstring.ll
do-not-instrument-internal-globals.ll
do-not-instrument-llvm-metadata.ll
do-not-instrument-promotable-allocas.ll
do-not-touch-comdat-global.ll
do-not-touch-odr-global.ll
do-not-touch-threadlocal.ll
experiment-call.ll asan: optimization experiments 2015-03-17 16:59:19 +00:00
experiment.ll asan: optimization experiments 2015-03-17 16:59:19 +00:00
freebsd.ll
global_metadata.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
instrument_global.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
instrument_initializer_metadata.ll
instrument_load_then_store.ll
instrument-dynamic-allocas.ll
instrument-no-return.ll
instrument-stack.ll asan: do not instrument direct inbounds accesses to stack variables 2015-03-04 13:27:53 +00:00
instrumentation-with-call-threshold.ll
lifetime-uar.ll
lifetime.ll
stack_dynamic_alloca.ll
stack_layout.ll
stack-poisoning.ll
test64.ll
ubsan.ll
undecidable-dynamic-alloca-1.ll