platform_system_core/libunwindstack/tools
Christopher Ferris beae42bc7f 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
2018-02-15 17:57:13 -08:00
..
unwind.cpp Load dex files from ART-specific data structure. 2018-02-02 15:03:00 -08:00
unwind_for_offline.cpp Add ability to read jit gdb data. 2018-01-12 11:18:42 -08:00
unwind_info.cpp Fix soname reading code. 2018-02-15 17:57:13 -08:00
unwind_reg_info.cpp Fix soname reading code. 2018-02-15 17:57:13 -08:00
unwind_symbols.cpp Fix soname reading code. 2018-02-15 17:57:13 -08:00