| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
can't build anything here.
llvm-svn: 202297
|
|
|
|
| |
llvm-svn: 202266
|
|
|
|
| |
llvm-svn: 202246
|
|
|
|
| |
llvm-svn: 202245
|
|
|
|
|
|
| |
This should fix the issues with `make check-asan` on OS X.
llvm-svn: 202144
|
|
|
|
|
|
| |
32-bit mode, only for FreeBSD <= 9.2; patch by Viktor Kutuzov
llvm-svn: 202124
|
|
|
|
|
|
| |
internal flags that allowed to override it. The tests pass, but still this change might break asan on some platform not covered by tests. If you see this, please submit a fix with a test.
llvm-svn: 202033
|
|
|
|
|
|
|
|
|
|
|
|
| |
C99/C++11."
This reverts commit r201910.
While __func__ may be standard in C++11, it was only recently added to
MSVC in 2013 CTP, and LLVM supports MSVC 2012. __FUNCTION__ may not be
standard, but it's *very* portable.
llvm-svn: 201916
|
|
|
|
| |
llvm-svn: 201910
|
|
|
|
| |
llvm-svn: 201778
|
|
|
|
| |
llvm-svn: 201766
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This matters when runtime is built as a shared library. Even though calling
code is itself part of the same library, these symbols are public and can
(theoretically) be interposed.
It might be better to declare hidden aliases for asan_report_* and call them
directly, but
(a) they are (noreturn), so performance does not matter, and
(b) it may be potentially less portable.
llvm-svn: 201764
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 201666
|
|
|
|
|
|
| |
There are more cases when those manifest as an access below SP.
llvm-svn: 201664
|
|
|
|
|
|
| |
Move asm tests to their own file.
llvm-svn: 201653
|
|
|
|
| |
llvm-svn: 201652
|
|
|
|
|
|
|
|
|
| |
These are runtime support functions for inline assembly instrumentation.
This is a re-submit of r201402.
Patch by Yuri Gorshenin.
llvm-svn: 201650
|
|
|
|
| |
llvm-svn: 201580
|
|
|
|
|
|
|
| |
Report segmentation faults near or below stack bottom as stack-overflow
(not stack-buffer-overflow!).
llvm-svn: 201565
|
|
|
|
|
|
| |
'compiler-rt' target encompassing them all.
llvm-svn: 201556
|
|
|
|
| |
llvm-svn: 201547
|
|
|
|
| |
llvm-svn: 201543
|
|
|
|
| |
llvm-svn: 201417
|
|
|
|
| |
llvm-svn: 201413
|
|
|
|
|
|
| |
Test fails in bootstrap build.
llvm-svn: 201411
|
|
|
|
| |
llvm-svn: 201404
|
|
|
|
|
|
|
|
| |
These are runtime support functions for inline assembly instrumentation.
Patch by Yuri Gorshenin.
llvm-svn: 201402
|
|
|
|
|
|
|
|
|
|
| |
This is covered by existing ASan test.
This does not change anything for TSan by default (but provides a flag to
change the threshold size).
Based on a patch by florent.bruneau here:
https://code.google.com/p/address-sanitizer/issues/detail?id=256
llvm-svn: 201400
|
|
|
|
| |
llvm-svn: 201399
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change replaces 32- and 64- bit config.in-s with a single config template
that is used to generate both 32 and 64 bits configs as well as the new
arm-android config. Arm-android config is special because it can run tests on
a remote device over adb (android debug bridge).
We replace %clang with a script that run the compiler, upload the result to
the device, and replaces it with another script. The second script runs the
binary on the device and delivers stdout/stderr/exitcode back.
llvm-svn: 201394
|
|
|
|
|
|
|
|
| |
and EndWarning() methods
(needed for SEGV handling in sanitizer_common)
llvm-svn: 201392
|
|
|
|
| |
llvm-svn: 201332
|
|
|
|
|
|
| |
Android headers define clone() as a 4-argument function without ellipsis.
llvm-svn: 201331
|
|
|
|
|
|
| |
Fixes AddressSanitizer.SignalTest breakage.
llvm-svn: 201330
|
|
|
|
|
|
|
| |
Seems stable enough.
Fixes null_deref.cc test.
llvm-svn: 201326
|
|
|
|
|
|
|
|
|
|
| |
With zero base shadow, shadow for near-zero access is itself at near-zero
location. As a result, this test crashes on the shadow access, and not on the
app access.
Relax a check to match this behavior.
llvm-svn: 201324
|
|
|
|
|
|
|
|
|
| |
It's not always true: on Android, strerror_r with invalid errno
prints "Unknown error ..." to the buffer and returns 0.
This test now only checks that strerror_r does not crash.
llvm-svn: 201321
|
|
|
|
| |
llvm-svn: 201304
|
|
|
|
| |
llvm-svn: 201303
|
|
|
|
|
|
| |
It's called __wait4 there.
llvm-svn: 201235
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
This change adds a copy of <ucontext.h> for Android found in google-breakpad
that is missing from the official NDK.
ASan SEGV handler is still disabled by default and can be enabled with
ASAN_OPTIONS=handle_segv.
llvm-svn: 201084
|
|
|
|
| |
llvm-svn: 201015
|
|
|
|
|
|
|
| |
as required per core issue 1552 and warned about with
-Wimplicit-exception-spec-mismatch.
llvm-svn: 201014
|
|
|
|
| |
llvm-svn: 200910
|
|
|
|
|
|
| |
garbage colection to work with asan's fake stack
llvm-svn: 200908
|
|
|
|
|
|
| |
exporting them (gold complained)
llvm-svn: 200844
|
|
|
|
| |
llvm-svn: 200809
|
|
|
|
| |
llvm-svn: 200757
|