diff options
author | Mathieu Chartier <mathieuc@google.com> | 2019-06-06 08:11:55 -0700 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2019-06-07 15:50:19 +0000 |
commit | d3b6664f454e7ea61597c0235b4a9df95056f4cd (patch) | |
tree | d33421baab8d9f7dc3ed70fea7ed2a2deb387540 /compiler/optimizing/optimizing_compiler.cc | |
parent | 09744acaabfd0eaa430a6d633cb99d939d193d8c (diff) |
Fix imgdiag crashing for ASLR images
Fixes a bug where the non runtime image was being used to calculate
the size of mirror::Objects, this caused a crash if the image was
ASLR relocated during boot.
This CL fixes imgdiag from crashing and provides a working diff for
app vs zygote. App vs image (for diagnosing shared dirty) is still
incorrect due to ASLR.
Test: test-art-host
Test: adb shell imgdiag --zygote-diff-pid=$(pid zygote64) --image-diff-pid=$(pid system_server) --boot-image=/system/framework/boot.art
Bug: 134614794
Change-Id: I85a5625a60112471778d86a7d00af0b42bc2ef8c
Diffstat (limited to 'compiler/optimizing/optimizing_compiler.cc')
0 files changed, 0 insertions, 0 deletions