Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [ASan] Make sure none of the __asan_gen_ global strings end up in the symbol ↵ | Alexander Potapenko | 2013-12-25 | 1 | -0/+7 | |
| | | | | | | | | | table, add a test. This should fix http://llvm.org/bugs/show_bug.cgi?id=17976 Another test checking for the global variables' locations and prefixes on Darwin will be committed separately. llvm-svn: 198017 | |||||
* | [asan] clean up at the end of the shmget/shmctl test | Kostya Serebryany | 2013-12-23 | 1 | -0/+1 | |
| | | | | llvm-svn: 197901 | |||||
* | [asan] convert a CHECK failure in __sanitizer_annotate_contiguous_container ↵ | Kostya Serebryany | 2013-12-23 | 4 | -6/+52 | |
| | | | | | | into a proper warning message llvm-svn: 197899 | |||||
* | [sanitizer] Use the new sanitizer_interception.h header in all interceptors. | Evgeniy Stepanov | 2013-12-20 | 4 | -3/+4 | |
| | | | | llvm-svn: 197808 | |||||
* | [ASan] Get rid of ASan-specific functions for printing stack traces | Alexey Samsonov | 2013-12-19 | 3 | -37/+16 | |
| | | | | llvm-svn: 197672 | |||||
* | [ASan] Get rid of __asan_symbolize function | Alexey Samsonov | 2013-12-19 | 5 | -40/+1 | |
| | | | | llvm-svn: 197670 | |||||
* | [Sanitizer] Implement Symbolizer class on Windows | Timur Iskhodzhanov | 2013-12-18 | 2 | -54/+1 | |
| | | | | llvm-svn: 197571 | |||||
* | [Sanitizer] Always initialize a Symbolizer (even if 'symbolize' is false). | Alexey Samsonov | 2013-12-17 | 1 | -6/+1 | |
| | | | | | | | | | If 'symbolize' flag is not set, we still want to transform virtual address to module+offset pair in the call to Symbolizer::SymbolizeCode(). See https://code.google.com/p/address-sanitizer/issues/detail?id=251 for more details. llvm-svn: 197491 | |||||
* | [asan] fix the test so that it works even if stack size is unlimited by default | Kostya Serebryany | 2013-12-16 | 1 | -1/+1 | |
| | | | | llvm-svn: 197372 | |||||
* | [asan] replace the flag uar_stack_size_log with two flags ↵ | Kostya Serebryany | 2013-12-16 | 5 | -11/+18 | |
| | | | | | | min_uar_stack_size_log/max_uar_stack_size_log llvm-svn: 197370 | |||||
* | [asan] add flag uar_noreserve to use noreserve mmap for fake stack. ↵ | Kostya Serebryany | 2013-12-13 | 3 | -3/+11 | |
| | | | | | | uar_noreserve=1 will save some memory but also negatively affect performance llvm-svn: 197233 | |||||
* | [asan] when a fake stack is being unmapped also flush the corresponding shadow | Kostya Serebryany | 2013-12-11 | 4 | -7/+17 | |
| | | | | llvm-svn: 197040 | |||||
* | [asan] if verbosity>=2, print the fake stack usage stats at thread exit; No ↵ | Kostya Serebryany | 2013-12-11 | 5 | -11/+19 | |
| | | | | | | functionality change in non-verboze mode llvm-svn: 197037 | |||||
* | [asan] relax HugeMallocTest so that it does not fail on small-RAM machines | Kostya Serebryany | 2013-12-10 | 1 | -1/+3 | |
| | | | | llvm-svn: 196904 | |||||
* | [asan] remove one test from SizedStackTest which relied on a now-wrong ↵ | Kostya Serebryany | 2013-12-10 | 1 | -2/+0 | |
| | | | | | | assumption that the left stack redzone is >= 32 bytes (PR18195) llvm-svn: 196900 | |||||
* | Revert three patches which were committed without explicit contribution | Chandler Carruth | 2013-12-09 | 2 | -11/+1 | |
| | | | | | | | | | | | | | | | by their authors. This may break builds where others added code relying on these patches, but please *do not* revert this commit. Instead, we will prepare patches which fix the failures. Reverts the following commits: r168306: "[asan] support x32 mode in the fast stack unwinder. Patch by H.J. Lu" r168356: "[asan] more support for powerpc, patch by Peter Bergner" r196489: "[sanitizer] fix the ppc32 build (patch by Jakub Jelinek)" llvm-svn: 196802 | |||||
* | Fix Windows build. | Sergey Matveev | 2013-12-09 | 1 | -1/+1 | |
| | | | | llvm-svn: 196780 | |||||
* | [lsan] Make LSan ignore memory poisoned by ASan. | Sergey Matveev | 2013-12-09 | 1 | -0/+8 | |
| | | | | | | | | | | | | | | | | Summary: No more (potenital) false negatives due to red zones or fake stack frames. Reviewers: kcc, samsonov Reviewed By: samsonov CC: llvm-commits, samsonov Differential Revision: http://llvm-reviews.chandlerc.com/D2359 llvm-svn: 196778 | |||||
* | [asan] in SizedStackTest check the death string, also restrict one of the ↵ | Kostya Serebryany | 2013-12-06 | 1 | -8/+9 | |
| | | | | | | checks to 64-bit llvm-svn: 196576 | |||||
* | [asan] rewrite asan's stack frame layout, compiler-rt part | Kostya Serebryany | 2013-12-06 | 3 | -21/+20 | |
| | | | | llvm-svn: 196569 | |||||
* | [sanitizer] Introduce VReport and VPrintf macros and use them in sanitizer code. | Sergey Matveev | 2013-12-05 | 7 | -82/+51 | |
| | | | | | | Instead of "if (common_flags()->verbosity) Report(...)" we now have macros. llvm-svn: 196497 | |||||
* | [asan] revert files which I accidentally commited in r196490 | Kostya Serebryany | 2013-12-05 | 3 | -20/+21 | |
| | | | | llvm-svn: 196491 | |||||
* | [tsan] fix the include path that is broken in configure/make build but works ↵ | Kostya Serebryany | 2013-12-05 | 3 | -21/+20 | |
| | | | | | | in cmake build (PR18144). This is a quick fix. Will need to fix the configure/make build properly llvm-svn: 196490 | |||||
* | [ASan] Use 'extern "C"' rather than 'extern' for global variables exposed in ↵ | Timur Iskhodzhanov | 2013-12-04 | 1 | -2/+2 | |
| | | | | | | the interface llvm-svn: 196379 | |||||
* | [asan] require __i686__ for the SSE test; also make weaker claims about ↵ | Kostya Serebryany | 2013-12-04 | 2 | -9/+8 | |
| | | | | | | stack buffer overflows in another test llvm-svn: 196375 | |||||
* | [asan] revert 196373: committed to many files by mistake | Kostya Serebryany | 2013-12-04 | 5 | -28/+30 | |
| | | | | llvm-svn: 196374 | |||||
* | [asan] require __i686__ for the SSE test; also make weaker claims about ↵ | Kostya Serebryany | 2013-12-04 | 5 | -30/+28 | |
| | | | | | | stack buffer overflows in another test llvm-svn: 196373 | |||||
* | [ASan] Return interface attribute to __sanitizer_print_stack_trace | Alexey Samsonov | 2013-12-04 | 1 | -1/+4 | |
| | | | | llvm-svn: 196364 | |||||
* | [asan] Fix build error. | Sergey Matveev | 2013-12-03 | 1 | -1/+0 | |
| | | | | llvm-svn: 196303 | |||||
* | [sanitizer] Expose __sanitizer_print_stack_trace(). | Sergey Matveev | 2013-12-03 | 3 | -5/+26 | |
| | | | | | | | Expose a new interface function for debugging code built with sanitizer tools. Add an ASan implementation. llvm-svn: 196302 | |||||
* | [asan] disable AddressSanitizer.HugeMallocTest if ASAN_AVOID_EXPENSIVE_TESTS ↵ | Kostya Serebryany | 2013-12-02 | 1 | -1/+1 | |
| | | | | | | is set llvm-svn: 196097 | |||||
* | [asan] dump coverage even if asan has reported an error | Kostya Serebryany | 2013-11-29 | 2 | -0/+9 | |
| | | | | llvm-svn: 195959 | |||||
* | [sanitizer] disable shmctl intercetor in 32-bit -- it is rotten (bug filed) | Kostya Serebryany | 2013-11-29 | 1 | -0/+17 | |
| | | | | llvm-svn: 195958 | |||||
* | Fix current stack unwinding when using DRASan | Timur Iskhodzhanov | 2013-11-29 | 1 | -11/+16 | |
| | | | | llvm-svn: 195956 | |||||
* | Add a DLL thunk for __asan_handle_no_return | Timur Iskhodzhanov | 2013-11-27 | 1 | -0/+2 | |
| | | | | llvm-svn: 195845 | |||||
* | [ASan] Clarify that AsanThread objects are allocated only via mmap(). No ↵ | Alexey Samsonov | 2013-11-27 | 4 | -17/+13 | |
| | | | | | | functionality change. llvm-svn: 195840 | |||||
* | tsan: fix flags parsing | Dmitry Vyukov | 2013-11-27 | 1 | -4/+5 | |
| | | | | | | | | - running_on_valgrind was not parsed in some contexts - refactor code a bit - add comprehensive tests for flags parsing llvm-svn: 195831 | |||||
* | [ASan] Fix large_allocator_unpoisons_on_free.cc to pass correct parameters ↵ | Alexander Potapenko | 2013-11-22 | 1 | -7/+9 | |
| | | | | | | to mmap() on OSX. llvm-svn: 195443 | |||||
* | [asan] rename contiguous-container-buffer-overflow (too long) to ↵ | Kostya Serebryany | 2013-11-21 | 2 | -2/+2 | |
| | | | | | | container-overflow llvm-svn: 195352 | |||||
* | [asan] Fix OSX tests. | Evgeniy Stepanov | 2013-11-20 | 1 | -1/+1 | |
| | | | | llvm-svn: 195250 | |||||
* | [asan] Test that LargeAllocator unpoisons memory before releasing it to the OS. | Evgeniy Stepanov | 2013-11-20 | 1 | -0/+23 | |
| | | | | llvm-svn: 195243 | |||||
* | [asan] remove a fixed FIXME; extend the comment around ↵ | Kostya Serebryany | 2013-11-19 | 1 | -1/+0 | |
| | | | | | | __sanitizer_annotate_contiguous_container llvm-svn: 195131 | |||||
* | [asan] new shadow poison magic for contiguous-container-buffer-overflow, ↵ | Kostya Serebryany | 2013-11-19 | 4 | -28/+54 | |
| | | | | | | addressed Alexey Samsonov's comments for r195011 llvm-svn: 195117 | |||||
* | [ASan] Run one of UAS tests in UAR mode as well | Alexey Samsonov | 2013-11-18 | 1 | -1/+2 | |
| | | | | llvm-svn: 195015 | |||||
* | [asan] fix Windows build | Kostya Serebryany | 2013-11-18 | 1 | -1/+1 | |
| | | | | llvm-svn: 195012 | |||||
* | [asan] introduce __sanitizer_annotate_contiguous_container | Kostya Serebryany | 2013-11-18 | 2 | -0/+89 | |
| | | | | llvm-svn: 195011 | |||||
* | [asan] support __hppa__ (by John David Anglin) | Kostya Serebryany | 2013-11-18 | 1 | -0/+6 | |
| | | | | llvm-svn: 194995 | |||||
* | CMake: don't build sanitizer runtimes on 64-bit Windows (it's unsupported ↵ | Alexey Samsonov | 2013-11-17 | 1 | -1/+1 | |
| | | | | | | for now) llvm-svn: 194958 | |||||
* | [Sanitizer] Make slow unwinder on Linux more robust | Alexey Samsonov | 2013-11-15 | 1 | -3/+5 | |
| | | | | llvm-svn: 194805 | |||||
* | Reapply asan coverage changes 194702-194704. | Bob Wilson | 2013-11-15 | 3 | -0/+53 | |
| | | | | | | | | I still don't know what is causing our bootstrapped LTO buildbots to fail, but llvm r194701 seems to be OK and I can't imagine that these changes could cause the problem. llvm-svn: 194790 |