llvm-project/compiler-rt/test/asan/TestCases
Reid Kleckner 47dc7f5550 Add a test that uses coverage and printf from a DLL
This test fails without LLVM r286615

llvm-svn: 286618
2016-11-11 19:27:52 +00:00
..
Android [asan] Disable android-coverage test on anything other than arm. 2016-08-01 21:58:34 +00:00
Darwin [asan] Move instrumented null-terminated strings to a special section, compiler-rt part 2016-10-31 18:52:32 +00:00
Helpers Combine helper file into main test file with ifdefs 2015-08-12 23:24:41 +00:00
Linux [asan] Run pthread_create_from_constructor test on x86 targets. 2016-10-28 09:49:34 +00:00
Posix [asan] Disable unexpected passing test. 2016-11-09 00:33:41 +00:00
Windows Add a test that uses coverage and printf from a DLL 2016-11-11 19:27:52 +00:00
alloca_big_alignment.cc [asan] Rename asan-instrument-allocas -> asan-instrument-dynamic-allocas 2016-08-20 17:22:36 +00:00
alloca_constant_size.cc Fix ASan alloca_constant_size.cc test on FreeBSD. 2016-07-31 20:16:59 +00:00
alloca_detect_custom_size_.cc [asan] Rename asan-instrument-allocas -> asan-instrument-dynamic-allocas 2016-08-20 17:22:36 +00:00
alloca_instruments_all_paddings.cc [asan] Rename asan-instrument-allocas -> asan-instrument-dynamic-allocas 2016-08-20 17:22:36 +00:00
alloca_loop_unpoisoning.cc [asan] Rename asan-instrument-allocas -> asan-instrument-dynamic-allocas 2016-08-20 17:22:36 +00:00
alloca_overflow_partial.cc [asan] Rename asan-instrument-allocas -> asan-instrument-dynamic-allocas 2016-08-20 17:22:36 +00:00
alloca_overflow_right.cc [asan] Rename asan-instrument-allocas -> asan-instrument-dynamic-allocas 2016-08-20 17:22:36 +00:00
alloca_safe_access.cc [asan] Rename asan-instrument-allocas -> asan-instrument-dynamic-allocas 2016-08-20 17:22:36 +00:00
alloca_underflow_left.cc [asan] Rename asan-instrument-allocas -> asan-instrument-dynamic-allocas 2016-08-20 17:22:36 +00:00
alloca_vla_interact.cc [asan] Rename asan-instrument-allocas -> asan-instrument-dynamic-allocas 2016-08-20 17:22:36 +00:00
allocator_returns_null.cc [windows] Fix or XFAIL remaining portable test failures and enable them 2015-08-14 17:39:48 +00:00
asan_and_llvm_coverage_test.cc [ASan] Disable test that uses profile runtime on Windows. 2016-02-11 18:26:57 +00:00
asan_options-help.cc Use %env_asan_opts= substitution instead of 'env ASAN_OPTIONS=$ASAN_OPTIONS' 2015-08-12 23:50:12 +00:00
atexit_stats.cc [asan] Disable handle_abort in Android tests. 2016-09-09 18:43:24 +00:00
atoi_strict.c Use %env_asan_opts= substitution instead of 'env ASAN_OPTIONS=$ASAN_OPTIONS' 2015-08-12 23:50:12 +00:00
atol_strict.c Use %env_asan_opts= substitution instead of 'env ASAN_OPTIONS=$ASAN_OPTIONS' 2015-08-12 23:50:12 +00:00
atoll_strict.c [windows] Fix or XFAIL remaining portable test failures and enable them 2015-08-14 17:39:48 +00:00
blacklist.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
contiguous_container.cc Asan: utility function to determine first wrongly poisoned byte in 2015-11-04 19:56:03 +00:00
contiguous_container_crash.cc [asan] print an additional hint when reporting a container overflow 2016-01-20 19:49:12 +00:00
coverage-and-lsan.cc Use %env_asan_opts= substitution instead of 'env ASAN_OPTIONS=$ASAN_OPTIONS' 2015-08-12 23:50:12 +00:00
coverage-caller-callee-total-count.cc [sanitizer-coverage] introduce __sanitizer_get_total_unique_caller_callee_pairs 2015-10-22 22:06:41 +00:00
coverage-disabled.cc [windows] Fix or XFAIL remaining portable test failures and enable them 2015-08-14 17:39:48 +00:00
coverage-levels.cc [sancov] enabling coverage edge pruning by default. 2016-04-06 23:24:16 +00:00
coverage-order-pcs.cc [compiler-rt] Disable some unittests on windows that rely on shell command 2016-07-21 14:55:17 +00:00
coverage-reset.cc Fix coverage-related asan tests for VS 2015 2016-03-22 00:11:51 +00:00
coverage-trace-pc.cc [sanitizer-coverage] implement -fsanitize-coverage=trace-pc. This is similar to trace-bb, but has a different API. We already use the equivalent flag in GCC for Linux kernel fuzzing. We may be able to use this flag with AFL too 2016-02-17 21:34:43 +00:00
coverage-tracing.cc [compiler-rt] Disable some unittests on windows that rely on shell command 2016-07-21 14:55:17 +00:00
debug_locate.cc [compiler-rt] recommit of r218481: ASan debugging API for report info extraction and locating addresses 2014-09-26 19:15:32 +00:00
debug_mapping.cc [compiler-rt] Fix broken unittest on win64 2016-07-21 14:36:25 +00:00
debug_ppc64_mapping.cc [tests] Remove "supported-target" in favor of "target-arch" lit features. 2016-02-23 01:58:56 +00:00
debug_report.cc [asan] Add more dynamic CRT mode tests 2016-11-02 15:39:08 +00:00
debug_stacks.cc [compiler-rt] Fix broken unittest on win64 2016-07-21 14:36:25 +00:00
deep_stack_uaf.cc Use %env_asan_opts= substitution instead of 'env ASAN_OPTIONS=$ASAN_OPTIONS' 2015-08-12 23:50:12 +00:00
deep_tail_call.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
default_blacklist.cc [asan] Mass-xfail 17 tests on Android. 2014-05-28 13:45:18 +00:00
default_options.cc [asan] Add more dynamic CRT mode tests 2016-11-02 15:39:08 +00:00
describe_address.cc [ASan] Fix __asan_describe_address and add a test for it. 2014-07-21 21:33:46 +00:00
double-free.cc [asan] Fix internal CHECK failure on double free in recovery mode. 2016-02-02 07:32:24 +00:00
exitcode.cc Add missing %run to test to fix AArch64 buildbot 2016-11-11 18:11:33 +00:00
force_inline_opt0.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
frexp_interceptor.cc [ASan] Fix https://code.google.com/p/address-sanitizer/issues/detail?id=321 for time() and frexp() 2014-06-18 09:27:40 +00:00
global-address.cpp [asan] Fix GlobalAddressDescription::Print() 2016-09-20 20:33:18 +00:00
global-demangle.cc [asan] Remove XFAIL:android from 2 newly passing tests. 2014-07-14 08:54:10 +00:00
global-location.cc [asan] Remove XFAIL:android from 2 newly passing tests. 2014-07-14 08:54:10 +00:00
global-overflow.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
halt_on_error-1.c [Windows] Fix halt_on_error-1.c test on Windows with %env_asan_opts 2015-11-12 21:58:28 +00:00
heap-overflow-large.cc Fix a flaky heap-overflow-large.cc test 2015-03-22 18:00:58 +00:00
heap-overflow.cc Use %env_asan_opts= substitution instead of 'env ASAN_OPTIONS=$ASAN_OPTIONS' 2015-08-12 23:50:12 +00:00
heavy_uar_test.cc Move ASAN_OPTIONS setting from compile command to run command, fixes test on posix 2015-08-14 18:29:00 +00:00
huge_negative_hea_oob.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
ill.cc Try to fix the ill.cc test on Linux 2016-08-06 00:57:58 +00:00
init-order-atexit.cc Use %env_asan_opts= substitution instead of 'env ASAN_OPTIONS=$ASAN_OPTIONS' 2015-08-12 23:50:12 +00:00
initialization-blacklist.cc Use %env_asan_opts= substitution instead of 'env ASAN_OPTIONS=$ASAN_OPTIONS' 2015-08-12 23:50:12 +00:00
initialization-bug.cc [asan] Update tests according to r274578 2016-07-05 21:53:23 +00:00
initialization-constexpr.cc Use %env_asan_opts= substitution instead of 'env ASAN_OPTIONS=$ASAN_OPTIONS' 2015-08-12 23:50:12 +00:00
initialization-nobug.cc Use %env_asan_opts= substitution instead of 'env ASAN_OPTIONS=$ASAN_OPTIONS' 2015-08-12 23:50:12 +00:00
inline.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
interception_failure_test.cc [asan] Add missing header in a test. 2016-11-08 01:17:58 +00:00
interface_test.cc [asan] Add -pie to uninstrumented executables on interface_test.cc 2015-06-26 23:43:03 +00:00
intra-object-overflow.cc [compiler-rt] Disable some unittests on windows that rely on shell command 2016-07-21 14:55:17 +00:00
invalid-free.cc Use %env_asan_opts= substitution instead of 'env ASAN_OPTIONS=$ASAN_OPTIONS' 2015-08-12 23:50:12 +00:00
invalid-pointer-pairs.cc [asan] Relax a flaky invalid-pointer-pairs test 2016-06-22 20:52:21 +00:00
large_func_test.cc [asan] Fix new[]/delete mismatch in tests. 2016-03-01 00:38:39 +00:00
log-path_test.cc [windows] Fix or XFAIL remaining portable test failures and enable them 2015-08-14 17:39:48 +00:00
longjmp.cc [asan] fix four asan tests to run in use-after-return mode 2014-12-03 00:08:41 +00:00
lsan_annotations.cc [asan] Re-enable lsan_annotations test on Android. 2014-09-30 11:11:59 +00:00
malloc_context_size.cc Use %env_asan_opts= substitution instead of 'env ASAN_OPTIONS=$ASAN_OPTIONS' 2015-08-12 23:50:12 +00:00
malloc_fill.cc Use %env_asan_opts= substitution instead of 'env ASAN_OPTIONS=$ASAN_OPTIONS' 2015-08-12 23:50:12 +00:00
max_redzone.cc Use %env_asan_opts= substitution instead of 'env ASAN_OPTIONS=$ASAN_OPTIONS' 2015-08-12 23:50:12 +00:00
memcmp_strict_test.cc Use %env_asan_opts= substitution instead of 'env ASAN_OPTIONS=$ASAN_OPTIONS' 2015-08-12 23:50:12 +00:00
memcmp_test.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
memset_test.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
null_deref.cc [windows] Fix or XFAIL remaining portable test failures and enable them 2015-08-14 17:39:48 +00:00
on_error_callback.cc [asan] Add more dynamic CRT mode tests 2016-11-02 15:39:08 +00:00
partial_right.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
poison_partial.cc Use %env_asan_opts= substitution instead of 'env ASAN_OPTIONS=$ASAN_OPTIONS' 2015-08-12 23:50:12 +00:00
print_summary.cc Use %env_asan_opts= substitution instead of 'env ASAN_OPTIONS=$ASAN_OPTIONS' 2015-08-12 23:50:12 +00:00
printf-1.c Use %env_asan_opts= substitution instead of 'env ASAN_OPTIONS=$ASAN_OPTIONS' 2015-08-12 23:50:12 +00:00
printf-2.c Fix ASan test cases after r263177 2016-03-11 05:04:49 +00:00
printf-3.c [windows] Fix or XFAIL remaining portable test failures and enable them 2015-08-14 17:39:48 +00:00
printf-4.c Fix order of arguments to fputs 2016-03-11 21:07:48 +00:00
printf-5.c Use %env_asan_opts= substitution instead of 'env ASAN_OPTIONS=$ASAN_OPTIONS' 2015-08-12 23:50:12 +00:00
sanity_check_pure_c.c Mark sanitizer tests XFAIL on ARMv7 2014-10-08 21:13:23 +00:00
scariness_score_test.cc [asan] Since r280945 fixed the OS X abort() problem, merge scariness_score_test.cc and make it a general test. 2016-09-09 14:18:22 +00:00
set_shadow_test.c [asan] Temporarily mark test as broken on Windows 2016-08-19 20:48:09 +00:00
sleep_before_dying.c [windows] Fix or XFAIL remaining portable test failures and enable them 2015-08-14 17:39:48 +00:00
speculative_load.cc [asan] Add more dynamic CRT mode tests 2016-11-02 15:39:08 +00:00
speculative_load2.cc Removing memory leak to appease windows bots. 2015-11-18 21:44:33 +00:00
stack-buffer-overflow-with-position.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
stack-buffer-overflow.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
stack-frame-demangle.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
stack-oob-frames.cc Un-XFAIL tests on Windows after fixing PR27492 2016-04-27 16:38:03 +00:00
strcasestr-1.c [asan] Get rid of UB in string tests. Patch by Max Ostapenko. 2015-10-22 08:10:56 +00:00
strcasestr-2.c Fix ASan test cases after r263177 2016-03-11 05:04:49 +00:00
strcasestr_strict.c Use %env_asan_opts= substitution instead of 'env ASAN_OPTIONS=$ASAN_OPTIONS' 2015-08-12 23:50:12 +00:00
strcat_strict.c Use %env_asan_opts= substitution instead of 'env ASAN_OPTIONS=$ASAN_OPTIONS' 2015-08-12 23:50:12 +00:00
strchr_strict.c Use %env_asan_opts= substitution instead of 'env ASAN_OPTIONS=$ASAN_OPTIONS' 2015-08-12 23:50:12 +00:00
strcmp_strict.c Use %env_asan_opts= substitution instead of 'env ASAN_OPTIONS=$ASAN_OPTIONS' 2015-08-12 23:50:12 +00:00
strcspn-1.c [asan] Get rid of UB in string tests. Patch by Max Ostapenko. 2015-10-22 08:10:56 +00:00
strcspn-2.c [asan] Get rid of UB in string tests. Patch by Max Ostapenko. 2015-10-22 08:10:56 +00:00
strcspn_strict.c Use %env_asan_opts= substitution instead of 'env ASAN_OPTIONS=$ASAN_OPTIONS' 2015-08-12 23:50:12 +00:00
strdup_oob_test.cc [asan] Add more dynamic CRT mode tests 2016-11-02 15:39:08 +00:00
strip_path_prefix.c [windows] Fix or XFAIL remaining portable test failures and enable them 2015-08-14 17:39:48 +00:00
strncat_strict.c Use %env_asan_opts= substitution instead of 'env ASAN_OPTIONS=$ASAN_OPTIONS' 2015-08-12 23:50:12 +00:00
strncmp_strict.c [sanitizers] support strict_string_checks for strncmp 2016-10-21 23:52:26 +00:00
strncpy-overflow.cc Mark sanitizer tests XFAIL on ARMv7 2014-10-08 21:13:23 +00:00
strpbrk-1.c [asan] Get rid of UB in string tests. Patch by Max Ostapenko. 2015-10-22 08:10:56 +00:00
strpbrk-2.c [asan] Get rid of UB in string tests. Patch by Max Ostapenko. 2015-10-22 08:10:56 +00:00
strpbrk_strict.c Use %env_asan_opts= substitution instead of 'env ASAN_OPTIONS=$ASAN_OPTIONS' 2015-08-12 23:50:12 +00:00
strspn-1.c [asan] Get rid of UB in string tests. Patch by Max Ostapenko. 2015-10-22 08:10:56 +00:00
strspn-2.c [asan] Get rid of UB in string tests. Patch by Max Ostapenko. 2015-10-22 08:10:56 +00:00
strspn_strict.c Use %env_asan_opts= substitution instead of 'env ASAN_OPTIONS=$ASAN_OPTIONS' 2015-08-12 23:50:12 +00:00
strstr-1.c [asan] relax strstr tests. 2016-10-24 19:07:27 +00:00
strstr-2.c Fix ASan test cases after r263177 2016-03-11 05:04:49 +00:00
strstr_strict.c [asan] relax strstr tests. 2016-10-24 19:07:27 +00:00
strtol_strict.c [windows] Fix or XFAIL remaining portable test failures and enable them 2015-08-14 17:39:48 +00:00
strtoll_strict.c [windows] Fix or XFAIL remaining portable test failures and enable them 2015-08-14 17:39:48 +00:00
suppressions-exec-relative-location.cc [ASan] More ASAN_OPTIONS churn: use %env_asan_opts where applicable. 2015-08-25 18:27:53 +00:00
suppressions-function.cc [windows] Fix or XFAIL remaining portable test failures and enable them 2015-08-14 17:39:48 +00:00
suppressions-interceptor.cc [ASan] More ASAN_OPTIONS churn: use %env_asan_opts where applicable. 2015-08-25 18:27:53 +00:00
suppressions-library.cc [windows] Fix or XFAIL remaining portable test failures and enable them 2015-08-14 17:39:48 +00:00
throw_call_test.cc Clang on Windows supports exceptions, un XFAIL the passing tests 2016-02-18 18:33:58 +00:00
throw_catch.cc Un-XFAIL the last C++ EH test, it was fixed by r261258 2016-02-18 21:24:30 +00:00
throw_invoke_test.cc Clang on Windows supports exceptions, un XFAIL the passing tests 2016-02-18 18:33:58 +00:00
time_interceptor.cc [ASan] Fix https://code.google.com/p/address-sanitizer/issues/detail?id=321 for time() and frexp() 2014-06-18 09:27:40 +00:00
uar_and_exceptions.cc Clang on Windows supports exceptions, un XFAIL the passing tests 2016-02-18 18:33:58 +00:00
unaligned_loads_and_stores.cc Add %run to all lit tests 2014-04-30 21:34:17 +00:00
use-after-delete.cc Mark sanitizer tests XFAIL on ARMv7 2014-10-08 21:13:23 +00:00
use-after-free-right.cc Mark sanitizer tests XFAIL on ARMv7 2014-10-08 21:13:23 +00:00
use-after-free.cc Mark sanitizer tests XFAIL on ARMv7 2014-10-08 21:13:23 +00:00
use-after-poison.cc Use %env_asan_opts= substitution instead of 'env ASAN_OPTIONS=$ASAN_OPTIONS' 2015-08-12 23:50:12 +00:00
use-after-scope-capture.cc Try to fix more Windows portability issues in sanitizer tests 2016-07-22 18:41:22 +00:00
use-after-scope-dtor-order.cc Replace -mllvm -asan-use-after-scope=1 with -fsanitize-address-use-after-scope 2016-07-14 21:18:06 +00:00
use-after-scope-goto.cc [asan] Test jumps which bypass variables declaration 2016-10-27 21:02:32 +00:00
use-after-scope-if.cc Replace -mllvm -asan-use-after-scope=1 with -fsanitize-address-use-after-scope 2016-07-14 21:18:06 +00:00
use-after-scope-inlined.cc [asan] Update test for D25715 2016-10-18 23:30:07 +00:00
use-after-scope-loop-bug.cc [asan] Add more dynamic CRT mode tests 2016-11-02 15:39:08 +00:00
use-after-scope-loop-removed.cc [asan] Enable the rest of use-after-scope tests 2016-07-28 23:03:27 +00:00
use-after-scope-loop.cc Replace -mllvm -asan-use-after-scope=1 with -fsanitize-address-use-after-scope 2016-07-14 21:18:06 +00:00
use-after-scope-nobug.cc Replace -mllvm -asan-use-after-scope=1 with -fsanitize-address-use-after-scope 2016-07-14 21:18:06 +00:00
use-after-scope-temp.cc [asan] Enable the rest of use-after-scope tests 2016-07-28 23:03:27 +00:00
use-after-scope-types.cc [asan] Mark failing test as UNSUPPORTED. 2016-08-30 03:10:19 +00:00
use-after-scope.cc [asan] Remove runtime flag detect_stack_use_after_scope 2016-08-29 17:16:59 +00:00
verbose-log-path_test.cc [windows] Fix or XFAIL remaining portable test failures and enable them 2015-08-14 17:39:48 +00:00
vla_chrome_testcase.cc [asan] Rename asan-instrument-allocas -> asan-instrument-dynamic-allocas 2016-08-20 17:22:36 +00:00
vla_condition_overflow.cc [asan] Rename asan-instrument-allocas -> asan-instrument-dynamic-allocas 2016-08-20 17:22:36 +00:00
vla_loop_overfow.cc [asan] Rename asan-instrument-allocas -> asan-instrument-dynamic-allocas 2016-08-20 17:22:36 +00:00
zero_page_pc.cc [windows] Fix or XFAIL remaining portable test failures and enable them 2015-08-14 17:39:48 +00:00