diff options
author | Mitch Phillips <31459023+hctim@users.noreply.github.com> | 2021-05-11 22:50:12 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-05-11 22:50:12 +0000 |
commit | 6256e4eb45e50b090fc125b60c19d7847014994c (patch) | |
tree | 5e1e85016be16b395eef3d2c25a902ee8fa01c58 | |
parent | c75d8271e90a39c3e35cfdff38645d25b29c30e7 (diff) | |
parent | d8ce6a5e15b8567d1a4e35e34ba7644b877c9787 (diff) | |
download | gwp_asan-android12L-d2-s7-release.tar.gz |
[Scudo] Use GWP-ASan's aligned allocations and fixup postalloc hooks. am: 875cd44ff6 am: 63773cb41b am: ec578a0d9e am: d8ce6a5e15android-12.1.0_r26android-12.1.0_r25android-12.1.0_r24android-12.1.0_r23android-12.1.0_r18android-12.1.0_r17android-12.1.0_r16android-12.1.0_r15android-12.1.0_r14android-12.1.0_r13android-12.1.0_r12android12L-d2-s8-releaseandroid12L-d2-s7-releaseandroid12L-d2-s6-releaseandroid12L-d2-s5-releaseandroid12L-d2-s4-releaseandroid12L-d2-s3-releaseandroid12L-d2-s2-releaseandroid12L-d2-s1-releaseandroid12L-d2-release
Original change: https://android-review.googlesource.com/c/platform/external/gwp_asan/+/1703605
Change-Id: I9d14cf3c29e7de8876bc503909a10df2fb53a66f
-rw-r--r-- | gwp_asan/common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gwp_asan/common.h b/gwp_asan/common.h index ee8f9d1..7ce367e 100644 --- a/gwp_asan/common.h +++ b/gwp_asan/common.h @@ -83,6 +83,8 @@ struct AllocationMetadata { // crash handler. This, in conjunction with the Metadata array, forms the entire // set of information required for understanding a GWP-ASan crash. struct AllocatorState { + constexpr AllocatorState() {} + // Returns whether the provided pointer is a current sampled allocation that // is owned by this pool. GWP_ASAN_ALWAYS_INLINE bool pointerIsMine(const void *Ptr) const { |