Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [asancov] Write coverage directly to a memory-mapped file. | Evgeniy Stepanov | 2014-05-27 | 1 | -0/+2 | |
| | | | | | | | | | | | This way does not require a __sanitizer_cov_dump() call. That's important on Android, where apps can be killed at arbitrary time. We write raw PCs to disk instead of module offsets; we also write memory layout to a separate file. This increases dump size by the factor of 2 on 64-bit systems. llvm-svn: 209653 | |||||
* | [asan] fix a test following r209508 | Kostya Serebryany | 2014-05-23 | 1 | -1/+3 | |
| | | | | llvm-svn: 209509 | |||||
* | [asan] relax the test for long double | Kostya Serebryany | 2014-05-22 | 1 | -2/+2 | |
| | | | | llvm-svn: 209445 | |||||
* | [ASan/Win] Make sure the list of wrappers exported by the main module and ↵ | Timur Iskhodzhanov | 2014-05-22 | 2 | -0/+4 | |
| | | | | | | imported by the DLL thunk always matches llvm-svn: 209444 | |||||
* | [ASan/Win] Thread more library functions from the DLL thunk to the main module | Timur Iskhodzhanov | 2014-05-22 | 1 | -4/+33 | |
| | | | | llvm-svn: 209441 | |||||
* | [ASan/Win] Use the new function interception approach to handle function ↵ | Timur Iskhodzhanov | 2014-05-22 | 1 | -56/+80 | |
| | | | | | | | | wrappers too; wrap strlen() in DLLs Reviewed at http://reviews.llvm.org/D3871 llvm-svn: 209427 | |||||
* | [ASan/Win] Don't use INTERCEPTOR_ATTRIBUTE for operator new/delete on Windows | Timur Iskhodzhanov | 2014-05-22 | 1 | -8/+15 | |
| | | | | | | Reviewed at http://reviews.llvm.org/D3870 llvm-svn: 209416 | |||||
* | [ASan/Win] Add a comment about DCL-using-static vs threads | Timur Iskhodzhanov | 2014-05-22 | 1 | -0/+1 | |
| | | | | llvm-svn: 209414 | |||||
* | [msan] Chained origins re-design. | Evgeniy Stepanov | 2014-05-21 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | Generalize StackDepot and create a new specialized instance of it to efficiently (i.e. without duplicating stack trace data) store the origin history tree. This reduces memory usage for chained origins roughly by an order of magnitude. Most importantly, this new design allows us to put two limits on stored history data (exposed in MSAN_OPTIONS) that help avoid exponential growth in used memory on certain workloads. See comments in lib/msan/msan_origin.h for more details. llvm-svn: 209284 | |||||
* | [asan] Fix x86 asm instrumentation to preserve flags. | Evgeniy Stepanov | 2014-05-21 | 4 | -24/+67 | |
| | | | | | | | | | This change also enables asm instrumentation in asan tests that was accidentally disabled yearlier, and adds a sanity test for that. Patch by Yuri Gorshenin. llvm-svn: 209282 | |||||
* | [ASan Win] Simplify and improve the way we forward ASan interface calls from ↵ | Timur Iskhodzhanov | 2014-05-20 | 2 | -58/+112 | |
| | | | | | | | | DLLs Reviewed at http://reviews.llvm.org/D3848 llvm-svn: 209210 | |||||
* | [asan] update asan_symbolize.py to use the new llvm-symbolizer flag syntax | Kostya Serebryany | 2014-05-19 | 1 | -1/+1 | |
| | | | | llvm-svn: 209116 | |||||
* | [Sanitizer tests] Don't need to use -lstdc++ thanks to --driver-mode=g++ | Timur Iskhodzhanov | 2014-05-19 | 1 | -3/+0 | |
| | | | | | | Reviewed at http://reviews.llvm.org/D3796 llvm-svn: 209115 | |||||
* | Fix typos | Alp Toker | 2014-05-15 | 4 | -6/+6 | |
| | | | | llvm-svn: 208841 | |||||
* | [asan] use some LIKELY/UNLIKELY | Kostya Serebryany | 2014-05-14 | 7 | -28/+30 | |
| | | | | llvm-svn: 208776 | |||||
* | [ASan/Win] Enable demangling of global variable names | Timur Iskhodzhanov | 2014-05-14 | 1 | -3/+7 | |
| | | | | llvm-svn: 208775 | |||||
* | [asan] Respect personality in kernel area detector, patch by Yuri Gribov | Kostya Serebryany | 2014-05-14 | 1 | -5/+6 | |
| | | | | llvm-svn: 208760 | |||||
* | [Sanitizer tests] Add sanitizer_test_config.h to make the inclusion of ↵ | Timur Iskhodzhanov | 2014-05-13 | 2 | -7/+1 | |
| | | | | | | | | gtest.h conditional Reviewed at http://reviews.llvm.org/D3744 llvm-svn: 208696 | |||||
* | [Sanitizer/ASan tests] Automatically detect the presence of libstdc++ | Timur Iskhodzhanov | 2014-05-13 | 1 | -1/+3 | |
| | | | | llvm-svn: 208695 | |||||
* | [ASan tests] Add Windows-specific flags to lib/asan/tests/CMakeLists.txt | Timur Iskhodzhanov | 2014-05-13 | 1 | -9/+34 | |
| | | | | | | Reviewed at http://reviews.llvm.org/D3720 llvm-svn: 208682 | |||||
* | [Sanitizer tests] Make simple pthread tests compile and pass on Windows | Timur Iskhodzhanov | 2014-05-13 | 1 | -8/+5 | |
| | | | | | | Reviewed at http://reviews.llvm.org/D3725 llvm-svn: 208674 | |||||
* | [ASan] Split static ASan runtime in two parts: asan and asan_cxx. | Alexey Samsonov | 2014-05-12 | 6 | -15/+24 | |
| | | | | | | | | | | | asan_cxx containts replacements for new/delete operators, and should only be linked in C++ mode. We plan to start building this part with exception support to make new more standard-compliant. See https://code.google.com/p/address-sanitizer/issues/detail?id=295 for more details. llvm-svn: 208609 | |||||
* | [ASan tests] Don't define __asan_default_options in tests on Windows as it ↵ | Timur Iskhodzhanov | 2014-05-12 | 1 | -0/+2 | |
| | | | | | | is not supported llvm-svn: 208575 | |||||
* | [ASan] Add references to the issue tracker about malloc/free/new/delete ↵ | Timur Iskhodzhanov | 2014-05-12 | 1 | -0/+2 | |
| | | | | | | mismatch check on Mac and Windows llvm-svn: 208574 | |||||
* | [ASan tests] Exclude/simplify a bunch of tests to make them build on Windows | Timur Iskhodzhanov | 2014-05-12 | 1 | -10/+45 | |
| | | | | | | (This also requires D3720, D3725 and a few more small changes to land) llvm-svn: 208573 | |||||
* | [ASan tests] Don't run FakeStack.CreateDestroy on Windows as it OOMs | Timur Iskhodzhanov | 2014-05-12 | 1 | -0/+2 | |
| | | | | llvm-svn: 208572 | |||||
* | [ASan tests] Use the proper attribute on RunStrChrTest helper functions to ↵ | Timur Iskhodzhanov | 2014-05-12 | 1 | -2/+2 | |
| | | | | | | avoid "unused function" warnings llvm-svn: 208568 | |||||
* | [asan] Move the "coverage" flag to common flags. | Sergey Matveev | 2014-05-12 | 2 | -7/+3 | |
| | | | | | | The implementation lives in sanitizer_common and will need to access that flag. llvm-svn: 208566 | |||||
* | [asan] one more attempt to enable lsan by default (PR19521) | Kostya Serebryany | 2014-05-12 | 1 | -1/+1 | |
| | | | | llvm-svn: 208545 | |||||
* | Add FreeBSD support to address sanitizer process mapping facilities | Viktor Kutuzov | 2014-05-12 | 1 | -0/+20 | |
| | | | | llvm-svn: 208537 | |||||
* | [asan] define ASAN_DYNAMIC=1 if PIC is defined | Kostya Serebryany | 2014-05-12 | 1 | -1/+5 | |
| | | | | llvm-svn: 208530 | |||||
* | [asan] fix a self deadlock when printing stats; add a relevant test, cleanup ↵ | Kostya Serebryany | 2014-05-12 | 1 | -0/+2 | |
| | | | | | | that test while at it to remove linux/darwin differences. Fixes http://code.google.com/p/address-sanitizer/issues/detail?id=306 llvm-svn: 208525 | |||||
* | [ASan tests] Fix non-Windows breakage | Timur Iskhodzhanov | 2014-05-08 | 1 | -2/+5 | |
| | | | | llvm-svn: 208332 | |||||
* | [ASan tests] More progress towards Windows support | Timur Iskhodzhanov | 2014-05-08 | 1 | -20/+37 | |
| | | | | llvm-svn: 208326 | |||||
* | [ASan tests] More progress towards Windows support | Timur Iskhodzhanov | 2014-05-08 | 1 | -0/+13 | |
| | | | | llvm-svn: 208325 | |||||
* | [ASan tests] More progress towards Windows support | Timur Iskhodzhanov | 2014-05-08 | 1 | -1/+4 | |
| | | | | llvm-svn: 208323 | |||||
* | [ASan tests] Auto-define ASAN_NEEDS_SEGV rather than hardcode it in cmake | Timur Iskhodzhanov | 2014-05-08 | 2 | -2/+5 | |
| | | | | llvm-svn: 208322 | |||||
* | [ASan] Update sanitizer_common and asan test_util headers to support ↵ | Timur Iskhodzhanov | 2014-05-08 | 1 | -3/+6 | |
| | | | | | | building on Windows llvm-svn: 208306 | |||||
* | Ignore stack-buffer-overflow in std::_Find_elem<*> / std::num_get<...>::_Getifld | Timur Iskhodzhanov | 2014-05-07 | 1 | -0/+3 | |
| | | | | | | Reviewed at http://reviews.llvm.org/D3650 llvm-svn: 208215 | |||||
* | [sanitizer] Replace a macro with a function. | Evgeniy Stepanov | 2014-05-07 | 1 | -1/+1 | |
| | | | | llvm-svn: 208207 | |||||
* | [asan] Include asm instrumentation source in Makefile build. | Evgeniy Stepanov | 2014-05-07 | 1 | -3/+5 | |
| | | | | llvm-svn: 208172 | |||||
* | [asan] introduce interface function __sanitizer_verify_contiguous_container ↵ | Kostya Serebryany | 2014-05-06 | 1 | -1/+33 | |
| | | | | | | to verify annotations in vector-like containers llvm-svn: 208092 | |||||
* | [ASan/Win] Don't crash when ASAN_OPTIONS have disable_core=1 | Timur Iskhodzhanov | 2014-05-06 | 1 | -1/+2 | |
| | | | | | | Reviewed at http://reviews.llvm.org/D3610 llvm-svn: 208070 | |||||
* | [ASan/Win] Add DLL thunks for the fake stack interface | Timur Iskhodzhanov | 2014-05-05 | 1 | -0/+3 | |
| | | | | llvm-svn: 207960 | |||||
* | [asan] make AsanCoverage lock-free (and AS-safe) | Kostya Serebryany | 2014-04-30 | 1 | -1/+3 | |
| | | | | llvm-svn: 207630 | |||||
* | [asan] split detect_odr_violation into two: =2 detects all ODR violations, ↵ | Kostya Serebryany | 2014-04-28 | 3 | -5/+7 | |
| | | | | | | =1 detects only those where the variable sizes are different. BTW, the detector seems to be working well and finding nice bugs. Early adopters are welcome. llvm-svn: 207415 | |||||
* | Fix building Asan and common sanitizers tests on FreeBSD 9.2 | Viktor Kutuzov | 2014-04-28 | 1 | -0/+5 | |
| | | | | llvm-svn: 207408 | |||||
* | [asan] implement an experimental detector of ODR violations. Not tested yet ↵ | Kostya Serebryany | 2014-04-25 | 5 | -0/+33 | |
| | | | | | | outside of a tiny test, may need tuning. llvm-svn: 207210 | |||||
* | Add DLL thunks for recently-added memcpy, memset and memmove ASan intrinsics | Timur Iskhodzhanov | 2014-04-24 | 1 | -0/+4 | |
| | | | | llvm-svn: 207113 | |||||
* | [ASan] Move the shadow range on 32-bit iOS (and iOS Simulator) | Alexander Potapenko | 2014-04-23 | 1 | -2/+7 | |
| | | | | | | | | to 0x40000000-0x60000000 to avoid address space clash with system libraries. The solution has been proposed by tahabekireren@gmail.com in https://code.google.com/p/address-sanitizer/issues/detail?id=210 This is also known to fix some Chromium iOS tests. llvm-svn: 207002 |