commit | 2d5c6a4e2f8384e15b392f2c87e10a5ebe7d35ef | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Thu Jan 20 13:28:25 2022 -0800 |
committer | Yabin Cui <yabinc@google.com> | Thu Jan 20 14:13:27 2022 -0800 |
tree | d8f4297043092850676118592861959dd1f3130a | |
parent | b61aebb7f7afaad9b775a59dcd0ea6289fc4325a [diff] |
Fix getting elf file from JIT_SYMFILE maps. For maps with MAPS_FLAGS_JIT_SYMFILE_MAP, the map range is for a JIT function, which can be smaller than elf header size. To get elf file from those maps, increase map_size to make sure we can read elf header. Bug: 215556268 Test: run libunwindstack_unit_test Change-Id: Ib549f02c8ea806598ddb4319c655705227e36e16