| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
__asan_set_symbolize_callback interface function. Now the user doesn't have to recompile ASan runtime to provide its own symbolizer
llvm-svn: 162358
|
|
|
|
|
|
| |
user. Now the user can control malloc/free hooks without recompiling ASan runtime
llvm-svn: 162355
|
|
|
|
|
|
| |
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: 162269
|
|
|
|
| |
llvm-svn: 161932
|
|
|
|
|
|
| |
user to set a callback to be called right when ASan detects an error
llvm-svn: 161754
|
|
|
|
| |
llvm-svn: 159985
|
|
|
|
|
|
| |
between interface defines (can be visible in user code that includes interface ASan/TSan headers) and internal defines.
llvm-svn: 157998
|
|
|
|
| |
llvm-svn: 157746
|
|
|
|
|
|
| |
renaming in asan rt. More to come.
llvm-svn: 157743
|
|
|
|
| |
llvm-svn: 157603
|
|
|
|
|
|
| |
Clients may define the __asan_default_options char string containing the default options for the tool now.
llvm-svn: 157582
|
|
|
|
| |
llvm-svn: 154203
|
|
|
|
|
|
|
|
| |
post-process the error reports.
If the callback is set, Report() and Printf() print the reports into a buffer (together with stderr), which is then passed to the client.
llvm-svn: 151528
|
|
|
|
| |
llvm-svn: 151162
|
|
|
|
| |
llvm-svn: 150479
|
|
|
|
| |
llvm-svn: 150414
|
|
|
|
|
|
| |
rt part
llvm-svn: 150101
|
|
|
|
|
|
| |
ASAN_INTERFACE_FUNCTION_ATTRIBUTE. Patch by timurrrr@google.com
llvm-svn: 149395
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Patch by Timur Iskhodzhanov (timurrrr@google.com)
To test:
$ cl /c *.c*
in the asan directory.
The code fails to link if you omit the "/c" part but that's one of the
next steps,
as well as a few TODO's I've put into the Windows-specific code.
llvm-svn: 149130
|
|
|
|
| |
llvm-svn: 148394
|
|
|
|
| |
llvm-svn: 148305
|
|
|
|
|
|
| |
__asan_get_ownership(NULL) and produce error reports for malloc_usable_size(NULL) and __asan_get_allocated_size(NULL)
llvm-svn: 148304
|
|
|
|
|
|
| |
ADDRESS_SANITIZER macro
llvm-svn: 147297
|
|
|
|
|
|
| |
false positive. run-time part.
llvm-svn: 146687
|
|
|
|
| |
llvm-svn: 145838
|
|
build system, but can be built using the old makefile. See details in README.txt
llvm-svn: 145463
|