diff options
author | Christopher Ferris <cferris@google.com> | 2018-02-15 17:36:33 -0800 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2018-02-15 17:57:13 -0800 |
commit | beae42bc7f8fb6494138ff8a6d17ed6a65b2cf9a (patch) | |
tree | 5ef5f8d3fb4b7c482fe077e19c2a1792156ecdfa /libunwindstack/tests/ElfCacheTest.cpp | |
parent | 851803d3cf3e874bb9305341a681a56cc73e7c57 (diff) |
Fix soname reading code.
The dynamic section contained an address, not an offset into the elf
file to indicate where the soname exists. Changed to use the strtab
entries in the section headers to map this address to the actual offset.
Refactor the soname test a bit to make it easier to verify the code.
Bug: 73499044
Test: Passes new unit tests.
Test: Ran unwind_info on the failing shared elf and verified the soinfo
Test: is correct.
Change-Id: I16ba148389bcb9aadd3566fb442dac27f89fe894
Diffstat (limited to 'libunwindstack/tests/ElfCacheTest.cpp')
0 files changed, 0 insertions, 0 deletions