diff options
author | Alex Light <allight@google.com> | 2020-09-09 14:16:08 -0700 |
---|---|---|
committer | Treehugger Robot <treehugger-gerrit@google.com> | 2020-09-14 17:57:06 +0000 |
commit | 3d9c0d9d8beb8a1d2ea65c53e14e7c2499b7ce10 (patch) | |
tree | 31d532130b26487dc2d9ffe00ed10a6c7977454d /test/MultiDex/Second.java | |
parent | a7248f1032054de429a1384f09ee0b5b76272b96 (diff) |
Prevent IndirectReferenceTable from being outside of kPageAlignment
Due to how we resized the IndirectReferenceTable it could end up being
an unaligned size. On some architectures, this could sometimes cause
issues we would try to madvise a negative length region, causing
crashes. To fix this we changed the IRT to avoid ever having non-page
aligned lengths and changed how we calculate what to madvise slightly.
Test: ./test.py --host
Test: ./test.py --host --debuggable --64 --with-agent $ANDROID_HOST_OUT/lib64/libtifastd.so=ClassFileLoadHook
Test: Manual checks on emulator
Bug: 152421535
Change-Id: I9eb99c750e6b6230998bf8ba314be426ad8c228c
Diffstat (limited to 'test/MultiDex/Second.java')
0 files changed, 0 insertions, 0 deletions