diff options
author | Vladimir Marko <vmarko@google.com> | 2015-05-13 19:06:30 +0100 |
---|---|---|
committer | Vladimir Marko <vmarko@google.com> | 2015-05-14 13:41:41 +0100 |
commit | a36098b3717e14baf6a173e72082f6ef3b7bcefd (patch) | |
tree | f52b4be71f2d9182bbf751a6949ef2d74c380c57 /test/MultiDexModifiedSecondary | |
parent | 3beb245da9392818e3154d47593f82cf0ef69aac (diff) |
ART: Do not relocate app program headers in patchoat.
Change the check whether to relocate program headers in
patchoat to simply look whether there is a PT_LOAD section
with p_vaddr == 0. If there is, don't relocate the headers,
it should be an app. Otherwise, it's a boot image and needs
to be relocated.
Add overflow checking to ElfFileImpl<>::GetLoadedSize().
Bug: 21047854
(cherry picked from commit 3fc9903407c6e89ffbbc92ded9e272d9de58e9b6)
Change-Id: Ib3e1295fc06993bcfbaadd8f253ee4f5498f52e9
Diffstat (limited to 'test/MultiDexModifiedSecondary')
0 files changed, 0 insertions, 0 deletions