llvm-project/compiler-rt/test/asan/TestCases
Vitaly Buka cd269daf25 [test][asan] Remove -fsanitize-address-use-after-scope
It's enabled by default in D31479.
2022-08-13 00:04:55 -07:00
..
Android [compiler-rt] Rename lit.*.cfg.* -> lit.*.cfg.py.* 2019-06-27 20:56:04 +00:00
Darwin [Sanitizer][Darwin] Cleanup MaybeReexec() function and usage 2022-07-08 14:31:42 -07:00
Helpers [clang] accept -fsanitize-ignorelist= in addition to -fsanitize-blacklist= 2021-05-04 10:24:00 -04:00
Linux [libasan] Remove 4Mb stack limit for swapcontext unpoisoning 2022-07-22 17:37:44 -07:00
Posix [asan][test] Additional test requiring weak symbol for dyld64. 2022-07-25 13:56:02 -07:00
Windows [test] Add workaround for flaky error we see on Windows bots 2022-06-27 12:37:44 -07:00
PR52382.c [asan] compiler-rt version of D113143 2021-11-04 23:51:16 -07:00
alloca_big_alignment.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
alloca_constant_size.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
alloca_detect_custom_size_.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
alloca_instruments_all_paddings.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
alloca_loop_unpoisoning.cpp [asan] Enable detect_stack_use_after_return=1 by default 2022-04-22 15:31:43 -07:00
alloca_overflow_partial.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
alloca_overflow_right.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
alloca_safe_access.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
alloca_underflow_left.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
alloca_vla_interact.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
asan_and_llvm_coverage_test.cpp [GCOV] Skip artificial functions from being emitted 2019-11-15 14:23:11 -05:00
asan_options-help.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
asan_update_allocation.cpp [lsan][lsan] Use --std=c++14 to fix Windows test 2021-03-22 21:43:07 -07:00
atexit_stats.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
atoi_strict.c
atol_strict.c
atoll_strict.c
calloc-overflow.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
contiguous_container.cpp [asan] Enable detect_stack_use_after_return=1 by default 2022-04-22 15:31:43 -07:00
contiguous_container_crash.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
coverage-and-lsan.cpp [asan] More leaks in test 2021-11-12 17:59:14 -08:00
coverage-disabled.cpp [compiler-rt][NFC]Fix Wdeprecated warnings for fsanitize-coverage 2020-05-27 02:37:30 +00:00
coverage-trace-pc.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
debug_double_free.cpp [asan][ubsan][test] Add weak attributes for dyld Mach-O weak-def-coalescing 2022-07-13 11:46:56 -07:00
debug_locate.cpp Fix-forward ASan on Windows. 2022-06-27 15:53:30 -07:00
debug_mapping.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
debug_ppc64_mapping.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
debug_report.cpp [asan][ubsan][test] Add weak attributes for dyld Mach-O weak-def-coalescing 2022-07-13 11:46:56 -07:00
debug_stacks.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
deep_stack_uaf.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
deep_tail_call.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
default_ignorelist.cpp [clang] accept -fsanitize-ignorelist= in addition to -fsanitize-blacklist= 2021-05-04 10:24:00 -04:00
default_options.cpp [asan][ubsan][test] Add weak attributes for dyld Mach-O weak-def-coalescing 2022-07-13 11:46:56 -07:00
describe_address.cpp Fix-forward ASan on Windows. 2022-06-27 15:53:30 -07:00
double-free.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
error_report_callback.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
exitcode.cpp [NFC][sanitizer] Remove %stdcxx11 2021-10-14 16:47:43 -07:00
force_inline_opt0.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
frexp_interceptor.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
frexpf_interceptor.cpp [compiler-rt] change write order of frexpl & frexpf so it doesn't corrupt stack ids 2021-07-16 10:58:12 -07:00
frexpl_interceptor.cpp [compiler-rt] change write order of frexpl & frexpf so it doesn't corrupt stack ids 2021-07-16 10:58:12 -07:00
global-address.cpp
global-demangle.cpp Fix-forward ASan on Windows. 2022-06-27 15:53:30 -07:00
global-location-nodebug.cpp Mark ASan global-location-nodebug test as unspported on win. 2022-06-27 16:03:32 -07:00
global-location.cpp Delete 'llvm.asan.globals' for global metadata. 2022-06-27 14:40:40 -07:00
global-overflow.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
global-underflow.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
halt_on_error-1.c
handle_noreturn_bug.cpp [asan] Enable detect_stack_use_after_return=1 by default 2022-04-22 15:31:43 -07:00
heap-overflow-large.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
heap-overflow.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
heavy_uar_test.cpp [test] Don't rely on default of detect_stack_use_after_return 2022-04-22 23:28:27 -07:00
huge_negative_hea_oob.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
ignorelist.cpp [clang] accept -fsanitize-ignorelist= in addition to -fsanitize-blacklist= 2021-05-04 10:24:00 -04:00
ill.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
init-order-atexit.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
initialization-bug.cpp [compiler-rt] NFC: Fix trivial typo 2021-09-04 14:12:58 +05:30
initialization-constexpr.cpp Update compiler-rt cpplint.py 2019-09-11 21:33:06 +00:00
initialization-ignorelist.cpp [clang] accept -fsanitize-ignorelist= in addition to -fsanitize-blacklist= 2021-05-04 10:24:00 -04:00
initialization-nobug.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
inline.cpp Avoid memory leak in ASan test 2019-09-21 07:43:55 +00:00
intercept-rethrow-exception.cpp [asan] Enable detect_stack_use_after_return=1 by default 2022-04-22 15:31:43 -07:00
interception_failure_test.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
interface_test.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
intra-object-overflow.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
invalid-free.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
invalid-pointer-pairs-compare-errors.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
invalid-pointer-pairs-compare-null.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
invalid-pointer-pairs-compare-success.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
invalid-pointer-pairs-subtract-errors.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
invalid-pointer-pairs-subtract-success.cpp [asan] Enable detect_stack_use_after_return=1 by default 2022-04-22 15:31:43 -07:00
invalid-pointer-pairs.cpp [asan] Update Windows test expectations for LLVM's MS demangler 2019-10-17 17:59:11 +00:00
large_func_test.cpp [ASan] Add read to large_func_test.cpp to prevent optimization. 2022-03-16 17:00:32 +00:00
leaks.cpp [sanitizers] Remove the test case involving `new int[0]` 2020-11-05 09:16:45 -05:00
load_and_store_n.cpp [ASan] Removed checks if the tested functions were emitted. 2022-04-19 19:20:52 +00:00
log-path_test.cpp [sanitizer] Check if directory exists before trying to create 2022-02-13 06:59:32 -08:00
longjmp.cpp [NFC][sanitizer] Remove calls to __asan_get_current_fake_stack 2021-06-15 18:52:22 -07:00
lsan_annotations.cpp Revert "[Asan] Accept __lsan_ignore_object for redzone pointer" 2020-09-16 00:34:43 -07:00
lsan_crash.cpp [lsan][lsan] Use --std=c++14 to fix Windows test 2021-03-22 21:43:07 -07:00
malloc-no-intercept.c [asan][test] Annotate glibc specific tests with REQUIRES: glibc-2.27 2020-12-28 19:56:08 -08:00
malloc-size-too-big.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
malloc_context_size.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
malloc_fill.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
max_redzone.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
memcmp_strict_test.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
memcmp_test.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
memset_test.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
non-executable-pc.cpp
null_deref.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
on_error_callback.cpp [asan][ubsan][test] Add weak attributes for dyld Mach-O weak-def-coalescing 2022-07-13 11:46:56 -07:00
partial_right.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
pass-object-byval.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
pass-struct-byval-uar.cpp [sanitizer] Replace -mllvm -asan-use-after-return in compile-rt tests with -fsanitize-address-use-after-return (NFC) 2021-06-11 15:13:22 -07:00
pass-struct-byval.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
poison_partial.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
pr33372.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
print_summary.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
printf-1.c
printf-2.c
printf-3.c
printf-4.c
printf-5.c
printf-m.c
realloc.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
replaceable_new_delete.cpp [asan] Replaceable new/delete is unsupported in Windows. 2021-04-12 09:50:34 -07:00
sanity_check_pure_c.c
scariness_score_test.cpp [test][asan] Disable symbolization 2022-08-11 00:02:02 -07:00
set_shadow_test.c [ASan] Enable set_shadow_test.c on Windows. 2020-03-09 16:09:28 -07:00
sleep_for_debugger.c [ASan] Add sleep_before_init flag 2022-05-19 20:41:43 -07:00
small_memcpy_test.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
speculative_load.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
speculative_load2.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
stack-buffer-overflow-with-position.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
stack-buffer-overflow.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
stack-frame-demangle.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
stack-oob-frames.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
strcasestr-1.c
strcasestr-2.c
strcasestr_strict.c
strcat-overlap.cpp [NFC][Asan] Fix cpplint warning in test 2020-10-28 00:38:50 -07:00
strcat_strict.c
strchr_strict.c
strcmp.c [msan][asan] Add runtime flag intercept_strcmp 2020-09-18 13:45:55 -07:00
strcmp_strict.c
strcpy-overlap.cpp [NFC][Asan] Fix cpplint warnings in tests 2020-10-28 00:32:44 -07:00
strcspn-1.c
strcspn-2.c
strcspn_strict.c
strdup_oob_test.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
strip_path_prefix.c
strncasecmp_strict.c Fix accidental use of VLAs that causes these tests to fail after Clang 2020-10-16 15:14:28 -07:00
strncat-overlap.cpp [NFC][Asan] Fix cpplint warnings in tests 2020-10-28 00:32:44 -07:00
strncat_strict.c
strncmp_strict.c Fix accidental use of VLAs that causes these tests to fail after Clang 2020-10-16 15:14:28 -07:00
strncpy-overflow.cpp Attempt to stablize compiler-rt/test/asan/TestCases/strncpy-overflow.cpp 2021-12-20 17:51:11 -08:00
strncpy-overlap.cpp [NFC][Asan] Fix cpplint warnings in tests 2020-10-28 00:32:44 -07:00
strpbrk-1.c
strpbrk-2.c
strpbrk_strict.c
strspn-1.c
strspn-2.c
strspn_strict.c
strstr-1.c
strstr-2.c
strstr_strict.c [asan] Mark the strstr test as UNSUPPORTED on FreeBSD 2020-07-26 11:37:47 +01:00
strtok.c
strtol_strict.c
strtoll_strict.c
suppressions-exec-relative-location.cpp Fix a test case after committing D94563. 2021-02-04 16:06:51 -08:00
suppressions-function.cpp [llvm-symbolizer] Add inline stack traces for Windows. 2020-11-17 13:19:13 -08:00
suppressions-interceptor.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
suppressions-library.cpp [test] Remove an outdated FIXME 2022-06-01 08:17:46 +09:00
throw_call_test.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
throw_catch.cpp [NFC][sanitizer] Remove calls to __asan_get_current_fake_stack 2021-06-15 18:52:22 -07:00
throw_invoke_test.cpp [sanitizer] Disabled 2 tests on Android 2020-10-31 03:56:52 -07:00
time_interceptor.cpp Remove NOLINTs from compiler-rt 2019-09-11 23:19:48 +00:00
uar_and_exceptions.cpp [sanitizer] Replace -mllvm -asan-use-after-return in compile-rt tests with -fsanitize-address-use-after-return (NFC) 2021-06-11 15:13:22 -07:00
unaligned_loads_and_stores.cpp [ASan][test] Fix mismatched-new-delete in asan test unaligned_loads_and_stores.cpp 2022-04-23 11:57:59 +08:00
use-after-delete.cpp [asan][tests] Handle FreeBSD in large_func_test and use-after-delete 2021-03-10 11:17:33 +00:00
use-after-free-right.cpp Try to fix compiler-rt tests after 87dbdd2e3b on mac and win 2021-02-09 09:28:52 -05:00
use-after-free.cpp Try to fix compiler-rt tests after 87dbdd2e3b on mac and win 2021-02-09 09:28:52 -05:00
use-after-poison.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
use-after-scope-capture.cpp [test][asan] Remove -fsanitize-address-use-after-scope 2022-08-13 00:04:55 -07:00
use-after-scope-conversion.cpp [test][asan] Remove -fsanitize-address-use-after-scope 2022-08-13 00:04:55 -07:00
use-after-scope-dtor-order.cpp [test][asan] Remove -fsanitize-address-use-after-scope 2022-08-13 00:04:55 -07:00
use-after-scope-goto.cpp [test][asan] Remove -fsanitize-address-use-after-scope 2022-08-13 00:04:55 -07:00
use-after-scope-if.cpp [test][asan] Remove -fsanitize-address-use-after-scope 2022-08-13 00:04:55 -07:00
use-after-scope-inlined.cpp [test][asan] Remove -fsanitize-address-use-after-scope 2022-08-13 00:04:55 -07:00
use-after-scope-loop-bug.cpp [test][asan] Remove -fsanitize-address-use-after-scope 2022-08-13 00:04:55 -07:00
use-after-scope-loop-removed.cpp [test][asan] Remove -fsanitize-address-use-after-scope 2022-08-13 00:04:55 -07:00
use-after-scope-loop.cpp [test][asan] Remove -fsanitize-address-use-after-scope 2022-08-13 00:04:55 -07:00
use-after-scope-nobug.cpp [test][asan] Remove -fsanitize-address-use-after-scope 2022-08-13 00:04:55 -07:00
use-after-scope-temp.cpp [test][asan] Remove -fsanitize-address-use-after-scope 2022-08-13 00:04:55 -07:00
use-after-scope-temp2.cpp [test][asan] Remove -fsanitize-address-use-after-scope 2022-08-13 00:04:55 -07:00
use-after-scope-types.cpp [test][asan] Remove -fsanitize-address-use-after-scope 2022-08-13 00:04:55 -07:00
use-after-scope.cpp [test][asan] Remove -fsanitize-address-use-after-scope 2022-08-13 00:04:55 -07:00
verbose-log-path_test.cpp compiler-rt: Rename cc files below test/asan to cpp 2019-08-05 16:48:12 +00:00
vla_chrome_testcase.cpp Remove NOLINTs from compiler-rt 2019-09-11 23:19:48 +00:00
vla_condition_overflow.cpp [sanitizer] Remove cpplint annotations 2021-07-30 18:20:40 -07:00
vla_loop_overfow.cpp Remove NOLINTs from compiler-rt 2019-09-11 23:19:48 +00:00
wild_pointer.cpp [asan] Fixed test failing on windows due to different printf behaviour. 2021-03-15 10:58:40 -04:00
zero_page_pc.cpp [compiler-rt][test] fix zero_page_pc on arm64e 2021-06-24 13:40:12 -07:00