summaryrefslogtreecommitdiff
path: root/test/asan
AgeCommit message (Collapse)Author
2014-04-01[ASan] Optional support for dynamic ASan runtime on Linux.Alexey Samsonov
Based on http://llvm-reviews.chandlerc.com/D3042 by Yuri Gribov! git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@205308 91177308-0d34-0410-b5e6-96231b3b80d8
2014-03-27[sanitizer] Intercept __bzero on Mac.Evgeniy Stepanov
This should make memset_test pass on Mac. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@204929 91177308-0d34-0410-b5e6-96231b3b80d8
2014-03-27[asan] add a test case for r204897.Kostya Serebryany
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@204903 91177308-0d34-0410-b5e6-96231b3b80d8
2014-03-27[asan] Do not sanitize kernel area on 32-bit targets, patch by Yuri GribovKostya Serebryany
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@204897 91177308-0d34-0410-b5e6-96231b3b80d8
2014-03-26[sanitizer] Intercept __aeabi_mem(set|cpy|move).Evgeniy Stepanov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@204800 91177308-0d34-0410-b5e6-96231b3b80d8
2014-03-20Mark this test as 64-bit specificAlexey Samsonov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@204319 91177308-0d34-0410-b5e6-96231b3b80d8
2014-03-14[ASan] Fix https://code.google.com/p/address-sanitizer/issues/detail?id=274Alexander Potapenko
by ignoring globals from __TEXT,__cstring,cstring_literals during instrumenation. Add a regression test. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203916 91177308-0d34-0410-b5e6-96231b3b80d8
2014-03-05Improve llvm-symbolizer discovery in asan_symbolize.pyAlexey Samsonov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202982 91177308-0d34-0410-b5e6-96231b3b80d8
2014-03-04[ASan] Speed up stack trace unwinding for stacks of size 2.Alexey Samsonov
Summary: We don't need to do any work in this case - just take the current PC and caller PC. Reviewers: eugenis, ygribov Reviewed By: eugenis CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2936 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202845 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-27tsan: another attempt to fix the tls_get_addr crashDmitry Vyukov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202405 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-26[ASan] Split interception-in-shared-lib-test.cc into two tests with ↵Alexander Potapenko
platform-specific RUN commands. Get rid of a TestCases/SharedLibs/shared-lib-test-so.cc dependency in these tests. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202267 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-25[asan] Remove extra sonames from libraries in tests.Evgeniy Stepanov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202156 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-25[asan] Reenable waitid test on Android.Evgeniy Stepanov
waitid() is present since API level 9 (Android 2.3). That's old enough. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202149 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-24[asan] Add a test for interceptors in shared libraries.Evgeniy Stepanov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202037 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-24[asan] A test was reverted, but not "svn rm"-ed in r202016.Evgeniy Stepanov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202025 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-24Revert r202014.Evgeniy Stepanov
Failing on the bots for an unknown reason. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202016 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-24[asan] Add a test for interceptors in shared libraries.Evgeniy Stepanov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202014 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-24[asan] Avoid hardcoding library path in test binary.Evgeniy Stepanov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202013 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-20[CMake] lit tests shouldn't depend on runtimes in standalone buildAlexey Samsonov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201771 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-19Add rudimentary support for running compiler-rt lit tests with GCCAlexey Samsonov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201680 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-19[asan] Ensure that stack is limited before attempting to overflow it.Evgeniy Stepanov
Very bad things happen otherwise. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201670 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-19[CMake] Introduce COMPILER_RT_INCLUDE_TESTS optionAlexey Samsonov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201666 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-19[asan] Improve stack overflow detection.Evgeniy Stepanov
There are more cases when those manifest as an access below SP. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201664 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-18[asan] Relax stack-overflow test.Evgeniy Stepanov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201571 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-18[asan] Disable stack-overflow test on main thread.Evgeniy Stepanov
Failing on some bots. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201567 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-18[asan] Stack overflow detection.Evgeniy Stepanov
Report segmentation faults near or below stack bottom as stack-overflow (not stack-buffer-overflow!). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201565 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-18[asan] Fix one test on OSX.Evgeniy Stepanov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201564 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-18Drop test/asan/GenericConfig directoryAlexey Samsonov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201552 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-18[asan] Replace rand_r with rand in test.Evgeniy Stepanov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201548 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-17Simplify defining Clang compile flags in lit configsAlexey Samsonov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201513 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-17[asan] Add a test for stack unwinding in new and delete.Evgeniy Stepanov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201511 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-14[asan] Replace posix_memalign with memalign in test.Evgeniy Stepanov
Android does not provide posix_memalign. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201420 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-14[ASan] Rename asan_runtime_libraries to asan. Re-enable tests on Android.Alexey Samsonov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201417 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-14[asan] Disabled one more test on Android.Evgeniy Stepanov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201416 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-14[asan] Change stack uar test to not use ulimit.Evgeniy Stepanov
Because of how Android test runner is implemented, ulimit in RUN: line gets executed on the host machine and does not affect the test. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201415 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-14Move ASan lit-tests under test/asanAlexey Samsonov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201413 91177308-0d34-0410-b5e6-96231b3b80d8