Kostya Serebryany
|
46c70d33d7
|
[asan] make sure __asan_report_* functions are not inlined (so that they are not optimized away and are kept in the resulting library). Patch by glider@google.com
llvm-svn: 147302
|
2011-12-28 00:59:39 +00:00 |
Kostya Serebryany
|
dd1386f882
|
new() has slightly different signature on Android. This patch adds the
llvm-svn: 147300
|
2011-12-27 23:11:09 +00:00 |
Kostya Serebryany
|
6d37656c1a
|
[asan] revert r146529: we do need to build asan-rt as a shared library. Will need to find a different way to modify preinit_array
llvm-svn: 146703
|
2011-12-15 23:08:00 +00:00 |
Kostya Serebryany
|
7fb33a3d40
|
[asan] poison the internal asan heap memory, just in case. Change Printf to Report when debugging globals.
llvm-svn: 146663
|
2011-12-15 17:41:30 +00:00 |
Kostya Serebryany
|
9bd5208965
|
[asan] insert __asan_init into ".preinit_array" section. Linux-only.
llvm-svn: 146529
|
2011-12-14 00:19:03 +00:00 |
Kostya Serebryany
|
72fde3727e
|
[asan] make use-after-return mode more robust: allow to call instrumented functions while reporting an error
llvm-svn: 146231
|
2011-12-09 01:49:31 +00:00 |
Kostya Serebryany
|
b50a539eba
|
[asan] move build-time config options from makefile to source (otherwise we need config options in all makefiles)
llvm-svn: 146161
|
2011-12-08 18:30:42 +00:00 |
Kostya Serebryany
|
f0d799a6bc
|
[asan] fix the error message for 16-byte accesses (it previously printed 'unknown-crash')
llvm-svn: 146075
|
2011-12-07 21:30:20 +00:00 |
Kostya Serebryany
|
ca207f0473
|
[asan] minor cleanup
llvm-svn: 145966
|
2011-12-06 21:10:15 +00:00 |
Kostya Serebryany
|
49a182fa12
|
[asan] always collect malloc statstics (removed FLAG_stats)
llvm-svn: 145838
|
2011-12-05 19:17:53 +00:00 |
Kostya Serebryany
|
93927f9e01
|
[asan] don't require __cxa_throw to be present in the process. This is the last dependency on libstdc++
llvm-svn: 145821
|
2011-12-05 17:56:32 +00:00 |
Kostya Serebryany
|
e4bada2c94
|
[asan] get rid of std::map. No STL and almost no libstdc++ left.
llvm-svn: 145706
|
2011-12-02 21:02:20 +00:00 |
Kostya Serebryany
|
2d27cdf621
|
[asan] minimize the use of STL. One bit is still left.
llvm-svn: 145691
|
2011-12-02 18:42:04 +00:00 |
Daniel Dunbar
|
cf7fb02388
|
build/asan: Better fix for ASAN i386 build on Darwin, this causes us to see the
non-standard struct names.
llvm-svn: 145658
|
2011-12-02 00:52:55 +00:00 |
Daniel Dunbar
|
8a5fd211ab
|
build/asan: Fix ASAN build for i386, for reasons I don't really understand we
get the DARWIN_UNIX03 definition on x86_64 but not on i386.
llvm-svn: 145657
|
2011-12-02 00:45:48 +00:00 |
Kostya Serebryany
|
5dfa4da0b9
|
[asan] flatten the asan-rt build slightly
llvm-svn: 145631
|
2011-12-01 21:40:52 +00:00 |
Kostya Serebryany
|
15dd3f2500
|
Refactor shadow poisoning done by asan-rt, no funtionality changes; patch by samsonov@google.com
llvm-svn: 145505
|
2011-11-30 18:50:23 +00:00 |
Kostya Serebryany
|
019b76f5fd
|
AddressSanitizer run-time library. Not yet integrated with the compiler-rt build system, but can be built using the old makefile. See details in README.txt
llvm-svn: 145463
|
2011-11-30 01:07:02 +00:00 |