platform_system_core/libunwindstack/include/unwindstack
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
..
DexFiles.h Load dex files from ART-specific data structure. 2018-02-02 15:03:00 -08:00
DwarfError.h Add error propagation into Unwinder/Elf objects. 2018-01-24 17:50:46 -08:00
DwarfLocation.h Add support for getting a dex pc. 2018-01-17 19:18:00 -08:00
DwarfMemory.h Make the library usable as a library. 2017-07-14 12:20:23 -07:00
DwarfSection.h Implement new DEX PC lookup scheme. 2018-02-13 16:45:38 -08:00
DwarfStructs.h Make the library usable as a library. 2017-07-14 12:20:23 -07:00
Elf.h Add a global elf cache. 2018-01-25 17:11:33 -08:00
ElfInterface.h Fix soname reading code. 2018-02-15 17:57:13 -08:00
Error.h Add error propagation into Unwinder/Elf objects. 2018-01-24 17:50:46 -08:00
JitDebug.h Add ability to read jit gdb data. 2018-01-12 11:18:42 -08:00
Log.h Make the library usable as a library. 2017-07-14 12:20:23 -07:00
MachineArm.h Expose per arch headers. 2018-02-08 19:29:08 -08:00
MachineArm64.h Expose per arch headers. 2018-02-08 19:29:08 -08:00
MachineMips.h Expose per arch headers. 2018-02-08 19:29:08 -08:00
MachineMips64.h Expose per arch headers. 2018-02-08 19:29:08 -08:00
MachineX86.h Expose per arch headers. 2018-02-08 19:29:08 -08:00
MachineX86_64.h Expose per arch headers. 2018-02-08 19:29:08 -08:00
MapInfo.h Add a global elf cache. 2018-01-25 17:11:33 -08:00
Maps.h Fix issues in libunwindstack. 2017-12-15 11:17:45 -08:00
Memory.h Add ability to read jit gdb data. 2018-01-12 11:18:42 -08:00
Regs.h Add support for getting a dex pc. 2018-01-17 19:18:00 -08:00
RegsArm.h Split arch data into separate files. 2017-12-06 16:01:40 -08:00
RegsArm64.h Split arch data into separate files. 2017-12-06 16:01:40 -08:00
RegsGetLocal.h Add libunwindstack support for Mips and Mips64 2017-12-11 15:44:40 +01:00
RegsMips.h Add libunwindstack support for Mips and Mips64 2017-12-11 15:44:40 +01:00
RegsMips64.h Add libunwindstack support for Mips and Mips64 2017-12-11 15:44:40 +01:00
RegsX86.h Split arch data into separate files. 2017-12-06 16:01:40 -08:00
RegsX86_64.h Split arch data into separate files. 2017-12-06 16:01:40 -08:00
UcontextArm.h Expose per arch headers. 2018-02-08 19:29:08 -08:00
UcontextArm64.h Expose per arch headers. 2018-02-08 19:29:08 -08:00
UcontextMips.h Expose per arch headers. 2018-02-08 19:29:08 -08:00
UcontextMips64.h Expose per arch headers. 2018-02-08 19:29:08 -08:00
UcontextX86.h Expose per arch headers. 2018-02-08 19:29:08 -08:00
UcontextX86_64.h Expose per arch headers. 2018-02-08 19:29:08 -08:00
Unwinder.h Check that dex pc is in a valid map. 2018-02-06 15:00:04 -08:00
UserArm.h Expose per arch headers. 2018-02-08 19:29:08 -08:00
UserArm64.h Expose per arch headers. 2018-02-08 19:29:08 -08:00
UserMips.h Expose per arch headers. 2018-02-08 19:29:08 -08:00
UserMips64.h Expose per arch headers. 2018-02-08 19:29:08 -08:00
UserX86.h Expose per arch headers. 2018-02-08 19:29:08 -08:00
UserX86_64.h Expose per arch headers. 2018-02-08 19:29:08 -08:00