llvm-project/compiler-rt/lib/asan/lit_tests
Alexey Samsonov 5c38383205 [ASan] Add allow_user_segv_handler to let users override SEGV handler installed by ASan
llvm-svn: 180255
2013-04-25 10:52:15 +00:00
..
Darwin [ASan] Use dynamic symbol table when checking exported ASan runtime symbols 2013-03-25 13:47:53 +00:00
Helpers [ASan] test source-based init-order blacklisting added in r179280 2013-04-11 13:21:41 +00:00
Linux [ASan] Make init-order checker allow access to already initialized globals. 2013-04-19 08:35:16 +00:00
SharedLibs [ASan] Make init-order checker allow access to already initialized globals. 2013-04-19 08:35:16 +00:00
Unit Use LLVM_BUILD_TYPE instead of CMAKE_BUILD_TYPE in compiler-rt unit tests to match the behavior of llvm unittests 2013-01-30 12:18:49 +00:00
CMakeLists.txt Explicitly list all sanitizer headers in CMake build rules. Make sure sanitizer lit_tests depend on fresh headers. 2013-04-11 15:49:52 +00:00
allow_user_segv.cc [ASan] Add allow_user_segv_handler to let users override SEGV handler installed by ASan 2013-04-25 10:52:15 +00:00
blacklist.cc ASan: use new option -fsanitize-blacklist in output tests 2012-12-07 22:21:21 +00:00
deep_stack_uaf.cc [asan] add a flag alloc_dealloc_mismatch (off by default for now) which finds malloc/delete, new/free, new/delete[], etc mismatches 2012-12-21 08:53:59 +00:00
deep_tail_call.cc [asan] change the asan output slightly to avoid user confusion: a) add ':' after 'AddressSanitizer' and b) changed 'crashed' to 'SEGV' 2012-10-15 13:04:58 +00:00
deep_thread_stack.cc [asan] change the asan output slightly to avoid user confusion: a) add ':' after 'AddressSanitizer' and b) changed 'crashed' to 'SEGV' 2012-10-15 13:04:58 +00:00
default_options.cc [asan] use the new attribute syntax (no_address_safety_analysis => no_sanitize_address) 2013-02-26 07:01:06 +00:00
dlclose-test.cc [ASan] Port (the last one) tricky interface_test to lit, and a *huge* chunks of boilerplate to run tests for 32/64 bits and all optimization levels. Alas, lit doesn't support for loops in RUN-lines... 2012-08-15 11:26:57 +00:00
double-free.cc [asan] print thread number while reporting invalid-free and double-free; add tests; also add a test for use-after-poison 2013-03-26 08:01:37 +00:00
force_inline_opt0.cc Re-enable this test now that r166172 has hacked around the terrible 2012-10-18 08:06:28 +00:00
global-demangle.cc [ASan] More careful reports for globals that are ASCII strings 2013-04-01 08:57:38 +00:00
global-overflow.cc Make ASan and TSan tests a bit less brittle with @LINE FileCheck macro 2012-12-28 08:38:09 +00:00
heap-overflow.cc [ASan] Use dylib interposition to hook memory allocation in the dynamic runtime. 2013-01-22 09:14:54 +00:00
huge_negative_hea_oob.cc [asan] make huge_negative_hea_oob more meaningful 2013-04-05 15:16:48 +00:00
init-order-dlopen.cc [ASan] Disable strict-init-order checker once we have more than one thread, as this mode is thread-hostile 2013-04-23 13:57:35 +00:00
initialization-blacklist.cc [ASan] test source-based init-order blacklisting added in r179280 2013-04-11 13:21:41 +00:00
initialization-bug.cc [ASan] remove -fsanitize=init-order from lit tests as now it's implied by -fsanitize=address 2013-03-14 12:43:03 +00:00
initialization-constexpr.cc [ASan] init-order checker tests: move constexpr test that requires -std=c++11 to a separate test case. Check that structs with no ctor but non-trivial dtor are ignored. 2013-04-05 07:51:49 +00:00
initialization-nobug.cc [ASan] init-order checker tests: move constexpr test that requires -std=c++11 to a separate test case. Check that structs with no ctor but non-trivial dtor are ignored. 2013-04-05 07:51:49 +00:00
interface_test.cc [ASan] Split ASan interface header into private and public parts. Add a test that makes sure users can include interface header 2013-01-31 13:46:14 +00:00
invalid-free.cc [asan] print thread number while reporting invalid-free and double-free; add tests; also add a test for use-after-poison 2013-03-26 08:01:37 +00:00
large_func_test.cc [ASan] Make sure operator new/delete and friends are intercepted on OS X. 2013-02-21 16:54:09 +00:00
lit.cfg [ASan] now we don't need llvm_obj_root to access llvm-symbolizer tool 2012-11-13 07:55:16 +00:00
lit.site.cfg.in [ASan] use llvm-symbolizer (in offline mode) in ASan output tests on Linux 2012-09-28 11:05:41 +00:00
log-path_test.cc [asan] add asan option log_path=PATH to let users redirect asan reports to a file PATH.PID instead of stderr 2012-09-14 04:35:14 +00:00
log_path_fork_test.cc.disabled Temporary disable test added in r172828 as it seems to be flaky on the buildbots 2013-01-20 13:41:26 +00:00
malloc_fill.cc [asan] fill first 4K of malloc-ed memory with garbage, implement flags max_malloc_fill_size and malloc_fill_byte 2013-04-04 11:17:14 +00:00
malloc_hook.cc [ASan] use write instead of puts in malloc hooks test for ASan, as puts calls malloc on Mac 2012-08-22 13:32:37 +00:00
memcmp_strict_test.cc [ASan] Add the memcmp_strict flag (1 by default) that controls the behavior of accessibility checks in memcmp. 2013-02-28 14:09:30 +00:00
memcmp_test.cc [asan] change the asan output slightly to avoid user confusion: a) add ':' after 'AddressSanitizer' and b) changed 'crashed' to 'SEGV' 2012-10-15 13:04:58 +00:00
null_deref.cc Make ASan and TSan tests a bit less brittle with @LINE FileCheck macro 2012-12-28 08:38:09 +00:00
on_error_callback.cc [ASan] Change __asan_set_on_error_callback to weak overridable __asan_on_error, so that ASan would call the latter even if it finds the error early (i.e. during module initialization) 2012-10-02 14:06:39 +00:00
partial_right.cc [asan] Fix nonsensical reports of partial right OOB. 2013-02-05 14:32:03 +00:00
sanity_check_pure_c.c Make ASan and TSan tests a bit less brittle with @LINE FileCheck macro 2012-12-28 08:38:09 +00:00
shared-lib-test.cc Make ASan and TSan tests a bit less brittle with @LINE FileCheck macro 2012-12-28 08:38:09 +00:00
sleep_before_dying.c Update compiler-rt tests to match flag renaming/deprecation in Clang. 2012-11-06 02:31:42 +00:00
stack-frame-demangle.cc [asan] Change the way we report the alloca frame on stack-buff-overflow. 2013-03-22 10:36:24 +00:00
stack-oob-frames.cc [asan] Change the way we report the alloca frame on stack-buff-overflow. 2013-03-22 10:36:24 +00:00
stack-overflow.cc [asan] Change the way we report the alloca frame on stack-buff-overflow. 2013-03-22 10:36:24 +00:00
stack-use-after-return.cc [ASan] use brand new -fsanitize= values for init-order/use-after-return ASan output tests 2012-11-29 22:56:01 +00:00
strip_path_prefix.c Update compiler-rt tests to match flag renaming/deprecation in Clang. 2012-11-06 02:31:42 +00:00
strncpy-overflow.cc [asan] Fix nonsensical reports of partial right OOB. 2013-02-05 14:32:03 +00:00
symbolize_callback.cc [Sanitizer/ASan] Simplify the code that prints and symbolizes stack traces. Fall back to module+offset if user-provided symbolizer failed. Use weak function __asan_symbolize instead of __asan_set_symbolize_callback in ASan interface, so that we're able to symbolize reports for errors that happen before the main() is called, for example, during module initialization. 2012-10-02 12:11:17 +00:00
throw_call_test.cc [asan] use the new attribute syntax (no_address_safety_analysis => no_sanitize_address) 2013-02-26 07:01:06 +00:00
throw_invoke_test.cc [asan] add a lit test for invoke-with-no-return instrumentation 2013-02-20 12:37:22 +00:00
time_interceptor.cc [asan] add heavy_uar_test (disabled); fix lint 2013-04-11 11:29:07 +00:00
unaligned_loads_and_stores.cc [asan] implement callbacks for unaligned loads/stores 2013-04-10 13:59:32 +00:00
use-after-free-right.cc [sanitizer] Fix line numbers in a sanitizer lit test. 2013-02-11 07:19:24 +00:00
use-after-free.cc [ASan] Use dylib interposition to hook memory allocation in the dynamic runtime. 2013-01-22 09:14:54 +00:00
use-after-poison.cc [asan] fill first 4K of malloc-ed memory with garbage, implement flags max_malloc_fill_size and malloc_fill_byte 2013-04-04 11:17:14 +00:00
use-after-scope-inlined.cc [asan] Change the way we report the alloca frame on stack-buff-overflow. 2013-03-22 10:36:24 +00:00
wait.cc [ASan] Make wait.cc more Darwin-compatible: fix the header name and the CHECK patterns. 2013-04-23 12:36:37 +00:00