hanchenye-llvm-project/compiler-rt/test/asan/TestCases
Kostya Serebryany 422ea24d45 [asan] make print_memory_profile_test more reliable by using large allocation sizes. Hoping to fix the llvm-clang-lld-x86_64-debian-fast bot
llvm-svn: 272020
2016-06-07 16:08:59 +00:00
..
Android [sancov] updaing android test after enabling cc edge pruning 2016-04-07 20:21:21 +00:00
Darwin Update test expectations after r269291 (Fix a crash when demangling Swift symbols). 2016-05-12 17:08:25 +00:00
Helpers Combine helper file into main test file with ifdefs 2015-08-12 23:24:41 +00:00
Linux [asan] make print_memory_profile_test more reliable by using large allocation sizes. Hoping to fix the llvm-clang-lld-x86_64-debian-fast bot 2016-06-07 16:08:59 +00:00
Posix Revert "[sanitizers] read/write page fault detection on mac." 2016-04-26 07:03:11 +00:00
Windows It really helps to not randomly delete one of the closing brackets. =/ 2016-06-04 09:06:59 +00:00
alloca_big_alignment.cc [asan] Runtime support for asan-instrument-allocas which enables instrumentation of variable-sized dynamic allocas. Patch by Max Ostapenko. 2014-11-21 10:32:05 +00:00
alloca_detect_custom_size_.cc [asan] Runtime support for asan-instrument-allocas which enables instrumentation of variable-sized dynamic allocas. Patch by Max Ostapenko. 2014-11-21 10:32:05 +00:00
alloca_instruments_all_paddings.cc Fix alloca_instruments_all_paddings.cc test to work under higher -O levels (compiler-rt part) 2015-02-24 09:47:33 +00:00
alloca_loop_unpoisoning.cc [windows] Fix or XFAIL remaining portable test failures and enable them 2015-08-14 17:39:48 +00:00
alloca_overflow_partial.cc [asan] Runtime support for asan-instrument-allocas which enables instrumentation of variable-sized dynamic allocas. Patch by Max Ostapenko. 2014-11-21 10:32:05 +00:00
alloca_overflow_right.cc [asan] Runtime support for asan-instrument-allocas which enables instrumentation of variable-sized dynamic allocas. Patch by Max Ostapenko. 2014-11-21 10:32:05 +00:00
alloca_safe_access.cc [asan] Runtime support for asan-instrument-allocas which enables instrumentation of variable-sized dynamic allocas. Patch by Max Ostapenko. 2014-11-21 10:32:05 +00:00
alloca_underflow_left.cc [asan] Runtime support for asan-instrument-allocas which enables instrumentation of variable-sized dynamic allocas. Patch by Max Ostapenko. 2014-11-21 10:32:05 +00:00
alloca_vla_interact.cc [asan] Enable alloca_vla_interact.cc test on PowerPC64. 2015-12-04 09:32:45 +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 Use %env_asan_opts= substitution instead of 'env ASAN_OPTIONS=$ASAN_OPTIONS' 2015-08-12 23:50:12 +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
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 [asan] Mark 5 tests unsupported on Android. 2015-10-26 22:19:50 +00:00
coverage-pc-buffer.cc [sanitizers] rewriting test assuming assert() changes coverage. 2016-04-26 21:56:14 +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 [asan] Mark 5 tests unsupported on Android. 2015-10-26 22:19:50 +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 Use %env_asan_opts= substitution instead of 'env ASAN_OPTIONS=$ASAN_OPTIONS' 2015-08-12 23:50:12 +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 [windows] Fix or XFAIL remaining portable test failures and enable them 2015-08-14 17:39:48 +00:00
debug_stacks.cc [windows] Fix or XFAIL remaining portable test failures and enable them 2015-08-14 17:39:48 +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
default_blacklist.cc
default_options.cc [ASan/Win] Add support for sanitizer allocator hooks, __asan_default_options and __asan_on_error 2015-02-24 17:07:22 +00:00
describe_address.cc
double-free.cc [asan] Fix internal CHECK failure on double free in recovery mode. 2016-02-02 07:32:24 +00:00
force_inline_opt0.cc
frexp_interceptor.cc
global-demangle.cc
global-location.cc
global-overflow.cc
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
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] Mark the initialization-bug.cc unsupported on OS X Yosemite and older 2016-03-30 22:21:58 +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
interception_failure_test.cc [windows] Fix or XFAIL remaining portable test failures and enable them 2015-08-14 17:39:48 +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 [asan] the run-time part of intra-object-overflow detector (-fsanitize-address-field-padding=1). Note that all of this is still experimental; don't use unless you are brave. 2014-10-17 01:22:37 +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 Finally fix invalid-pointer-pairs.cc. This time the demangle on the Windows buildbot. 2016-04-30 08:34:40 +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
memset_test.cc
no_asan_gen_globals.c [asan] restict no_asan_gen_globals.c test to 64-bit due to PR22682 2015-02-25 20:19:23 +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 [windows] Fix or XFAIL remaining portable test failures and enable them 2015-08-14 17:39:48 +00:00
partial_right.cc
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
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 Disabling speculative loads under asan. 2015-10-20 17:34:47 +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
stack-buffer-overflow.cc
stack-frame-demangle.cc
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] Mark strdup test as unsupported on arm/linux. 2016-04-21 18:18:09 +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
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] Get rid of UB in string tests. Patch by Max Ostapenko. 2015-10-22 08:10:56 +00:00
strstr-2.c Fix ASan test cases after r263177 2016-03-11 05:04:49 +00:00
strstr_strict.c Use %env_asan_opts= substitution instead of 'env ASAN_OPTIONS=$ASAN_OPTIONS' 2015-08-12 23:50:12 +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
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
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 Relax stack check as on some platforms demanglers fail 2016-05-02 23:34:40 +00:00
use-after-scope-chars.cc Add another failing use-after-scope test 2016-05-02 23:12:04 +00:00
use-after-scope-dtor-order.cc Enable stack-use-after-scope tests. 2016-04-22 00:10:23 +00:00
use-after-scope-if.cc Enable stack-use-after-scope tests. 2016-04-22 00:10:23 +00:00
use-after-scope-inlined.cc Enable stack-use-after-scope tests. 2016-04-22 00:10:23 +00:00
use-after-scope-loop-bug.cc Enable stack-use-after-scope tests. 2016-04-22 00:10:23 +00:00
use-after-scope-loop-removed.cc Enable stack-use-after-scope tests. 2016-04-22 00:10:23 +00:00
use-after-scope-loop.cc Enable stack-use-after-scope tests. 2016-04-22 00:10:23 +00:00
use-after-scope-nobug.cc Enable stack-use-after-scope tests. 2016-04-22 00:10:23 +00:00
use-after-scope-temp.cc Enable stack-use-after-scope tests. 2016-04-22 00:10:23 +00:00
use-after-scope.cc Enable stack-use-after-scope tests. 2016-04-22 00:10:23 +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] New approach to dynamic allocas unpoisoning. Patch by Max Ostapenko! 2015-05-28 07:49:05 +00:00
vla_condition_overflow.cc [ASan] Disable alloca tests on ARM targets due to flakiness. 2015-05-28 14:29:12 +00:00
vla_loop_overfow.cc [ASan] Disable alloca tests on ARM targets due to flakiness. 2015-05-28 14:29:12 +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