c58a43648cd6121c51a2e795a28e2ef90d7813e6 |
|
20-Sep-2016 |
Pirama Arumuga Nainar <pirama@google.com> |
Update aosp/master compiler-rt for rebase to r275480 Bug: http://b/31320715 This merges commit db963a21048fd7242daae74666cb221f796f33c3 from aosp/dev. Test: Build AOSP and run RenderScript tests (host tests for slang and libbcc, RsTest, CTS) Change-Id: I8bdd651c1759c4306d62c34edec1d8d9536c9715
/external/compiler-rt/lib/asan/asan_mapping.h
|
799172d60d32feb1acba1a6867f3a9c39a999e5c |
|
04-Mar-2016 |
Pirama Arumuga Nainar <pirama@google.com> |
Update aosp/master compiler-rt for rebase to r256229 http://b/26987366 Change-Id: I0ca3d7d3f1b7926fcffcb5b467e79958de576437
/external/compiler-rt/lib/asan/asan_mapping.h
|
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_mapping.h
|
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_mapping.h
|
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_mapping.h
|
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_mapping.h
|
7f790caa37ec1c9807c877297d30e040e83ed215 |
|
16-Dec-2013 |
Bill Wendling <isanbard@gmail.com> |
Merging r-196802: ------------------------------------------------------------------------ r196802 | chandlerc | 2013-12-09 11:25:51 -0800 (Mon, 09 Dec 2013) | 11 lines Revert three patches which were committed without explicit contribution by their authors. This may break builds where others added code relying on these patches, but please *do not* revert this commit. Instead, we will prepare patches which fix the failures. Reverts the following commits: r168306: "[asan] support x32 mode in the fast stack unwinder. Patch by H.J. Lu" r168356: "[asan] more support for powerpc, patch by Peter Bergner" r196489: "[sanitizer] fix the ppc32 build (patch by Jakub Jelinek)" ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_34@197360 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_mapping.h
|
24861607cb3c606ad46e724456eb851558c85330 |
|
11-Dec-2013 |
Bill Wendling <isanbard@gmail.com> |
Merging r196802: ------------------------------------------------------------------------ r196802 | chandlerc | 2013-12-09 11:25:51 -0800 (Mon, 09 Dec 2013) | 11 lines Revert three patches which were committed without explicit contribution by their authors. This may break builds where others added code relying on these patches, but please *do not* revert this commit. Instead, we will prepare patches which fix the failures. Reverts the following commits: r168306: "[asan] support x32 mode in the fast stack unwinder. Patch by H.J. Lu" r168356: "[asan] more support for powerpc, patch by Peter Bergner" r196489: "[sanitizer] fix the ppc32 build (patch by Jakub Jelinek)" ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_34@197011 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_mapping.h
|
608609429a2202e0342c13bc037368c8d678591c |
|
17-Sep-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Don't add SANITIZER_INTERFACE_ATTRIBUTE for internal ASan functions git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190860 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_mapping.h
|
22e21b044c9337a2fa921f268b7d221c693ad78b |
|
16-Sep-2013 |
Alexey Samsonov <samsonov@google.com> |
[ASan] Check that getSymbolizer() is defined. Turn magic mapping constants into named variables git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190787 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_mapping.h
|
40527a579131210fcfa2373620a0c2200800e7c4 |
|
03-Jun-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] ASan Linux MIPS32 support (compiler-rt part), patch by Jyun-Yan Y git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183105 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_mapping.h
|
83cb7877f608eb9b3d65981095216842f686c527 |
|
19-Mar-2013 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
[sanitizer] Move ASan platform macros to sanitizer_common and rename them appropriately. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177397 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_mapping.h
|
13577fed9ac2ebe5e4800b8f83e3a80832907de2 |
|
28-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] bump kMidMemEnd to 0x4fffffffffULL since in rare cases prelink uses addresses higher than 0x3fffffffff git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176250 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_mapping.h
|
a84805f1ccb2b7d4b6c0ba384bd3541fa4eaf808 |
|
21-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] speedup by more than 2x handling of the small memset/memcpy/etc calls git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175728 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_mapping.h
|
e31eca900a1f8849af75100c2d92e838d79d0920 |
|
15-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] make asan work with 7fff8000 offset and prelink When prelink is installed in the system, prelink-ed libraries map between 0x003000000000 and 0x004000000000 thus occupying the shadow Gap, so we need so split the address space even further, like this: || [0x10007fff8000, 0x7fffffffffff] || HighMem || || [0x02008fff7000, 0x10007fff7fff] || HighShadow || || [0x004000000000, 0x02008fff6fff] || ShadowGap3 || || [0x003000000000, 0x003fffffffff] || MidMem || || [0x00087fff8000, 0x002fffffffff] || ShadowGap2 || || [0x00067fff8000, 0x00087fff7fff] || MidShadow || || [0x00008fff7000, 0x00067fff7fff] || ShadowGap || || [0x00007fff8000, 0x00008fff6fff] || LowShadow || || [0x000000000000, 0x00007fff7fff] || LowMem || Do it only if necessary. Also added a bit of profiling code to make sure that the mapping code is efficient. Added a lit test to simulate prelink-ed libraries. Unfortunately, this test does not work with binutils-gold linker. If gold is the default linker the test silently passes. Also replaced __has_feature(address_sanitizer) with __has_feature(address_sanitizer) || defined(__SANITIZE_ADDRESS__) in two places. Patch partially by Jakub Jelinek. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175263 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_mapping.h
|
606d3bc68a071c35acd0490678ce9ebc4c7e6332 |
|
13-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] fix fixed mapping for mac (ASAN_FLEXIBLE_MAPPING_AND_OFFSET=0) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175049 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_mapping.h
|
ea0fd3c6f60a9e783dbfbb8a473ac60cd22eb07f |
|
12-Feb-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] change the default mapping offset on x86_64 to 0x7fff8000. This gives roughly 5% speedup. Since this is an ABI change, bump the asan ABI version by renaming __asan_init to __asan_init_v1. compiler-rt part git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174958 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_mapping.h
|
ed847e39a3f993e52fd0a290d08cadf723951ea3 |
|
23-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[sanitizer] increase the minimal mmap size in allocator to 2^16; fix the asan Mac build git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173261 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_mapping.h
|
e5ab9688b623a5a0150c7eae1ec1caaf06d44758 |
|
23-Jan-2013 |
Kostya Serebryany <kcc@google.com> |
[asan] initialize kHighMemEnd at startup (instead of at compile time) to simplify further changes for various address space layouts. Fix asan_allocator2 for PowerPC (tested on 44-bit address space) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173260 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_mapping.h
|
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_mapping.h
|
87b52b910037447eccb92546b24b5e06181a1545 |
|
21-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
Fixup for r173021: build tests with zero-based shadow on Android only, fix condition in checking for shadow gap in asan_mapping.h git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173026 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_mapping.h
|
ee485d42c43635f874e3197f636280a6b0f8c545 |
|
21-Jan-2013 |
Alexey Samsonov <samsonov@google.com> |
ASan: build unit tests with -fsanitize-address-zero-base-shadow on Linux and Android git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173021 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_mapping.h
|
a6d4cf7c4be9b81793ea6be63c4b92d9c162a66c |
|
28-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
[ASan] use macro instead of raw __attribute__ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171188 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_mapping.h
|
e89f1846d58550f919a0ef9081b11d4b0405019d |
|
24-Nov-2012 |
Kostya Serebryany <kcc@google.com> |
[asan/tsan] get rid of kPageSize completely in favor of GetPageSizeCached(). This makes the code friendly to more platforms git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168537 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_mapping.h
|
5af39e50366f1aacbebc284f572f08ad1ad07357 |
|
21-Nov-2012 |
Kostya Serebryany <kcc@google.com> |
[asan/tsan] do not use __WORDSIZE macro, as it is glibc-private thing. Instead, define our own SANITIZER_WORDSIZE git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168424 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_mapping.h
|
d7d4650dd754aafc874e3b8cd5ab5b38005c84ec |
|
20-Nov-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] more support for powerpc, patch by Peter Bergner git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@168356 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_mapping.h
|
3891ce634380845d337cd865e559f4abbdc8ebdb |
|
27-Aug-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
A few tweaks for building ASanRT against Android NDK. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162666 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_mapping.h
|
79d12e87fbcc1b2342d76367b99b83adf9cbf499 |
|
23-Jul-2012 |
Alexander Potapenko <glider@google.com> |
For wild addresses in the shadow or shadow gap areas print an error message instead of crashing on a check. Add AddressSanitizer.MemsetWildAddressTest that makes sure a proper error message is printed. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160620 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_mapping.h
|
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_mapping.h
|
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_mapping.h
|
f1ee2cd5e4c7a46e1188315daa2c79181f852bec |
|
23-May-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Use zero-based shadow by default on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157318 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_mapping.h
|
3972ea03aa52d81ca324945ba94eea22d403df12 |
|
12-May-2012 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Fix GetFrameNameByAddr hitting stale stack guards. In the current implementation AsanThread::GetFrameNameByAddr scans the stack for a magic guard value to locate base address of the stack frame. This is not reliable, especially on ARM, where the code that stores this magic value has to construct it in a register from two small intermediates; this register can then end up stored in a random stack location in the prologue of another function. With this change, GetFrameNameByAddr scans the shadow memory for the signature of a left stack redzone instead. It is now possible to remove the magic from the instrumentation pass for additional performance gain. We keep it there for now just to make sure the new algorithm does not fail in some corner case. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@156710 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_mapping.h
|
8599762021935ccfce4db9b054f092af8ef001ab |
|
15-Mar-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] performance optimization: make sure the check for poisoned shadow inside inteceptors is inlined git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152767 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/asan/asan_mapping.h
|
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_mapping.h
|
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_mapping.h
|