commit | 143f61c29e77328e19bcdba3cc94df7334c40358 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Mon Apr 17 20:10:29 2017 -0700 |
committer | Josh Gao <jmgao@google.com> | Wed Apr 19 10:48:47 2017 -0700 |
tree | e1116ca3ad55f10bef00e07730c9326308f1bd08 | |
parent | 91119d69f0736f6dbd350c433632af2618c7575a [diff] |
fault_handler: use SafeCopy to verify the validity of ArtMethod. Reimplement ArtMethod::GetDeclaringClassUnchecked and VerifyClassClass in terms of SafeCopy, to be able to safely verify the validity of putative ArtMethods in FaultManager::IsInGeneratedCode. Bug: http://b/30836730 Test: m test-art-host Change-Id: Ie3d5e176ea569cedcefd320e2480a1e1e496a53a