summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-05-09Snap for 8558685 from 3a491726721f7b040d3b95c994fdab92dd6350ee to ↵t_frc_ips_330443010android13-frc-ipsec-releaseAndroid Build Coastguard Worker
tm-frc-ipsec-release Change-Id: Iaa224fed8015a23c49839dbd98a5e11a5f01ffe7
2022-04-18Remove experimental PM for GWP-ASan. am: bb433f4d83 am: 4cf4e3eadd am: ↵t_frc_odp_330442040t_frc_odp_330442000t_frc_ase_330444010android13-frc-odp-releaseandroid13-devMitch Phillips
30160113c6 Original change: https://android-review.googlesource.com/c/platform/external/gwp_asan/+/2066829 Change-Id: Ib19fc829c65ca517ebc4311ff420ce8a4731fe53 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-18Remove experimental PM for GWP-ASan. am: bb433f4d83 am: 4cf4e3eaddMitch Phillips
Original change: https://android-review.googlesource.com/c/platform/external/gwp_asan/+/2066829 Change-Id: I4c368c807667c0564412f13a951406fcba3f08ad Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-18Remove experimental PM for GWP-ASan. am: bb433f4d83Mitch Phillips
Original change: https://android-review.googlesource.com/c/platform/external/gwp_asan/+/2066829 Change-Id: I0c23dd11eaf04b46c51994dbf6808649ba35b2b1 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-18Remove experimental PM for GWP-ASan.Mitch Phillips
Looks like the upstream bug is fixed, and -fno-experimenta-new-pass-manager is now deprecated in the upstream compiler. Bug: 229637312 Test: atest gwp_asan_unittest Change-Id: I57b2a0c0416313e14f4975402d95961e5dc364bb
2022-04-07Make gwp_asan_headers available to com.android.virt apex am: 25b5f93622 am: ↵Shikha Panwar
088d4d61e2 am: a2fd242f79 Original change: https://android-review.googlesource.com/c/platform/external/gwp_asan/+/2045385 Change-Id: I2b1d79d78064f9ddf7b3a716ff95151aff73114f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07Make gwp_asan_headers available to com.android.virt apex am: 25b5f93622 am: ↵Shikha Panwar
088d4d61e2 Original change: https://android-review.googlesource.com/c/platform/external/gwp_asan/+/2045385 Change-Id: I08ec22d761d8cdbd6135a6e00cc519f3499fb8c1 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07Make gwp_asan_headers available to com.android.virt apex am: 25b5f93622Shikha Panwar
Original change: https://android-review.googlesource.com/c/platform/external/gwp_asan/+/2045385 Change-Id: Iab0ad59b2f2b9dd19b47ac5454fb95892668154b Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06Make gwp_asan_headers available to com.android.virt apexShikha Panwar
Bug: 202153827 Test: atest MicrodroidHostTestCases Change-Id: I05a70726a489ce4f7114aaf603a13eae71b4d615
2022-03-05Update for removal of LocalUnwinder object. am: ebd75f4048 am: 5278c55d55 ↵Christopher Ferris
am: 1c4b08efa7 Original change: https://android-review.googlesource.com/c/platform/external/gwp_asan/+/2007514 Change-Id: I19502efed8b06819662b6c7d192959162867d2b2
2022-03-04Update for removal of LocalUnwinder object. am: ebd75f4048 am: 5278c55d55Christopher Ferris
Original change: https://android-review.googlesource.com/c/platform/external/gwp_asan/+/2007514 Change-Id: Ia0aec88664c05577c59907a5ba4cd32099111429
2022-03-04Update for removal of LocalUnwinder object. am: ebd75f4048Christopher Ferris
Original change: https://android-review.googlesource.com/c/platform/external/gwp_asan/+/2007514 Change-Id: If2eaf59986c5ec7451478c6b7d5f15e7e785042b
2022-03-03Update for removal of LocalUnwinder object.Christopher Ferris
Bug: 120606663 Test: All unit tests pass. Change-Id: Idc349df7a2045c824af16878dab16fc1c8275f78
2022-02-23[gwp_asan] Add missing <algorithm> include am: 722d43c2b0 am: 977be850a0 am: ↵Gulfem Savrun Yeniceri
c1aa8d6fd8 Original change: https://android-review.googlesource.com/c/platform/external/gwp_asan/+/1990857 Change-Id: Iaba1e243b39c0895349d03b7240c0402d04cb741
2022-02-23[gwp_asan] Add missing <algorithm> include am: 722d43c2b0 am: 977be850a0Gulfem Savrun Yeniceri
Original change: https://android-review.googlesource.com/c/platform/external/gwp_asan/+/1990857 Change-Id: I01c45496db61b7cc9bc4d856768351aee92ea824
2022-02-23[gwp_asan] Add missing <algorithm> include am: 722d43c2b0Gulfem Savrun Yeniceri
Original change: https://android-review.googlesource.com/c/platform/external/gwp_asan/+/1990857 Change-Id: I037ffce899d0f8099d74c620f9d93759684c51c6
2022-02-18[gwp_asan] Add missing <algorithm> includeGulfem Savrun Yeniceri
After https://reviews.llvm.org/D119667, <algorithm> is no longer transitively included from various headers. This patch adds the <algorithm> include into gwp_asan. Differential Revision: https://reviews.llvm.org/D120172 GitOrigin-RevId: 4961bb477d0526a7b965609cd42d44caa8413d45 Change-Id: I578c8c4084bb462bab7bb4e5bb1056ea25309978
2022-02-17Snap for 8191477 from 540563280a95233750aeaf2caa0f07450e1c24fd to ↵Android Build Coastguard Worker
tm-frc-ipsec-release Change-Id: Ia3ddb4c6bc203ee2b170ab08f125f0e74feb5fac
2022-02-16Snap for 8188146 from de43ad5cc600ece030fb75f7e3318ab0b01386d5 to ↵Android Build Coastguard Worker
tm-frc-ipsec-release Change-Id: I8c9b4c8a66167e108cc217843c53a74accf4ae78
2021-12-17Only use libc_headers for bionic am: 0b40b332ff am: 8d7ead642a am: ↵Colin Cross
84c41e6b4c am: 33133c8a43 Original change: https://android-review.googlesource.com/c/platform/external/gwp_asan/+/1927838 Change-Id: Iffb2e4c6bf9917d899efe2c152b7db94be7b49c0
2021-12-17Only use libc_headers for bionic am: 0b40b332ff am: 8d7ead642a am: 84c41e6b4cColin Cross
Original change: https://android-review.googlesource.com/c/platform/external/gwp_asan/+/1927838 Change-Id: Iafdb3126fd4880680c592879dc15885da97900bf
2021-12-17Only use libc_headers for bionic am: 0b40b332ff am: 8d7ead642aColin Cross
Original change: https://android-review.googlesource.com/c/platform/external/gwp_asan/+/1927838 Change-Id: I95a9596ec0fe3c40f7c27a46ba6786590b9de528
2021-12-17Only use libc_headers for bionic am: 0b40b332ffColin Cross
Original change: https://android-review.googlesource.com/c/platform/external/gwp_asan/+/1927838 Change-Id: Ifb5b6d7e79169361b8c969736f24ee697029bfa8
2021-12-15Only use libc_headers for bionicandroid-t-preview-2android-t-preview-1android-t-beta-3android-s-v2-beta-3android-s-qpr3-beta-1android-t-preview-1android-s-v2-beta-3android-s-qpr3-beta-1Colin Cross
Support building gwp_asan against musl libc by moving the bionic-specific headers to only be used when compiling against bionic. Bug: 190084016 Test: m USE_HOST_MUSL=true host-native Change-Id: I1fd58cd277c16e50f95e8213e54029000d947844
2021-10-18Fix a few warnings (signed/unsigned comparison in gtest, and missing field ↵David Blaikie
initializers) am: 6841f6e058 am: 6b63e40153 am: 1cb5745a89 am: 1f850056d3 am: 0db552b662 Original change: https://android-review.googlesource.com/c/platform/external/gwp_asan/+/1860473 Change-Id: Icdbbfb17335c776cdf44b543d6a7205bd51a3a4e
2021-10-18Fix a few warnings (signed/unsigned comparison in gtest, and missing field ↵David Blaikie
initializers) am: 6841f6e058 am: 6b63e40153 am: 1cb5745a89 am: 1f850056d3 Original change: https://android-review.googlesource.com/c/platform/external/gwp_asan/+/1860473 Change-Id: I6afe9bfdbc9b1f36c7fae256ef07d4763ec4da5e
2021-10-18Fix a few warnings (signed/unsigned comparison in gtest, and missing field ↵David Blaikie
initializers) am: 6841f6e058 am: 6b63e40153 am: 1cb5745a89 Original change: https://android-review.googlesource.com/c/platform/external/gwp_asan/+/1860473 Change-Id: If4fe32be627206b37f1b0b56227bd21f3cfc7922
2021-10-18Fix a few warnings (signed/unsigned comparison in gtest, and missing field ↵David Blaikie
initializers) am: 6841f6e058 am: 6b63e40153 Original change: https://android-review.googlesource.com/c/platform/external/gwp_asan/+/1860473 Change-Id: Ib442016af445cc7ff6b259d1d4944116b05fd689
2021-10-18Fix a few warnings (signed/unsigned comparison in gtest, and missing field ↵David Blaikie
initializers) am: 6841f6e058 Original change: https://android-review.googlesource.com/c/platform/external/gwp_asan/+/1860473 Change-Id: I2d01dbf587314eb2358c9e66038c04ccd1dfe765
2021-10-16Fix a few warnings (signed/unsigned comparison in gtest, and missing field ↵android-s-v2-preview-2android-s-v2-preview-1android-s-v2-beta-2android-s-v2-preview-1David Blaikie
initializers) GitOrigin-RevId: 6176fda3f992b5086302b3826aa0636135cc4cc0 Change-Id: I82a24050cdeab7fb6177c940f90e85fb99bb3cec
2021-09-28[gwp-asan] Initialize AllocatorVersionMagic at runtime am: b8c47cafa6 am: ↵Kostya Kortchinsky
36ce06d35a am: 03c905f14a am: 406cc10c0b am: be3b47a3a0 Original change: https://android-review.googlesource.com/c/platform/external/gwp_asan/+/1838054 Change-Id: I692b63905413aed3de4d522cbea88dabc6e297b8
2021-09-28[gwp-asan] Initialize AllocatorVersionMagic at runtime am: b8c47cafa6 am: ↵Kostya Kortchinsky
36ce06d35a am: 03c905f14a am: 406cc10c0b Original change: https://android-review.googlesource.com/c/platform/external/gwp_asan/+/1838054 Change-Id: I7449cc7aeec8e12974dd0e5c799cb3c230e828a2
2021-09-28[gwp-asan] Initialize AllocatorVersionMagic at runtime am: b8c47cafa6 am: ↵Kostya Kortchinsky
36ce06d35a am: 03c905f14a Original change: https://android-review.googlesource.com/c/platform/external/gwp_asan/+/1838054 Change-Id: I118bd85713336923feba8bfdb9eb3609d7bc7e83
2021-09-28[gwp-asan] Initialize AllocatorVersionMagic at runtime am: b8c47cafa6 am: ↵Kostya Kortchinsky
36ce06d35a Original change: https://android-review.googlesource.com/c/platform/external/gwp_asan/+/1838054 Change-Id: I5268642fd104c4c9cd8847e7c2809d3a4d0a1ef7
2021-09-28[gwp-asan] Initialize AllocatorVersionMagic at runtime am: b8c47cafa6Kostya Kortchinsky
Original change: https://android-review.googlesource.com/c/platform/external/gwp_asan/+/1838054 Change-Id: I1c999f02dacf826e9e7c4cc184612030ef01d908
2021-09-27[gwp-asan] Initialize AllocatorVersionMagic at runtimeKostya Kortchinsky
GWP-ASan's `AllocatorState` was recently extended with a `AllocatorVersionMagic` structure required so that GWP-ASan bug reports can be understood by tools at different versions. On Fuchsia, this in included in the `scudo::Allocator` structure, and by having non-zero initializers, this effectively moved the static allocator structure from the `.bss` segment to the `.data` segment, thus increasing (significantly) the size of the libc. This CL proposes to initialize the structure with its magic numbers at runtime, allowing for the allocator to go back into the `.bss` segment. I will work on adding a test on the Scudo side to ensure that this type of changes get detected early on. Additional work is also needed to reduce the footprint of the (large) memory-tagging related structures that are currently part of the allocator. Differential Revision: https://reviews.llvm.org/D110575 GitOrigin-RevId: 04f5913395de23a5f6745156021ab10a4a0039de Change-Id: Id528db62440726589f60f40b0bd9595f0d7b3bbe
2021-09-27[compiler-rt] Use portable "#!/usr/bin/env bash" shebang for tests. am: ↵Frederic Cambus
634351b545 am: 49c7dd24b0 am: 5237b07bf8 am: f4715d8d80 am: 4bacf40f4a Original change: https://android-review.googlesource.com/c/platform/external/gwp_asan/+/1836413 Change-Id: I2b69584e727b1b62fee7a179643fe21de9a1ae6c
2021-09-27[compiler-rt] Use portable "#!/usr/bin/env bash" shebang for tests. am: ↵Frederic Cambus
634351b545 am: 49c7dd24b0 am: 5237b07bf8 am: f4715d8d80 Original change: https://android-review.googlesource.com/c/platform/external/gwp_asan/+/1836413 Change-Id: I47bb672e6b203f14ad6d46c1cf0f0b639cdb1a51
2021-09-27[compiler-rt] Use portable "#!/usr/bin/env bash" shebang for tests. am: ↵Frederic Cambus
634351b545 am: 49c7dd24b0 am: 5237b07bf8 Original change: https://android-review.googlesource.com/c/platform/external/gwp_asan/+/1836413 Change-Id: I05209ae0633f05de0fe4cd1f371d94cd919990b5
2021-09-27[compiler-rt] Use portable "#!/usr/bin/env bash" shebang for tests. am: ↵Frederic Cambus
634351b545 am: 49c7dd24b0 Original change: https://android-review.googlesource.com/c/platform/external/gwp_asan/+/1836413 Change-Id: I570dbb502a6650cda9fe4c32e7cc80b722f4c902
2021-09-27[compiler-rt] Use portable "#!/usr/bin/env bash" shebang for tests. am: ↵Frederic Cambus
634351b545 Original change: https://android-review.googlesource.com/c/platform/external/gwp_asan/+/1836413 Change-Id: I74b99340cb607f4ecafd342835dde5674ef66b69
2021-09-24[compiler-rt] Use portable "#!/usr/bin/env bash" shebang for tests.Frederic Cambus
In build_symbolizer.sh we can safely remove the -eu argument from the shebang (which is an unportable construct), as the scripts sets **-e** and **-u** already. Differential Revision: https://reviews.llvm.org/D110039 GitOrigin-RevId: 626e2a6c6236d2fd7582928a0363d381c55eb43d Change-Id: I41ffb95dde1089ba816ed68a8d26213dae01e93b
2021-07-30[GWP-ASan] Add version header. am: e597c4ea91 am: 59dfe09881 am: 6d6dc8f59f ↵Mitch Phillips
am: ac7e44344c Original change: https://android-review.googlesource.com/c/platform/external/gwp_asan/+/1782209 Change-Id: I3b8237ff93b51008ba369b0ea92761196fb9b154
2021-07-30[GWP-ASan] Add version header. am: e597c4ea91 am: 59dfe09881 am: 6d6dc8f59fMitch Phillips
Original change: https://android-review.googlesource.com/c/platform/external/gwp_asan/+/1782209 Change-Id: I8d4fe2d42b1257db240cfe0af50f6e989d059c78
2021-07-30[GWP-ASan] Add version header. am: e597c4ea91 am: 59dfe09881Mitch Phillips
Original change: https://android-review.googlesource.com/c/platform/external/gwp_asan/+/1782209 Change-Id: I14d9452747df3ef45066bb9eb3c069454353ad44
2021-07-30[GWP-ASan] Add version header. am: e597c4ea91Mitch Phillips
Original change: https://android-review.googlesource.com/c/platform/external/gwp_asan/+/1782209 Change-Id: I13e1a3ee18a211f57676faf02e1602859ab111a7
2021-07-29[GWP-ASan] Add version header.android-s-beta-5android-s-beta-5Mitch Phillips
Adds magic version header to AllocatorState. This can be used by out-of-process crash handlers, like Crashpad on Fuchsia, to do offline reconstruction of GWP-ASan crash metadata. Crashpad on Fuchsia is intending on dumping the AllocationMetadata pool and the AllocatorState directly into the minidump. Then, using the version number, they can unpack the data on serverside using a versioned unpack tool. Also add some asserts to make sure the version number gets bumped if the internal structs get changed. Reviewed By: eugenis, mcgrathr Differential Revision: https://reviews.llvm.org/D106690 GitOrigin-RevId: 8e167f66b27fe9d2573eb149f736700302675297 Change-Id: I105c1ec3c2a46145e4466d1c66572bccdae03d9a
2021-07-22[rt][nfc] Rewrite #ifndef as #if defined(). am: 2d999118b7 am: f931105947 ↵Alexander Belyaev
am: c93c0f268a am: e550287280 Original change: https://android-review.googlesource.com/c/platform/external/gwp_asan/+/1775247 Change-Id: Ic767f6632aae3f7ea2ada0ba2ebb0a0c83d345b7
2021-07-22[compiler-rt][GWP-ASAN] Disable 2 tests on Armv7 Linux am: b1b3c275da am: ↵David Spickett
1697fb8d3c am: 16855dce1e am: dd393f5147 Original change: https://android-review.googlesource.com/c/platform/external/gwp_asan/+/1775246 Change-Id: Idabf8416f899071e2e1bc076a3ba9229b9c8027a
2021-07-22[rt][nfc] Rewrite #ifndef as #if defined(). am: 2d999118b7 am: f931105947 ↵Alexander Belyaev
am: c93c0f268a Original change: https://android-review.googlesource.com/c/platform/external/gwp_asan/+/1775247 Change-Id: I686bafb6dd94c21f6bc89fdaab58a2dff187adcb