- Feb 19, 2014
-
-
Evgeniy Stepanov authored
Instead of checking stack limits that are not well defined for the main thread, we rely on siginfo::si_code and distance from SP. llvm-svn: 201673
-
Evgeniy Stepanov authored
There are more cases when those manifest as an access below SP. llvm-svn: 201664
-
- Feb 18, 2014
-
-
Evgeniy Stepanov authored
Report segmentation faults near or below stack bottom as stack-overflow (not stack-buffer-overflow!). llvm-svn: 201565
-
- Feb 14, 2014
-
-
Alexander Potapenko authored
[libsanitizer] Create SanitizerCommonDecorator which provides the Warning() and EndWarning() methods (needed for SEGV handling in sanitizer_common) llvm-svn: 201392
-
- Feb 11, 2014
-
-
Evgeniy Stepanov authored
Because of the way Bionic sets up signal stack frames, libc unwinder is unable to step through it, resulting in broken SEGV stack traces. Luckily, libcorkscrew.so on Android implements an unwinder that can start with a signal context, thus sidestepping the issue. llvm-svn: 201151
-
- Jan 29, 2014
-
-
Kostya Serebryany authored
llvm-svn: 200387
-
- Jan 23, 2014
-
-
Evgeniy Stepanov authored
llvm-svn: 199888
-
Evgeniy Stepanov authored
llvm-svn: 199878
-
Evgeniy Stepanov authored
llvm-svn: 199877
-
- Dec 23, 2013
-
-
Kostya Serebryany authored
[asan] convert a CHECK failure in __sanitizer_annotate_contiguous_container into a proper warning message llvm-svn: 197899
-
- Dec 19, 2013
-
-
Alexey Samsonov authored
llvm-svn: 197672
-
- Nov 21, 2013
-
-
Kostya Serebryany authored
llvm-svn: 195352
-
- Nov 19, 2013
-
-
Kostya Serebryany authored
[asan] new shadow poison magic for contiguous-container-buffer-overflow, addressed Alexey Samsonov's comments for r195011 llvm-svn: 195117
-
- Nov 13, 2013
-
-
Alexey Samsonov authored
Invoke a fatal stack trace unwinder when ASan prints allocator-relevant error reports (double-free, alloc-dealloc-mismatch, invalid-free). Thus we'll be able to print complete stack trace even if allocation/free stacks are not stored (malloc_context_size=0). Based on the patch by Yuri Gribov! llvm-svn: 194579
-
- Nov 01, 2013
-
-
Alexey Samsonov authored
This change unifies the summary printing across sanitizers: now each tool uses specific version of ReportErrorSummary() method, which deals with symbolization of the top frame and formatting a summary message. This change modifies the summary line for ASan+LSan mode: now the summary mentions "AddressSanitizer" instead of "LeakSanitizer". llvm-svn: 193864
-
- Oct 28, 2013
-
-
Alexey Samsonov authored
llvm-svn: 193522
-
- Oct 27, 2013
-
-
Timur Iskhodzhanov authored
llvm-svn: 193501
-
- Oct 26, 2013
-
-
Peter Collingbourne authored
This moves away from creating the symbolizer object and initializing the external symbolizer as separate steps. Those steps now always take place together. Sanitizers with a legacy requirement to specify their own symbolizer path should use InitSymbolizer to initialize the symbolizer with the desired path, and GetSymbolizer to access the symbolizer. Sanitizers with no such requirement (e.g. UBSan) can use GetOrInitSymbolizer with no need for initialization. The symbolizer interface has been made thread-safe (as far as I can tell) by protecting its member functions with mutexes. Finally, the symbolizer interface no longer relies on weak externals, the introduction of which was probably a mistake on my part. Differential Revision: http://llvm-reviews.chandlerc.com/D1985 llvm-svn: 193448
-
- Oct 23, 2013
-
-
Nick Lewycky authored
llvm-svn: 193229
-
- Oct 18, 2013
-
-
Kostya Serebryany authored
llvm-svn: 192979
-
- Oct 14, 2013
-
-
Alexey Samsonov authored
Summary: Out-of-bound access may touch not-yet allocated or already freed and recycled from quarantine chunks. We should treat this situation as a "free-range memory access" and avoid printing any data about that irrelevant chunk (which may be inconsistent). This should fix https://code.google.com/p/address-sanitizer/issues/detail?id=183 Reviewers: kcc Reviewed By: kcc CC: timurrrr, llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1893 llvm-svn: 192581
-
- Oct 04, 2013
-
-
Alexey Samsonov authored
llvm-svn: 191943
-
- Sep 16, 2013
-
-
Alexey Samsonov authored
llvm-svn: 190787
-
- Sep 12, 2013
-
-
Kostya Serebryany authored
[asan] fully re-implement the FakeStack (use-after-return) to make it faster and async-signal-safe. The implementation is not yet complete (see FIXMEs) but the existing tests pass. llvm-svn: 190588
-
- Sep 10, 2013
-
-
Alexey Samsonov authored
[Sanitizer] Refactor symbolization interface: use class instead of several functions. Move some code around to get rid of extra source files llvm-svn: 190410
-
Timur Iskhodzhanov authored
Also make DescribeThread easier to use. This was firing on Dr.ASan runs, not sure how to repro InvalidTID in a simple test. llvm-svn: 190392
-
- Sep 03, 2013
-
-
Timur Iskhodzhanov authored
llvm-svn: 189817
-
Kostya Serebryany authored
llvm-svn: 189814
-
Kostya Serebryany authored
llvm-svn: 189806
-
Sergey Matveev authored
llvm-svn: 189804
-
Kostya Serebryany authored
llvm-svn: 189783
-
- Aug 16, 2013
-
-
Timur Iskhodzhanov authored
llvm-svn: 188545
-
- Aug 13, 2013
-
-
Timur Iskhodzhanov authored
Define SANITIZER_INTERFACE_ATTRIBUTE on Windows and fix all the places where SANITIZER_INTERFACE_ATTRIBUTE or SANITIZER_ATTRIBUTE_WEAK are used llvm-svn: 188261
-
- Jun 26, 2013
-
-
Kostya Serebryany authored
[asan] initialize fake_stack lazily and increase its maximal size. This makes -fsanitize=address,use-after-return more robust: all SPEC tests pass now. In the default mode thread stacks become a bit smaller. llvm-svn: 184934
-
- May 29, 2013
-
-
Timur Iskhodzhanov authored
llvm-svn: 182857
-
- May 22, 2013
-
-
Kostya Serebryany authored
llvm-svn: 182477
-
- May 06, 2013
-
-
Sergey Matveev authored
Some flags that are common to ASan/MSan/TSan/LSan have been moved to sanitizer_common. llvm-svn: 181193
-
- Apr 11, 2013
-
-
Alexey Samsonov authored
llvm-svn: 179274
-
- Apr 10, 2013
-
-
Alexey Samsonov authored
llvm-svn: 179161
-
- Apr 05, 2013
-
-
Kostya Serebryany authored
[sanitizer] found a bug by code inspection: CHECK(a=b) instead of CHECK(a==b). Was puzzled why lint did not catch it. Turns out this check was disabled for asan source. fix all cases and enable the check llvm-svn: 178872
-