commit | af7c9028905ccc0bb876e07dbe06921a80be9ebd | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Fri Oct 27 09:42:46 2017 -0700 |
committer | Mathieu Chartier <mathieuc@google.com> | Mon Oct 30 16:12:55 2017 -0700 |
tree | 53d7b80fb299e0a34b9951610740935f6f3ca802 | |
parent | 460e09c5a5a09937825fe101d260d5c917144369 [diff] |
Fix DexInstructionIterator overrun bug Handle cases where the dex instructions can go past the end of the code item in dexlayout. Since dexlayout runs before method verification, we need to be careful to not go past the end of the code item. Added test. Bug: 67104794 Test: test-art-host Change-Id: Idf7d51344659b2c75207bdf444e39f271feb8d3a