3d763c0d3700e73b3aead8e65e04ec28efc56138 |
|
04-Mar-2016 |
Pirama Arumuga Nainar <pirama@google.com> |
Update aosp/master compiler-rt for rebase to r256229 http://b/26987366 (cherry picked from commit 799172d60d32feb1acba1a6867f3a9c39a999e5c) Change-Id: I0362e411c56dbd5a7a10f9ca1f2ad33a40c8abd4
/external/compiler-rt/lib/asan/asan_globals.cc
|
cdce50bda3603770cc4ef80cbb613c78b8e47a17 |
|
01-Jul-2015 |
Pirama Arumuga Nainar <pirama@google.com> |
Update aosp/master compiler-rt for rebase to r239765 Change-Id: I722dcde07e4f76a8a35ca701d89be5f311840e74
/external/compiler-rt/lib/asan/asan_globals.cc
|
7c9150579ed0278492f51cc8434b1d63a44b9bd1 |
|
08-Apr-2015 |
Pirama Arumuga Nainar <pirama@google.com> |
Update aosp/master compiler-rt for rebase to r233350 Change-Id: I5f20256ce73ec7b5956f742b4062f850bf11b667
/external/compiler-rt/lib/asan/asan_globals.cc
|
86277eb844c4983c81de62d7c050e92fe7155788 |
|
23-Mar-2015 |
Stephen Hines <srhines@google.com> |
Update aosp/master compiler-rt for rebase to r230699. Change-Id: I6c415fd5f6420e3012d9da76719111721e906dfa
/external/compiler-rt/lib/asan/asan_globals.cc
|
6d1862363c88c183b0ed7740fca876342cf0474b |
|
27-Nov-2014 |
Stephen Hines <srhines@google.com> |
Update aosp/master compiler-rt for rebase to r222486. Change-Id: I38047809dbac0425193c82e810315998adbb380d
/external/compiler-rt/lib/asan/asan_globals.cc
|
6a211c5814e25d6745a5058cc0e499e5235d3821 |
|
21-Jul-2014 |
Stephen Hines <srhines@google.com> |
Update compiler-rt for rebase to r212749. Includes a cherry-pick of: r213309 - fixes umodsi3 Change-Id: Ic7367e3586b6af7ef74bee6a8cf437d5f28d975a
/external/compiler-rt/lib/asan/asan_globals.cc
|
2d1fdb26e458c4ddc04155c1d421bced3ba90cd0 |
|
29-May-2014 |
Stephen Hines <srhines@google.com> |
Update compiler-rt aosp/master for 3.5 (r209699) rebase. Change-Id: I158a30186f0faea2e2400e9dfdd878db2eb40e90
/external/compiler-rt/lib/asan/asan_globals.cc
|
53177247698bfba075f2d5b255a447fc3ced6976 |
|
24-Oct-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
Introduce an operator new for LowLevelAllocator, and convert most users to it. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193308 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_globals.cc
|
a64d4359902f1f64992aedfe10d8882ae7c66f40 |
|
14-Jun-2013 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Rename InternalVector to InternalMmapVector git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183972 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_globals.cc
|
46efcb09dc16b91cb805abea52f3ff6081a63751 |
|
24-May-2013 |
Alexey Samsonov <samsonov@google.com> |
Disable init-order checking before destructors are run. We don't want to report initialization-order bugs when a destructor of a global variable accesses dynamically initialized global from another (not necessarily initialized) module. We do this by intercepting __cxa_atexit and registrering our own callback that unpoisons shadow for all dynamically initialized global variables. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182637 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_globals.cc
|
dfeef67b23ba92bbee598293164ee20078f633a1 |
|
19-Apr-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Make init-order checker allow access to already initialized globals. This change adds ASan runtime option "strict-init-order" (off by default) that makes init-order checker bark if global initializer accesses any global from different translation unit (even if the latter is already initialized). strict init-order checking doesn't play well with, e.g. LLVM registration machineries, and causes issue https://code.google.com/p/address-sanitizer/issues/detail?id=178. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179843 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_globals.cc
|
abfdbdf5bc7e9d202652fe061acd20c14a4d22f4 |
|
28-Mar-2013 |
Timur Iskhodzhanov <timurrrr@google.com> |
Make all the ALWAYS_INLINE users Windows-friendly; also, avoid ALWAYS_INLINE INLINE combinations git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178266 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_globals.cc
|
7e8434940a1fe7dce531d4c458ccd714da48f609 |
|
28-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Speed-up initialization-order checking: create and use fast versions of PoisonShadow functions, store copies of __asan_global descriptors in a vector instead of list of pointers. This gives 3x speedup on both benchmarks and real binaries with lots of globals. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178239 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_globals.cc
|
05e16a028d26503153a8fe512a500676cad66031 |
|
26-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Change the ABI of __asan_before_dynamic_init function: now it takes pointer to private string with module name. This string serves as a unique module ID in ASan runtime. compiler-rt part git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178014 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_globals.cc
|
39cbb56fb3ba2af53e537107862c51f1dd252150 |
|
25-Mar-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] mark local function as static git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177862 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_globals.cc
|
589dcdaa520de1033a0f6112c9b67ab9eb7931af |
|
05-Feb-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Fix nonsensical reports of partial right OOB. In case of partial right OOB, ASan was reporting X is located 0 bytes to the right of [A, B) where X was actually inside [A, B). With this change, ASan will report B as the error address in such case. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174373 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_globals.cc
|
c70fa28caaaec2134f2c2230821fcc0f0d7ac27e |
|
31-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Split ASan interface header into private and public parts. Add a test that makes sure users can include interface header git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174058 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_globals.cc
|
a3b0e5e4f9f48b2ed0baee10c0236eda7c21c660 |
|
23-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] simplify the code that poisons global redzones, add some more tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173251 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_globals.cc
|
0ed0f439ae4cec9bb62cf3be61c37596a4ed7087 |
|
18-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] kill some dead code git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172815 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_globals.cc
|
f4f51f2cc6fa936f0c65577f82e6b62989d546ee |
|
14-Jan-2013 |
Dmitry Vyukov <dvyukov@google.com> |
asan/tsan: move blocking mutex from asan to sanitizer_common git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172380 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_globals.cc
|
d865fecddccebf898ceed24d096fc58fb29a6e57 |
|
29-Aug-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Relocate the external headers provided by ASan and the common sanitizer 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. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162822 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_globals.cc
|
947fbd1a073fcd38988c1ec131452e99bb0313f8 |
|
27-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer] Use low-level allocator in flag parsing to avoid calling malloc() before ASan/TSan initialization is done git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162673 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_globals.cc
|
3945c58f9db42671b1a3b865fde5008f09a3a40e |
|
21-Aug-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] run-time part of the initialization order checker. Patch by Reid Watson with some bits from kcc. The sub-pass is off by default for now. On simple tests it works fine. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162278 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_globals.cc
|
e4bfca2b154a6ab4eda921aff454035f33f3551a |
|
09-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] move code that describes globals to asan_report.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161572 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_globals.cc
|
e218beb2d14b663bd277158f386a86d0e62fef74 |
|
09-Aug-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] move some functions that describe addresses to asan_report.cc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161571 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_globals.cc
|
cb8c4dce691097718d5af41b36899b72ef4b1d84 |
|
09-Jul-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Use common flags parsing machinery. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159933 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_globals.cc
|
e954101f6602ac181a2c3accfbbad0ae51b0bf7c |
|
06-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[Sanitizer]: Introduce a common internal printf function. For now, also use 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). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158065 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_globals.cc
|
5bcca4e33ececdddd8e9e07619c129e870492251 |
|
06-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Make printf arguments match format strings better. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158059 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_globals.cc
|
e5f5895bda30f374b0b51412fd4d837fa59aed66 |
|
04-Jun-2012 |
Alexey Samsonov <samsonov@google.com> |
Remove file-type tags for .cc files in ASan run-time library git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157927 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_globals.cc
|
ee3925515e4c7966f3ef489f687aa7e5692806a9 |
|
31-May-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] more renaming git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157747 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_globals.cc
|
3f4c3875c42078e22c7e5356c5746fd18756d958 |
|
31-May-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] more renaming git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157746 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_globals.cc
|
9aead37421a6e4bf43265e5195c6ac31fc519982 |
|
31-May-2012 |
Kostya Serebryany <kcc@google.com> |
[asan,tsan] introduce sanitizer_common/sanitizer_defs.h and perform some renaming in asan rt. More to come. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157743 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_globals.cc
|
739eb7984139d457216623347ae3b7a706c0aadf |
|
21-Mar-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[asan] Support for %z to Printf() 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. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@153177 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_globals.cc
|
c491061eddb0bb7047470b2746cbcbfe7730b2a9 |
|
15-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] fix a bug (issue 19) where dlclose and the following mmap caused a false positive. run-time part. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146687 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_globals.cc
|
6b30e2cf0d9d471d276f91ef4bb74dbd9876f4d9 |
|
15-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] poison the internal asan heap memory, just in case. Change Printf to Report when debugging globals. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146663 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_globals.cc
|
b89567ce41bef82cf92a9c741c78b632c07b2781 |
|
02-Dec-2011 |
Kostya Serebryany <kcc@google.com> |
[asan] get rid of std::map. No STL and almost no libstdc++ left. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145706 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_globals.cc
|
218a9b70d7338cf5b727b7dad6b080ad7869c6c2 |
|
30-Nov-2011 |
Kostya Serebryany <kcc@google.com> |
Refactor shadow poisoning done by asan-rt, no funtionality changes; patch by samsonov@google.com git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145505 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_globals.cc
|
1e172b4bdec57329bf904f063a29f99cddf2d85f |
|
30-Nov-2011 |
Kostya Serebryany <kcc@google.com> |
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 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145463 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_globals.cc
|