summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/asan
Commit message (Collapse)AuthorAgeFilesLines
...
* [ASan] Make sure none of the __asan_gen_ global strings end up in the symbol ↵Alexander Potapenko2013-12-251-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 testKostya Serebryany2013-12-231-0/+1
| | | | llvm-svn: 197901
* [asan] convert a CHECK failure in __sanitizer_annotate_contiguous_container ↵Kostya Serebryany2013-12-234-6/+52
| | | | | | into a proper warning message llvm-svn: 197899
* [sanitizer] Use the new sanitizer_interception.h header in all interceptors.Evgeniy Stepanov2013-12-204-3/+4
| | | | llvm-svn: 197808
* [ASan] Get rid of ASan-specific functions for printing stack tracesAlexey Samsonov2013-12-193-37/+16
| | | | llvm-svn: 197672
* [ASan] Get rid of __asan_symbolize functionAlexey Samsonov2013-12-195-40/+1
| | | | llvm-svn: 197670
* [Sanitizer] Implement Symbolizer class on WindowsTimur Iskhodzhanov2013-12-182-54/+1
| | | | llvm-svn: 197571
* [Sanitizer] Always initialize a Symbolizer (even if 'symbolize' is false).Alexey Samsonov2013-12-171-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 defaultKostya Serebryany2013-12-161-1/+1
| | | | llvm-svn: 197372
* [asan] replace the flag uar_stack_size_log with two flags ↵Kostya Serebryany2013-12-165-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 Serebryany2013-12-133-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 shadowKostya Serebryany2013-12-114-7/+17
| | | | llvm-svn: 197040
* [asan] if verbosity>=2, print the fake stack usage stats at thread exit; No ↵Kostya Serebryany2013-12-115-11/+19
| | | | | | functionality change in non-verboze mode llvm-svn: 197037
* [asan] relax HugeMallocTest so that it does not fail on small-RAM machinesKostya Serebryany2013-12-101-1/+3
| | | | llvm-svn: 196904
* [asan] remove one test from SizedStackTest which relied on a now-wrong ↵Kostya Serebryany2013-12-101-2/+0
| | | | | | assumption that the left stack redzone is >= 32 bytes (PR18195) llvm-svn: 196900
* Revert three patches which were committed without explicit contributionChandler Carruth2013-12-092-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 Matveev2013-12-091-1/+1
| | | | llvm-svn: 196780
* [lsan] Make LSan ignore memory poisoned by ASan.Sergey Matveev2013-12-091-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 Serebryany2013-12-061-8/+9
| | | | | | checks to 64-bit llvm-svn: 196576
* [asan] rewrite asan's stack frame layout, compiler-rt partKostya Serebryany2013-12-063-21/+20
| | | | llvm-svn: 196569
* [sanitizer] Introduce VReport and VPrintf macros and use them in sanitizer code.Sergey Matveev2013-12-057-82/+51
| | | | | | Instead of "if (common_flags()->verbosity) Report(...)" we now have macros. llvm-svn: 196497
* [asan] revert files which I accidentally commited in r196490Kostya Serebryany2013-12-053-20/+21
| | | | llvm-svn: 196491
* [tsan] fix the include path that is broken in configure/make build but works ↵Kostya Serebryany2013-12-053-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 Iskhodzhanov2013-12-041-2/+2
| | | | | | the interface llvm-svn: 196379
* [asan] require __i686__ for the SSE test; also make weaker claims about ↵Kostya Serebryany2013-12-042-9/+8
| | | | | | stack buffer overflows in another test llvm-svn: 196375
* [asan] revert 196373: committed to many files by mistakeKostya Serebryany2013-12-045-28/+30
| | | | llvm-svn: 196374
* [asan] require __i686__ for the SSE test; also make weaker claims about ↵Kostya Serebryany2013-12-045-30/+28
| | | | | | stack buffer overflows in another test llvm-svn: 196373
* [ASan] Return interface attribute to __sanitizer_print_stack_traceAlexey Samsonov2013-12-041-1/+4
| | | | llvm-svn: 196364
* [asan] Fix build error.Sergey Matveev2013-12-031-1/+0
| | | | llvm-svn: 196303
* [sanitizer] Expose __sanitizer_print_stack_trace().Sergey Matveev2013-12-033-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 Serebryany2013-12-021-1/+1
| | | | | | is set llvm-svn: 196097
* [asan] dump coverage even if asan has reported an error Kostya Serebryany2013-11-292-0/+9
| | | | llvm-svn: 195959
* [sanitizer] disable shmctl intercetor in 32-bit -- it is rotten (bug filed)Kostya Serebryany2013-11-291-0/+17
| | | | llvm-svn: 195958
* Fix current stack unwinding when using DRASanTimur Iskhodzhanov2013-11-291-11/+16
| | | | llvm-svn: 195956
* Add a DLL thunk for __asan_handle_no_returnTimur Iskhodzhanov2013-11-271-0/+2
| | | | llvm-svn: 195845
* [ASan] Clarify that AsanThread objects are allocated only via mmap(). No ↵Alexey Samsonov2013-11-274-17/+13
| | | | | | functionality change. llvm-svn: 195840
* tsan: fix flags parsingDmitry Vyukov2013-11-271-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 Potapenko2013-11-221-7/+9
| | | | | | to mmap() on OSX. llvm-svn: 195443
* [asan] rename contiguous-container-buffer-overflow (too long) to ↵Kostya Serebryany2013-11-212-2/+2
| | | | | | container-overflow llvm-svn: 195352
* [asan] Fix OSX tests.Evgeniy Stepanov2013-11-201-1/+1
| | | | llvm-svn: 195250
* [asan] Test that LargeAllocator unpoisons memory before releasing it to the OS.Evgeniy Stepanov2013-11-201-0/+23
| | | | llvm-svn: 195243
* [asan] remove a fixed FIXME; extend the comment around ↵Kostya Serebryany2013-11-191-1/+0
| | | | | | __sanitizer_annotate_contiguous_container llvm-svn: 195131
* [asan] new shadow poison magic for contiguous-container-buffer-overflow, ↵Kostya Serebryany2013-11-194-28/+54
| | | | | | addressed Alexey Samsonov's comments for r195011 llvm-svn: 195117
* [ASan] Run one of UAS tests in UAR mode as wellAlexey Samsonov2013-11-181-1/+2
| | | | llvm-svn: 195015
* [asan] fix Windows buildKostya Serebryany2013-11-181-1/+1
| | | | llvm-svn: 195012
* [asan] introduce __sanitizer_annotate_contiguous_containerKostya Serebryany2013-11-182-0/+89
| | | | llvm-svn: 195011
* [asan] support __hppa__ (by John David Anglin)Kostya Serebryany2013-11-181-0/+6
| | | | llvm-svn: 194995
* CMake: don't build sanitizer runtimes on 64-bit Windows (it's unsupported ↵Alexey Samsonov2013-11-171-1/+1
| | | | | | for now) llvm-svn: 194958
* [Sanitizer] Make slow unwinder on Linux more robustAlexey Samsonov2013-11-151-3/+5
| | | | llvm-svn: 194805
* Reapply asan coverage changes 194702-194704.Bob Wilson2013-11-153-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
OpenPOWER on IntegriCloud