diff options
author | Alex Light <allight@google.com> | 2019-10-04 20:34:46 +0000 |
---|---|---|
committer | Alex Light <allight@google.com> | 2019-10-04 14:21:21 -0700 |
commit | ea2a3d949354c8b054983ba629c81bc5ff7163da (patch) | |
tree | dc94a9c92b254d3f94d96ad0dc27f195d5a7767c /test/ProfileTestMultiDex | |
parent | 7fca6ef7b9dbe5a54f2c93a3484035f48ebae27a (diff) |
Revert^2 "Walk internal ArtField/ArtMethod pointers"
This reverts commit 712fa800b2b78e527d36c88dc369bf4b723587ea.
We incorrectly didn't check if a method was obsolete before giving its
class's MethodIds array. We then incorrectly used this array and the
(placeholder) -1 index to try to find the previous method-id. Since -1
is not a valid array index we got check failures. To fix this we
simply added a check that the method is not obsolete and if it is we
go to the slow-path.
Reason for revert: Fixed issue causing out-of-bounds array access
Test: ./test.py --host --debuggable --ndebuggable
Bug: 134162467
Change-Id: Iaffefeab6e889b4fb6554a11452d0af051001cb7
Diffstat (limited to 'test/ProfileTestMultiDex')
0 files changed, 0 insertions, 0 deletions