| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 173251
|
|
|
|
| |
llvm-svn: 172815
|
|
|
|
| |
llvm-svn: 172380
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
library.
These headers are intended to be available to user code when built with
AddressSanitizer (or one of the other sanitizer's in the future) to
interface with the runtime library. As such, they form stable external
C interfaces, and the headers shouldn't be located within the
implementation.
I've pulled them out into what seem like fairly obvious locations and
names, but I'm wide open to further bikeshedding of these names and
locations.
I've updated the code and the build system to cope with the new
locations, both CMake and Makefile. Please let me know if this breaks
anyone's build.
The eventual goal is to install these headers along side the Clang
builtin headers when we build the ASan runtime and install it. My
current thinking is to locate them at:
<prefix>/lib/clang/X.Y/include/sanitizer/common_interface_defs.h
<prefix>/lib/clang/X.Y/include/sanitizer/asan_interface.h
<prefix>/lib/clang/X.Y/include/sanitizer/...
But maybe others have different suggestions?
Fixing the style of the #include between these headers at least unblocks
experimentation with installing them as they now should work when
installed in these locations.
llvm-svn: 162822
|
|
|
|
|
|
| |
malloc() before ASan/TSan initialization is done
llvm-svn: 162673
|
|
|
|
|
|
| |
Watson with some bits from kcc. The sub-pass is off by default for now. On simple tests it works fine.
llvm-svn: 162278
|
|
|
|
| |
llvm-svn: 161572
|
|
|
|
| |
llvm-svn: 161571
|
|
|
|
| |
llvm-svn: 159933
|
|
|
|
|
|
| |
tool-specific wrappers TsanPrintf (its output is controlled by TSan flags) and AsanPrintf (which copies its results to the ASan-private buffer). Supported formats: %[z]{d,u,x}, %s, %p. Re-write all format strings in TSan according to this format (this should have no effect on 64-bit platforms).
llvm-svn: 158065
|
|
|
|
| |
llvm-svn: 158059
|
|
|
|
| |
llvm-svn: 157927
|
|
|
|
| |
llvm-svn: 157747
|
|
|
|
| |
llvm-svn: 157746
|
|
|
|
|
|
| |
renaming in asan rt. More to come.
llvm-svn: 157743
|
|
|
|
|
|
|
|
|
|
|
|
| |
At the moment, asan internal Printf() uses %l modifier for printing
values of size_t and related types. This works, because we control
both the implementation of Printf and all its uses, but can be a
little misleading.
This change adds support for %z to Printf(). All callers that print
sizes and pointers as integers are switched to %zu / %zx.
llvm-svn: 153177
|
|
|
|
|
|
| |
false positive. run-time part.
llvm-svn: 146687
|
|
|
|
|
|
| |
Report when debugging globals.
llvm-svn: 146663
|
|
|
|
| |
llvm-svn: 145706
|
|
|
|
|
|
| |
samsonov@google.com
llvm-svn: 145505
|
|
build system, but can be built using the old makefile. See details in README.txt
llvm-svn: 145463
|